summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index e7d4878bc..a52fb46db 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -8961,7 +8961,7 @@ BattleCommand_BatonPass: ; 379c9
; Return to battle scene
call ClearPalettes
callba _LoadBattleFontsHPBar
- call WriteBackup
+ call CloseWindow
call ClearSprites
hlcoord 1, 0
lb bc, 4, 10
@@ -9030,7 +9030,7 @@ BatonPass_LinkPlayerSwitch: ; 37a67
call LoadStandardMenuDataHeader
ld hl, LinkBattleSendReceiveAction
call CallBattleCore
- call WriteBackup
+ call CloseWindow
xor a
ld [wPlayerAction], a
@@ -9061,7 +9061,7 @@ BatonPass_LinkEnemySwitch: ; 37a82
add BATTLEACTION_SWITCH1
ld [wBattleAction], a
.switch
- jp WriteBackup
+ jp CloseWindow
; 37aab