mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-27 23:30:56 +00:00
monkey: more foregrounds
This commit is contained in:
parent
ccc22c9716
commit
4605d65403
@ -240,6 +240,8 @@ really_draw_guybrush:
|
|||||||
beq do_draw_building
|
beq do_draw_building
|
||||||
cmp #MONKEY_VOODOO1
|
cmp #MONKEY_VOODOO1
|
||||||
beq do_draw_voodoo1
|
beq do_draw_voodoo1
|
||||||
|
cmp #MONKEY_CHURCH
|
||||||
|
beq do_draw_church
|
||||||
|
|
||||||
jmp nothing_foreground
|
jmp nothing_foreground
|
||||||
|
|
||||||
@ -259,6 +261,10 @@ do_draw_voodoo1:
|
|||||||
jsr voodoo1_draw_foreground
|
jsr voodoo1_draw_foreground
|
||||||
jmp nothing_foreground
|
jmp nothing_foreground
|
||||||
|
|
||||||
|
do_draw_church:
|
||||||
|
jsr draw_church_foreground
|
||||||
|
jmp nothing_foreground
|
||||||
|
|
||||||
|
|
||||||
nothing_foreground:
|
nothing_foreground:
|
||||||
|
|
||||||
|
@ -62,25 +62,68 @@ done_ch_adjust:
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
;=======================
|
||||||
|
;=======================
|
||||||
|
; draw church foreground
|
||||||
|
;=======================
|
||||||
|
;=======================
|
||||||
|
draw_church_foreground:
|
||||||
|
|
||||||
|
lda GUYBRUSH_X
|
||||||
|
cmp #19
|
||||||
|
bcc draw_church_left_sprite
|
||||||
|
|
||||||
|
cmp #24
|
||||||
|
bcs draw_church_right_sprite
|
||||||
|
|
||||||
|
bcc draw_church_no_sprite
|
||||||
|
|
||||||
|
draw_church_right_sprite:
|
||||||
|
|
||||||
|
lda #25
|
||||||
|
sta XPOS
|
||||||
|
|
||||||
|
lda #<church_right_sprite
|
||||||
|
sta INL
|
||||||
|
lda #>church_right_sprite
|
||||||
|
jmp draw_church_sprite
|
||||||
|
|
||||||
|
draw_church_left_sprite:
|
||||||
|
lda #9
|
||||||
|
sta XPOS
|
||||||
|
|
||||||
|
lda #<church_left_sprite
|
||||||
|
sta INL
|
||||||
|
lda #>church_left_sprite
|
||||||
|
|
||||||
|
draw_church_sprite:
|
||||||
|
sta INH
|
||||||
|
|
||||||
|
lda #32
|
||||||
|
sta YPOS
|
||||||
|
|
||||||
|
jsr put_sprite_crop
|
||||||
|
|
||||||
|
|
||||||
;draw_house:
|
draw_church_no_sprite:
|
||||||
|
rts
|
||||||
|
|
||||||
; lda #<wall_sprite
|
church_right_sprite:
|
||||||
; sta INL
|
.byte 14,2
|
||||||
; lda #>wall_sprite
|
.byte $30,$33,$AA,$AA,$55,$00,$AA,$AA,$AA,$05,$55,$55,$55,$55
|
||||||
; sta INH
|
.byte $bb,$b3,$33,$55,$55,$50,$00,$AA,$AA,$00,$d2,$25,$55,$55
|
||||||
|
|
||||||
; lda #18
|
church_left_sprite:
|
||||||
; sta XPOS
|
.byte 8,2
|
||||||
; lda #22
|
.byte $0A,$50,$77,$57,$07,$77,$00,$AA
|
||||||
; sta YPOS
|
.byte $00,$55,$07,$55,$00,$07,$00,$55
|
||||||
|
|
||||||
; jsr put_sprite_crop
|
|
||||||
|
|
||||||
; rts
|
;=============================
|
||||||
|
;=============================
|
||||||
;house_sprite:
|
; church check bounds
|
||||||
|
;=============================
|
||||||
|
;=============================
|
||||||
|
|
||||||
church_check_bounds:
|
church_check_bounds:
|
||||||
rts
|
rts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user