summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-17 13:02:49 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-17 13:02:49 -0400
commit328a6737db6b015b7eda3b3a0c637575c1b10165 (patch)
tree61b519ee94b2c5c71015abaf6d8e9f2e43b818af
parent7233c19f57a452da2496f3eba5ed8d0a4293616e (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 f6429bf01..983239394 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -187,7 +187,7 @@ else
cp \1
endc
-if STRSUB("\2", 1, 1) == "\""
+if ISCONST(\2)
; Replace a character with another one
jr nz, ._\@
ld a, \2