summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/disable.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:29:30 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:29:30 -0500
commit99e66c25577e367d6c7ca75fea8b466b54c3317a (patch)
tree56183dddfd540a395086a7540060c374f9541723 /engine/battle/move_effects/disable.asm
parent1a054661ecac2d6075961e486213b6880c0afc4e (diff)
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
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