Browse Source

Add only one point per enemy killed.

main
Colin McMillen 9 years ago
parent
commit
7eeeca9487
  1. 4
      pewpew.asm

4
pewpew.asm

@ -875,9 +875,9 @@ CheckCollisionsWithEnemies:
; TODO: convert to decimal only at display time? ; TODO: convert to decimal only at display time?
SetA16Bit SetA16Bit
sed ; Set decimal mode. sed ; Set decimal mode.
clc
lda playerScore lda playerScore
adc #8
clc
adc #1
sta playerScore sta playerScore
cld ; Clear decimal mode. cld ; Clear decimal mode.
SetA8Bit SetA8Bit

Loading…
Cancel
Save