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:
@@ -52,22 +52,22 @@ Special_CheckMagikarpLength: ; fbb32
|
||||
ld hl, PartyMonOT
|
||||
call SkipNames
|
||||
call CopyBytes
|
||||
ld a, 3
|
||||
ld a, MAGIKARPLENGTH_BEAT_RECORD
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
|
||||
.not_long_enough
|
||||
ld a, 2
|
||||
ld a, MAGIKARPLENGTH_TOO_SHORT
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
|
||||
.declined
|
||||
ld a, 1
|
||||
ld a, MAGIKARPLENGTH_REFUSED
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
|
||||
.not_magikarp
|
||||
xor a
|
||||
xor a ; MAGIKARPLENGTH_NOT_MAGIKARP
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; fbba9
|
||||
|
||||
Reference in New Issue
Block a user