![]() |
Routines |
| Prev: 42059 | Up: Map | Next: 42145 |
|
Used by the routines at HandlerFlame, HandlerAppearingNastie, HandlerChooseNastie, HandlerChasingNastie and HandlerWanderingNastie.
Counts off an actor which is in a different room to the player. Once it has been counted off 64 times it is removed.
|
||||||||
| ExpireActor | 42131 | INC (IX+8) | Increase the time the actor has spent in another room by one. | |||||
| 42134 | LD A,(IX+8) | Fetch the time the actor has spent in another room. | ||||||
| 42137 | CP 64 | Return if the actor has spent less than 64 in another room. | ||||||
| 42139 | RET C | |||||||
| 42140 | LD (IX+0),0 | Empty the record by setting the sprite ID to 0. | ||||||
| 42144 | RET | Return. | ||||||
| Prev: 42059 | Up: Map | Next: 42145 |