Update src/field/pokemon.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Lylian BALL 2025-04-11 18:28:59 +02:00 committed by GitHub
parent 4377aec7d1
commit 5108dc03f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -1135,7 +1135,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
!fusionSpecies?.forms?.length ||
fusionFormIndex >= fusionSpecies?.forms.length
) {
//@ts-ignore
return fusionSpecies;
}
return fusionSpecies?.forms[fusionFormIndex];