![]() |
Routines |
| Prev: CD1B | Up: Map | Next: CD64 |
|
Used by the routine at CAE7.
|
||||
| CD47 | LD A,($D2FE) | Is bit 2 (shot the bomb) of Mistakes set? | ||
| CD4A | BIT 2,A | |||
| CD4C | JR Z,$CD53 | |||
| CD4E | CALL $F880 | Display the "shot the bomb" effect. | ||
| CD51 | JR $CD56 | |||
| CD53 | CALL Bang | Otherwise - BANG! | ||
| CD56 | CALL Populate_Door_Buffer | Initialize the door flags. | ||
| CD59 | LD HL,$CC59 | Finally decrease lives by one and if they are not zero jump to Cashboxes_Completed_1 to restart the phase. | ||
| CD5C | LD A,(HL) | |||
| CD5D | DEC A | |||
| CD5E | LD (HL),A | |||
| CD5F | JP NZ,Cashboxes_Completed_1 | |||
| CD62 | SCF | Set the carry flag to note the game is over, and return. | ||
| CD63 | RET | |||
| Prev: CD1B | Up: Map | Next: CD64 |