summaryrefslogtreecommitdiff
path: root/event
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-10 23:23:55 -0700
committeryenatch <yenatch@gmail.com>2014-06-10 23:24:25 -0700
commit23f9b5d21e93f1b3c8de5e4ecf72da89265ccea8 (patch)
tree3030a3222c2c51e2d3c139215345872e80da1fdc /event
parent86c1e0feea0ba487b020b801835aa19b221edb4d (diff)
Use constants for move struct positioning.
This eliminates the need for arbitrary move labels like Move2 and Move1 that don't have anything to do with their respective moves.
Diffstat (limited to 'event')
-rw-r--r--event/dratini.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/event/dratini.asm b/event/dratini.asm
index bf8ae2d57..1845673c8 100644
--- a/event/dratini.asm
+++ b/event/dratini.asm
@@ -51,8 +51,8 @@ SpecialDratini: ; 0x8b170
; get the PP of the new move
dec a
- ld hl, Moves + PlayerMovePP - PlayerMoveStruct
- ld bc, Move2 - Move1
+ ld hl, Moves + MOVE_PP
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
call GetFarByte