changed target.scene to globalScene

This commit is contained in:
geeil-han 2025-02-07 21:44:22 +01:00
parent af69c3d1d1
commit ed06fd9515

View File

@ -4419,7 +4419,7 @@ export class SpectralThiefAttr extends StatChangeBeforeDmgCalcAttr {
target.updateInfo();
user.updateInfo();
target.scene.queueMessage(i18next.t("moveTriggers:stealPositiveStats", { pokemonName: getPokemonNameWithAffix(user), targetName: getPokemonNameWithAffix(target) }));
globalScene.queueMessage(i18next.t("moveTriggers:stealPositiveStats", { pokemonName: getPokemonNameWithAffix(user), targetName: getPokemonNameWithAffix(target) }));
return true;
}