mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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:
parent
9d6ac04c9d
commit
e0b783bb7b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user