Update src/field/pokemon.ts

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

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.species), this.fusionSpecies.getName(Species)); this.name = getFusedSpeciesName(this.species, this.fusionSpecies);
if (this.battleInfo) { if (this.battleInfo) {
this.updateInfo(true); this.updateInfo(true);
} }