From af52a01692049350806163837b49460baac79c84 Mon Sep 17 00:00:00 2001 From: DustinLin Date: Fri, 16 Aug 2024 20:36:57 -0400 Subject: [PATCH] adding comments, dialogue is expected behavior --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index c10df481c96..190250bab66 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -5007,7 +5007,7 @@ export class PartingShotAttr extends ForceSwitchOutAttr { getCondition(): MoveConditionFunc { return (user, target, move) => { // conditions on if move should fail or not don't depend on if user is able to switch - // getCondition() is called before move is applied: move will only switch out if canLowerStats + // getCondition() is called before move is applied: move will only switch out if canLowerStats === true if (target.hasAbility(Abilities.CLEAR_BODY, true, false) || (target.summonData.battleStats[0] === -6 && target.summonData.battleStats[2] === -6) || target.scene.arena.findTagsOnSide(t => t.tagType === ArenaTagType.MIST, ArenaTagSide.ENEMY).length > 0 ) {