Prev: BA79 Up: Map Next: BA9B
BA87: Wait, play the game-over tune, and start again
Waits for every key to be let go -- the player is probably still holding one down from the moment of death -- then plays the game-over tune until a key is pressed, lingers for a while longer or until a key, and restarts at start_menu, which keeps the control method and the random seeds.
await_restart BA87 XOR A all eight half-rows at once: loop while anything is held
BA88 CALL read_port
BA8B JR NZ,await_restart
BA8D LD DE,game_over_tune the tune at game_over_tune, cut short by any key
BA90 CALL play_audio_until_keypress
BA93 LD B,$08 about 14 seconds, or until a key
BA95 CALL wait_for_key_press
BA98 JP start_menu new game, without the menu's reset of everything
Prev: BA79 Up: Map Next: BA9B