summaryrefslogtreecommitdiff
path: root/engine/battle_anims
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 22:45:10 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 22:45:10 -0500
commit2b9c37e74f73af67d809b539daa26c612dfedeb0 (patch)
tree51593ace85d342c3cc349f3789c4424278994f14 /engine/battle_anims
parent5c143ed970c969832953699e80b1fcaab182c5a1 (diff)
Identify some more uses of wBuffer1-6
Diffstat (limited to 'engine/battle_anims')
-rw-r--r--engine/battle_anims/pokeball_wobble.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle_anims/pokeball_wobble.asm b/engine/battle_anims/pokeball_wobble.asm
index c430e513..ad0ae875 100644
--- a/engine/battle_anims/pokeball_wobble.asm
+++ b/engine/battle_anims/pokeball_wobble.asm
@@ -2,9 +2,9 @@ GetPokeBallWobble:
; Returns whether a Poke Ball will wobble in the catch animation.
; Whether a Pokemon is caught is determined beforehand.
- ld a, [wBuffer2]
+ ld a, [wThrownBallWobbleCount]
inc a
- ld [wBuffer2], a
+ ld [wThrownBallWobbleCount], a
; Wobble up to 3 times.
cp 3 + 1
@@ -16,7 +16,7 @@ GetPokeBallWobble:
ret nz
ld hl, WobbleProbabilities
- ld a, [wBuffer1]
+ ld a, [wFinalCatchRate]
ld b, a
.loop
ld a, [hli]