diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-12-10 20:43:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 20:43:27 -0500 |
commit | 47b0d8a5970a75862279bde9d19a06c3d7f96eee (patch) | |
tree | 462ebc6e6bce61be28d862cd89c8bec08ebfa61e /src/item_use.c | |
parent | 77bf40d32b7bbab40db36030399586430ae57010 (diff) | |
parent | 49f1a90534180445d293761e2bdac165b49319a2 (diff) |
Merge branch 'master' into doc-matchcall
Diffstat (limited to 'src/item_use.c')
-rwxr-xr-x | src/item_use.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/item_use.c b/src/item_use.c index a777bb2ec..0b7625054 100755 --- a/src/item_use.c +++ b/src/item_use.c @@ -89,7 +89,7 @@ EWRAM_DATA static void(*gUnknown_0203A0F4)(u8 taskId) = NULL; // .rodata -static const MainCallback gUnknown_085920D8[] = +static const MainCallback sItemUseCallbacks[] = { CB2_ShowPartyMenuForItemUse, CB2_ReturnToField, @@ -115,12 +115,12 @@ void SetUpItemUseCallback(u8 taskId) type = ItemId_GetType(gSpecialVar_ItemId) - 1; if (!InBattlePyramid()) { - gBagMenu->mainCallback2 = gUnknown_085920D8[type]; + gBagMenu->mainCallback2 = sItemUseCallbacks[type]; unknown_ItemMenu_Confirm(taskId); } else { - gPyramidBagResources->callback2 = gUnknown_085920D8[type]; + gPyramidBagResources->callback2 = sItemUseCallbacks[type]; sub_81C5B14(taskId); } } |