summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-17 13:02:39 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-17 13:02:39 -0400
commit2f5f496e111de3b08a2c52515eb0a18a57e9cac3 (patch)
tree82748ae39ae7ef9184d61b2e8504985c581f8cdd
parent2556704a43578787262a1a5bc34989eea98496c0 (diff)
Use ISCONST for future rgbds lexer compatibility
-rw-r--r--home/text.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/text.asm b/home/text.asm
index f21b940c..0ebde4fe 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -178,7 +178,7 @@ else
cp \1
endc
-if STRSUB("\2", 1, 1) == "\""
+if ISCONST(\2)
; Replace a character with another one
jr nz, ._\@
ld a, \2