mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
ootw: c1: more beast work, plus some debugging stuff
This commit is contained in:
parent
2619a75503
commit
f102c687bf
@ -28,14 +28,23 @@ setup_beast_right:
|
||||
|
||||
lda WHICH_CAVE
|
||||
cmp #4
|
||||
bne beast_left_set_normal
|
||||
beq beast_right_rope
|
||||
cmp #2
|
||||
beq beast_right_end
|
||||
jmp beast_right_set_normal
|
||||
|
||||
; give time to get zapped
|
||||
beast_right_end:
|
||||
lda #220
|
||||
jmp beast_right_set_x
|
||||
|
||||
beast_right_rope:
|
||||
lda #240
|
||||
jmp beast_left_set_x
|
||||
jmp beast_right_set_x
|
||||
|
||||
beast_left_set_normal:
|
||||
lda #248 ; -8 = 248
|
||||
beast_left_set_x:
|
||||
beast_right_set_normal:
|
||||
lda #246 ; -8 = 248
|
||||
beast_right_set_x:
|
||||
sta BEAST_X
|
||||
jmp setup_no_beast
|
||||
|
||||
|
@ -48,11 +48,6 @@ mesa_left:
|
||||
lda #$c ; load image off-screen $c00
|
||||
jsr load_rle_gr
|
||||
|
||||
;=================================
|
||||
; copy to screen
|
||||
|
||||
; jsr gr_copy_to_current
|
||||
; jsr page_flip
|
||||
|
||||
;=================================
|
||||
; setup vars
|
||||
@ -62,6 +57,9 @@ mesa_left:
|
||||
sta GAME_OVER
|
||||
sta LEVELEND_PROGRESS
|
||||
|
||||
lda #2
|
||||
sta WHICH_CAVE
|
||||
|
||||
jsr setup_beast
|
||||
|
||||
;============================
|
||||
|
@ -57,6 +57,8 @@ ootw_pool:
|
||||
lda #30
|
||||
sta TENTACLE_PROGRESS
|
||||
|
||||
lda #1
|
||||
sta BEAST_OUT
|
||||
;==================================
|
||||
; setup beast if we're running from it
|
||||
|
||||
|
@ -106,7 +106,8 @@ init_slug_loop:
|
||||
|
||||
; Mark slug as out and alive
|
||||
|
||||
lda #1
|
||||
; lda #1
|
||||
lda #0
|
||||
sta slugg0_out,X
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user