// v1.0.0
// t08Formell.txt
// Xoid (xoid@hotmail.com)

begintownscript;

variables;

int i,j,k,r1,choice;

body;

// This state called whenever this town is entered.
beginstate INIT_STATE;
	// Names must appear first.
	set_name(14,"Amber");
	set_name(21,"Gibbon");
	set_name(22,"Rose");
	set_name(23,"Miles");
	set_name(24,"Alice");
	set_name(31,"Graham");
	set_name(34,"Becca");
	set_name(35,"Jen");
	set_name(36,"Stoppard");
	set_name(37,"Townsend");
	set_name(38,"Caius");
	set_name(45,"Ken");
	set_name(49,"Tybalt");
	set_name(53,"Amtar");

	set_crime_tolerance(5);
break;

// Always called when the town is left.
beginstate EXIT_STATE;
break;

// This state is called every turn the party is in this town.
beginstate START_STATE;
break;

beginstate 10;
break;

//	if (get_crime_level() >= 5)
//		set_flag(0,11,1);
//
//	if (get_flag(0,11) == 0) {
//		if (get_ran(1,0,100) < 6)
//			text_bubble_on_char(28,"Check!");
//		}

//	reset_dialog();
//	add_dialog_str(0,"",0);
//	add_dialog_choice(0,"");
//	choice = run_dialog(1);
//	if (choice == 1)
//		end();

//	if (get_flag(0,0) > 0)
//		end();
//	message_dialog("","");
//	set_flag(0,0,1);
