summaryrefslogtreecommitdiff
path: root/engine/debug
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-21 17:47:50 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-21 17:47:50 -0400
commit381a4b443b0453a5b2f6c59f857c523612e015af (patch)
treebd6cc235bbf89ac4e8535a7a612c9632353bc235 /engine/debug
parent24c6b2d3a109d5da9632582f1946d61b4d5cb1bf (diff)
Assert the sBox1-14 tables have NUM_BOXES entries
Diffstat (limited to 'engine/debug')
-rw-r--r--engine/debug/debug_room.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/debug/debug_room.asm b/engine/debug/debug_room.asm
index 3af67311..a2309dad 100644
--- a/engine/debug/debug_room.asm
+++ b/engine/debug/debug_room.asm
@@ -1174,6 +1174,7 @@ DebugRoom_BoxStructStrings:
.SendBox: db "SEND BOX@"
DebugRoom_BoxAddresses:
+ table_width 3, DebugRoom_BoxAddresses
dba sBox1
dba sBox2
dba sBox3
@@ -1188,6 +1189,7 @@ DebugRoom_BoxAddresses:
dba sBox12
dba sBox13
dba sBox14
+ assert_table_length NUM_BOXES
DebugRoomMenu_RTCEdit:
ld hl, .PagedValuesHeader