![]() |
Routines |
| Prev: CDDF | Up: Map | Next: CDEF |
|
Used by the routine at upd_32_to_47.
The head has no movement of its own: it copies the legs. First, unless the game has been won ($5BC3), a head whose kill flag (bit 6 of +$0D) has been set -- by the legs' handler at upd_player_bottom when the legs are killed -- turns into the death sparkle at init_death_sparkles.
|
||||||||
| upd_player_top | CDE2 | LD A,($5BC3) | once the game is won the player cannot die | |||||
| CDE5 | AND A | |||||||
| CDE6 | JR NZ,head_follows_legs | |||||||
| CDE8 | BIT 6,(IX+$0D) | killed: become the sparkle | ||||||
| CDEC | JP NZ,init_death_sparkles | |||||||
| Prev: CDDF | Up: Map | Next: CDEF |