![]() |
Routines |
Prev: 25105 | Up: Map | Next: 25228 |
By the time it gets here the burbler has beeped to indicate the playe has been hit.
|
||||||||
game_over | 25160 | CALL print_string_at_caller | Print string which follows this instruction | |||||
25163 | DEFM 0,23,"GAME OVER HIT FIRE TO PLAY",0 | |||||||
Return here, play siren for game over
|
||||||||
25198 | LD B,25 | |||||||
game_over_0 | 25200 | CALL sound_burbler | Sound burbler | |||||
25203 | DEFB 40,50,40,40,40,30,40,20 | Data for game over siren | ||||||
25211 | DEFB 40,10,0 | |||||||
Sound burbler return point
|
||||||||
game_over_siren | 25214 | DJNZ game_over_0 | Repeat x25 | |||||
Wait for fire to be pressed
|
||||||||
game_over_1 | 25216 | CALL read_keyboard | Read keyboard | |||||
25219 | LD A,(_FIRE_PRESSED) | Has fire pressed flag gone true? If not, loop back and read the keyboard again | ||||||
25222 | OR A | |||||||
25223 | JR Z,game_over_1 | |||||||
25225 | JP start | Jump back to start of main loop for new game |
Prev: 25105 | Up: Map | Next: 25228 |