![]() |
Routines |
| Prev: B760 | Up: Map | Next: B78C |
|
Used by the routine at GameOver.
Shows the hall of fame, and waits for a key to be pressed or for a delay to run out. Then the menu is drawn again.
|
||||
| HandlerHallOfFame | B76C | CALL HallOfFame | Draw the hall of fame using HallOfFame. | |
| B76F | LD B,$0C | Wait for up to twelve times 10000 iterations... | ||
| B771 | LD HL,$0000 | Start the inner count at 00. | ||
| HandlerHallOfFame_Wait | B774 | XOR A | Read every row of keys... | |
| B775 | CALL ReadKeys | Read the keyboard. | ||
| B778 | AND $1F | ...and jump to finish if any key is pressed. | ||
| B77A | JR NZ,HandlerHallOfFame_Finish | |||
| B77C | DEC HL | Count down the delay. | ||
| B77D | LD A,H | Loop back until the count has run out... | ||
| B77E | OR L | |||
| B77F | JR NZ,HandlerHallOfFame_Wait | |||
| B781 | DJNZ HandlerHallOfFame_Wait | ...and the outer count too. | ||
| HandlerHallOfFame_Finish | B783 | XOR A | Clear the large window to black using ClearLargeWindowWithAttributes. | |
| B784 | CALL ClearLargeWindowWithAttributes | Clear the large window. | ||
| B787 | CALL DisplayMenu | Draw the menu using DisplayMenu. | ||
| B78A | JR ResetIdleTimer | Jump to reset the idle timer. | ||
|
View the equivalent code in;
|
||||
| Prev: B760 | Up: Map | Next: B78C |