mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-16 07:29:29 +00:00
peasant: add waterfall foam
This commit is contained in:
parent
f8ff9ce708
commit
efa1b996af
|
@ -177,6 +177,44 @@ waterfall:
|
||||||
jsr save_bg_14x14
|
jsr save_bg_14x14
|
||||||
|
|
||||||
baby_loop:
|
baby_loop:
|
||||||
|
;====================
|
||||||
|
; also animate waterfall
|
||||||
|
|
||||||
|
lda CURSOR_X
|
||||||
|
pha
|
||||||
|
lda CURSOR_Y
|
||||||
|
pha
|
||||||
|
|
||||||
|
lda #36
|
||||||
|
sta CURSOR_X
|
||||||
|
lda #93
|
||||||
|
sta CURSOR_Y
|
||||||
|
|
||||||
|
lda FRAME
|
||||||
|
and #$4
|
||||||
|
beq do_foam1
|
||||||
|
|
||||||
|
do_foam0:
|
||||||
|
lda #<foam0
|
||||||
|
sta INL
|
||||||
|
lda #>foam0
|
||||||
|
jmp do_foam
|
||||||
|
do_foam1:
|
||||||
|
lda #<foam1
|
||||||
|
sta INL
|
||||||
|
lda #>foam1
|
||||||
|
do_foam:
|
||||||
|
sta INH
|
||||||
|
jsr hgr_draw_sprite
|
||||||
|
|
||||||
|
pla
|
||||||
|
sta CURSOR_Y
|
||||||
|
pla
|
||||||
|
sta CURSOR_X
|
||||||
|
|
||||||
|
;====================
|
||||||
|
; actually draw baby
|
||||||
|
|
||||||
ldx BABY_COUNT
|
ldx BABY_COUNT
|
||||||
lda baby_progress,X
|
lda baby_progress,X
|
||||||
bmi done_baby
|
bmi done_baby
|
||||||
|
|
|
@ -56,6 +56,9 @@ ending_sprites.inc: end_sprites.png boat_sprites.png
|
||||||
$(HGR_SPRITE) -s -l boat5 boat_sprites.png 91 47 165 91 >> ending_sprites.inc
|
$(HGR_SPRITE) -s -l boat5 boat_sprites.png 91 47 165 91 >> ending_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l boat6 boat_sprites.png 91 93 165 137 >> ending_sprites.inc
|
$(HGR_SPRITE) -s -l boat6 boat_sprites.png 91 93 165 137 >> ending_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l boat7 boat_sprites.png 91 139 165 183 >> ending_sprites.inc
|
$(HGR_SPRITE) -s -l boat7 boat_sprites.png 91 139 165 183 >> ending_sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l foam0 end_sprites.png 155 38 165 85 >> ending_sprites.inc
|
||||||
|
$(HGR_SPRITE) -s -l foam1 end_sprites.png 183 38 195 85 >> ending_sprites.inc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user