SCTX |
scn SE06DarkSeducerWardenSCRIPT
begin OnPackageDone SE06DSWardenUnlockMainDoor
; unlock the door permanently
SE06DoorExteriorToMainPassageRef.unlock 1
; open it, and make it default to open
SE06DoorExteriorToMainPassageRef.setopenstate 1
SE06DoorExteriorToMainPassageRef.setDoorDefaultOpen 1
end
begin OnDeath
if getstage SE06 > 5
; count seducers killed
set SE06.DeadSeducers to SE06.DeadSeducers + 1
; all dead?
if SE06.DeadSeducers >= SE06.TotalSeducers && getstage SE06 < 150
setstage SE06 140
endif
endif
end
|