summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/sleep_talk.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-29 20:36:00 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-29 20:36:00 -0400
commitf90f4bc62a664bb24103b8d4a286d519de6b0053 (patch)
tree3d990db431340c10e2bb69c433be2c5d9fc2e434 /engine/battle/move_effects/sleep_talk.asm
parent8d8229d2aab1b1cd06db22cc8db4fa60bc55ccc4 (diff)
Remove wKickCounter and wPresentPower aliases for wBattleAnimParam
Diffstat (limited to 'engine/battle/move_effects/sleep_talk.asm')
-rw-r--r--engine/battle/move_effects/sleep_talk.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/move_effects/sleep_talk.asm b/engine/battle/move_effects/sleep_talk.asm
index 92bff260..96522af2 100644
--- a/engine/battle/move_effects/sleep_talk.asm
+++ b/engine/battle/move_effects/sleep_talk.asm
@@ -52,11 +52,11 @@ BattleCommand_SleepTalk:
ld [hl], a
call CheckUserIsCharging
jr nz, .charging
- ld a, [wKickCounter]
+ ld a, [wBattleAnimParam]
push af
call BattleCommand_LowerSub
pop af
- ld [wKickCounter], a
+ ld [wBattleAnimParam], a
.charging
call LoadMoveAnim
call UpdateMoveData