diff options
author | golem galvanize <golemgalvanize@github.com> | 2018-02-12 14:00:47 -0500 |
---|---|---|
committer | golem galvanize <golemgalvanize@github.com> | 2018-02-12 14:00:47 -0500 |
commit | 4ac064bbaf54966082a860e6b6723c5ec654c436 (patch) | |
tree | b419b2bb1a7fe7d17c440d58e5000c21e832386c /src/item_use.c | |
parent | f81c52b56e865d8ecc753a69a31a5148548320a6 (diff) | |
parent | a4787bc06a323071d32d3e0705e9cd39d9221452 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu
Diffstat (limited to 'src/item_use.c')
-rwxr-xr-x | src/item_use.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/item_use.c b/src/item_use.c index 11dca12fb..2e47e6f14 100755 --- a/src/item_use.c +++ b/src/item_use.c @@ -87,7 +87,6 @@ extern void sub_81ABA88(u8); extern void sub_80B7CC8(void); extern void flagmods_08054D70(void); extern u8* sub_806CF78(u16); -extern bool8 ExecuteTableBasedItemEffect_(struct Pokemon*, u16, u8, u8); extern void sub_81B89F0(void); extern u8 GetItemEffectType(u16); extern struct MapConnection *sub_8088A8C(s16, s16); @@ -984,7 +983,7 @@ void ItemUseInBattle_StatIncrease(u8 taskId) { u16 partyId = gBattlerPartyIndexes[gBattlerInMenuId]; - if (ExecuteTableBasedItemEffect_(&gPlayerParty[partyId], gSpecialVar_ItemId, partyId, 0) != FALSE) + if (ExecuteTableBasedItemEffect(&gPlayerParty[partyId], gSpecialVar_ItemId, partyId, 0) != FALSE) { if (!InBattlePyramid()) DisplayItemMessage(taskId, 1, gText_WontHaveEffect, bag_menu_inits_lists_menu); |