diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index d8094f96368..01d569173c2 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -327,6 +327,11 @@ export class GorillaTacticsTag extends MoveRestrictionBattlerTag { pokemon.setStat(Stat.ATK, pokemon.getStat(Stat.ATK, false) * 1.5, false); } + override loadTag(source: BattlerTag | any): void { + super.loadTag(source); + this.moveId = source.moveId; + } + /** * * @override @@ -2499,6 +2504,11 @@ export class TormentTag extends MoveRestrictionBattlerTag { pokemon.scene.queueMessage(i18next.t("battlerTags:tormentOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }), 1500); } + override loadTag(source: BattlerTag | any): void { + super.loadTag(source); + this.target = source.target.toPokemon(); + } + /** * Torment only ends when the affected Pokemon leaves the battle field * @param {Pokemon} pokemon the Pokemon under the effects of Torment @@ -2609,6 +2619,11 @@ export class ImprisonTag extends MoveRestrictionBattlerTag { return false; } + override loadTag(source: BattlerTag | any): void { + super.loadTag(source); + this.source = source.source.toPokemon(); + } + override selectionDeniedText(_pokemon: Pokemon, move: Moves): string { return i18next.t("battle:moveCannotBeSelected", { moveName: allMoves[move].name }); }