Prev: 42010 Up: Map Next: 42043
42026: Handler: Dying Nastie
Handles a nastie which is being blown up (sprite IDs 8 to 12). Each time it is handled the sprite ID goes up by one until it reaches 13 when HandlerRemoveNastie removes it.
Input
IX Nastie record
HandlerDyingNastie 42026 LD A,(38659) Fetch the room of the player from 38659.
42029 CP (IX+1) Jump to RemoveExplosion if the nastie is in a different room to the player.
42032 JR NZ,RemoveExplosion
42034 CALL StoreEntity Remember the previous position of the nastie.
42037 INC (IX+0) Move the nastie on to the next dying sprite.
42040 JP DisplayActor Jump to DisplayActor to display the nastie.
Prev: 42010 Up: Map Next: 42043