diff options
Diffstat (limited to 'engine/menus/text_box.asm')
| -rw-r--r-- | engine/menus/text_box.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/menus/text_box.asm b/engine/menus/text_box.asm index 7a315af2..697fe507 100644 --- a/engine/menus/text_box.asm +++ b/engine/menus/text_box.asm @@ -173,9 +173,9 @@ DoBuySellQuitMenu: ld [wd730], a call HandleMenuInput call PlaceUnfilledArrowMenuCursor - bit 0, a ; was A pressed? + bit BIT_A_BUTTON, a jr nz, .pressedA - bit 1, a ; was B pressed? (always true since only A/B are watched) + bit BIT_B_BUTTON, a ; always true since only A/B are watched jr z, .pressedA ld a, CANCELLED_MENU ld [wMenuExitMethod], a @@ -282,7 +282,7 @@ DisplayTwoOptionMenu: res 6, [hl] ; turn on the printing delay call HandleMenuInput pop hl - bit 1, a ; A button pressed? + bit BIT_B_BUTTON, a jr nz, .choseSecondMenuItem ; automatically choose the second option if B is pressed .pressedAButton ld a, [wCurrentMenuItem] |
