Prev: 43136 Up: Map Next: 43235
43189: Routine at A8B5
Used by the routine at 45968.
43189 LD A,(24064) A=GameOptions.
43192 AND %00000001 Keep only bit 0.
43194 JR NZ,43205
43196 LD A,(24225) Jump to GameOver_Check_Player_2UP if ActivePlayer_Lives is zero.
43199 AND A
43200 JR Z,GameOver_Check_Player_2UP
43202 JP LevelInitialisation Jump to LevelInitialisation.
43205 LD A,(24229) Jump to 43196 if InactivePlayer_Lives is zero.
43208 AND A
43209 JR Z,43196
43211 LD A,(24225) Call GameOver_Check_Player_1UP if ActivePlayer_Lives is zero.
43214 AND A
43215 CALL Z,GameOver_Check_Player_1UP
43218 CALL ChangePlayer Call ChangePlayer.
43221 XOR A Write 0 to 24172.
43222 LD (24172),A
43225 LD A,(24165) A=Flag_ActivePlayer.
43228 CPL Flip the bits.
43229 LD (24165),A Write the result back to Flag_ActivePlayer.
43232 JP LevelInitialisation Jump to LevelInitialisation.
Prev: 43136 Up: Map Next: 43235