shithub: pokecrystal

Download patch

ref: 328a6737db6b015b7eda3b3a0c637575c1b10165
parent: 7233c19f57a452da2496f3eba5ed8d0a4293616e
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Mon Aug 17 09:02:49 EDT 2020

Use ISCONST for future rgbds lexer compatibility

--- a/home/text.asm
+++ b/home/text.asm
@@ -187,7 +187,7 @@
 	cp \1
 endc
 
-if STRSUB("\2", 1, 1) == "\""
+if ISCONST(\2)
 ; Replace a character with another one
 	jr nz, ._\@
 	ld a, \2