summaryrefslogtreecommitdiff
path: root/engine/learn_move.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-09 23:56:20 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-09 23:56:20 -0500
commit8a6d46f3d9ba4fb6939eb9ea9949f47aa8608d4a (patch)
treec369228491bdaca750da4a24baa3190836320710 /engine/learn_move.asm
parentf8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (diff)
Replace some hardcoded data sizes
Diffstat (limited to 'engine/learn_move.asm')
-rwxr-xr-xengine/learn_move.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/learn_move.asm b/engine/learn_move.asm
index 88dedd3d..02459b20 100755
--- a/engine/learn_move.asm
+++ b/engine/learn_move.asm
@@ -44,7 +44,7 @@ DontAbandonLearning: ; 6e5b (1:6e5b)
push de
dec a
ld hl, Moves
- ld bc, $6
+ ld bc, MoveEnd - Moves
call AddNTimes
ld de, wBuffer
ld a, BANK(Moves)