shithub: pokecrystal

Download patch

ref: b577e4e179711e96f8e059b42c7115e7103a4a69
parent: 9d6ac04c9d43cdf5587e137878bacaebf89a7158
parent: e0b783bb7b9b73ff48b079a50156e0efdbf08be3
author: Rangi <35663410+Rangi42@users.noreply.github.com>
date: Tue Aug 18 06:19:18 EDT 2020

Merge pull request #760 from ISSOtm/master

Enable compatibility with upcoming RGBASM version

--- a/home/text.asm
+++ b/home/text.asm
@@ -192,11 +192,13 @@
 	jr nz, ._\@
 	ld a, \2
 ._\@:
-elif STRSUB("\2", 1, 1) == "."
-; Locals can use a short jump
-	jr z, \2
 else
+	if STRSUB("\2", 1, 1) == "."
+	; Locals can use a short jump
+	jr z, \2
+	else
 	jp z, \2
+	endc
 endc
 ENDM