mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02:18 +02:00
Update src/field/pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
4377aec7d1
commit
5108dc03f9
@ -1135,7 +1135,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
!fusionSpecies?.forms?.length ||
|
!fusionSpecies?.forms?.length ||
|
||||||
fusionFormIndex >= fusionSpecies?.forms.length
|
fusionFormIndex >= fusionSpecies?.forms.length
|
||||||
) {
|
) {
|
||||||
//@ts-ignore
|
|
||||||
return fusionSpecies;
|
return fusionSpecies;
|
||||||
}
|
}
|
||||||
return fusionSpecies?.forms[fusionFormIndex];
|
return fusionSpecies?.forms[fusionFormIndex];
|
||||||
|
Loading…
Reference in New Issue
Block a user