[UI/UX] move unsplice option from switch to shop (#6890)

This commit is contained in:
Fabi 2025-12-23 22:53:21 +01:00 committed by GitHub
parent de6d475c6c
commit 5c59d33a81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1515,9 +1515,6 @@ export class PartyUiHandler extends MessageUiHandler {
);
}
this.addCommonOptions(pokemon);
if (this.partyUiMode === PartyUiMode.SWITCH && pokemon.isFusion()) {
this.options.push(PartyOption.UNSPLICE);
}
break;
case PartyUiMode.REVIVAL_BLESSING:
this.options.push(PartyOption.REVIVE);
@ -1551,6 +1548,9 @@ export class PartyUiHandler extends MessageUiHandler {
case PartyUiMode.CHECK:
this.addCommonOptions(pokemon);
if (globalScene.phaseManager.getCurrentPhase().is("SelectModifierPhase")) {
if (pokemon.isFusion()) {
this.options.push(PartyOption.UNSPLICE);
}
this.options.push(PartyOption.RELEASE);
const formChangeItemModifiers = this.getFormChangeItemsModifiers(pokemon);
for (let i = 0; i < formChangeItemModifiers.length; i++) {