summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-04-25 13:21:49 -0400
committeryenatch <yenatch@gmail.com>2013-04-25 13:21:49 -0400
commitc0918f94fdd3ad5fbe90310f00cc5da40bbab14c (patch)
tree764c4bd9d0e9a7b64890476eb30efd185e2f7b36 /battle/effect_commands.asm
parent0844e3ee5948376c948a5a536bbf65fa92bb2af8 (diff)
there is no Move0
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 2b9ac4eab..cceeac39f 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -11122,7 +11122,7 @@ SkipToBattleCommand: ; 37e8c
GetMoveAttr: ; 37ea1
; Assuming hl = Moves + x, return attribute x of move a.
push bc
- ld bc, Move1 - Move0
+ ld bc, Move2 - Move1
call AddNTimes
call GetMoveByte
pop bc
@@ -11133,7 +11133,7 @@ GetMoveAttr: ; 37ea1
GetMoveData: ; 37ead
; Copy move struct a to de.
ld hl, Moves
- ld bc, Move1 - Move0
+ ld bc, Move2 - Move1
call AddNTimes
ld a, Bank(Moves)
jp FarCopyBytes