beginoutdoorscript;

variables;
short choice;

body;

beginstate INIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 11;
	if (get_flag(0,4)==0) {
		message_dialog("So at last you get to meet some Smiley Faces! A whole patrol of them is moving towards you. It is a formidable force, all armed. Fortunately they look friendly.","You chat with them for a while about the Vale. They tell you about how a few years ago there was a war between them and the 'Frowney Faces'. Now they live in peace, but some of the Frowneys are still hostile. They live in a hill close by.");
		set_flag(0,4,1);
	}
	else {
		message_dialog("You meet a Smiley patrol. They smile at you and move on.","");
	}
	outdoor_enc_result(1);
break;

beginstate 12;
	message_dialog("You approach a tall watch tower looking down at the valley from atop a small hill. You can see a group of Smiley Faces inside. They don't seem to have noticed you. You move on.","");
break;

beginstate 13;
	message_dialog("You stumble into a pack of bears, living here among the trees, very much hungry.","");
break;

beginstate 14;
	message_dialog("You finish off the bears. It seems that they found some gold off of the last unsuspecting adventurers they killed. You take it.","");
	change_coins(50);
break;

beginstate 15;
	if (get_flag(1,3) == 0) {
		reset_dialog();
		add_dialog_str(0,"Camped in this small clearing in the woods beside Happy Keep is a small force of Frowneys. They do not look friendly.",0);
		add_dialog_str(1,"They haven't noticed you yet. If you wanted to, you could kill them now. You'd be ridding the keep of a small pest inside their lands. Or you could do the cowardly thing and run.",0);
		add_dialog_choice(0,"Embrace happiness or die! (Attack)");
		add_dialog_choice(1,"Would a coward do this? (Run)");
		choice = run_dialog(1);
		if (choice == 1)
			create_out_spec_enc(0);
		else
			block_entry(1);
	}
break;

beginstate 16;
	set_out_fight_town_loaded(2);
break;

beginstate 17;
	message_dialog("You kill the last frowney. You could probably get a reward for this at Happy Keep.","");
break;