From 616219d17eae93d390f7e3ea3ba5ace6fb6cae91 Mon Sep 17 00:00:00 2001 From: Mumble Date: Sat, 17 Aug 2024 12:50:50 -0700 Subject: [PATCH] [Hotfix] Removed isFreshStartChallenge() check (#3599) * Removed isFreshStartChallenge() check * Better conditional --------- Co-authored-by: Frutescens --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 6a9e25b8b5e..da3096b0d2d 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2036,7 +2036,7 @@ export class CommandPhase extends FieldPhase { } break; case Command.BALL: - if (!this.scene.gameMode.isFreshStartChallenge() && this.scene.arena.biomeType === Biome.END && (!this.scene.gameMode.isClassic || (this.scene.getEnemyField().filter(p => p.isActive(true)).some(p => !p.scene.gameData.dexData[p.species.speciesId].caughtAttr) && this.scene.gameData.getStarterCount(d => !!d.caughtAttr) < Object.keys(speciesStarters).length - 1))) { + if (this.scene.arena.biomeType === Biome.END && (!this.scene.gameMode.isClassic || this.scene.gameMode.isFreshStartChallenge() || (this.scene.getEnemyField().filter(p => p.isActive(true)).some(p => !p.scene.gameData.dexData[p.species.speciesId].caughtAttr) && this.scene.gameData.getStarterCount(d => !!d.caughtAttr) < Object.keys(speciesStarters).length - 1))) { this.scene.ui.setMode(Mode.COMMAND, this.fieldIndex); this.scene.ui.setMode(Mode.MESSAGE); this.scene.ui.showText(i18next.t("battle:noPokeballForce"), null, () => {