![]() |
Routines |
| Prev: 46944 | Up: Map | Next: 46988 |
|
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 | 46956 | CALL HallOfFame | Draw the hall of fame using HallOfFame. | |
| 46959 | LD B,12 | Wait for up to twelve times 65536 iterations... | ||
| 46961 | LD HL,0 | Start the inner count at 0. | ||
| HandlerHallOfFame_Wait | 46964 | XOR A | Read every row of keys... | |
| 46965 | CALL ReadKeys | Read the keyboard. | ||
| 46968 | AND 31 | ...and jump to finish if any key is pressed. | ||
| 46970 | JR NZ,HandlerHallOfFame_Finish | |||
| 46972 | DEC HL | Count down the delay. | ||
| 46973 | LD A,H | Loop back until the count has run out... | ||
| 46974 | OR L | |||
| 46975 | JR NZ,HandlerHallOfFame_Wait | |||
| 46977 | DJNZ HandlerHallOfFame_Wait | ...and the outer count too. | ||
| HandlerHallOfFame_Finish | 46979 | XOR A | Clear the large window to black using ClearLargeWindowWithAttributes. | |
| 46980 | CALL ClearLargeWindowWithAttributes | Clear the large window. | ||
| 46983 | CALL DisplayMenu | Draw the menu using DisplayMenu. | ||
| 46986 | JR ResetIdleTimer | Jump to reset the idle timer. | ||
|
View the equivalent code in;
|
||||
| Prev: 46944 | Up: Map | Next: 46988 |