summaryrefslogtreecommitdiff
path: root/engine/learn_move.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/learn_move.asm')
-rwxr-xr-xengine/learn_move.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/learn_move.asm b/engine/learn_move.asm
index c991058d..75056edb 100755
--- a/engine/learn_move.asm
+++ b/engine/learn_move.asm
@@ -36,7 +36,7 @@ DontAbandonLearning: ; 6e5b (1:6e5b)
pop de
pop hl
.asm_6e8b
- ld a, [wd0e0]
+ ld a, [wMoveNum]
ld [hl], a
ld bc, $15
add hl, bc
@@ -64,7 +64,7 @@ DontAbandonLearning: ; 6e5b (1:6e5b)
ld h, d
ld l, e
ld de, wBattleMonMoves
- ld bc, $4
+ ld bc, NUM_MOVES
call CopyData
ld bc, $11
add hl, bc
@@ -111,10 +111,10 @@ TryingToLearn: ; 6f07 (1:6f07)
ld bc, $fffc
add hl, bc
push hl
- ld de, wd0dc
- ld bc, $4
+ ld de, wMoves
+ ld bc, NUM_MOVES
call CopyData
- callab Func_39b87
+ callab FormatMovesString
pop hl
.asm_6f39
push hl
@@ -125,7 +125,7 @@ TryingToLearn: ; 6f07 (1:6f07)
ld c, $e
call TextBoxBorder
hlCoord 6, 8
- ld de, wd0e1
+ ld de, wMovesString
ld a, [hFlags_0xFFF6]
set 2, a
ld [hFlags_0xFFF6], a