summaryrefslogtreecommitdiff
path: root/src/item_use.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-03-18 15:25:46 -0400
committerGitHub <noreply@github.com>2021-03-18 15:25:46 -0400
commited16a7409ae9c808a110975dec1930f9f949a6d6 (patch)
tree662be8b474b9c50264fc49262cbaf21769479516 /src/item_use.c
parent5075067ecd8718ab96a063946662c71fe3ef5369 (diff)
parentc5aa5d37229e5692355e4b3979b6cafbcad7caee (diff)
Merge pull request #403 from PikalaxALT/battle_multi_buffer
Battle documentation (14032021)
Diffstat (limited to 'src/item_use.c')
-rw-r--r--src/item_use.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item_use.c b/src/item_use.c
index 9c434acdb..585d44273 100644
--- a/src/item_use.c
+++ b/src/item_use.c
@@ -793,12 +793,12 @@ static void ItemUse_SwitchToPartyMenuInBattle(u8 taskId)
{
if (GetPocketByItemId(gSpecialVar_ItemId) == POCKET_BERRY_POUCH)
{
- BerryPouch_SetExitCallback(sub_81279E0);
+ BerryPouch_SetExitCallback(EnterPartyFromItemMenuInBattle);
BerryPouch_StartFadeToExitCallback(taskId);
}
else
{
- ItemMenu_SetExitCallback(sub_81279E0);
+ ItemMenu_SetExitCallback(EnterPartyFromItemMenuInBattle);
ItemMenu_StartFadeToExitCallback(taskId);
}
}