Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja.

pull/136/head
surniki 2024-04-14 17:00:50 -05:00 committed by Samuel H
parent be9d07ab1a
commit 208279ce77
1 changed files with 1 additions and 0 deletions

View File

@ -2260,6 +2260,7 @@ export class PlayerPokemon extends Pokemon {
if (newEvolution.condition.predicate(this)) {
const newPokemon = this.scene.addPlayerPokemon(this.species, this.level, this.abilityIndex, this.formIndex, this.gender, this.shiny, this.ivs, this.nature);
newPokemon.natureOverride = this.natureOverride;
newPokemon.moveset = this.moveset.slice();
newPokemon.fusionSpecies = this.fusionSpecies;
newPokemon.fusionFormIndex = this.fusionFormIndex;
newPokemon.fusionAbilityIndex = this.fusionAbilityIndex;