Fix candy menu not showing for species with only 1 starter move

pull/119/head
Flashfyre 2024-04-13 19:21:59 -04:00
parent 608c024749
commit 61ce0887ef
1 changed files with 85 additions and 85 deletions

View File

@ -784,6 +784,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
return true;
}
});
}
const starterData = this.scene.gameData.starterData[this.lastSpecies.speciesId];
const candyCount = starterData.candyCount;
const passiveAttr = starterData.passiveAttr;
@ -880,7 +881,6 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
return true;
}
});
}
options.push({
label: 'Cancel',
handler: () => {