Update src/field/pokemon.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
This commit is contained in:
Amatsune 2024-06-24 14:30:34 +02:00 committed by GitHub
parent 77f48e6e87
commit 74fa79c8b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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