From 2b28a9dcecd0755e36f9be57409a7c8ceb446f50 Mon Sep 17 00:00:00 2001 From: xsn34kzx Date: Fri, 1 Aug 2025 17:10:40 -0400 Subject: [PATCH] Add "Nuzlocke" Achievement --- src/system/achv.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/system/achv.ts b/src/system/achv.ts index 69eade02e35..195d458c59d 100644 --- a/src/system/achv.ts +++ b/src/system/achv.ts @@ -5,6 +5,7 @@ import { FlipStatChallenge, FreshStartChallenge, InverseBattleChallenge, + LimitedCatchChallenge, SingleGenerationChallenge, SingleTypeChallenge, } from "#data/challenge"; @@ -922,6 +923,18 @@ export const achvs = { c.value > 0 && globalScene.gameMode.challenges.some(c => c.id === Challenges.INVERSE_BATTLE && c.value > 0), ).setSecret(), + // TODO: Decide on icon, description, etc. + NUZLOCKE: new ChallengeAchv( + "NUZLOCKE", + "", + "NUZLOCKE.description", + "leaf_stone", + 100, + c => + c instanceof LimitedCatchChallenge && + c.value > 0 && + globalScene.gameMode.challenges.some(c => c.id === Challenges.PERMANENT_FAINT && c.value > 0), + ), BREEDERS_IN_SPACE: new Achv("BREEDERS_IN_SPACE", "", "BREEDERS_IN_SPACE.description", "moon_stone", 50).setSecret(), };