Prev: 62922 Up: Map Next: 62968
62954: Pulse Menu Timing
Used by the routine at MainMenu_SelectOptions.
Pulse the menu by briefly inverting the key-scan wait at 64640 The normal opcode there is JR Z (40), which loops at Wait_KeyWithMenuMusic_Loop while KEY_SCAN reports no key; writing JR NZ (32) inverts that sense for one Wait_KeyWithMenuMusic tick so the highlight flashes, then 40 is restored.
Patch 64640 to JR NZ, wait one tick, then restore JR Z.
Pulse_MenuTiming 62954 LD A,32 Write 32 (JR NZ) over the opcode at 64640.
62956 LD (64640),A
62959 CALL Wait_KeyWithMenuMusic Call Wait_KeyWithMenuMusic for one inverted wait tick.
62962 LD A,40 Write 40 (JR Z) back to 64640.
62964 LD (64640),A
62967 RET Return.
Prev: 62922 Up: Map Next: 62968