Unlocks only happen on classic

pull/17/head
Flashfyre 2024-03-25 21:09:32 -04:00
parent 6fe82b3365
commit b114cd1cb1
1 changed files with 1 additions and 1 deletions

View File

@ -3174,7 +3174,7 @@ export class GameOverPhase extends BattlePhase {
}
handleUnlocks(): void {
if (this.victory) {
if (this.victory && this.scene.gameMode.isClassic) {
if (!this.scene.gameData.unlocks[Unlockables.ENDLESS_MODE])
this.scene.unshiftPhase(new UnlockPhase(this.scene, Unlockables.ENDLESS_MODE));
if (this.scene.getParty().filter(p => p.fusionSpecies).length && !this.scene.gameData.unlocks[Unlockables.SPLICED_ENDLESS_MODE])