mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Added some TODOs for later
This commit is contained in:
parent
e8de3054fe
commit
e4a550550e
@ -764,6 +764,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
if (option === PartyOption.SPLICE) {
|
if (option === PartyOption.SPLICE) {
|
||||||
(this.selectCallback as PartyModifierSpliceSelectCallback)(this.transferCursor, this.cursor);
|
(this.selectCallback as PartyModifierSpliceSelectCallback)(this.transferCursor, this.cursor);
|
||||||
this.clearTransfer();
|
this.clearTransfer();
|
||||||
|
// TODO: Surely this else should specify some other option too...
|
||||||
} else {
|
} else {
|
||||||
this.startTransfer();
|
this.startTransfer();
|
||||||
}
|
}
|
||||||
@ -778,6 +779,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
selectCallback(this.cursor, option);
|
selectCallback(this.cursor, option);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// TODO: Where is the value for option set in this case?
|
||||||
if (option >= PartyOption.FORM_CHANGE_ITEM && globalScene.getCurrentPhase() instanceof SelectModifierPhase) {
|
if (option >= PartyOption.FORM_CHANGE_ITEM && globalScene.getCurrentPhase() instanceof SelectModifierPhase) {
|
||||||
if (this.partyUiMode === PartyUiMode.CHECK) {
|
if (this.partyUiMode === PartyUiMode.CHECK) {
|
||||||
const formChangeItemModifiers = this.getFormChangeItemsModifiers(pokemon);
|
const formChangeItemModifiers = this.getFormChangeItemsModifiers(pokemon);
|
||||||
@ -785,6 +787,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
modifier.active = !modifier.active;
|
modifier.active = !modifier.active;
|
||||||
globalScene.triggerPokemonFormChange(pokemon, SpeciesFormChangeItemTrigger, false, true);
|
globalScene.triggerPokemonFormChange(pokemon, SpeciesFormChangeItemTrigger, false, true);
|
||||||
}
|
}
|
||||||
|
// TODO: Not clear at all... why are we passing the baton here?
|
||||||
} else if (this.cursor) {
|
} else if (this.cursor) {
|
||||||
(globalScene.getCurrentPhase() as CommandPhase).handleCommand(
|
(globalScene.getCurrentPhase() as CommandPhase).handleCommand(
|
||||||
Command.POKEMON,
|
Command.POKEMON,
|
||||||
|
Loading…
Reference in New Issue
Block a user