Add Pokeball modifier when modifier stack is full

This commit is contained in:
Flashfyre committed 2023-04-20 11:29:26 -04:00
1 parent 92e3a6f537
commit 6135243641
4 files changed
+40 -15

No files matched your search

+5
View File
@@ -405,6 +405,11 @@ export class CheckSwitchPhase extends BattlePhase {
return;
}
if (!this.scene.getParty().slice(1).filter(p => p.hp).length) {
super.end();
return;
}
if (this.scene.getPlayerPokemon().getTag(BattleTagType.FRENZY)) {
super.end();
return;