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.
This commit is contained in:
DableUTeeF 2025-08-02 21:03:27 +07:00
parent 8b304adf14
commit db9e65b8a8

View File

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