![]() |
Routines |
| Prev: E520 | Up: Map | Next: E6C4 |
|
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 | E6B4 | LD DE,$0007 | Step back seven bytes and write the Retire_Expired_Entity_Advance handler. | |
| E6B7 | AND A | |||
| E6B8 | SBC HL,DE | |||
| E6BA | LD DE,$E4B4 | Advance the entity pointer and fall through to Retire_Expired_Entity_Advance. | ||
| E6BD | LD (HL),E | |||
| E6BE | INC HL | |||
| E6BF | LD (HL),D | |||
| E6C0 | INC HL | |||
| E6C1 | JP Retire_Expired_Entity_Advance | |||
| Prev: E520 | Up: Map | Next: E6C4 |