From 0506e5b1b9d755aad006a52d9f9c9c9baea710fb Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 21 Mar 2021 17:47:53 -0400 Subject: Assert the sBox1-14 tables have NUM_BOXES entries --- engine/debug/debug_room.asm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/debug') 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 -- cgit v1.2.3