From c210f052a8097b1cef277d7cd008408ff6c21323 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 21 Nov 2018 14:14:34 +0100 Subject: Move BattleSideCopy to transform.asm --- engine/battle/effect_commands.asm | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'engine/battle/effect_commands.asm') diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 2dafc04ba..f257b025c 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -6220,21 +6220,6 @@ BattleCommand_Heal: INCLUDE "engine/battle/move_effects/transform.asm" -BattleSideCopy: -; Copy bc bytes from hl to de if it's the player's turn. -; Copy bc bytes from de to hl if it's the enemy's turn. - ldh a, [hBattleTurn] - and a - jr z, .copy - -; Swap hl and de - push hl - ld h, d - ld l, e - pop de -.copy - jp CopyBytes - BattleEffect_ButItFailed: call AnimateFailedMove jp PrintButItFailed -- cgit v1.2.3