![]() |
Routines |
| Prev: 48218 | Up: Map | Next: 48257 |
|
Blank the attribute file for the Thing Upstairs scene and reset slot 32.
|
||||
| ScriptRoutine_ThingUpstairsClearScreen | 48228 | LD A,54 | Load A with 54. | |
| 48230 | CALL Clear_AttributeFile | Call Clear_AttributeFile to clear the attribute file. | ||
| 48233 | LD HL,48579 | Point HL at GraphicLayout_Ghost. | ||
| 48236 | LD (48116),HL | Store HL in Thing Upstairs storage at 48116. | ||
| 48239 | XOR A | Clear complex entity slot 32's type (empty the slot). | ||
| 48240 | LD (36865),A | Store A in complex entity slot 32's type (StateData_Complex_20). | ||
| 48243 | LD HL,48218 | Point HL at Data_ThingUpstairsEntityTemplate. | ||
| 48246 | PUSH DE | Stash DE on the stack. | ||
| 48247 | LD DE,36865 | Point DE at complex entity slot 32 (StateData_Complex_20). | ||
| 48250 | LD BC,10 | Load BC with 0010 as a short table length. | ||
| 48253 | LDIR | Copy the block pointed to by HL into the destination at DE. | ||
| 48255 | POP DE | Restore DE from the stack. | ||
| 48256 | RET | Return. | ||
| Prev: 48218 | Up: Map | Next: 48257 |