summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-12 14:54:11 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-02-12 16:02:04 -0500
commit8634710996fc440105d8be6dc354b1e9fef303b1 (patch)
tree5479257040969627d88d40b5283c1a25b8d632fb /src/battle_script_commands.c
parent78925916f3fcceca714b8a9ffa8400e33470eae3 (diff)
Document PokemonUseItemEffects
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 d0aa9164a..6df240d65 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -6245,7 +6245,7 @@ static void Cmd_hpthresholds2(void)
static void Cmd_useitemonopponent(void)
{
gBattlerInMenuId = gBattlerAttacker;
- PokemonUseItemEffects(&gEnemyParty[gBattlerPartyIndexes[gBattlerAttacker]], gLastUsedItem, gBattlerPartyIndexes[gBattlerAttacker], 0, 1);
+ PokemonUseItemEffects(&gEnemyParty[gBattlerPartyIndexes[gBattlerAttacker]], gLastUsedItem, gBattlerPartyIndexes[gBattlerAttacker], 0, TRUE);
gBattlescriptCurrInstr += 1;
}