locales.ts correction

(cherry picked from commit 07041a1167)
This commit is contained in:
Amatsune 2024-06-24 14:19:21 +02:00 committed by mercurius-00
parent b6df2c038e
commit 34c2089bd6
2 changed files with 8 additions and 6 deletions

View File

@ -331,7 +331,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
this.name = this.species.getName(this.formIndex);
return;
}
this.name = getFusedSpeciesName(this.species.getName(this.formIndex), this.fusionSpecies.getName(this.fusionFormIndex));
this.name = getFusedSpeciesName(this.species.getName(this.species), this.fusionSpecies.getName(Species));
if (this.battleInfo) {
this.updateInfo(true);
}

View File

@ -10,11 +10,13 @@ export interface SimpleTranslationEntries {
}
export interface FusionTranslationEntries {
[key: string]: {
fusionPrefix: string;
fusionSuffix: string;
};
}
[key: string]: FusionTranslationEntry,
}
export interface FusionTranslationEntry {
fusionPrefix: string,
fusionSuffix: string,
}
export interface MoveTranslationEntry {
name: string,