Fix vouchers in endless mode

This commit is contained in:
Flashfyre committed 2023-12-31 23:19:06 -05:00
1 parent 83e9f6d784
commit bbf42f28fb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2479,7 +2479,7 @@ export class VictoryPhase extends PokemonPhase {
this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.GOLDEN_POKEBALL));
}
if (this.scene.gameMode !== GameMode.CLASSIC && !(this.scene.currentBattle.waveIndex % 50)) {
this.scene.pushPhase(new ModifierRewardPhase(this.scene, !(this.scene.currentBattle.waveIndex % 250) ? modifierTypes.VOUCHER_PLUS : modifierTypes.VOUCHER));
this.scene.pushPhase(new ModifierRewardPhase(this.scene, !(this.scene.currentBattle.waveIndex % 250) ? modifierTypes.VOUCHER_PREMIUM : modifierTypes.VOUCHER_PLUS));
this.scene.pushPhase(new AddEnemyBuffModifierPhase(this.scene));
}
}
+1 -1
View File
@@ -562,7 +562,7 @@ export default class EggGachaUiHandler extends MessageUiHandler {
success = this.setCursor(this.cursor - 1);
break;
case Button.DOWN:
if (this.cursor < 4)
if (this.cursor < 5)
success = this.setCursor(this.cursor + 1);
break;
case Button.LEFT: