aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/evolve_trade.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-01-28 23:31:15 -0500
committerGitHub <noreply@github.com>2025-01-28 23:31:15 -0500
commitafb899016938d03911eaafb85c7caa1c67680210 (patch)
tree26e5d73301ab16e060c4a16171e0a5aa3c47d732 /engine/events/evolve_trade.asm
parentComment on size of union (diff)
downloadpokeyellow-afb899016938d03911eaafb85c7caa1c67680210.tar.gz
pokeyellow-afb899016938d03911eaafb85c7caa1c67680210.tar.xz
pokeyellow-afb899016938d03911eaafb85c7caa1c67680210.zip
Miscellaneous cleanup (#488)
Co-authored-by: SatoMew <SatoMew@users.noreply.github.com>
Diffstat (limited to 'engine/events/evolve_trade.asm')
-rw-r--r--engine/events/evolve_trade.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/evolve_trade.asm b/engine/events/evolve_trade.asm
index 56069fac..8daf2b05 100644
--- a/engine/events/evolve_trade.asm
+++ b/engine/events/evolve_trade.asm
@@ -1,4 +1,4 @@
-EvolveTradeMon:
+InGameTrade_CheckForTradeEvo:
; Verify the TradeMon's species name before
; attempting to initiate a trade evolution.
@@ -34,7 +34,7 @@ EvolveTradeMon:
ld a, [wPartyCount]
dec a
ld [wWhichPokemon], a
- ld a, $1
+ ld a, TRUE
ld [wForceEvolution], a
ld a, LINK_STATE_TRADING
ld [wLinkState], a