// v1.0.0
// t00PatsTwr.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(6,"Captain Rabin");
	set_name(7,"Cochran");
	set_name(8,"Felix");
	set_name(9,"Hathwisa");
	set_name(10,"Infernal Beast");
	set_name(11,"Jade");
	set_name(12,"Julz");
	set_name(13,"Kelli");
	set_name(14,"Marco");
	set_name(15,"Patrick");
	set_name(16,"Rita");

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