ootw: c4: reset doors when restarting a level

This commit is contained in:
Vince Weaver 2019-08-16 15:04:16 -04:00
parent 3e73ac344a
commit ae2b3583b2

View File

@ -25,6 +25,16 @@ ootw_city_init:
lda #100
sta GUN_CHARGE
;====================
; reset doors
lda #DOOR_STATUS_CLOSED
sta c4_r0_door0_status
sta c4_r0_door1_status
lda #DOOR_STATUS_LOCKED
sta c4_r0_door2_status
sta c4_r0_door3_status
sta c4_r0_door4_status
;===============
; set up aliens