From db9e65b8a871f7097b385c29edd1eb8bcf11f377 Mon Sep 17 00:00:00 2001 From: DableUTeeF Date: Sat, 2 Aug 2025 21:03:27 +0700 Subject: [PATCH] Show battle end phase in wild battle if the last pokemon fled. I don't know about you guys but if my enemy fled the field I'd count that as a win. Simply skipping to next battle is really infuriating when the one pokemon with this ability has a really strong priority move. Especially when it shows up right before an important fight. --- src/data/abilities/ability.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/data/abilities/ability.ts b/src/data/abilities/ability.ts index 0ee1a51a78e..06d3be4e150 100644 --- a/src/data/abilities/ability.ts +++ b/src/data/abilities/ability.ts @@ -6309,6 +6309,9 @@ class ForceSwitchOutHelper { if (globalScene.currentBattle.double && !isNullOrUndefined(allyPokemon)) { globalScene.redirectPokemonMoves(switchOutTarget, allyPokemon); } + else{ + globalScene.phaseManager.pushNew("BattleEndPhase", true); + } } if (!allyPokemon?.isActive(true)) {