Fix vouchers in endless mode
parent
83e9f6d784
commit
bbf42f28fb
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue