summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/disable.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/move_effects/disable.asm')
-rw-r--r--engine/battle/move_effects/disable.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/move_effects/disable.asm b/engine/battle/move_effects/disable.asm
index de6dbc60f..4020aa886 100644
--- a/engine/battle/move_effects/disable.asm
+++ b/engine/battle/move_effects/disable.asm
@@ -63,7 +63,7 @@ BattleCommand_Disable:
ld a, BATTLE_VARS_LAST_COUNTER_MOVE_OPP
call GetBattleVar
ld [hl], a
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetMoveName
ld hl, WasDisabledText
jp StdBattleTextbox