Prev: A971 Up: Map Next: A9C7
A9B1: Handle Spiked Dome
The update routine for the spiked dome (object 81), which is deadly to touch and does not move. If it is ever set moving it is replaced with a sparkle (object 36).
Input
IX The address of the object
Vanish if the dome is moving.
HandleSpikedDome A9B1 CALL SetPixelAdjustments_Sparkle Call SetPixelAdjustments_Sparkle.
A9B4 LD A,(IX+$09) Combine the speeds in every direction.
A9B7 OR (IX+$0A)
A9BA OR (IX+$0B)
A9BD JP Z,SetDeadlyFlags Jump to SetDeadlyFlags if it is not moving.
A9C0 LD (IX+$00),$36 Turn it into a sparkle.
A9C4 JP SetDeadlyFlagsAndDraw Jump to SetDeadlyFlagsAndDraw.
Prev: A971 Up: Map Next: A9C7