mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13:00
Add Trader to Celadon University
Includes fixes to allow trade evos to exist
This commit is contained in:
parent
2d0cac3830
commit
c243548fc4
8 changed files with 94 additions and 22 deletions
|
|
@ -16,24 +16,8 @@ EvolveTradeMon:
|
|||
; were used instead, where none can evolve.
|
||||
|
||||
; This was fixed in Yellow.
|
||||
; KEP removes this quirk.
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue