diff options
author | YamaArashi <shadow962@live.com> | 2015-07-19 20:45:34 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-19 20:45:34 -0700 |
commit | db7d941d22d89cf8d6d13cbf768208c5cf2ac2c2 (patch) | |
tree | 4dcd58e0fe7ac33bf38817f423754dc758cb902f /engine/evos_moves.asm | |
parent | 1d86932cc9c38815434409f07d14c2bfe4e7a836 (diff) |
constants for flag actions
Diffstat (limited to 'engine/evos_moves.asm')
-rwxr-xr-x | engine/evos_moves.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/evos_moves.asm b/engine/evos_moves.asm index 3129b560..2c668d63 100755 --- a/engine/evos_moves.asm +++ b/engine/evos_moves.asm @@ -5,7 +5,7 @@ TryEvolvingMon: ; 3ad0e (e:6d0e) ld [hl], a ld a, [wWhichPokemon] ld c, a - ld b, $1 + ld b, FLAG_SET call Evolution_FlagAction ; this is only called after battle @@ -36,7 +36,7 @@ Evolution_PartyMonLoop: ; loop over party mons ld a, [wWhichPokemon] ld c, a ld hl, wCanEvolveFlags - ld b, $2 + ld b, FLAG_TEST call Evolution_FlagAction ld a, c and a ; is the mon's bit set? @@ -217,7 +217,7 @@ Evolution_PartyMonLoop: ; loop over party mons ld a, [wd11e] dec a ld c, a - ld b, $1 + ld b, FLAG_SET ld hl, wPokedexOwned push bc call Evolution_FlagAction |