// TOWN SPECIAL ENCOUNTERS
//    Town 91: Ominous Crypt

beginzonescript;

variables;

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

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

	set_name(9100,"Draglavus");
	set_name(9127,"Orita");
//	add_range_to_group(,,groupn);


	set_crime_tolerance(max_crime);

	sf(91,20,1);

	set_aggression(30009,50);
	set_aggression(30010,50);
	

	
	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((get_terrain(0,47,32) != 2) && (party_within_dist(45,27,4))) {
		set_terrain(0,47,32,2);
		set_terrain(0,48,32,2);
		}
break;

beginstate 10;
	if ((gf(91,9) == 0) && (party_within_dist(34,49,7))) {
		sf(91,20,0);
		sf(91,9,1);
		set_terrain(0,34,42,0);
		
		activate_hidden_group(2);
		
		ok_dlog(37,1);
		}
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);

