Prev: 6587 Up: Map Next: 65BB
65AB: Switch to Player 2 after Player 1 death
This routine is called when Player 1 dies and Player 2 has lives remaining in two-player mode. It checks if Player 2 has lives, triggers game over if not, otherwise switches to Player 2 and restarts gameplay.
switch_to_player_2 65AB LD A,($923C) If Player 2 has no lives, trigger game over.
65AE CP $00
65B0 JP Z,game_over
65B3 LD A,$02 Switch to Player 2 and restart gameplay.
65B5 LD ($923D),A
65B8 JP restart_current_player
Prev: 6587 Up: Map Next: 65BB