mirror of
https://github.com/pret/pokeyellow.git
synced 2026-04-26 01:31:29 -05:00
List end markers (-1 aka $FF) are not part of table data
This commit is contained in:
parent
263a35a3fb
commit
c51d1b7a1d
|
|
@ -255,7 +255,7 @@ MapHSPointers:
|
|||
dw -1 ; end
|
||||
|
||||
NoHS:
|
||||
db $FF, $FF, $FF
|
||||
db -1, -1, -1 ; end
|
||||
|
||||
MissableObjects:
|
||||
; entries correspond to HS_* constants (see constants/hide_show_constants)
|
||||
|
|
@ -564,5 +564,5 @@ SeafoamIslandsB4FHS:
|
|||
db SEAFOAM_ISLANDS_B4F, SEAFOAMISLANDSB4F_BOULDER1, HIDE
|
||||
db SEAFOAM_ISLANDS_B4F, SEAFOAMISLANDSB4F_BOULDER2, HIDE
|
||||
db SEAFOAM_ISLANDS_B4F, SEAFOAMISLANDSB4F_ARTICUNO, SHOW
|
||||
db $FF, $01, SHOW ; end
|
||||
assert_table_length NUM_HS_OBJECTS + 1
|
||||
assert_table_length NUM_HS_OBJECTS
|
||||
db -1, 1, SHOW ; end
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user