![]() |
Routines |
| Prev: 48128 | Up: Map | Next: 48175 |
|
Used by the routine at GameStart.
Drive complex entity slot 32 when its type is 34: copy its script cursor through Pointer_ActiveScriptCursor, run the next instruction, then save the cursor back.
|
||||
| Update_ThingUpstairs_Entity | 48146 | LD A,(29353) | Return if Learner Berk mode is set. | |
| 48149 | OR A | |||
| 48150 | RET NZ | |||
| 48151 | LD A,(36865) | Jump to Update_ThingUpstairs_Entity_ArmSpawn unless complex entity slot 32's type (StateData_Complex_20) is 34. | ||
| 48154 | CP 34 | |||
| 48156 | JP NZ,Update_ThingUpstairs_Entity_ArmSpawn | |||
| 48159 | LD HL,(29401) | Copy Pointer_ThingUpstairsScriptPosition back to the active script cursor. | ||
| 48162 | LD (29391),HL | |||
| 48165 | CALL Update_ThingUpstairs_Entity_State | Call Update_ThingUpstairs_Entity_State to update Thing Upstairs Entity State. | ||
| 48168 | LD HL,(29391) | Copy the active script cursor to Pointer_ThingUpstairsScriptPosition. | ||
| 48171 | LD (29401),HL | |||
| 48174 | RET | Return. | ||
| Prev: 48128 | Up: Map | Next: 48175 |