From 02b2c2d55b36561889298dd6f71a6e5fcbc6d4a9 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 7 May 2024 10:15:40 -0400 Subject: [PATCH] Ribbons are also awarded for first clear --- src/phases.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/phases.ts b/src/phases.ts index 59022f5fe5e..9ed1161f7b8 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3575,10 +3575,11 @@ export class GameOverPhase extends BattlePhase { this.scene.clearPhaseQueue(); this.scene.ui.clearText(); this.handleUnlocks(); - if (this.victory && !firstClear && success[1]) { + if (this.victory && success[1]) { for (let species of this.firstRibbons) this.scene.unshiftPhase(new RibbonModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PLUS, species)); - this.scene.unshiftPhase(new GameOverModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PREMIUM)); + if (!firstClear) + this.scene.unshiftPhase(new GameOverModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PREMIUM)); } this.scene.reset(); this.scene.unshiftPhase(new TitlePhase(this.scene));