Prev: 65BB Up: Map Next: 65DE
65CB: Handle Player 2 death and determine next game state
This routine is called when Player 2 dies. It checks both players' lives to determine whether to switch to Player 1, continue with Player 2, or trigger game over.
handle_player_2_death 65CB LD A,($923C) If Player 2 has no lives, check Player 1 status.
65CE CP $00
65D0 JP Z,check_player_1_lives
65D3 LD A,($923B) If Player 1 has lives, switch to Player 1; otherwise restart Player 2.
65D6 CP $00
65D8 JP NZ,switch_to_player_1
65DB JP restart_current_player
Prev: 65BB Up: Map Next: 65DE