Prevent moves to be changed when choosing half party (#8336)

This commit is contained in:
FosterProgramming 2025-11-23 19:45:42 +01:00 committed by GitHub
parent 10ef7f7839
commit a38e406ca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3010,6 +3010,10 @@ static void CB2_ShowPokemonSummaryScreen(void)
UpdatePartyToBattleOrder();
ShowPokemonSummaryScreen(SUMMARY_MODE_LOCK_MOVES, gPlayerParty, gPartyMenu.slotId, gPlayerPartyCount - 1, CB2_ReturnToPartyMenuFromSummaryScreen);
}
else if (gPartyMenu.menuType == PARTY_MENU_TYPE_CHOOSE_HALF)
{
ShowPokemonSummaryScreen(SUMMARY_MODE_LOCK_MOVES, gPlayerParty, gPartyMenu.slotId, gPlayerPartyCount - 1, CB2_ReturnToPartyMenuFromSummaryScreen);
}
else
{
ShowPokemonSummaryScreen(SUMMARY_MODE_NORMAL, gPlayerParty, gPartyMenu.slotId, gPlayerPartyCount - 1, CB2_ReturnToPartyMenuFromSummaryScreen);