More fixes yay

IV info now updates at an appropriate time

Disabled exact item predictions for luck breakdown due to a crash
This commit is contained in:
RedstonewolfX 2024-08-11 21:39:29 -04:00
parent 075b02b1c3
commit 58dff37f0d

View File

@ -1920,6 +1920,7 @@ export class EncounterPhase extends BattlePhase {
handleTutorial(this.scene, Tutorial.Access_Menu).then(() => {
// Auto-show the flyout
if (this.scene.currentBattle.battleType !== BattleType.TRAINER) {
this.scene.arenaFlyout.display2()
this.scene.arenaFlyout.toggleFlyout(true)
this.scene.arenaFlyout.isAuto = true
}
@ -6851,7 +6852,7 @@ export class SelectModifierPhase extends BattlePhase {
if (modifierOverride) {
//modifierCount.value = modifierOverride
}
const typeOptions: ModifierTypeOption[] = this.getModifierTypeOptions(modifierCount.value, true, true, true);
const typeOptions: ModifierTypeOption[] = this.getModifierTypeOptions(modifierCount.value, true, true);
typeOptions.forEach((option, idx) => {
//console.log(option.type.name)
})