begintownscript;

variables;
 
 short choice; 

body; 

beginstate INIT_STATE;
 if (get_flag(0,25) > 0) end();
 
message_dialog("After crossing the bridge, you step towards the fortress for the first time, and from the many sounds heard, the fort may be unfinished. You get ready to finish the first part of the finish.","");
 
set_flag(0,25,1);
 break;
 
beginstate START_STATE;
 break;

beginstate EXIT_STATE;
 break;
beginstate 10;
 if (get_flag(0,26) > 0) end();
 message_dialog("There is what appears to be quest rooms. Apparently he was expecting company eventually.","");
 set_flag(0,26,1);
 break;
 
beginstate 11;
 move_to_new_town(4,16,28);

break;
 
beginstate 12;
 if (get_flag(0,18) > 0) end();
 message_dialog("You go to the doors to see that they are locked. But then something in your pack glowed and the doors unlocked.","");
 set_flag(0,18,1);
 break;
 
beginstate 13;
 if (get_flag(0,17) > 0) end();
 message_dialog("What you find shocks you. You see what appears to be a _human_ farm. The muffins are breeding them. And from what you see, these humans grow fast.","");
 set_flag(0,17,1);
 break;
 
beginstate 14;
 if (get_flag(0,16) > 0) end();
 message_dialog("Interesting. You now know where the muffins come from. All you have to do is destroy it and you will do major harm. That is, if you can.","");
 set_flag(0,16,1);
 break;
 
beginstate 15;
 
if (get_flag(0,15) > 0) end();
 message_dialog("You fiddle with the controls and something happened. You don't know what, but the machinery stopped.","");
  set_flag(0,15,1);
 break;

beginstate 16;
 message_dialog("All this does is start the process with different modes. Useless if you wanted to stop this.","");
 break;
 
beginstate 17;
 if (get_flag(1,25) == 0){ message_dialog("As you walk, you think you hear machinery in the room to the northwest.","");
 set_flag(1,25,1);
 } break;
 