summaryrefslogtreecommitdiff
path: root/battle/ai/scoring.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/ai/scoring.asm')
-rw-r--r--battle/ai/scoring.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/ai/scoring.asm b/battle/ai/scoring.asm
index 19c652370..7a34ec3d0 100644
--- a/battle/ai/scoring.asm
+++ b/battle/ai/scoring.asm
@@ -1658,8 +1658,8 @@ AIScoring_Conversion2: ; 38d98
push hl
dec a
- ld hl, Moves + PlayerMoveType - PlayerMoveStruct
- ld bc, Move2 - Move1
+ ld hl, Moves + MOVE_TYPE
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
@@ -3314,7 +3314,7 @@ AIGetEnemyMove: ; 39508
push bc
dec a
ld hl, Moves
- ld bc, Move2 - Move1
+ ld bc, MOVE_LENGTH
call AddNTimes
ld de, EnemyMoveStruct