// TOWN SPECIAL ENCOUNTERS
//    Town 77: Small Slith Fort

beginzonescript;

variables;

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

body;

// 1 2 3 4

beginstate INIT_STATE;
	last_abil = get_current_tick();

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

	set_level(30001,12);
	set_level(7701,12);
	
	set_personality_name(1540,"Ahkas'Ahss");
	
	if (gf(77,12) > 0)
		erase_char(7700);
		
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(7700,"Ahsss.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(7700,"A rescuer?");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(7700,"Help me.");

	if ((set_ter == 0) && (gf(77,13) > 0)) {
		set_ter = 1;
		set_terrain(0,37,32,204);
		}
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);

