From 172a8901e0b1b68af18d713b7bc64f05cf027b88 Mon Sep 17 00:00:00 2001 From: Scooom Date: Mon, 6 Jan 2025 18:16:13 -0600 Subject: [PATCH] Add ChallengeType.FLIP_STAT case to export function applyChallenges (Master Switch Function) --- src/data/challenge.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/data/challenge.ts b/src/data/challenge.ts index f43ea846c1a..3635cdbefad 100644 --- a/src/data/challenge.ts +++ b/src/data/challenge.ts @@ -975,6 +975,9 @@ export function applyChallenges(gameMode: GameMode, challengeType: ChallengeType case ChallengeType.MOVE_WEIGHT: ret ||= c.applyMoveWeight(args[0], args[1], args[2], args[3]); break; + case ChallengeType.FLIP_STAT: + ret ||= c.applyFlipStat(args[0], args[1]); + break; } } });