From 15a762d2c5e1df7b7455cf2e8581973afe8fc82f Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Mon, 19 May 2025 15:27:51 -0400 Subject: [PATCH] Fixed a thing --- src/phases/move-phase.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phases/move-phase.ts b/src/phases/move-phase.ts index 319f08cd982..fd156d22241 100644 --- a/src/phases/move-phase.ts +++ b/src/phases/move-phase.ts @@ -250,8 +250,8 @@ export class MovePhase extends BattlePhase { switch (this.pokemon.status.effect) { case StatusEffect.PARALYSIS: - activated = Overrides.STATUS_ACTIVATION_OVERRIDE ?? - this.pokemon.randBattleSeedInt(4) === 0 || Overrides.STATUS_ACTIVATION_OVERRIDE === true) && + activated = + (this.pokemon.randBattleSeedInt(4) === 0 || Overrides.STATUS_ACTIVATION_OVERRIDE === true) && Overrides.STATUS_ACTIVATION_OVERRIDE !== false; break; case StatusEffect.SLEEP: {