aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-08-13 15:09:12 -0400
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-08-13 15:09:12 -0400
commitc51d1b7a1d03934f73ab1d8d6463581f671bf0a1 (patch)
tree711572090a761045918297d6f20091a87414f85d /scripts
parentSay how many bytes the assertion macros expected vs got (diff)
downloadpokeyellow-c51d1b7a1d03934f73ab1d8d6463581f671bf0a1.tar.gz
pokeyellow-c51d1b7a1d03934f73ab1d8d6463581f671bf0a1.tar.xz
pokeyellow-c51d1b7a1d03934f73ab1d8d6463581f671bf0a1.zip
List end markers (-1 aka $FF) are not part of table data
Diffstat (limited to 'scripts')
-rw-r--r--scripts/CeruleanBadgeHouse.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/CeruleanBadgeHouse.asm b/scripts/CeruleanBadgeHouse.asm
index 1c7e0200..65606a5e 100644
--- a/scripts/CeruleanBadgeHouse.asm
+++ b/scripts/CeruleanBadgeHouse.asm
@@ -53,8 +53,8 @@ CeruleanBadgeHouseMiddleAgedManText:
jp TextScriptEnd
.BadgeItemList:
- table_width 1
db NUM_BADGES ; #
+ table_width 1
db BOULDERBADGE
db CASCADEBADGE
db THUNDERBADGE
@@ -63,8 +63,8 @@ CeruleanBadgeHouseMiddleAgedManText:
db MARSHBADGE
db VOLCANOBADGE
db EARTHBADGE
+ assert_table_length NUM_BADGES
db -1 ; end
- assert_table_length NUM_BADGES + 2
.Text:
text_far _CeruleanBadgeHouseMiddleAgedManText