summaryrefslogtreecommitdiff
path: root/engine/events/move_tutor.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /engine/events/move_tutor.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/events/move_tutor.asm')
-rw-r--r--engine/events/move_tutor.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/events/move_tutor.asm b/engine/events/move_tutor.asm
index be5f37564..df599d3ae 100644
--- a/engine/events/move_tutor.asm
+++ b/engine/events/move_tutor.asm
@@ -23,18 +23,18 @@ Special_MoveTutor: ; 4925b
call CheckCanLearnMoveTutorMove
jr nc, .loop
xor a ; FALSE
- ld [ScriptVar], a
+ ld [wScriptVar], a
jr .quit
.cancel
ld a, -1
- ld [ScriptVar], a
+ ld [wScriptVar], a
.quit
call CloseSubmenu
ret
.GetMoveTutorMove: ; 492a5
- ld a, [ScriptVar]
+ ld a, [wScriptVar]
cp MOVETUTOR_FLAMETHROWER
jr z, .flamethrower
cp MOVETUTOR_THUNDERBOLT
@@ -58,8 +58,8 @@ CheckCanLearnMoveTutorMove: ; 492b9
predef CanLearnTMHMMove
push bc
- ld a, [CurPartyMon]
- ld hl, PartyMonNicknames
+ ld a, [wCurPartyMon]
+ ld hl, wPartyMonNicknames
call GetNick
pop bc