Verify data table and name list sizes with assertion macros

Fixes #312
This commit is contained in:
Rangi 2021-03-25 16:33:05 -04:00
parent e1f6bb5393
commit 95ec2cf039
139 changed files with 863 additions and 437 deletions

View file

@ -1,4 +1,5 @@
WildDataPointers:
table_width 2, WildDataPointers
dw NoMons ; PALLET_TOWN
dw NoMons ; VIRIDIAN_CITY
dw NoMons ; PEWTER_CITY
@ -247,6 +248,7 @@ WildDataPointers:
dw NoMons
dw NoMons
dw NoMons
assert_table_length NUM_MAPS
dw -1 ; end
; wild pokemon data is divided into two parts.