ootw: c2: add proper cage

This commit is contained in:
Vince Weaver 2019-07-15 13:33:44 -04:00
parent 625c667825
commit 1d744de563

View File

@ -56,6 +56,21 @@ cage_loop:
jsr ootw_draw_miners jsr ootw_draw_miners
;======================
; draw cage
lda #11
sta XPOS
lda #0
sta YPOS
lda #<cage_center_sprite
sta INL
lda #>cage_center_sprite
sta INH
jsr put_sprite_crop
;=============================== ;===============================
; check keyboard ; check keyboard
@ -74,14 +89,6 @@ cage_loop:
cage_no_keypress: cage_no_keypress:
;===============
; draw physicist
; jsr draw_physicist
;======================
; draw cage
;=============== ;===============
; page flip ; page flip
@ -125,7 +132,7 @@ cage_frame_no_oflo:
; jmp ootw_rope ; jmp ootw_rope
;not_done_pool:
; loop forever ; loop forever
@ -133,3 +140,21 @@ cage_frame_no_oflo:
done_cage: done_cage:
rts rts
cage_center_sprite:
.byte 11,12
.byte $AA,$AA,$AA,$AA,$AA,$55,$AA,$AA,$AA,$AA,$AA
.byte $AA,$AA,$AA,$AA,$AA,$55,$AA,$AA,$AA,$AA,$AA
.byte $AA,$AA,$AA,$AA,$AA,$55,$AA,$AA,$AA,$AA,$AA
.byte $AA,$AA,$AA,$AA,$AA,$55,$AA,$AA,$AA,$AA,$AA
.byte $AA,$AA,$58,$A8,$98,$58,$A8,$A8,$58,$AA,$AA
.byte $AA,$AA,$55,$AA,$BB,$55,$AA,$AA,$55,$AA,$AA
.byte $AA,$AA,$55,$AB,$00,$55,$77,$77,$55,$AA,$AA
.byte $AA,$AA,$55,$AA,$00,$55,$07,$07,$55,$AA,$AA
.byte $AA,$AA,$55,$AA,$44,$55,$00,$50,$55,$AA,$AA
.byte $AA,$AA,$55,$AA,$44,$55,$05,$00,$55,$AA,$AA
.byte $AA,$AA,$85,$8A,$87,$85,$80,$80,$85,$AA,$AA
.byte $AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA,$AA