summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-28 00:56:02 -0400
committerGitHub <noreply@github.com>2020-07-28 00:56:02 -0400
commite8568b79efa2f12ce929a4db15c8786f1dccc359 (patch)
tree63b9e1cce193b9f71b3ae27f5905030940740aea /src/battle_script_commands.c
parent79cc659d7e9b103e1197db8494af81195f0f29ad (diff)
parentb401e2eb86dba8a48c12fec75c2201de7fb1ec63 (diff)
Merge pull request #1114 from ExpoSeed/doc
Document some battle_util.c
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 4e0e087b6..994d35625 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -5471,7 +5471,7 @@ static void Cmd_switchineffects(void)
s32 i;
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1]);
- sub_803FA70(gActiveBattler);
+ UpdateSentPokesToOpponentValue(gActiveBattler);
gHitMarker &= ~(HITMARKER_FAINTED(gActiveBattler));
gSpecialStatuses[gActiveBattler].flag40 = 0;