enum test_levels
{
	EVENT_ONE                                        = 1,
	EVENT_TWO                                        = 2,
	EVENT_THREE                                      = 3,
	EVENT_FOUR                                       = 4




};


void introScript object#() () //
{
	
	if (event == INTRO_1) 
   	{
		var avatarpos0 = [0899, 0148, 00]; //walks to path 0
		var avatarpos1 = [0899, 0145, 00]; //walks to path 0

		AVATAR.say("Upon your world, five seasons have passed since your triumphant homecoming from Britannia.*");
		AVATAR.say("You have traded the Avatar's life of peril and adventure for the lonely serenity of a world at peace.*");
		AVATAR.say("But television supermen cannot take the place of friends who died at your side!*");
		AVATAR.say("Outside, a chill wind rises...*");
		UI_set_weather(RAIN);
		AVATAR.say("...and within moments, the storm is upon you.");
		AVATAR.hide();


		script AVATAR after 10 ticks
		{
			actor frame standing;   
			wait 1;                                        
			repeat 7 {step NORTHEAST; wait 1;};
			actor frame standing;
			wait 20;	
			
			call introScript, INTRO_2;
		};

	}
		
	
	
	if (event == EVENT_TWO)
   	{
		randomPartyBark("@Intro 2 is playing@");
		script AVATAR after 30 ticks
		{
			call testScript, EVENT_THREE;
		
		}
		
	}
	
	if (event == EVENT_THREE)
   	{
		randomPartyBark("@Event THREE is playing@");
		script AVATAR after 30 ticks
		{
			call testScript, EVENT_FOUR;
		
		}
		
	}	
	
	if (event == EVENT_FOUR)
   	{
		randomPartyBark("@Event FOUR is playing@");
		
		
	}	
	
	
	
	
	
}