You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Identify some more uses of wBuffer1-6
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user