Using phaseManager

This commit is contained in:
Wlowscha 2025-06-09 10:12:46 +02:00
parent 69b99887d9
commit 2f794dbc6e
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ export class BypassSpeedChanceHeldItem extends HeldItem {
globalScene.currentBattle.turnCommands[pokemon.getBattlerIndex()]?.command === Command.FIGHT;
if (isCommandFight) {
globalScene.queueMessage(
globalScene.phaseManager.queueMessage(
i18next.t("modifier:bypassSpeedChanceApply", {
pokemonName: getPokemonNameWithAffix(pokemon),
itemName: this.name,

View File

@ -51,7 +51,7 @@ export class ResetNegativeStatStageHeldItem extends ConsumableHeldItem {
}
if (statRestored) {
globalScene.queueMessage(
globalScene.phaseManager.queueMessage(
i18next.t("modifier:resetNegativeStatStageApply", {
pokemonNameWithAffix: getPokemonNameWithAffix(pokemon),
typeName: this.name,

View File

@ -43,7 +43,7 @@ export class SurviveChanceHeldItem extends HeldItem {
if (!surviveDamage.value && pokemon.randBattleSeedInt(10) < stackCount) {
surviveDamage.value = true;
globalScene.queueMessage(
globalScene.phaseManager.queueMessage(
i18next.t("modifier:surviveDamageApply", {
pokemonNameWithAffix: getPokemonNameWithAffix(pokemon),
typeName: this.name,