aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items
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/items
parentMiscellaneous cleanup (#488) (diff)
downloadpokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.tar.gz
pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.tar.xz
pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.zip
Consistently capitalize `ASSERT` directives (#489)
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/item_effects.asm2
-rw-r--r--engine/items/town_map.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 6c87bde0..162e79a7 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -2512,7 +2512,7 @@ GetMaxPP:
and %11000000 ; get PP Up count
pop bc
or b ; place normal max PP in 6 lower bits of a
- assert wMoveData + MOVE_PP + 1 == wPPUpCountAndMaxPP
+ ASSERT wMoveData + MOVE_PP + 1 == wPPUpCountAndMaxPP
ld h, d
ld l, e
inc hl ; hl = wPPUpCountAndMaxPP
diff --git a/engine/items/town_map.asm b/engine/items/town_map.asm
index cac6f2dd..18903294 100644
--- a/engine/items/town_map.asm
+++ b/engine/items/town_map.asm
@@ -212,7 +212,7 @@ LoadTownMap_Fly::
ld [wDestinationMap], a
ld hl, wStatusFlags6
set BIT_FLY_WARP, [hl]
- assert wStatusFlags6 + 1 == wStatusFlags7
+ ASSERT wStatusFlags6 + 1 == wStatusFlags7
inc hl
set BIT_USED_FLY, [hl]
.pressedB