ootw: foreground sprite

This commit is contained in:
Vince Weaver 2019-01-14 00:18:37 -05:00
parent 63353f3050
commit db98514eaa
4 changed files with 38 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -94,6 +94,18 @@ done_walking:
; draw foreground
lda #>foreground_plant
sta INH
lda #<foreground_plant
sta INL
lda #4
sta XPOS
lda #30
sta YPOS
jsr put_sprite
; page flip
jsr page_flip

View File

@ -37,12 +37,11 @@ planet_rle: .byte $28 ; ysize=48
.byte $A5,$85, $88,$88, $85,$85, $82, $A8,$88, $A4,$22, $52
.byte $82, $55, $85, $AA,$25, $28, $A5,$25, $28
.byte $A8,$25, $85, $55,$55, $A4,$85, $22, $55, $88
.byte $55,$55, $00, $28, $A0,$1B,$22, $28, $85, $55
.byte $A3,$88, $A3,$55, $25, $58, $50, $02, $A5,$52
.byte $72, $A3,$52, $22, $52,$52, $72, $A8,$52, $22
.byte $A6,$52, $72, $55, $52, $55, $58, $A3,$82
.byte $88, $82,$82, $00, $88,$88, $A7,$82, $88, $A3,$82
.byte $88, $A7,$82, $88, $A4,$82, $88, $A6,$82, $A5,$88
.byte $08, $00, $88, $08, $A0,$1F,$88, $A6,$28, $00
.byte $28, $00, $28, $A4,$22, $A0,$1A,$28, $A0,$A0,$00
.byte $55,$55, $85, $28, $A0,$1B,$22, $28, $85, $55
.byte $A3,$88, $A3,$55, $25, $58, $A7,$52, $72, $A3,$52
.byte $22, $52,$52, $72, $A8,$52, $22, $A6,$52, $72
.byte $55, $52, $55, $58, $A3,$82, $88, $82,$82
.byte $A3,$88, $A7,$82, $88, $A3,$82, $88, $A7,$82, $88
.byte $A4,$82, $88, $A6,$82, $A0,$28,$88, $AA,$28, $A4,$22, $A0,$1A,$28
.byte $A0,$A0,$00
.byte $A1

View File

@ -9,3 +9,22 @@ stand_right:
.byte $aa,$44,$aa,$aa
.byte $aa,$f4,$fa,$aa
stand_left:
.byte $4,$8
.byte $aa,$9a,$9a,$aa
.byte $aa,$bb,$99,$aa
.byte $aa,$aa,$0b,$aa
.byte $aa,$aa,$bb,$aa
.byte $aa,$aa,$bb,$aa
.byte $aa,$aa,$44,$aa
.byte $aa,$aa,$44,$aa
.byte $aa,$fa,$f4,$aa
foreground_plant:
.byte $5,$5
.byte $aa,$00,$aa,$aa,$aa
.byte $aa,$a0,$0a,$aa,$aa
.byte $aa,$aa,$00,$aa,$aa
.byte $0a,$0a,$00,$aa,$0a
.byte $aa,$aa,$00,$aa,$00