![]() |
Routines |
| Prev: 64620 | Up: Map | Next: 64644 |
|
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 | 64632 | DI | Disable interrupts. | |
|
Key-scan wait loop with menu music.
|
||||
| Wait_KeyWithMenuMusic_Loop | 64633 | CALL Play_MenuMusicTick | Call Play_MenuMusicTick to play one menu-music tick. | |
| 64636 | CALL 654 | Call KEY_SCAN. | ||
| 64639 | INC E | Increment E by one (KEY_SCAN returns 255 in E when no key). | ||
| 64640 | JR Z,Wait_KeyWithMenuMusic_Loop | Jump to Wait_KeyWithMenuMusic_Loop if E wrapped to 0 (no key yet). | ||
| 64642 | NOP | No operation. | ||
| 64643 | RET | Return. | ||
| Prev: 64620 | Up: Map | Next: 64644 |