ootw: c4: can now blast your way to level5

This commit is contained in:
Vince Weaver 2019-08-16 14:54:39 -04:00
parent e9fbee8434
commit 3e73ac344a

View File

@ -267,9 +267,18 @@ room3:
;======================
; down at the bottom
room4:
; set up doors
lda #1
sta NUM_DOORS
lda #<door_c4_r4
sta setup_door_table_loop_smc+1
lda #>door_c4_r4
sta setup_door_table_loop_smc+2
jsr setup_door_table
lda #(16+128)
sta LEFT_LIMIT
lda #(39+128)
@ -1021,3 +1030,23 @@ door_c4_r0_xmax:
c4_r0_door3_xmax: .byte 35 ; don't care
c4_r0_door4_xmax: .byte 37 ; don't care
door_c4_r4:
.word door_c4_r4_status
.word door_c4_r4_x
.word door_c4_r4_y
.word door_c4_r4_xmin
.word door_c4_r4_xmax
door_c4_r4_status:
c4_r4_door0_status: .byte DOOR_STATUS_LOCKED
door_c4_r4_x:
c4_r4_door0_x: .byte 27
door_c4_r4_xmin: ; don't care (door does not open)
door_c4_r4_xmax: ; don't care (door does not open)
door_c4_r4_y:
c4_r4_door0_y: .byte 8