aboutsummaryrefslogtreecommitdiffstats
path: root/home/text.asm
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2023-07-15 23:36:59 +0100
committerGitHub <noreply@github.com>2023-07-15 18:36:59 -0400
commitf46db37d508f0111ad44ad062ed3d83ba3282d1d (patch)
tree170af31852384f5a207918decf05e45a837d95d1 /home/text.asm
parentAdd macros, constants, and labels for map scripts and text (#367) (diff)
downloadpokeyellow-f46db37d508f0111ad44ad062ed3d83ba3282d1d.tar.gz
pokeyellow-f46db37d508f0111ad44ad062ed3d83ba3282d1d.tar.xz
pokeyellow-f46db37d508f0111ad44ad062ed3d83ba3282d1d.zip
Thoroughly document debug code (#410)
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