begintownscript;

variables;
short choice;

body;

beginstate INIT_STATE;
	set_crime_tolerance(1);
	if (get_flag(5,1) == 0) {
		set_flag(5,1,1);
		reset_dialog();
		add_dialog_str(0,"You enter the hollowed out hill that the Empire force has adopted as their camp. The huge armed force is huddled around the fire.",0);
		add_dialog_str(1,"Their captain greets you. _Hello! You must be the mercenaries! We've been told to wait for you to come._",0);
		add_dialog_str(2,"What do you do?",32);
		add_dialog_choice(0,"(Approach peacefully)");
		add_dialog_choice(1,"(Attack)");
		choice = run_dialog(1);
		if (choice == 2)
			set_state_continue(10);
		toggle_quest(5,0);
	}
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	message_dialog("You draw your weapons. The captain is confused. You have the advantage of a few seconds.","The element of surprise soon wears off. The camp prepares to fight you.");
	change_crime_level(2);
break;