Prev: 48929 Up: Map Next: 48951
48939: Handle Death Sparkles
Used by the routine at HandleCollapsingBlock.
Handles the sparkles that show the player dying, which go through the graphic numbers 112 to 118 (and 184). The graphic changes on every frame.
Input
IX Address of the sparkle object
HandleDeathSparkles 48939 CALL SetPixelAdjustments_Sparkle Set the pixel adjustments of a sparkle.
48942 INC (IX+0) Change to the next graphic.
This entry point is used by the routine at StartDeathSparkles.
HandleDeathSparkles_Draw 48945 CALL PlaySparkleSound Play the sound of the sparkles.
48948 JP SetWipeAndDrawFlags Flag the object to be drawn again.
Prev: 48929 Up: Map Next: 48951