mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-01 05:31:52 +00:00
ootw: got multiple slugs going
This commit is contained in:
parent
12f0aafbfb
commit
3bb79c312f
@ -1,7 +1,5 @@
|
|||||||
TODO:
|
TODO:
|
||||||
+ slugs on ceiling
|
+ slugs on ceiling
|
||||||
+ slug cut-scene
|
|
||||||
|
|
||||||
|
|
||||||
far-out:
|
far-out:
|
||||||
+ add the shooting-in-hallway scene
|
+ add the shooting-in-hallway scene
|
||||||
|
@ -420,9 +420,9 @@ slugg2_gait: .byte 0
|
|||||||
draw_slugs:
|
draw_slugs:
|
||||||
|
|
||||||
ldx #0
|
ldx #0
|
||||||
sta WHICH_SLUG
|
stx WHICH_SLUG
|
||||||
draw_slugs_loop:
|
draw_slugs_loop:
|
||||||
|
ldx WHICH_SLUG
|
||||||
lda slugg0_out,X
|
lda slugg0_out,X
|
||||||
bne check_kicked ; don't draw if not there
|
bne check_kicked ; don't draw if not there
|
||||||
jmp slug_done
|
jmp slug_done
|
||||||
@ -629,6 +629,18 @@ slug_right:
|
|||||||
jsr put_sprite_flipped
|
jsr put_sprite_flipped
|
||||||
|
|
||||||
slug_done:
|
slug_done:
|
||||||
|
lda WHICH_SLUG
|
||||||
|
clc
|
||||||
|
adc #6
|
||||||
|
tax
|
||||||
|
stx WHICH_SLUG
|
||||||
|
|
||||||
|
cpx #18
|
||||||
|
beq slug_exit
|
||||||
|
|
||||||
|
jmp draw_slugs_loop
|
||||||
|
|
||||||
|
slug_exit:
|
||||||
rts
|
rts
|
||||||
|
|
||||||
remove_slug:
|
remove_slug:
|
||||||
|
Loading…
Reference in New Issue
Block a user