Fix Baton Pass not working
This commit is contained in:
1 parent
f99afa228f
commit
728512cf7d
3 files changed
+4
-5
No files matched your search
@@ -2316,7 +2316,8 @@ export class PlayerPokemon extends Pokemon {
|
||||
switchOut(batonPass: boolean, removeFromField: boolean = false): Promise<void> {
|
||||
return new Promise(resolve => {
|
||||
this.resetTurnData();
|
||||
this.resetSummonData();
|
||||
if (!batonPass)
|
||||
this.resetSummonData();
|
||||
this.hideInfo();
|
||||
this.setVisible(false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user