Use more constants in scripts

This commit is contained in:
Remy Oukaour
2018-01-12 01:40:20 -05:00
parent b23085f526
commit d83aefb30a
120 changed files with 828 additions and 732 deletions

View File

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