summaryrefslogtreecommitdiff
path: root/battle/core.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/core.asm')
-rw-r--r--battle/core.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/core.asm b/battle/core.asm
index b4678e8f9..9f3dbc661 100644
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -915,7 +915,7 @@ GetMoveEffect: ; 3c5ec
ld a, b
dec a
ld hl, Moves + MOVE_EFFECT
- ld bc, Move2 - Move1
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
call GetFarByte
@@ -3436,7 +3436,7 @@ Function3d5d7: ; 3d5d7
push bc
dec a
ld hl, Moves + MOVE_ANIM
- ld bc, Move2 - Move1
+ ld bc, MOVE_LENGTH
call AddNTimes
ld de, EnemyMoveAnimation
ld a, BANK(Moves)
@@ -8580,7 +8580,7 @@ Function3f662: ; 3f662
push hl
dec a
ld hl, Moves + MOVE_PP
- ld bc, Move2 - Move1
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
call GetFarByte