parent
0ba8959b11
commit
d1e1879920
|
@ -1655,6 +1655,11 @@ export class SwitchSummonPhase extends SummonPhase {
|
|||
pokemonName: getPokemonNameWithAffix(this.getPokemon())
|
||||
})
|
||||
);
|
||||
// Ensure improperly persisted summon data (such as tags) is cleared upon switching
|
||||
if (!this.batonPass) {
|
||||
party[this.fieldIndex].resetBattleData();
|
||||
party[this.fieldIndex].resetSummonData();
|
||||
}
|
||||
this.summon();
|
||||
};
|
||||
if (this.player) {
|
||||
|
|
Loading…
Reference in New Issue