Enable compatibility with upcoming RGBASM version
This is additionally required, because an `elif`'s condition is evaluated even when it's about to be skipped over, and this `"\2"` will become an error
This commit is contained in:
@@ -192,12 +192,14 @@ if ISCONST(\2)
|
|||||||
jr nz, ._\@
|
jr nz, ._\@
|
||||||
ld a, \2
|
ld a, \2
|
||||||
._\@:
|
._\@:
|
||||||
elif STRSUB("\2", 1, 1) == "."
|
else
|
||||||
|
if STRSUB("\2", 1, 1) == "."
|
||||||
; Locals can use a short jump
|
; Locals can use a short jump
|
||||||
jr z, \2
|
jr z, \2
|
||||||
else
|
else
|
||||||
jp z, \2
|
jp z, \2
|
||||||
endc
|
endc
|
||||||
|
endc
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
dict "<MOBILE>", MobileScriptChar
|
dict "<MOBILE>", MobileScriptChar
|
||||||
|
Reference in New Issue
Block a user