Browse Source

Tweak ship / shot spawn rates.

main
Colin McMillen 9 years ago
parent
commit
d7f0119cb6
  1. 6
      pewpew.asm

6
pewpew.asm

@ -495,7 +495,7 @@ UpdateShotCooldown:
SpawnEnemyShips: SpawnEnemyShips:
GetRandomByte GetRandomByte
bit #%00111111 ; Spawn ships every this-many frames (on average).
bit #%01111111 ; Spawn ships every this-many frames (on average).
beq + beq +
rts rts
+ +
@ -552,7 +552,7 @@ UpdateEnemyShips:
sta enemyShipArray, Y ; reap it. sta enemyShipArray, Y ; reap it.
bra ++ bra ++
+ +
sta enemyShipArray + 1, Y
sta enemyShipArray + 1, Y ; move it.
++ ++
@ -568,7 +568,7 @@ UpdateEnemyShips:
SpawnEnemyShots: SpawnEnemyShots:
lda vBlankCounter lda vBlankCounter
bit #%00001111 ; Spawn shots every this-many frames.
bit #%00011111 ; Spawn shots every this-many frames.
beq + beq +
rts rts
+ +

Loading…
Cancel
Save