Identify some missed bit 7 menu flags

This commit is contained in:
Rangi42
2024-12-02 12:20:52 -05:00
parent 03a1c6efad
commit 99af3f4f3b
2 changed files with 4 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ LinkTradeMenu:
.MenuAction:
ld hl, w2DMenuFlags2
res 7, [hl]
res _2DMENU_EXITING_F, [hl]
ldh a, [hBGMapMode]
push af
call .loop
@@ -219,7 +219,7 @@ LinkTradeMenu:
farcall _2DMenuInterpretJoypad
jr c, .done
ld a, [w2DMenuFlags1]
bit 7, a
bit _2DMENU_DISABLE_JOYPAD_FILTER_F, a
jr nz, .done
call .GetJoypad
ld b, a
@@ -247,7 +247,7 @@ LinkTradeMenu:
call .TryAnims
ret c
ld a, [w2DMenuFlags1]
bit 7, a
bit _2DMENU_DISABLE_JOYPAD_FILTER_F, a
jr z, .loop2
and a
ret

View File

@@ -32,7 +32,7 @@ _InterpretMobileMenu::
call ApplyTilemap
call Init2DMenuCursorPosition
ld hl, w2DMenuFlags1
set 7, [hl]
set _2DMENU_DISABLE_JOYPAD_FILTER_F, [hl]
.loop
call DelayFrame
farcall Function10032e