From ea81b5049b9c7cef161bbe31d631b6841511214d Mon Sep 17 00:00:00 2001 From: Amatsune <48121978+amatsune@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:30:34 +0200 Subject: [PATCH] Update src/field/pokemon.ts Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> (cherry picked from commit 74fa79c8b0e316c59f6134b11a14285af4b770b8) --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 857f4a8b96b..5bc1b5b0f0f 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -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.species), this.fusionSpecies.getName(Species)); + this.name = getFusedSpeciesName(this.species, this.fusionSpecies); if (this.battleInfo) { this.updateInfo(true); }