From 10a69a23875aba307db235bbef4521bea5c255a4 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Mon, 22 Sep 2025 20:16:27 +0200 Subject: [PATCH] Run biome --- src/ui/containers/starter-summary.ts | 5 +---- src/ui/handlers/starter-select-ui-handler.ts | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) 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; }