Update shot speed and cooldown timer.

This commit is contained in:
Colin McMillen 2015-05-30 11:08:26 -04:00
parent 510aca6ed3
commit 116d591c60

View File

@ -466,7 +466,7 @@ MaybeShoot:
sta 1, X sta 1, X
lda playerY lda playerY
sta 2, X sta 2, X
lda #2 ; x-velocity. lda #6 ; x-velocity.
sta 3, X sta 3, X
; Update nextShotPtr. ; Update nextShotPtr.
.rept shotSize .rept shotSize
@ -479,7 +479,7 @@ MaybeShoot:
stx nextShotPtr stx nextShotPtr
; Set cooldown timer. ; Set cooldown timer.
lda #8 lda #10
sta shotCooldown sta shotCooldown
++ ++
rts rts