mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-26 03:29:23 +01:00
[UI/UX] move unsplice option from switch to shop (#6890)
This commit is contained in:
parent
de6d475c6c
commit
5c59d33a81
@ -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++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user