Add assertions to some more tables

This commit is contained in:
Rangi
2021-10-24 18:25:44 -04:00
parent d4a6a1b2bc
commit 187b120007
5 changed files with 9 additions and 1 deletions

View File

@@ -1170,7 +1170,9 @@ INCLUDE "gfx/sgb/pal_packets.asm"
INCLUDE "data/sgb_ctrl_packets.asm"
PredefPals:
table_width PALETTE_SIZE, PredefPals
INCLUDE "gfx/sgb/predef.pal"
assert_table_length NUM_PREDEF_PALS
SGBBorderMapAndPalettes:
; interleaved tile ids and palette ids, without the center 20x18 screen area