Add comment to getFusionIconAtlasKey too

This commit is contained in:
NightKev 2025-05-21 00:26:06 -07:00
parent b8c914f3da
commit f709b3436e

View File

@ -1073,6 +1073,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
}
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 =
useIllusion && this.summonData.illusion?.fusionFormIndex
? this.summonData.illusion.fusionFormIndex