From 208279ce772a8dd43feddf221b04feb925f8424e Mon Sep 17 00:00:00 2001 From: surniki Date: Sun, 14 Apr 2024 17:00:50 -0500 Subject: [PATCH] Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja. --- src/field/pokemon.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index f7832d612..9fbe01f53 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -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;