// OUTDOOR SECTION SCRIPT
//    Section: X = 0, Y = 13: The Homeland

beginoutdoorscript;

variables;

int choice,i,j,k;
string dlgstr;

body;

beginstate INIT_STATE;
// This state called whenever this section is loaded into memory.
break;

beginstate START_STATE;
// Starting state of the section, called every turn the party 
// stands inside this section until you change the state.
break;

beginstate 10;
if (get_flag(213,0) == 0) {
	message_dialog("You pass by the guard towers, and as you do, the guards come running out, swords drawn. Following not far behind you, though, Britha comes running, and she does a lot of fast talking out of your hearing. Whatever she says to them seems to work.","They let you pass on to Danatha, where Britha goes running before you.");
	set_flag(213,0,1);
	}
break;

beginstate 11;
if (get_flag(213,1) == 0) {
	message_dialog("The city is filled with commotion. Just before the wall, you are greeted by guards, who tell you that the lord of Danatha is waiting for your presence.","");
	set_flag(213,1,1);
	}
break;