diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-15 14:27:50 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-15 14:27:50 -0400 |
commit | 2f4f63afdb6a7b77a8161f0cd42ae64cc5f1515c (patch) | |
tree | c1e9b848a7f6832a4f206075c33a2d66376208af /src/item_use.c | |
parent | 67cdab24f8539aaacc1919b67764aae26ef7922f (diff) |
Document old man batttle controller
Diffstat (limited to 'src/item_use.c')
-rw-r--r-- | src/item_use.c | 4 |
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); } } |