Prev: 62ca Up: Map Next: 62fe
62da: Reset current and inactive player data on new game.
Used by the routine at 62fe.
62da ld b,$02 Loop counter: current then inactive player
62dc push bc
62dd xor a
62de ld ($5df0),a Reset player level
62e1 ld a,$04
62e3 ld ($5df1),a First player has 4 "remaining" lives
62e6 call $60a7 Reset the rocket modules
62e9 call $6144 Swap player game states
62ec pop bc
62ed djnz $62dc Repeat again for inactive player
62ef ld a,$05 But now update inactive player to have 5 "remaining" lives, not 4
62f1 ld ($5df9),a
62f4 ld a,($5cf3) Game options
62f7 and $01
62f9 ret nz Return if two player game
62fa ld ($5df9),a else one player game, so inactive player has no lives
62fd ret
Prev: 62ca Up: Map Next: 62fe