Prev: 48894 Up: Map Next: 48929
48913: Handle Last Appearing Sparkle
The handler for the last of the sparkles in which the player appears. The object turns into the player, who is no longer dead, and is updated as the player right away.
Input
IX The address of the object
Stop the sparkle and restore the player.
HandleLastAppearingSparkle 48913 CALL SetPixelAdjustments_Sparkle Call SetPixelAdjustments_Sparkle.
48916 RES 6,(IX+13) Reset bit 6 of the flags.
48920 LD A,(IX+16) Fetch the sprite number which was kept.
48923 LD (IX+0),A Restore the sprite number of the object.
48926 JP RunGame_UpdateObject Jump to RunGame_UpdateObject.
Prev: 48894 Up: Map Next: 48929