summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/mimic.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/move_effects/mimic.asm')
-rw-r--r--engine/battle/move_effects/mimic.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/move_effects/mimic.asm b/engine/battle/move_effects/mimic.asm
index 71eb72c63..a8bc1e11a 100644
--- a/engine/battle/move_effects/mimic.asm
+++ b/engine/battle/move_effects/mimic.asm
@@ -37,7 +37,7 @@ BattleCommand_Mimic:
ld a, BATTLE_VARS_LAST_COUNTER_MOVE_OPP
call GetBattleVar
ld [hl], a
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
ld bc, wBattleMonPP - wBattleMonMoves
add hl, bc
ld [hl], 5