Add Trader to Celadon University

Includes fixes to allow trade evos to exist
This commit is contained in:
May Evans 2022-09-26 22:08:35 +01:00
parent 2d0cac3830
commit c243548fc4
8 changed files with 94 additions and 22 deletions

View file

@ -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