![]() |
Routines |
| Prev: FC6C | Up: Map | Next: FC84 |
|
Disable interrupts and wait until KEY_SCAN reports a key, playing one Play_MenuMusicTick music tick per loop. Game start falls through from Seed_MenuMusicAndWaitForKey; the menu calls this entry for a single wait tick.
|
||||
| Wait_KeyWithMenuMusic | FC78 | DI | Disable interrupts. | |
|
Key-scan wait loop with menu music.
|
||||
| Wait_KeyWithMenuMusic_Loop | FC79 | CALL Play_MenuMusicTick | Call Play_MenuMusicTick to play one menu-music tick. | |
| FC7C | CALL $028E | Call KEY_SCAN. | ||
| FC7F | INC E | Increment E by one (KEY_SCAN returns FF in E when no key). | ||
| FC80 | JR Z,Wait_KeyWithMenuMusic_Loop | Jump to Wait_KeyWithMenuMusic_Loop if E wrapped to 00 (no key yet). | ||
| FC82 | NOP | No operation. | ||
| FC83 | RET | Return. | ||
| Prev: FC6C | Up: Map | Next: FC84 |