mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Add comment to getFusionIconAtlasKey
too
This commit is contained in:
parent
b8c914f3da
commit
f709b3436e
@ -1073,6 +1073,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getFusionIconAtlasKey(ignoreOverride = false, useIllusion = true): string {
|
getFusionIconAtlasKey(ignoreOverride = false, useIllusion = true): string {
|
||||||
|
// TODO: confirm the correct behavior here (is it intentional that the check fails if `illusion.fusionFormIndex` is `0`?)
|
||||||
const fusionFormIndex =
|
const fusionFormIndex =
|
||||||
useIllusion && this.summonData.illusion?.fusionFormIndex
|
useIllusion && this.summonData.illusion?.fusionFormIndex
|
||||||
? this.summonData.illusion.fusionFormIndex
|
? this.summonData.illusion.fusionFormIndex
|
||||||
|
Loading…
Reference in New Issue
Block a user