mirror of
https://github.com/pret/pokepinball.git
synced 2026-03-21 17:55:03 -05:00
Adjust MAX_EXTRA_BALLS
This commit is contained in:
parent
1630073238
commit
9bc9dc93be
|
|
@ -12,7 +12,7 @@ DEF NUM_MEWTWO_COMPLETIONS_FOR_MEW EQU 2
|
|||
|
||||
DEF MAX_BONUS_MULTIPLIER EQU 99
|
||||
|
||||
DEF MAX_EXTRA_BALLS EQU 11
|
||||
DEF MAX_EXTRA_BALLS EQU 10
|
||||
|
||||
DEF MAP_MOVE_FRAMES_COUNTER EQU 480 ; 8 seconds until the map move counter decrease by 1
|
||||
DEF PINBALL_UPGRADE_FRAMES_COUNTER EQU 3600 ; ~1 minute until the pinball type degrades one stage. (e.g. Great Ball -> Pokeball)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
AddExtraBall: ; 0x30164
|
||||
ld a, [wExtraBalls]
|
||||
inc a
|
||||
cp MAX_EXTRA_BALLS
|
||||
cp MAX_EXTRA_BALLS + 1
|
||||
jr z, .maxed
|
||||
ld [wExtraBalls], a
|
||||
ld a, $1
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user