Prev: 45887 Up: Map Next: 45988
45978: Turn Into Sparkle
Used by the routines at HandlePlayerLegs and HandlePlayerTop.
Changes the object into the first frame of a sparkle (object 48) and makes collision tests ignore it, then carries on to deal with the sparkle.
Input
IX The address of the object
Become a sparkle and play the sound.
TurnIntoSparkle 45978 LD (IX+0),48 Write 48 as the sprite number.
45982 SET 1,(IX+7) Set bit 1 of the flags.
45986 JR HandleSparkle_PlaySound Jump to HandleSparkle_PlaySound.
Prev: 45887 Up: Map Next: 45988