| Prev: 65AB | Up: Map | Next: 65CB |
65BB: Switch to Player 2 when Player 1 dies in two-player mode
|
This routine is called when Player 1 dies in two-player mode and still has lives. It checks if Player 2 has lives, and if so, switches to Player 2. If Player 2 has no lives, it restarts Player 1 instead.
|
||||
| switch_to_player_2_in_two_player_mode | 65BB | LD A,($923C) | If Player 2 has no lives, restart Player 1. | |
| 65BE | CP $00 | |||
| 65C0 | JP Z,restart_current_player | |||
| 65C3 | LD A,$02 | Switch to Player 2 and restart gameplay. | ||
| 65C5 | LD ($923D),A | |||
| 65C8 | JP restart_current_player | |||
| Prev: 65AB | Up: Map | Next: 65CB |