summaryrefslogtreecommitdiff
path: root/home/text.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/text.asm')
-rw-r--r--home/text.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/text.asm b/home/text.asm
index 5c90be52..36fda27b 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -613,6 +613,7 @@ DoTextUntilTerminator::
TextCommands::
; entries correspond to TX_* constants (see macros/scripts/text.asm)
+ table_width 2, TextCommands
dw TextCommand_START ; TX_START
dw TextCommand_RAM ; TX_RAM
dw TextCommand_BCD ; TX_BCD
@@ -636,6 +637,7 @@ TextCommands::
dw TextCommand_STRINGBUFFER ; TX_STRINGBUFFER
dw TextCommand_DAY ; TX_DAY
dw TextCommand_FAR ; TX_FAR
+ assert_table_length NUM_TEXT_CMDS
TextCommand_START::
; write text until "@"