mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-13 18:29:34 +00:00
sb: update graphics
This commit is contained in:
parent
2de3dbffc5
commit
29f92a2df4
|
@ -83,6 +83,9 @@ score_inc_d1:
|
||||||
cld ; back from decimal mode
|
cld ; back from decimal mode
|
||||||
|
|
||||||
update_d1_score:
|
update_d1_score:
|
||||||
|
|
||||||
|
; update ones digit
|
||||||
|
|
||||||
lda D1_SCORE
|
lda D1_SCORE
|
||||||
and #$f
|
and #$f
|
||||||
tay
|
tay
|
||||||
|
@ -91,6 +94,24 @@ update_d1_score:
|
||||||
lda number_sprites_h,Y
|
lda number_sprites_h,Y
|
||||||
sta score1_h+4
|
sta score1_h+4
|
||||||
|
|
||||||
|
; check if leading zero
|
||||||
|
|
||||||
|
lda D1_SCORE_H
|
||||||
|
and #$f
|
||||||
|
bne d1_score_no_lead_zero
|
||||||
|
|
||||||
|
lda D1_SCORE
|
||||||
|
and #$f0
|
||||||
|
bne d1_score_no_lead_zero
|
||||||
|
|
||||||
|
lda #<space_sprite
|
||||||
|
sta score1_l+3
|
||||||
|
lda #>space_sprite
|
||||||
|
sta score1_h+3
|
||||||
|
jmp done_d1_score
|
||||||
|
|
||||||
|
d1_score_no_lead_zero:
|
||||||
|
|
||||||
lda D1_SCORE
|
lda D1_SCORE
|
||||||
lsr
|
lsr
|
||||||
lsr
|
lsr
|
||||||
|
@ -102,6 +123,9 @@ update_d1_score:
|
||||||
lda number_sprites_h,Y
|
lda number_sprites_h,Y
|
||||||
sta score1_h+3
|
sta score1_h+3
|
||||||
|
|
||||||
|
done_d1_score:
|
||||||
|
|
||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
games/sb/graphics/duck1_sprites.png
Normal file
BIN
games/sb/graphics/duck1_sprites.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 813 B |
BIN
games/sb/graphics/duck2_sprites.png
Normal file
BIN
games/sb/graphics/duck2_sprites.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 795 B |
BIN
games/sb/graphics/lores_font.png
Normal file
BIN
games/sb/graphics/lores_font.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 756 B |
Loading…
Reference in New Issue
Block a user