Add Pokeball modifier when modifier stack is full
This commit is contained in:
1 parent
92e3a6f537
commit
6135243641
4 files changed
+40
-15
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user