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); this.name = this.species.getName(this.formIndex);
return; 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) { if (this.battleInfo) {
this.updateInfo(true); this.updateInfo(true);
} }

View File

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