Routines |
Prev: A880 | Up: Map | Next: A8E3 |
Used by the routine at B390.
|
||||
A8B5 | LD A,($5E00) | A=GameOptions. | ||
A8B8 | AND %00000001 | Keep only bit 0. | ||
A8BA | JR NZ,$A8C5 | |||
A8BC | LD A,($5EA1) | Jump to GameOver_Check_Player_2UP if ActivePlayer_Lives is zero. | ||
A8BF | AND A | |||
A8C0 | JR Z,GameOver_Check_Player_2UP | |||
A8C2 | JP LevelInitialisation | Jump to LevelInitialisation. | ||
A8C5 | LD A,($5EA5) | Jump to A8BC if InactivePlayer_Lives is zero. | ||
A8C8 | AND A | |||
A8C9 | JR Z,$A8BC | |||
A8CB | LD A,($5EA1) | Call GameOver_Check_Player_1UP if ActivePlayer_Lives is zero. | ||
A8CE | AND A | |||
A8CF | CALL Z,GameOver_Check_Player_1UP | |||
A8D2 | CALL ChangePlayer | Call ChangePlayer. | ||
A8D5 | XOR A | Write 00 to 5E6C. | ||
A8D6 | LD ($5E6C),A | |||
A8D9 | LD A,($5E65) | A=Flag_ActivePlayer. | ||
A8DC | CPL | Flip the bits. | ||
A8DD | LD ($5E65),A | Write the result back to Flag_ActivePlayer. | ||
A8E0 | JP LevelInitialisation | Jump to LevelInitialisation. |
Prev: A880 | Up: Map | Next: A8E3 |