// TOWN SPECIAL ENCOUNTERS
//    Town 82: Barrier Tower

beginzonescript;

variables;

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

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

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

	set_personality_name(1640,"Pyrn");
	set_personality_name(1641,"Pyrn");

	set_char_unkillable(8206,1);
	set_char_unkillable(8207,1);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((char_ok(8206)) && (gf(82,3) > 0)) {
		erase_char(8206);
		erase_char(8207);
		}

	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8206,"Help ...");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8206,"Help me.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8206,"Free me.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8206,"Please.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8207,"Submit.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8207,"Break, demon.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8207,"Do no harm.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(8207,"Stay out of the circle.");
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);

