![]() |
Routines |
| Prev: 58514 | Up: Map | Next: 58553 |
|
Used by the routine at Tick_Entity_Colour_Timer.
Erases the entity sprite via Erase_Entity_Sprite, writes the Process_Tracked_Enemy_Entity_Advance advance handler to the entity record (retiring the entity from active update processing), and returns through Retire_Expired_Entity_Advance. Reached when a colour timer spawned by Kill_Tracked_Enemy_Entity expires.
|
||||
| Retire_Expired_Entity | 58535 | PUSH HL | Stash HL, advance one byte, and erase the sprite via Erase_Entity_Sprite. | |
| 58536 | INC HL | |||
| 58537 | CALL Erase_Entity_Sprite | |||
| 58540 | POP HL | Write the Process_Tracked_Enemy_Entity_Advance handler to the entity record and advance. | ||
| 58541 | DEC HL | |||
| 58542 | LD DE,58396 | |||
| 58545 | LD (HL),D | |||
| 58546 | DEC HL | |||
| 58547 | LD (HL),E | |||
|
This entry point is used by the routines at Process_Cluster_Entity and Retire_Cluster_Entity.
|
||||
| Retire_Expired_Entity_Advance | 58548 | LD DE,14 | Advance the entity pointer by 14 bytes and return. | |
| 58551 | ADD HL,DE | |||
| 58552 | RET | |||
| Prev: 58514 | Up: Map | Next: 58553 |