begintownscript;

variables;
short bmessage;

body;

beginstate 0;

	set_crime_tolerance(5);

	if(get_flag(70,0) == 1){
		make_town_hostile();
	}

	if(get_flag(65,0) == 1){
		erase_char(12);
		activate_hidden_group(2);
	}

	set_name(29,"Dryfus");
	set_name(12,"Alexander");
	set_name(25,"Milton");

break;

beginstate 1;
break;

beginstate START_STATE;

	if(get_crime_level() > 0){
		set_flag(70,0,1);
	}

	if(is_combat == 1 && get_crime_level() == 0 && get_flag(70,0) == 0){
		if(party_size() > 1)
			message_dialog("You hear a voice in your heads.  _You are not allowed to display your weapons here.  Please come back only after all of you have learned your lesson._","Suddenly, you feel energy gathering around you...");
		if(party_size() == 1)
			message_dialog("You hear a voice in your head.  _You are not allowed to display your weapon here.  Please come back only after you have learned your lesson._","Suddenly, you feel energy gathering around you...");
	teleport_party(6,25,0);
	}

break;

beginstate 10;

	move_to_new_town(18,42,29);

break;