;Death Crypt script trigger, maps 1138, 1139, and 1141

WaterEmptied = GetUserFlag(0,35)

If #MAPID = 1139
	If WaterEmptied = 1
		WarpUser(#USERID,1143,14,2)
	Else
		WarpUser(#USERID,1142,14,2)
	EndIf
ElseIf #MAPID = 1138
	If WaterEmptied = 1
		WarpUser(#USERID,1143,14,2)
	Else
		WarpUser(#USERID,1142,14,2)
	EndIf
ElseIF #MAPID = 1141
	If WaterEmptied = 1
		WarpUser(#USERID,1143,6,2)
	Else
		WarpUser(#USERID,1142,6,2)
	EndIf
EndIf

Continue = 1