mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
logic fix
This commit is contained in:
parent
d748230c2e
commit
e99dec4451
@ -1314,8 +1314,12 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||
// Set the candy colors
|
||||
this.candyUpgradeIcon[s].setTint(argbFromRgba(Utils.rgbHexToRgba(starterColors[speciesId][0])));
|
||||
this.candyUpgradeOverlayIcon[s].setTint(argbFromRgba(Utils.rgbHexToRgba(starterColors[speciesId][1])));
|
||||
|
||||
if (this.scene.candyUpgradeIconsMode == 0) { // 'Off' mode
|
||||
this.candyUpgradeIcon[s].setVisible(false);
|
||||
this.candyUpgradeOverlayIcon[s].setVisible(false);
|
||||
|
||||
if (this.scene.candyUpgradeIconsMode == 1) { // 'Only Passive Unlocks' mode
|
||||
} else if (this.scene.candyUpgradeIconsMode == 1) { // 'Only Passive Unlocks' mode
|
||||
this.candyUpgradeIcon[s].setVisible(
|
||||
slotVisible && (
|
||||
this.scene.gameData.starterData[speciesId].candyCount >= getPassiveCandyCount(speciesStarters[speciesId]) &&
|
||||
|
Loading…
Reference in New Issue
Block a user