From efccef9f1c9a7a940ce6b47d112d0edbc837c338 Mon Sep 17 00:00:00 2001 From: shayebeadlingkl Date: Mon, 6 May 2024 14:43:48 -0400 Subject: [PATCH] increments properly, but voucher reward phase not appearing --- src/phases.ts | 2 +- src/system/game-data.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phases.ts b/src/phases.ts index af2815e8b56..b45dfff60e5 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3544,7 +3544,7 @@ export class GameOverPhase extends BattlePhase { // first time classic win, award voucher if (speciesRibbonCount === 1) { const rootSpeciesId = species.getRootSpeciesId(true); - this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PLUS)); + this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.VOUCHER)); } } } diff --git a/src/system/game-data.ts b/src/system/game-data.ts index dff7bc2d67c..933f4259da1 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -1102,7 +1102,7 @@ export class GameData { if(ribbonsInStats >= 10) this.scene.validateAchv(achvs._10_RIBBONS); - return this.starterData[speciesIdToIncrement].winCount++; + return ++this.starterData[speciesIdToIncrement].winCount; } addStarterCandy(species: PokemonSpecies, count: integer): void {