mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
ootw: more end-cage changes
This commit is contained in:
parent
cbfe8c6359
commit
4c12ea476d
@ -796,7 +796,7 @@ done_cage_endcage:
|
||||
cmp #10
|
||||
bcs done_guard_endcage ; bge
|
||||
|
||||
lda #22
|
||||
lda #21
|
||||
sta XPOS
|
||||
lda #28
|
||||
sta YPOS
|
||||
@ -810,6 +810,19 @@ done_cage_endcage:
|
||||
|
||||
done_guard_endcage:
|
||||
|
||||
;===============
|
||||
; draw gun
|
||||
;===============
|
||||
|
||||
lda #30
|
||||
sta XPOS
|
||||
|
||||
lda #44
|
||||
sta YPOS
|
||||
|
||||
jsr draw_gun
|
||||
|
||||
|
||||
;===============
|
||||
; page flip
|
||||
|
||||
|
@ -324,12 +324,23 @@ jail_loop:
|
||||
lda WHICH_JAIL
|
||||
|
||||
bg_jail0:
|
||||
; Jail #0, draw miners
|
||||
; Jail #0, draw miners, gun
|
||||
|
||||
cmp #0
|
||||
bne bg_jail6
|
||||
jsr ootw_draw_miners
|
||||
|
||||
lda GUN_OUT
|
||||
beq c2_no_bg_action
|
||||
|
||||
lda #30
|
||||
sta XPOS
|
||||
lda #44
|
||||
sta YPOS
|
||||
jsr draw_gun
|
||||
|
||||
jmp c2_no_bg_action
|
||||
|
||||
bg_jail6:
|
||||
; Jail #6, draw power animation
|
||||
|
||||
@ -685,7 +696,6 @@ done_jail:
|
||||
rts
|
||||
|
||||
|
||||
|
||||
power_line_sprites:
|
||||
.word power_line_sprite0
|
||||
.word power_line_sprite1
|
||||
@ -754,9 +764,6 @@ walking_dude2: .byte 6,6
|
||||
.byte $AA,$00,$77,$7f,$77,$00
|
||||
.byte $AA,$00,$77,$77,$77,$00
|
||||
|
||||
|
||||
|
||||
|
||||
teleport_sprite:
|
||||
.byte 3,8
|
||||
.byte $BB,$AA,$BA
|
||||
@ -768,3 +775,20 @@ teleport_sprite:
|
||||
.byte $AB,$59,$BB
|
||||
.byte $AA,$45,$AB
|
||||
|
||||
|
||||
gun_sprite:
|
||||
.byte 3,1
|
||||
.byte $0a,$0a,$00
|
||||
|
||||
|
||||
;====================
|
||||
; draw gun
|
||||
;====================
|
||||
; xpos/ypos already set
|
||||
draw_gun:
|
||||
lda #<gun_sprite
|
||||
sta INL
|
||||
lda #>gun_sprite
|
||||
sta INH
|
||||
|
||||
jmp put_sprite_crop
|
||||
|
@ -51,11 +51,11 @@ cage_fell_rle: .byte $28 ; ysize=48
|
||||
.byte $00,$00, $55, $A3,$00, $22,$22, $66,$66, $A7,$88, $A0,$13,$00
|
||||
.byte $85, $80, $08, $18, $08,$08, $76,$76, $A4,$26
|
||||
.byte $66,$66, $A7,$88, $60,$60, $A0,$11,$00, $77,$77, $00, $11
|
||||
.byte $00, $70, $07, $77, $A3,$62, $02,$02, $00
|
||||
.byte $A7,$68, $26, $A0,$11,$00, $06, $56, $06, $56
|
||||
.byte $06, $56, $77, $56, $06, $56, $26
|
||||
.byte $56, $06, $56, $06, $56, $06, $56
|
||||
.byte $06, $56, $06, $56
|
||||
.byte $00, $70, $07, $77, $A5,$62, $66, $A7,$68
|
||||
.byte $26, $A0,$11,$00, $06, $56, $06, $56, $06
|
||||
.byte $56, $77, $56, $06, $56, $26, $56
|
||||
.byte $06, $56, $06, $56, $06, $56, $06
|
||||
.byte $56, $06, $56
|
||||
.byte $A1
|
||||
cage_rle: .byte $28 ; ysize=48
|
||||
.byte $A5,$22, $A4,$00, $20, $62,$62, $20, $00,$00, $20
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue
Block a user