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,5 +1,6 @@
; see also MapHeaderBanks
MapHeaderPointers::
table_width 2, MapHeaderPointers
dw PalletTown_h
dw ViridianCity_h
dw PewterCity_h
@ -247,4 +248,5 @@ MapHeaderPointers::
dw SilphCo2F_h ; UNUSED_MAP_F4
dw LoreleisRoom_h
dw BrunosRoom_h
dw AgathasRoom_h ;247
dw AgathasRoom_h
assert_table_length NUM_MAPS