Prev: 42026 Up: Map Next: 42059
42043: Handler: Remove Nastie
Handles a nastie which has finished being blown up (sprite ID 13). The nastie is erased if it is in the same room as the player and the actor record is then emptied.
Input
IX Nastie record
HandlerRemoveNastie 42043 LD A,(38659) Fetch the room of the player from 38659.
42046 CP (IX+1) Jump to RemoveExplosion if the nastie is in a different room to the player.
42049 JR NZ,RemoveExplosion
42051 CALL DrawEntity Erase the nastie from the screen.
This entry point is used by the routine at HandlerDyingNastie.
RemoveExplosion 42054 LD (IX+0),0 Empty the record by setting the sprite ID to 0.
42058 RET Return.
Prev: 42026 Up: Map Next: 42059