mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 05:49:32 +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];
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the daily list of starters with Pokerus.
|
||||
* @returns A list of starters with Pokerus
|
||||
*/
|
||||
|
||||
export function getPokerusStarters(): PokemonSpecies[] {
|
||||
const pokerusStarters: PokemonSpecies[] = [];
|
||||
const date = new Date();
|
||||
@ -46,6 +46,7 @@ export function getPokerusStarters(): PokemonSpecies[] {
|
||||
);
|
||||
return pokerusStarters;
|
||||
}
|
||||
|
||||
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string {
|
||||
const fragAPattern = /([a-z]{2}.*?[aeiou(?:y$)\-']+)(.*?)$/i;
|
||||
const fragBPattern = /([a-z]{2}.*?[aeiou(?:y$)\-'])(.*?)$/i;
|
||||
|
Loading…
Reference in New Issue
Block a user