diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:33:05 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:44:41 -0400 |
| commit | 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch) | |
| tree | 5a7b79846bd7f07e40310da46b21873774a08ef7 /data/maps/map_header_banks.asm | |
| parent | Remove unused _GREEN TitleMons data (diff) | |
| download | pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.tar.gz pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.tar.xz pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.zip | |
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'data/maps/map_header_banks.asm')
| -rw-r--r-- | data/maps/map_header_banks.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/maps/map_header_banks.asm b/data/maps/map_header_banks.asm index d698cfee..87ec01cf 100644 --- a/data/maps/map_header_banks.asm +++ b/data/maps/map_header_banks.asm @@ -1,5 +1,6 @@ ; see also MapHeaderPointers MapHeaderBanks:: + table_width 1, MapHeaderBanks db BANK(PalletTown_h) db BANK(ViridianCity_h) db BANK(PewterCity_h) @@ -248,3 +249,4 @@ MapHeaderBanks:: db BANK(LoreleisRoom_h) db BANK(BrunosRoom_h) db BANK(AgathasRoom_h) + assert_table_length NUM_MAPS |
