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/songs.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/songs.asm')
| -rw-r--r-- | data/maps/songs.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/maps/songs.asm b/data/maps/songs.asm index 28e17223..111b87b8 100644 --- a/data/maps/songs.asm +++ b/data/maps/songs.asm @@ -1,4 +1,5 @@ MapSongBanks:: + table_width 2, MapSongBanks db MUSIC_PALLET_TOWN, BANK(Music_PalletTown) ; PALLET_TOWN db MUSIC_CITIES1, BANK(Music_Cities1) ; VIRIDIAN_CITY db MUSIC_CITIES1, BANK(Music_Cities1) ; PEWTER_CITY @@ -247,3 +248,4 @@ MapSongBanks:: db MUSIC_GYM, BANK(Music_Gym) ; LORELEIS_ROOM db MUSIC_DUNGEON1, BANK(Music_Dungeon1) ; BRUNOS_ROOM db MUSIC_POKEMON_TOWER, BANK(Music_PokemonTower) ; AGATHAS_ROOM + assert_table_length NUM_MAPS |
