From 1ab9b728981afab4d6e260c74db7f54ce6a93574 Mon Sep 17 00:00:00 2001 From: AJ Fontaine Date: Fri, 1 Aug 2025 20:40:10 -0400 Subject: [PATCH] Move updateInfo call --- src/data/challenge.ts | 1 - src/phases/select-starter-phase.ts | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/data/challenge.ts b/src/data/challenge.ts index 846500dbc1b..6115729e9af 100644 --- a/src/data/challenge.ts +++ b/src/data/challenge.ts @@ -734,7 +734,6 @@ export class FreshStartChallenge extends Challenge { } pokemon.ivs = [15, 15, 15, 15, 15, 15]; // Default IVs of 15 for all stats (Updated to 15 from 10 in 1.2.0) pokemon.teraType = pokemon.species.type1; // Always primary tera type - pokemon.updateInfo(); return true; } diff --git a/src/phases/select-starter-phase.ts b/src/phases/select-starter-phase.ts index 6456bacd0e3..d6bd252c77d 100644 --- a/src/phases/select-starter-phase.ts +++ b/src/phases/select-starter-phase.ts @@ -99,8 +99,12 @@ export class SelectStarterPhase extends Phase { starterPokemon.generateFusionSpecies(true); } starterPokemon.setVisible(false); - applyChallenges(ChallengeType.STARTER_MODIFY, starterPokemon); + const chalApplied = applyChallenges(ChallengeType.STARTER_MODIFY, starterPokemon); party.push(starterPokemon); + if (chalApplied) { + // If any challenges modified the starter, it should update + loadPokemonAssets.push(starterPokemon.updateInfo()); + } loadPokemonAssets.push(starterPokemon.loadAssets()); }); overrideModifiers();