From e4a550550ed4ebe3302f5c8ca91dc8f7eb5fee59 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Tue, 13 May 2025 22:27:13 +0200 Subject: [PATCH] Added some TODOs for later --- src/ui/party-ui-handler.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/party-ui-handler.ts b/src/ui/party-ui-handler.ts index 6ecb38d9cde..2520ae3d33c 100644 --- a/src/ui/party-ui-handler.ts +++ b/src/ui/party-ui-handler.ts @@ -764,6 +764,7 @@ export default class PartyUiHandler extends MessageUiHandler { if (option === PartyOption.SPLICE) { (this.selectCallback as PartyModifierSpliceSelectCallback)(this.transferCursor, this.cursor); this.clearTransfer(); + // TODO: Surely this else should specify some other option too... } else { this.startTransfer(); } @@ -778,6 +779,7 @@ export default class PartyUiHandler extends MessageUiHandler { selectCallback(this.cursor, option); } } else { + // TODO: Where is the value for option set in this case? if (option >= PartyOption.FORM_CHANGE_ITEM && globalScene.getCurrentPhase() instanceof SelectModifierPhase) { if (this.partyUiMode === PartyUiMode.CHECK) { const formChangeItemModifiers = this.getFormChangeItemsModifiers(pokemon); @@ -785,6 +787,7 @@ export default class PartyUiHandler extends MessageUiHandler { modifier.active = !modifier.active; globalScene.triggerPokemonFormChange(pokemon, SpeciesFormChangeItemTrigger, false, true); } + // TODO: Not clear at all... why are we passing the baton here? } else if (this.cursor) { (globalScene.getCurrentPhase() as CommandPhase).handleCommand( Command.POKEMON,