Prev: A41A Up: Map Next: A43B
A42A: Handler: Dying Nastie
Handles a nastie which is being blown up (sprite IDs 08 to 0C). Each time it is handled the sprite ID goes up by one until it reaches 0D when HandlerRemoveNastie removes it.
Input
IX Nastie record
HandlerDyingNastie A42A LD A,($9703) Fetch the room of the player from 9703.
A42D CP (IX+$01) Jump to RemoveExplosion if the nastie is in a different room to the player.
A430 JR NZ,RemoveExplosion
A432 CALL StoreEntity Remember the previous position of the nastie.
A435 INC (IX+$00) Move the nastie on to the next dying sprite.
A438 JP DisplayActor Jump to DisplayActor to display the nastie.
Prev: A41A Up: Map Next: A43B