Ran biome all

This commit is contained in:
Wlowscha 2025-09-08 18:55:30 +02:00
parent 9f28500cae
commit 3d60f9a3f3
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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,