From 1f5c901cddadab36cce9294b2b0377d148254bd9 Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Mon, 23 Jun 2025 08:42:59 -0400 Subject: [PATCH] Update move-phase.ts --- src/phases/move-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/move-phase.ts b/src/phases/move-phase.ts index 7b618249652..698b99c5d6e 100644 --- a/src/phases/move-phase.ts +++ b/src/phases/move-phase.ts @@ -314,7 +314,7 @@ export class MovePhase extends BattlePhase { } // Check if the move has any attributes that can interrupt its own use **before** displaying text. - applyMoveAttrs("PreUseInterruptAttr", this.pokemon, targets[0], move); + // TODO: This should not rely on direct return values let failed = move.getAttrs("PreUseInterruptAttr").some(attr => attr.apply(this.pokemon, targets[0], move)); if (failed) { this.failMove(false);