Identify hUILayoutFlags

This commit is contained in:
Rangi 2021-02-13 19:48:34 -05:00
parent 83f7d224c8
commit 95353fdefa
11 changed files with 38 additions and 38 deletions

View file

@ -338,10 +338,10 @@ TradeCenter_SelectMon:
ld a, 1
ld [wTopMenuItemX], a
.enemyMonMenu_HandleInput
ld hl, hFlagsFFF6
ld hl, hUILayoutFlags
set 1, [hl]
call HandleMenuInput
ld hl, hFlagsFFF6
ld hl, hUILayoutFlags
res 1, [hl]
and a
jp z, .getNewInput
@ -403,10 +403,10 @@ TradeCenter_SelectMon:
lb bc, 6, 1
call ClearScreenArea
.playerMonMenu_HandleInput
ld hl, hFlagsFFF6
ld hl, hUILayoutFlags
set 1, [hl]
call HandleMenuInput
ld hl, hFlagsFFF6
ld hl, hUILayoutFlags
res 1, [hl]
and a ; was anything pressed?
jr nz, .playerMonMenu_SomethingPressed