From 9f9d2dc71ce9327a33ddfef96abfdd80031e95d3 Mon Sep 17 00:00:00 2001 From: Jesse Chung Date: Mon, 26 Aug 2024 17:17:43 -0700 Subject: [PATCH] d --- src/data/move.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index 5d28af0b307..42c3d77f8b3 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -1961,8 +1961,8 @@ export class StatusEffectAttr extends MoveEffectAttr { return false; } if ((!pokemon.status || (pokemon.status.effect === this.effect && moveChance < 0)) - && pokemon.checkIfCanSetStatus(this.effect, false, false, user) && pokemon.trySetStatus(this.effect, true, user, this.cureTurn)) { - applyPostAttackAbAttrs(ConfusionOnStatusEffectAbAttr, user, target, move, null, false, this.effect); + && pokemon.trySetStatus(this.effect, false, user, this.cureTurn)) { + applyPostAttackAbAttrs(ConfusionOnStatusEffectAbAttr, user, target, move, null, this.effect); return true; } }