From 6d15ea90c6d0d74b7a49097f50828a538229aec8 Mon Sep 17 00:00:00 2001 From: YounesM Date: Sun, 19 May 2024 18:01:06 +0200 Subject: [PATCH] Corrected dancing StatusMove triggering --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 804a6e94350..02aeb2393c7 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2310,7 +2310,7 @@ export class PostDancingMoveAbAttr extends PostMoveUsedAbAttr { // The move to replicate cannot come from the Dancer if (source.getBattlerIndex() !== dancer.getBattlerIndex()) { // If the move is an AttackMove or a StatusMove the Dancer must replicate the move on the source of the Dance - if (move.getMove() instanceof AttackMove || move instanceof StatusMove) { + if (move.getMove() instanceof AttackMove || move.getMove() instanceof StatusMove) { const target = this.getTarget(dancer, source, targets); dancer.scene.unshiftPhase(new MovePhase(dancer.scene, dancer, target, move, true)); }