diff --git a/src/ui/containers/starter-summary.ts b/src/ui/containers/starter-summary.ts index 878790943ff..58ebe0352d6 100644 --- a/src/ui/containers/starter-summary.ts +++ b/src/ui/containers/starter-summary.ts @@ -626,10 +626,7 @@ export class StarterSummary extends Phaser.GameObjects.Container { // We will only update the sprite if there is a change to form, shiny/variant // or gender for species with gender sprite differences const shouldUpdateSprite = - (species.genderDiffs && female != null) - || formIndex != null - || shiny != null - || variant != null; + (species.genderDiffs && female != null) || formIndex != null || shiny != null || variant != null; this.updateCandyTooltip(); diff --git a/src/ui/handlers/starter-select-ui-handler.ts b/src/ui/handlers/starter-select-ui-handler.ts index 47847e89332..23fe723b03a 100644 --- a/src/ui/handlers/starter-select-ui-handler.ts +++ b/src/ui/handlers/starter-select-ui-handler.ts @@ -1461,9 +1461,7 @@ export class StarterSelectUiHandler extends MessageUiHandler { if (this.canCycleTera) { const speciesForm = getPokemonSpeciesForm(this.lastSpecies.speciesId, starterPreferences.formIndex ?? 0); const newTera = - speciesForm.type1 === this.teraCursor && speciesForm.type2 != null - ? speciesForm.type2 - : speciesForm.type1; + speciesForm.type1 === this.teraCursor && speciesForm.type2 != null ? speciesForm.type2 : speciesForm.type1; this.setNewTeraType(speciesId, newTera); success = true; }