summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-02-09 18:46:00 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-02-09 18:46:00 +0100
commit1a1bad312972217a7ef390df469b8cf763626a66 (patch)
tree30f526f70428465242f98ea15e660c1c5dec92e0 /src/battle_script_commands.c
parent9e7696f25a02e233c4970f70e7b79be32646418d (diff)
decompile pokemon_item_effect
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index fab1c18bb..2acdd02f6 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -6940,7 +6940,7 @@ static void atk74_hpthresholds2(void)
static void atk75_useitemonopponent(void)
{
gBankInMenu = gBattlerAttacker;
- ExecuteTableBasedItemEffect(&gEnemyParty[gBattlerPartyIndexes[gBattlerAttacker]], gLastUsedItem, gBattlerPartyIndexes[gBattlerAttacker], 0, 1);
+ PokemonUseItemEffects(&gEnemyParty[gBattlerPartyIndexes[gBattlerAttacker]], gLastUsedItem, gBattlerPartyIndexes[gBattlerAttacker], 0, 1);
gBattlescriptCurrInstr += 1;
}