Prev: C0D4 Up: Map Next: C111
C107: Make an object a puff of smoke
Used by the routines at BOLT, PLAYER_LEGS, PLAYER_TOP and BUCKET.
Turns the object into graphic 64, the first frame of the puff that PUFF runs through, and sets bit 1 of its flags so that the collision code leaves it alone. Used when the player is killed (PLAYER_LEGS, PLAYER_TOP), when a bolt hits a wall or an object (BOLT), and by BUCKET. Knight Lore's init_death_sparkles.
Input
IX the object
START_PUFF C107 LD (IX+$00),$40 graphic 64, out of collisions, and mark it to be redrawn
C10B SET 1,(IX+$07)
C10F JR PUFF_DRAW
Prev: C0D4 Up: Map Next: C111