aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menus
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-01-28 23:31:27 -0500
committerGitHub <noreply@github.com>2025-01-28 23:31:27 -0500
commitec37f6117da6c550e70f466118731e8f752e3afb (patch)
tree3dc48ad754a31ed08770943ff9053146f05b9cf9 /engine/menus
parentMiscellaneous cleanup (#488) (diff)
downloadpokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.tar.gz
pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.tar.xz
pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.zip
Consistently capitalize `ASSERT` directives (#489)
Diffstat (limited to 'engine/menus')
-rw-r--r--engine/menus/main_menu.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/menus/main_menu.asm b/engine/menus/main_menu.asm
index 60bcfcbd..4b430f6a 100644
--- a/engine/menus/main_menu.asm
+++ b/engine/menus/main_menu.asm
@@ -155,21 +155,21 @@ LinkMenu:
ld hl, wTopMenuItemY
ld a, 7
ld [hli], a
- assert wTopMenuItemY + 1 == wTopMenuItemX
+ ASSERT wTopMenuItemY + 1 == wTopMenuItemX
ld a, 6
ld [hli], a
- assert wTopMenuItemX + 1 == wCurrentMenuItem
+ ASSERT wTopMenuItemX + 1 == wCurrentMenuItem
xor a
ld [hli], a
inc hl
- assert wCurrentMenuItem + 2 == wMaxMenuItem
+ ASSERT wCurrentMenuItem + 2 == wMaxMenuItem
ld a, 2
ld [hli], a
- assert wMaxMenuItem + 1 == wMenuWatchedKeys
- assert 2 + 1 == A_BUTTON | B_BUTTON
+ ASSERT wMaxMenuItem + 1 == wMenuWatchedKeys
+ ASSERT 2 + 1 == A_BUTTON | B_BUTTON
inc a
ld [hli], a
- assert wMenuWatchedKeys + 1 == wLastMenuItem
+ ASSERT wMenuWatchedKeys + 1 == wLastMenuItem
xor a
ld [hl], a
.waitForInputLoop
@@ -468,7 +468,7 @@ DisplayOptionMenu:
xor a
ld [wCurrentMenuItem], a
ld [wLastMenuItem], a
- assert BIT_FAST_TEXT_DELAY == 0
+ ASSERT BIT_FAST_TEXT_DELAY == 0
inc a ; 1 << BIT_FAST_TEXT_DELAY
ld [wLetterPrintingDelayFlags], a
ld [wOptionsCancelCursorX], a