diff options
Diffstat (limited to 'home/window.asm')
| -rw-r--r-- | home/window.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/home/window.asm b/home/window.asm index f8cc4589..713699e6 100644 --- a/home/window.asm +++ b/home/window.asm @@ -97,8 +97,8 @@ HandleMenuInput_:: jr z, .skipPlayingSound .AButtonOrBButtonPressed push hl - ld hl, wFlags_0xcd60 - bit 5, [hl] + ld hl, wMiscFlags + bit BIT_NO_MENU_BUTTON_SOUND, [hl] pop hl jr nz, .skipPlayingSound ld a, SFX_PRESS_AB @@ -140,9 +140,9 @@ PlaceMenuCursor:: ld bc, 40 push af ldh a, [hUILayoutFlags] - bit 1, a ; is the menu double spaced? + bit BIT_DOUBLE_SPACED_MENU, a jr z, .doubleSpaced1 - ld bc, 20 + ld bc, SCREEN_WIDTH .doubleSpaced1 pop af .oldMenuItemLoop @@ -164,9 +164,9 @@ PlaceMenuCursor:: ld bc, 40 push af ldh a, [hUILayoutFlags] - bit 1, a ; is the menu double spaced? + bit BIT_DOUBLE_SPACED_MENU, a jr z, .doubleSpaced2 - ld bc, 20 + ld bc, SCREEN_WIDTH .doubleSpaced2 pop af .currentMenuItemLoop @@ -270,7 +270,7 @@ EnableAutoTextBoxDrawing:: jr AutoTextBoxDrawingCommon DisableAutoTextBoxDrawing:: - ld a, TRUE + ld a, 1 << BIT_NO_AUTO_TEXT_BOX AutoTextBoxDrawingCommon:: ld [wAutoTextBoxDrawingControl], a |
