increments properly, but voucher reward phase not appearing

This commit is contained in:
shayebeadlingkl 2024-05-06 14:43:48 -04:00
parent a959abcdb8
commit efccef9f1c
2 changed files with 2 additions and 2 deletions

View File

@ -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));
}
}
}

View File

@ -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 {