// TOWN SPECIAL ENCOUNTERS
//    Town 0: Nephilim Castle

beginzonescript;

variables;

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

body;
 // 10 11 1212
 
beginstate INIT_STATE;
	last_abil = get_current_tick();

	set_name(57,"Spiritist Halorran");
	set_level(57,4);
	set_boss_level(57,1);

	
	set_boss_level(19,2);
	set_boss_level(20,2);
	set_boss_level(41,2);
	set_new_abil(19,20);
	set_new_abil(20,20);
	set_new_abil(41,20);
	if (gf(0,12) > 0) {
		erase_char(19);
		erase_char(20);
		erase_char(41);
		}
		
//	add_range_to_group(,,groupn);

	set_personality_name(0,"Arum");
	if (gf(0,15) > 0)
		erase_char(0);
		
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(0,"Cough.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(0,"So cold.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(0,"Save me!");

break;

beginstate 10;
break;

beginstate 11;
		erase_char(19);
		erase_char(20);
		erase_char(41);
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);

