aboutsummaryrefslogtreecommitdiffstats
path: root/home/text.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/text.asm')
-rw-r--r--home/text.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/text.asm b/home/text.asm
index 836f3986..9462c749 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -111,10 +111,14 @@ NextChar::
inc de
jp PlaceNextChar
-NullChar::
+NullChar:: ; unused
ld b, h
ld c, l
pop hl
+ ; A "<NULL>" character in a printed string
+ ; displays an error message with the current value
+ ; of hSpriteIndexOrTextID in decimal format.
+ ; This is a debugging leftover.
ld de, TextIDErrorText
dec de
ret