summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-22 12:15:19 -0500
committerGitHub <noreply@github.com>2021-02-22 12:15:19 -0500
commitfc3d6eb178be7efcf0f09644c9567f3b4fd83efd (patch)
tree9e9e27350001aa1ce211ccb87c6888a1400d14ec /src/battle_script_commands.c
parent65433c790ebe11da158453a794c649034ad9640a (diff)
parent8634710996fc440105d8be6dc354b1e9fef303b1 (diff)
Merge pull request #1328 from GriffinRichards/doc-pokeuseitem
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;
}