monkey: update zipline level

This commit is contained in:
Vince Weaver 2020-09-27 22:03:50 -04:00
parent 8139c2520c
commit 3ff6c7e992
3 changed files with 34 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -94,6 +94,8 @@ game_loop:
beq animate_flame
cmp #MONKEY_BAR
beq do_draw_bar_door
cmp #MONKEY_ZIPLINE
beq do_draw_sign
jmp nothing_special
@ -105,6 +107,10 @@ do_draw_bar_door:
jsr draw_bar_door
jmp nothing_special
do_draw_sign:
jsr draw_sign
jmp nothing_special
nothing_special:

View File

@ -43,25 +43,39 @@ done_zp_adjust:
rts
draw_sign:
lda FRAMEL
and #$10
beq done_draw_sign
;draw_sign:
lda #<sign_sprite
sta INL
lda #>sign_sprite
sta INH
; lda #<wall_sprite
; sta INL
; lda #>wall_sprite
; sta INH
lda #0
sta XPOS
lda #4
sta YPOS
; lda #18
; sta XPOS
; lda #22
; sta YPOS
jsr put_sprite_crop
done_draw_sign:
rts
; jsr put_sprite_crop
; rts
;house_sprite:
sign_sprite:
.byte 16,11
.byte $dA,$1A,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$d1,$AA,$AA,$AA
.byte $AA,$AA,$Ad,$A1,$Ad,$A1,$dA,$1A,$AA,$AA,$AA,$AA,$1A,$Ad,$1A,$AA
.byte $AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$Ad,$A1,$dA,$1A,$Ad,$AA,$Ad,$1A
.byte $AA,$Ad,$1A,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$dA
.byte $AA,$AA,$Ad,$dA,$1A,$dA,$1A,$dA,$AA,$AA,$AA,$AA,$AA,$dA,$1A,$AA
.byte $A1,$Ad,$A1,$1A,$dA,$1A,$AA,$AA,$A1,$Ad,$A1,$Ad,$1A,$AA,$AA,$AA
.byte $AA,$AA,$1d,$AA,$AA,$AA,$1d,$AA,$AA,$dA,$1A,$Ad,$AA,$AA,$AA,$AA
.byte $AA,$AA,$Ad,$A1,$dA,$A1,$Ad,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA
.byte $AA,$A1,$Ad,$AA,$1A,$Ad,$A1,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA
.byte $AA,$dA,$AA,$AA,$AA,$AA,$1d,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA
.byte $AA,$1A,$dA,$A1,$Ad,$1A,$dA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA
;=============================