Merge pull request #760 from ISSOtm/master

Enable compatibility with upcoming RGBASM version
This commit is contained in:
Rangi 2020-08-18 10:19:18 -04:00 committed by GitHub
commit b577e4e179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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