begin A1_DAT_SRT_SetNightTimeScript

; global start script

If ( MenuMode )
	Return
Endif

If ( A1_DAT_SRT_DNC )
	If ( GameHour < 20 )
		If ( GameHour > 7 )
			Set A1_DAT_SRT_DNC to 0
	Endif
Endif
        Return
Elseif ( GameHour >= 20 )
	Set A1_DAT_SRT_DNC to 1
	Return
Elseif ( GameHour <= 7 )
	Set A1_DAT_SRT_DNC to 1
Endif

End