summaryrefslogtreecommitdiff
path: root/engine/battle_anims
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 22:45:12 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 22:45:12 -0500
commit9f62d7911bdc0550d9ef1e66195ed22fb7f3ba1c (patch)
tree24087fc560eb8132e7cdf87fb1b39623d415fac4 /engine/battle_anims
parentc88c4a834094e91f1505eab0e22294963e1dd987 (diff)
Identify some more uses of wBuffer1-6
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]