summaryrefslogtreecommitdiff
path: root/engine/learn_move.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-02-08 00:17:03 -0800
committerYamaArashi <shadow962@live.com>2015-02-08 00:17:03 -0800
commit1347023128e141dc4cfc71ee6bc689f909e96919 (patch)
treee9b5e0db057f8e912f479f7421144091458b2456 /engine/learn_move.asm
parent72bbaed99f725b2b8b0d2653968042ce1625354c (diff)
move-related things
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