mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
Ran biome all
This commit is contained in:
parent
9f28500cae
commit
3d60f9a3f3
@ -2760,13 +2760,13 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
variant: props.variant,
|
variant: props.variant,
|
||||||
formIndex: props.formIndex,
|
formIndex: props.formIndex,
|
||||||
female: props.female,
|
female: props.female,
|
||||||
abilityIndex: abilityIndex,
|
abilityIndex,
|
||||||
passive: !(starterDataEntry.passiveAttr ^ (PassiveAttr.ENABLED | PassiveAttr.UNLOCKED)),
|
passive: !(starterDataEntry.passiveAttr ^ (PassiveAttr.ENABLED | PassiveAttr.UNLOCKED)),
|
||||||
nature: nature,
|
nature,
|
||||||
moveset: moveset,
|
moveset,
|
||||||
pokerus: this.pokerusSpecies.includes(species),
|
pokerus: this.pokerusSpecies.includes(species),
|
||||||
nickname: this.starterPreferences[species.speciesId]?.nickname,
|
nickname: this.starterPreferences[species.speciesId]?.nickname,
|
||||||
teraType: teraType,
|
teraType,
|
||||||
ivs: dexEntry.ivs,
|
ivs: dexEntry.ivs,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ export function generateStarters(scene: BattleScene, speciesIds?: SpeciesId[]):
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getTestRunStarters(seed: string, speciesIds?: SpeciesId[]): Starter[] {
|
function getTestRunStarters(seed: string, speciesIds?: SpeciesId[]): Starter[] {
|
||||||
if (!speciesIds || !speciesIds.length) {
|
if (!speciesIds || speciesIds.length === 0) {
|
||||||
return getDailyRunStarters(seed);
|
return getDailyRunStarters(seed);
|
||||||
}
|
}
|
||||||
const starters: Starter[] = [];
|
const starters: Starter[] = [];
|
||||||
@ -73,7 +73,7 @@ function getTestRunStarters(seed: string, speciesIds?: SpeciesId[]): Starter[] {
|
|||||||
const starterSpecies = getPokemonSpecies(starterSpeciesForm.speciesId);
|
const starterSpecies = getPokemonSpecies(starterSpeciesForm.speciesId);
|
||||||
const pokemon = new PlayerPokemon(starterSpecies, startingLevel, undefined, 0);
|
const pokemon = new PlayerPokemon(starterSpecies, startingLevel, undefined, 0);
|
||||||
const starter: Starter = {
|
const starter: Starter = {
|
||||||
speciesId: speciesId,
|
speciesId,
|
||||||
shiny: pokemon.shiny,
|
shiny: pokemon.shiny,
|
||||||
variant: pokemon.variant,
|
variant: pokemon.variant,
|
||||||
formIndex: pokemon.formIndex,
|
formIndex: pokemon.formIndex,
|
||||||
|
Loading…
Reference in New Issue
Block a user