summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/beat_up.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/move_effects/beat_up.asm')
-rw-r--r--engine/battle/move_effects/beat_up.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/move_effects/beat_up.asm b/engine/battle/move_effects/beat_up.asm
index 32e0112c..d2797f79 100644
--- a/engine/battle/move_effects/beat_up.asm
+++ b/engine/battle/move_effects/beat_up.asm
@@ -114,7 +114,7 @@ BattleCommand_BeatUp:
ld hl, wOTPartySpecies
add hl, bc
ld a, [hl]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
jr .got_enemy_nick
@@ -152,7 +152,7 @@ BattleCommand_BeatUp:
.wild
ld a, [wEnemyMonSpecies]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
ld hl, BeatUpAttackText
call StdBattleTextbox