![]() |
Routines |
| Prev: 58656 | Up: Map | Next: 59076 |
|
Used by the routine at Process_Cluster_Entity.
Reached when the cluster entity's secondary animation timer has expired and the entity handler address has wrapped. Steps back seven bytes, writes the Retire_Expired_Entity_Advance handler to the entity record, and advances via Retire_Expired_Entity_Advance. Transitions the entity out of the homing phase into the final retire countdown.
|
||||
| Retire_Cluster_Entity | 59060 | LD DE,7 | Step back seven bytes and write the Retire_Expired_Entity_Advance handler. | |
| 59063 | AND A | |||
| 59064 | SBC HL,DE | |||
| 59066 | LD DE,58548 | Advance the entity pointer and fall through to Retire_Expired_Entity_Advance. | ||
| 59069 | LD (HL),E | |||
| 59070 | INC HL | |||
| 59071 | LD (HL),D | |||
| 59072 | INC HL | |||
| 59073 | JP Retire_Expired_Entity_Advance | |||
| Prev: 58656 | Up: Map | Next: 59076 |