mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 06:53:27 +02:00
Run biome
This commit is contained in:
parent
3a5c932a31
commit
10a69a2387
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user