aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2023-11-22 00:54:39 +0000
committerGitHub <noreply@github.com>2023-11-21 19:54:39 -0500
commita681f718ac0fa6077c45ad793968a8f0cbfb93c7 (patch)
tree5384788c8f26c83de715a47d92e4e54623db134b /engine
parentUse MEGA_PUNCH constant in explosion animation routine (#434) (diff)
downloadpokeyellow-a681f718ac0fa6077c45ad793968a8f0cbfb93c7.tar.gz
pokeyellow-a681f718ac0fa6077c45ad793968a8f0cbfb93c7.tar.xz
pokeyellow-a681f718ac0fa6077c45ad793968a8f0cbfb93c7.zip
Rename `EV_*` constants to `EVOLVE_*` like pokecrystal (#407)
Diffstat (limited to 'engine')
-rw-r--r--engine/menus/party_menu.asm2
-rw-r--r--engine/pokemon/evos_moves.asm6
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/menus/party_menu.asm b/engine/menus/party_menu.asm
index f77beb26..5a473ccf 100644
--- a/engine/menus/party_menu.asm
+++ b/engine/menus/party_menu.asm
@@ -142,7 +142,7 @@ RedrawPartyMenu_::
jr z, .placeEvolutionStoneString ; if so, place the "NOT ABLE" string
inc hl
inc hl
- cp EV_ITEM
+ cp EVOLVE_ITEM
jr nz, .checkEvolutionsLoop
; if it's a stone evolution entry
dec hl
diff --git a/engine/pokemon/evos_moves.asm b/engine/pokemon/evos_moves.asm
index 7e41d58d..d6b51ee5 100644
--- a/engine/pokemon/evos_moves.asm
+++ b/engine/pokemon/evos_moves.asm
@@ -67,20 +67,20 @@ Evolution_PartyMonLoop: ; loop over party mons
and a ; have we reached the end of the evolution data?
jr z, Evolution_PartyMonLoop
ld b, a ; evolution type
- cp EV_TRADE
+ cp EVOLVE_TRADE
jr z, .checkTradeEvo
; not trade evolution
ld a, [wLinkState]
cp LINK_STATE_TRADING
jr z, Evolution_PartyMonLoop ; if trading, go the next mon
ld a, b
- cp EV_ITEM
+ cp EVOLVE_ITEM
jr z, .checkItemEvo
ld a, [wForceEvolution]
and a
jr nz, Evolution_PartyMonLoop
ld a, b
- cp EV_LEVEL
+ cp EVOLVE_LEVEL
jr z, .checkLevel
.checkTradeEvo
ld a, [wLinkState]