mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-06 07:29:30 +02:00
Merge d34dcf7bea
into 375587213e
This commit is contained in:
commit
843dacce6a
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user