Fix the code for setting the starting flea speed based on the score threshold.

This commit is contained in:
Jeremy Rand 2020-10-25 23:19:31 -04:00
parent 96a6b6f51f
commit 5a08aefab5
1 changed files with 2 additions and 3 deletions

View File

@ -191,12 +191,11 @@ addFlea entry
lda scoreNum20000
cmp #3
bge addFlea_fast
lda #SEGMENT_SPEED_SLOW
lda #SPRITE_SPEED_SLOW
bra addFlea_setSpeed
addFlea_fast anop
lda #SEGMENT_SPEED_FAST
lda #SPRITE_SPEED_FAST
addFlea_setSpeed anop
sta fleaSpriteSpeed
jsl setFleaSpeed
lda #FLEA_STATE_FALLING