Browse Source

Update shot speed and cooldown timer.

main
Colin McMillen 9 years ago
parent
commit
116d591c60
  1. 4
      pewpew.asm

4
pewpew.asm

@ -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

Loading…
Cancel
Save