diff options
| author | IIMarckus <iimarckus@gmail.com> | 2018-06-02 03:58:54 -0600 |
|---|---|---|
| committer | IIMarckus <iimarckus@gmail.com> | 2018-06-02 03:58:54 -0600 |
| commit | 5e32a29c2e25641c17d794d8e321904cdf7de950 (patch) | |
| tree | d7bf99ff898027beee690e67dab6c847b6783582 /engine/evolve_trade.asm | |
| parent | 1a13f92d5db9cf08ddd87a5fc79f446375138b77 (diff) | |
Migrate language-dependent files to a subdirectory.
Diffstat (limited to 'engine/evolve_trade.asm')
| -rwxr-xr-x | engine/evolve_trade.asm | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/engine/evolve_trade.asm b/engine/evolve_trade.asm deleted file mode 100755 index e17fc05c..00000000 --- a/engine/evolve_trade.asm +++ /dev/null @@ -1,44 +0,0 @@ -EvolveTradeMon: -; Verify the TradeMon's species name before -; attempting to initiate a trade evolution. - -; The names of the trade evolutions in Blue (JP) -; are checked. In that version, TradeMons that -; can evolve are Graveler and Haunter. - -; In localization, this check was translated -; before monster names were finalized. -; Then, Haunter's name was "Spectre". -; Since its name no longer starts with -; "SP", it is prevented from evolving. - -; This may have been why Red/Green's trades -; were used instead, where none can evolve. - -; This was fixed in Yellow. - - ld a, [wInGameTradeReceiveMonName] - - ; GRAVELER - cp "G" - jr z, .ok - - ; "SPECTRE" (HAUNTER) - cp "S" - ret nz - ld a, [wInGameTradeReceiveMonName + 1] - cp "P" - ret nz - -.ok - ld a, [wPartyCount] - dec a - ld [wWhichPokemon], a - ld a, $1 - ld [wForceEvolution], a - ld a, LINK_STATE_TRADING - ld [wLinkState], a - callab TryEvolvingMon - xor a ; LINK_STATE_NONE - ld [wLinkState], a - jp PlayDefaultMusic |
