summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2016-01-27 12:25:12 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2016-01-27 12:25:12 -0500
commitb272c0c3754012f83129c23c2c546013cd1e80ef (patch)
tree6d9911898f8d6947ef59f71d08a78276cab6a631 /items
parentd02c9e39dd5138aa2d5e11178fcef7e2a58d4230 (diff)
Fix marts using hard-coded bank number
Diffstat (limited to 'items')
-rw-r--r--items/item_effects.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 5ba74eb8c..aa6c8f795 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -403,7 +403,7 @@ endr
jr c, .not_kurt_ball
ld a, POKE_BALL
.not_kurt_ball
- ld [wKickCounter], a
+ ld [wBattleAnimParam], a
ld de, ANIM_THROW_POKE_BALL
ld a, e
@@ -2955,7 +2955,7 @@ UseBallInTrainerBattle: ; f7a0
ld a, d
ld [FXAnimIDHi], a
xor a
- ld [wKickCounter], a
+ ld [wBattleAnimParam], a
ld [hBattleTurn], a
ld [wNumHits], a
predef PlayBattleAnim