Thank you VSCode Refactor button

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
AJ Fontaine 2025-07-27 21:22:39 -04:00 committed by GitHub
parent dcd23195ad
commit 9be123ab62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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