Update src/data/pokemon-species.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
(cherry picked from commit 77f48e6e87)
This commit is contained in:
Amatsune 2024-06-24 14:30:01 +02:00 committed by mercurius-00
parent f57a3b61ce
commit 5a3c686bbb

View File

@ -50,7 +50,7 @@ export function getPokemonSpeciesForm(species: Species, formIndex: integer): Pok
return retSpecies; return retSpecies;
} }
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string { export function getFusedSpeciesName(speciesA: PokemonSpecies, speciesB: PokemonSpecies): string {
//I WAS HERE, DON'T KNOW HOW TO MAKE THIS WORK //I WAS HERE, DON'T KNOW HOW TO MAKE THIS WORK
// Basically the only thing missing is now to get the non local species name in lowercase // 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) return i18next.t(fusionAffixes:${speciesA}.fusionPrefix)+i18next.t(fusionAffixes:${speciesB}.fusionSuffix)