Split PokeBattle_Trainer into PlayerTrainer and NPCTrainer

This commit is contained in:
Maruno17
2021-01-24 17:55:39 +00:00
parent 7de034957b
commit 4098b1cd11
60 changed files with 748 additions and 648 deletions

View File

@@ -588,8 +588,8 @@ class PokemonEvolutionScene
@pokemon.form = 0 if @pokemon.isSpecies?(:MOTHIM)
@pokemon.calcStats
# See and own evolved species
$Trainer.seen[@newspecies] = true
$Trainer.owned[@newspecies] = true
$Trainer.set_seen(@newspecies)
$Trainer.set_owned(@newspecies)
pbSeenForm(@pokemon)
# Learn moves upon evolution for evolved species
movelist = @pokemon.getMoveList
@@ -619,8 +619,8 @@ class PokemonEvolutionScene
# Add duplicate Pokémon to party
$Trainer.party.push(new_pkmn)
# See and own duplicate Pokémon
$Trainer.seen[new_species] = true
$Trainer.owned[new_species] = true
$Trainer.set_seen(new_species)
$Trainer.set_owned(new_species)
pbSeenForm(new_pkmn)
end
end