mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
Clearing options when switching out
This commit is contained in:
parent
09a345d5a7
commit
9425a877d7
@ -809,6 +809,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
||||
|
||||
// This is used when switching out using the Pokemon command (possibly holding a Baton held item).
|
||||
if ((option === PartyOption.PASS_BATON || option === PartyOption.SEND_OUT) && !this.selectCallback) {
|
||||
this.clearOptions();
|
||||
(globalScene.getCurrentPhase() as CommandPhase).handleCommand(
|
||||
Command.POKEMON,
|
||||
this.cursor,
|
||||
|
Loading…
Reference in New Issue
Block a user