You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Use more constants in scripts
This commit is contained in:
@@ -603,13 +603,13 @@ SpecialGameboyCheck: ; c478
|
||||
jr nz, .sgb
|
||||
|
||||
.gb
|
||||
xor a
|
||||
xor a ; GBCHECK_GB
|
||||
jr .done
|
||||
.sgb
|
||||
ld a, 1
|
||||
ld a, GBCHECK_SGB
|
||||
jr .done
|
||||
.cgb
|
||||
ld a, 2
|
||||
ld a, GBCHECK_CGB
|
||||
.done
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user