Prev: 46723 Up: Map Next: 46769
46754: Handle Collapsing Block
Handles a block that crumbles into sparkles when something stands on it.
Input
IX Address of the block object
HandleCollapsingBlock 46754 CALL SetPixelAdjustments_Block Set the pixel adjustments of a block.
46757 BIT 3,(IX+13) Test whether something is standing on the block.
46761 RET Z Return if nothing is.
46762 LD (IX+0),184 Change the block into a sparkle.
46766 JP HandleDeathSparkles Carry on as the sparkles of a death.
View the equivalent code in;
Prev: 46723 Up: Map Next: 46769