Prev: C306 Up: Map Next: C349
C337: The transformation in progress (types 92 to 95)
The handler for the player's bottom record while it is changing. The player can still be killed during the change: if bit 6 of +$0D says something deadly has touched it, and the game is not complete, the death sparkles start.
Input
IX the player's bottom record
upd_92_to_95 C337 CALL upd_11 draw 12 pixels left and 2 down
C33A BIT 6,(IX+$0D) touched by something deadly?
C33E JR Z,transform_step
C340 LD A,($5BC3) not once the game is complete
C343 AND A
C344 JR NZ,transform_step
C346 JP init_death_sparkles die
Prev: C306 Up: Map Next: C349