From afc1f81e309bf96068cba21596f3b22b8c5a883d Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Mon, 30 Oct 2023 12:47:06 -0400 Subject: [PATCH] Don't allow double battle for final boss fight --- src/battle-scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index f33dbebea83..e42a392440a 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -637,7 +637,7 @@ export default class BattleScene extends Phaser.Scene { const playerField = this.getPlayerField(); if (double === undefined && newWaveIndex > 1) { - if (newBattleType === BattleType.WILD) { + if (newBattleType === BattleType.WILD && (this.gameMode === GameMode.CLASSIC ? newWaveIndex !== 200 : newWaveIndex % 250)) { const doubleChance = new Utils.IntegerHolder(newWaveIndex % 10 === 0 ? 32 : 8); this.applyModifiers(DoubleBattleChanceBoosterModifier, true, doubleChance); playerField.forEach(p => applyAbAttrs(DoubleBattleChanceAbAttr, p, null, doubleChance));