mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Update src/data/pokemon-species.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
This commit is contained in:
parent
07041a1167
commit
e7bcddeec4
@ -52,7 +52,9 @@ export function getPokemonSpeciesForm(species: Species, formIndex: integer): Pok
|
|||||||
|
|
||||||
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string {
|
export function getFusedSpeciesName(speciesAName: string, speciesBName: string): string {
|
||||||
//I WAS HERE, DON'T KNOW HOW TO MAKE THIS WORK
|
//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;
|
export type PokemonSpeciesFilter = (species: PokemonSpecies) => boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user