![]() |
Routines |
| Prev: CB7B | Up: Map | Next: CBC5 |
| CheckPlayerDead | CBAC | LD A,($BC8E) | Return if the player is still alive. | |
| CBAF | AND A | |||
| CBB0 | RET NZ | |||
|
See Infinite Lives.
|
||||
| CBB1 | LD A,($CBDD) | Fetch the opcode of the instruction at CBDD, and reset the computer by jumping to BuildRandomTable_Reset unless it is 35 (DEC (HL)). | ||
| CBB4 | CP $35 | |||
| CBB6 | JP NZ,BuildRandomTable_Reset | |||
| CBB9 | LD A,($BBCD) | Fetch the number of lives left and jump to StartNewLife to start a new life if there are none. | ||
| CBBC | AND A | |||
| CBBD | JR Z,StartNewLife | |||
| CBBF | LD DE,$C839 | Play the tune for losing a life. | ||
| CBC2 | CALL PlayMusic | |||
| Prev: CB7B | Up: Map | Next: CBC5 |