summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-08-18 10:19:18 -0400
committerGitHub <noreply@github.com>2020-08-18 10:19:18 -0400
commitb577e4e179711e96f8e059b42c7115e7103a4a69 (patch)
treea94e160023337ef3861fa732179013b8caef5079
parent9d6ac04c9d43cdf5587e137878bacaebf89a7158 (diff)
parente0b783bb7b9b73ff48b079a50156e0efdbf08be3 (diff)
Merge pull request #760 from ISSOtm/master
Enable compatibility with upcoming RGBASM version
-rw-r--r--home/text.asm8
1 files changed, 5 insertions, 3 deletions
diff --git a/home/text.asm b/home/text.asm
index 173b246eb..f4130e337 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -192,11 +192,13 @@ if ISCONST(\2)
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