summaryrefslogtreecommitdiff
path: root/engine/tmhm.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tmhm.asm')
-rwxr-xr-xengine/tmhm.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/tmhm.asm b/engine/tmhm.asm
index 1cdbe1fff..9db3dc291 100755
--- a/engine/tmhm.asm
+++ b/engine/tmhm.asm
@@ -1,8 +1,8 @@
CanLearnTMHMMove: ; 11639
- ld a, [CurPartySpecies]
- ld [CurSpecies], a
+ ld a, [wCurPartySpecies]
+ ld [wCurSpecies], a
call GetBaseData
- ld hl, BaseTMHM
+ ld hl, wBaseTMHM
push hl
ld a, [wPutativeTMHMMove]