summaryrefslogtreecommitdiff
path: root/data/maps/hide_show_data.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-03-25 17:39:44 -0500
committerdannye <33dannye@gmail.com>2021-03-25 17:39:44 -0500
commiteb47bda8ee5c1f002236200df36012de9e243a97 (patch)
treefc69fc5435582efebd36fc54414673dd8ac7f646 /data/maps/hide_show_data.asm
parentd07a66662728225c1422fed1072281dee71a2c9e (diff)
parent95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (diff)
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'data/maps/hide_show_data.asm')
-rw-r--r--data/maps/hide_show_data.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/maps/hide_show_data.asm b/data/maps/hide_show_data.asm
index 39e8cab4..810da263 100644
--- a/data/maps/hide_show_data.asm
+++ b/data/maps/hide_show_data.asm
@@ -2,6 +2,7 @@
MapHSPointers:
; entries correspond to map ids
+ table_width 2, MapHSPointers
dw PalletTownHS
dw ViridianCityHS
dw PewterCityHS
@@ -251,6 +252,7 @@ MapHSPointers:
dw NoHS
dw NoHS
dw NoHS ; beach house
+ assert_table_length NUM_MAPS
dw -1 ; end
NoHS:
@@ -258,6 +260,7 @@ NoHS:
MissableObjects:
; entries correspond to HS_* constants (see constants/hide_show_constants)
+ table_width 3, MissableObjects
; format: map id, object id, HIDE/SHOW
PalletTownHS:
@@ -576,3 +579,4 @@ BluesHouseHSCopy: ; unreferenced
db BLUES_HOUSE, $02, HIDE
db BLUES_HOUSE, $03, SHOW
db $FF, $01, SHOW ; end
+ assert_table_length NUM_HS_OBJECTS + 1