Update src/data/pokemon-species.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
(cherry picked from commit e7bcddeec4)
This commit is contained in:
Amatsune 2024-06-24 14:29:37 +02:00 committed by mercurius-00
parent 34c2089bd6
commit f57a3b61ce

View File

@ -52,7 +52,9 @@ export function getPokemonSpeciesForm(species: Species, formIndex: integer): Pok
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string {
//I WAS HERE, DON'T KNOW HOW TO MAKE THIS WORK
return `${speciesAPrefix}${speciesBSuffix}`;
// Basically the only thing missing is now to get the non local species name in lowercase
return i18next.t(fusionAffixes:${speciesA}.fusionPrefix)+i18next.t(fusionAffixes:${speciesB}.fusionSuffix)
}
export type PokemonSpeciesFilter = (species: PokemonSpecies) => boolean;