Document pokemon summary screen
This commit is contained in:
@@ -2129,7 +2129,7 @@ static void DrawEmptySlot(u8 windowId)
|
||||
LoadPalette(GetPartyMenuPalBufferPtr(paletteIds[0]), paletteOffsets[0] + palNum, 2); \
|
||||
LoadPalette(GetPartyMenuPalBufferPtr(paletteIds[1]), paletteOffsets[1] + palNum, 2); \
|
||||
LoadPalette(GetPartyMenuPalBufferPtr(paletteIds[2]), paletteOffsets[2] + palNum, 2); \
|
||||
}
|
||||
}
|
||||
|
||||
static void LoadPartyBoxPalette(struct PartyMenuBox *menuBox, u8 palFlags)
|
||||
{
|
||||
@@ -2708,7 +2708,7 @@ static void CB2_ShowPokemonSummaryScreen(void)
|
||||
if (gPartyMenu.menuType == PARTY_MENU_TYPE_IN_BATTLE)
|
||||
{
|
||||
UpdatePartyToBattleOrder();
|
||||
ShowPokemonSummaryScreen(PSS_MODE_UNK1, gPlayerParty, gPartyMenu.slotId, gPlayerPartyCount - 1, CB2_ReturnToPartyMenuFromSummaryScreen);
|
||||
ShowPokemonSummaryScreen(PSS_MODE_LOCK_MOVES, gPlayerParty, gPartyMenu.slotId, gPlayerPartyCount - 1, CB2_ReturnToPartyMenuFromSummaryScreen);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2899,7 +2899,7 @@ static void Task_SlideSelectedSlotsOnscreen(u8 taskId)
|
||||
|
||||
SlidePartyMenuBoxOneStep(taskId);
|
||||
SlidePartyMenuBoxSpritesOneStep(taskId);
|
||||
|
||||
|
||||
// Both slots have slid back onscreen
|
||||
if (tSlot1SlideDir == 0 && tSlot2SlideDir == 0)
|
||||
{
|
||||
@@ -3096,7 +3096,7 @@ static void Task_HandleSwitchItemsYesNoInput(u8 taskId)
|
||||
{
|
||||
case 0: // Yes, switch items
|
||||
RemoveBagItem(gSpecialVar_ItemId, 1);
|
||||
|
||||
|
||||
// No room to return held item to bag
|
||||
if (AddBagItem(sPartyMenuItemId, 1) == FALSE)
|
||||
{
|
||||
@@ -5456,7 +5456,7 @@ static void RemoveItemToGiveFromBag(u16 item)
|
||||
// but there always should be, and the return is ignored in all uses
|
||||
static bool8 ReturnGiveItemToBagOrPC(u16 item)
|
||||
{
|
||||
if (gPartyMenu.action == PARTY_ACTION_GIVE_ITEM)
|
||||
if (gPartyMenu.action == PARTY_ACTION_GIVE_ITEM)
|
||||
return AddBagItem(item, 1);
|
||||
else
|
||||
return AddPCItem(item, 1);
|
||||
|
||||
Reference in New Issue
Block a user