summaryrefslogtreecommitdiff
path: root/engine/pokemon/learn.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokemon/learn.asm')
-rw-r--r--engine/pokemon/learn.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokemon/learn.asm b/engine/pokemon/learn.asm
index b28f754b..65816783 100644
--- a/engine/pokemon/learn.asm
+++ b/engine/pokemon/learn.asm
@@ -33,12 +33,12 @@ LearnMove:
ld a, [wBattleMode]
and a
jr z, .asm_6638
- ld a, [wcbd3]
+ ld a, [wDisabledMove]
cp b
jr nz, .asm_6638
xor a
- ld [wcbd3], a
- ld [wcb53], a
+ ld [wDisabledMove], a
+ ld [wPlayerDisableCount], a
.asm_6638
call GetMoveName
ld hl, Text_1_2_and_Poof