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
28492e851d
commit
4377aec7d1
@ -1136,7 +1136,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
fusionFormIndex >= fusionSpecies?.forms.length
|
fusionFormIndex >= fusionSpecies?.forms.length
|
||||||
) {
|
) {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
return fusionSpecies; // TODO: I don't even know how to fix this... A complete cluster of classes involved + null
|
return fusionSpecies;
|
||||||
}
|
}
|
||||||
return fusionSpecies?.forms[fusionFormIndex];
|
return fusionSpecies?.forms[fusionFormIndex];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user