summaryrefslogtreecommitdiff
path: root/engine/debug
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-21 17:47:53 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-21 17:47:53 -0400
commit0506e5b1b9d755aad006a52d9f9c9c9baea710fb (patch)
treee2c3b904e0aee92cf8438e42e3775982ec65cf73 /engine/debug
parent7fd23ae918f132772e9282830b6aaa353e9e5244 (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 498b307f3..9f2b9287d 100644
--- a/engine/debug/debug_room.asm
+++ b/engine/debug/debug_room.asm
@@ -1355,6 +1355,7 @@ DebugRoom_BoxStructStrings:
.SendBox: db "SEND BOX@"
DebugRoom_BoxAddresses:
+ table_width 3, DebugRoom_BoxAddresses
dba sBox1
dba sBox2
dba sBox3
@@ -1369,6 +1370,7 @@ DebugRoom_BoxAddresses:
dba sBox12
dba sBox13
dba sBox14
+ assert_table_length NUM_BOXES
DebugRoomMenu_RTCEdit:
ld hl, .PagedValuesHeader