From bbbd55e265409721833d6be6f8e000f4366e22e1 Mon Sep 17 00:00:00 2001 From: Reldnahc Date: Sat, 4 May 2024 12:06:00 -0500 Subject: [PATCH] have move fail if conditions are no longer met after bounce. --- src/phases.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/phases.ts b/src/phases.ts index d2e216fae..cc395565d 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2416,6 +2416,10 @@ export class MoveEffectPhase extends PokemonPhase { const tempTargets = targets; targets = [user]; user = tempTargets[0]; + if (!this.move.getMove().applyConditions(targets[0], targets[0], this.move.getMove())) { + this.scene.queueMessage(i18next.t('menu:attackFailed')); + return this.end(); + } break; } }