// TOWN SPECIAL ENCOUNTERS
//    Town 89: Test of Speed

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);

	sf(89,3,0);
	sf(89,11,0);
	sf(89,7,0);
	sf(89,8,0);
	
	set_name(8900,"Fireproof Goblin");
	set_resistance(8900,2,100);
	set_name(8901,"Fireproof Goblin");
	set_resistance(8901,2,100);
	set_name(8902,"Fireproof Goblin");
	set_resistance(8902,2,100);
	set_name(8903,"Fireproof Slime");
	set_resistance(8903,2,100);
	set_name(8904,"Fireproof Goblin");
	set_resistance(8904,2,100);
	set_name(8905,"Fireproof Goblin");
	set_resistance(8905,2,100);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (is_field(char_loc_x(random_group_member(0)),char_loc_y(random_group_member(0)),2)) {
		ok_dlog(55,2);
		//teleport_party(54,37,0);
		relocate_char(random_group_member(0),54,37,FALSE);
		set_view_center(54,37);
		}
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);

