Run biome

This commit is contained in:
Wlowscha 2025-09-22 20:16:27 +02:00
parent 3a5c932a31
commit 10a69a2387
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
2 changed files with 2 additions and 7 deletions

View File

@ -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();

View File

@ -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;
}