// TOWN SPECIAL ENCOUNTERS
//    Town 52: Empire Archives

beginzonescript;

variables;

short im_hostile = 0;
short max_crime = 200;
short last_abil;
short counter = 0;
short set_ter = 0;

body;

//1 

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,);
//	add_range_to_group(,,groupn);

	set_name(30001,"Whirling Stalker");
	set_boss_level(30001,1);
	set_level(30001,27);
	set_attack_bonus(30001,15);
	
	set_name(30002,"Bound Efreet");
	change_max_health(30002,200);
	set_attack_bonus(30002,25);

	set_boss_level(5233,2);
	
	set_personality_name(1040,"Vikner");
	set_new_abil(1040,20);
	set_attack_bonus(1040,25);
	
	set_crime_tolerance(max_crime);

	if (gf(52,27) > 0) {
		set_terrain(0,46,41,0);
		set_terrain(0,46,43,0);
		set_terrain(0,46,45,0);
		}
	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(5233,"Please don't hurt me.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(5233,"Whimper.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(5233,"Tremble.");

break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

beginstate 14;
break;

//	print_str("");
//	set_terrain_string_range("",1);
//	set_terrain_string_range("The sign says - .",1);

