From 381a4b443b0453a5b2f6c59f857c523612e015af Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 21 Mar 2021 17:47:50 -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 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 -- cgit v1.2.3