;Death Crypt script trigger (map: 1141)

Switch1=0
Switch2=0

If #XPOS = 6
	If #YPOS = 7
		Switch1=1
	EndIf
EndIf
If #XPOS = 10
	If #YPOS = 13
		Switch2=1
	EndIf
EndIf

If Switch1 = 1
	OpenDoor(1141, 6, 16)
ElseIf Switch2 = 1
	OpenDoor(1141, 10, 5)
Else
	CloseDoor(1141, 6, 16)
	CloseDoor(1141, 10, 5)
EndIf

Continue = 1