mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Thank you VSCode Refactor button
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
parent
dcd23195ad
commit
9be123ab62
@ -22,11 +22,11 @@ export function getPokemonSpecies(species: SpeciesId | SpeciesId[]): PokemonSpec
|
|||||||
}
|
}
|
||||||
return allSpecies[species - 1];
|
return allSpecies[species - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get the daily list of starters with Pokerus.
|
* Method to get the daily list of starters with Pokerus.
|
||||||
* @returns A list of starters with Pokerus
|
* @returns A list of starters with Pokerus
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function getPokerusStarters(): PokemonSpecies[] {
|
export function getPokerusStarters(): PokemonSpecies[] {
|
||||||
const pokerusStarters: PokemonSpecies[] = [];
|
const pokerusStarters: PokemonSpecies[] = [];
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
@ -46,6 +46,7 @@ export function getPokerusStarters(): PokemonSpecies[] {
|
|||||||
);
|
);
|
||||||
return pokerusStarters;
|
return pokerusStarters;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string {
|
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string {
|
||||||
const fragAPattern = /([a-z]{2}.*?[aeiou(?:y$)\-']+)(.*?)$/i;
|
const fragAPattern = /([a-z]{2}.*?[aeiou(?:y$)\-']+)(.*?)$/i;
|
||||||
const fragBPattern = /([a-z]{2}.*?[aeiou(?:y$)\-'])(.*?)$/i;
|
const fragBPattern = /([a-z]{2}.*?[aeiou(?:y$)\-'])(.*?)$/i;
|
||||||
|
Loading…
Reference in New Issue
Block a user