From 9425a877d707da3d9f700c6d1ea07189188e21ff Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Thu, 15 May 2025 00:25:58 +0200 Subject: [PATCH] Clearing options when switching out --- src/ui/party-ui-handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/party-ui-handler.ts b/src/ui/party-ui-handler.ts index 62c57ea8d37..dee251dcab8 100644 --- a/src/ui/party-ui-handler.ts +++ b/src/ui/party-ui-handler.ts @@ -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,