mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
Merge branch 'beta' into wimpOutHotfix
This commit is contained in:
commit
ee4c569d6a
@ -4954,7 +4954,7 @@ class ForceSwitchOutHelper {
|
|||||||
* It will not flee if it is a wave 10x boss battle or a battle in a Mystery Encounter
|
* It will not flee if it is a wave 10x boss battle or a battle in a Mystery Encounter
|
||||||
*/
|
*/
|
||||||
} else {
|
} else {
|
||||||
if (!pokemon.scene.currentBattle.waveIndex || pokemon.scene.currentBattle.waveIndex % 10 === 0 || pokemon.scene.currentBattle.isBattleMysteryEncounter()) {
|
if (!pokemon.scene.currentBattle.waveIndex || pokemon.scene.currentBattle.waveIndex % 10 === 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user