summaryrefslogtreecommitdiff
path: root/engine/battle_anims
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle_anims')
-rw-r--r--engine/battle_anims/pokeball_wobble.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle_anims/pokeball_wobble.asm b/engine/battle_anims/pokeball_wobble.asm
index 7e6a764d0..d69766a53 100644
--- a/engine/battle_anims/pokeball_wobble.asm
+++ b/engine/battle_anims/pokeball_wobble.asm
@@ -8,12 +8,12 @@ GetPokeBallWobble:
ld d, a
push de
- ld a, BANK(wBuffer2)
+ ld a, BANK(wThrownBallWobbleCount) ; aka BANK(wFinalCatchRate)
ldh [rSVBK], a
- ld a, [wBuffer2]
+ ld a, [wThrownBallWobbleCount]
inc a
- ld [wBuffer2], a
+ ld [wThrownBallWobbleCount], a
; Wobble up to 3 times.
cp 3 + 1
@@ -25,7 +25,7 @@ GetPokeBallWobble:
jr nz, .done
ld hl, WobbleProbabilities
- ld a, [wBuffer1]
+ ld a, [wFinalCatchRate]
ld b, a
.loop
ld a, [hli]