IF
	Global("SaveSavedLoc","LOCALS",0)
THEN
	RESPONSE #100
		SetGlobal("SaveSavedLoc","LOCALS",1)
		%SavedLoc_timer% //SetGlobalTimer("SavedLoc_timer","LOCALS",15)
		SaveObjectLocation("LOCALS","SavedLoc",Myself)
		Continue()
END

IF
	//ActionListEmpty()
	%NearLoc% //!NearSavedLocation(Myself,"LOCALSSavedLoc",24) GlobalTimerExpired("SavedLoc_timer","LOCALS")
THEN
	RESPONSE #100
		%SavedLoc_timer% //SetGlobalTimer("SavedLoc_timer","LOCALS",15)
		MoveToSavedLocation("SavedLoc","LOCALS")
END