Prev: BF21 Up: Map Next: BF37
BF2B: Handle Death Sparkles
Used by the routine at HandleCollapsingBlock.
Handles the sparkles that show the player dying, which go through the graphic numbers 70 to 76 (and B8). The graphic changes on every frame.
Input
IX Address of the sparkle object
HandleDeathSparkles BF2B CALL SetPixelAdjustments_Sparkle Set the pixel adjustments of a sparkle.
BF2E INC (IX+$00) Change to the next graphic.
This entry point is used by the routine at StartDeathSparkles.
HandleDeathSparkles_Draw BF31 CALL PlaySparkleSound Play the sound of the sparkles.
BF34 JP SetWipeAndDrawFlags Flag the object to be drawn again.
Prev: BF21 Up: Map Next: BF37