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