<?xml version="1.0"?>
<locations>
  <location id="1" bg="301" name="Spring Valley" music="Data/Music/MySpace.ogg" effect="1" random="2">
    <image id="301" path="Data/Graphics/Town.jpg"/>

    <hotspot x="828" y="356" image="531" scale="0.25" dialogue="5000" visible="Statue-01" value="0"/>

    <hotspot x="768" y="706" w="400" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="260" y="600" w="150" h="150" image="0" dialogue="3" name="General Store"/>

    <hotspot x="200" y="710" w="64" h="64" image="0" dialogue="1507"/>
    <hotspot x="80" y="690" w="64" h="64" image="0" dialogue="1508" visible="XL-1" value="0"/>
    <hotspot x="80" y="690" w="64" h="64" image="0" dialogue="1507" visible="XL-1"/>
    <hotspot x="367" y="582" w="32" h="32" image="0" dialogue="1510"/>
    <hotspot x="468" y="297" w="32" h="32" image="0" dialogue="1511"/>
    <hotspot x="655" y="83" w="64" h="64" image="0" dialogue="1512"/>

    <hotspot x="560" y="520" image="250" dialogue="4" name="Austin the Town Greeter" visible="T2"/>
    <hotspot x="550" y="280" w="120" h="125" image="0" dialogue="5" name="Angry Weasel Inn"/>
    <hotspot x="830" y="520" w="200" h="200" image="0" dialogue="6" name="Ye Olde Barbershoppe"/>
    <hotspot x="340" y="360" image="251" dialogue="7" name="Adventurers" visible="AdventurersTown"/>

    <hotspot x="650" y="546" image="525" scale="0.5" dialogue="1509" visible="Quest-Dragon" value="5"/>

    <hotspot x="715" y="568" w="16" h="16" image="5000" dialogue="4000" visible="L1"/>
    <hotspot x="135" y="327" w="16" h="16" image="5001" dialogue="4001" visible="L2"/>
    <hotspot x="133" y="746" w="16" h="16" image="5002" dialogue="4002" visible="L3"/>
    <hotspot x="614" y="507" w="16" h="16" image="5003" dialogue="4003" visible="L4"/>
    <hotspot x="672" y="323" w="16" h="16" image="5004" dialogue="4004" visible="L5"/>
    <hotspot x="382" y="663" w="16" h="16" image="5005" dialogue="4005" visible="L6"/>
    <hotspot x="413" y="404" w="16" h="16" image="5006" dialogue="4006" visible="L7"/>
    <hotspot x="528" y="746" w="16" h="16" image="5007" dialogue="4007" visible="L8"/>
    <hotspot x="428" y="338" w="16" h="16" image="5008" dialogue="4008" visible="L9"/>
    <hotspot x="70" y="343" w="16" h="16" image="5009" dialogue="4009" visible="L10"/>

    <if name="T0" equals="0" location="64">
      <flag name="Misc-StopMusic" value="1"/>
    </if>
    <if name="T1" equals="0" dialogue="1"/>
    <if name="T3" equals="0" dialogue="1000"/>
    <if name="DragonRumor" equals="3" dialogue="3000"/>
    <if name="DragonRumor" equals="4" dialogue="3000"/>
    <if name="DragonRumor" equals="5" dialogue="3000"/>
    <if name="DoLitter" equals="1" dialogue="4020"/>
    <if name="LC" equals="10" dialogue="4021"/>
  </location>

  <location id="2" bg="100" music="Data/Music/LastTime.ogg" effect="2">
    <image id="56" path="Data/Graphics/Cypress.png"/>
    <image id="57" path="Data/Graphics/Forest.png"/>
    <image id="58" path="Data/Graphics/Lens.png"/>
    <image id="10000" path="Data/Graphics/Leaves1.png"/>
    <image id="10001" path="Data/Graphics/Leaves2.png"/>
    <image id="10002" path="Data/Graphics/Leaves3.png"/>
    <image id="10003" path="Data/Graphics/Leaves4.png"/>

    <hotspot x="683" y="702" w="80" h="80" image="0" location="3" name="Wildhollow Ranch"/>
    <hotspot x="458" y="683" w="96" h="96" image="0" location="1" name="Spring Valley"/>
    <hotspot x="610" y="795" image="200" location="4" name="Zachary's Ranch" visible="Location-Zachary" value="1"/>
    <hotspot x="974" y="611" image="202" location="5" name="Campsite" visible="Location-Campsite" value="1"/>
    <hotspot x="396" y="254" image="203" location="7" if="Compass" else="1500" visible="Location-Pond" value="1" name="Tranquil Pond"/>
    <hotspot x="238" y="110" image="201" location="6" if="Compass" else="1500" name="Steinheim Keep" visible="Location-Keep" value="1"/>
    <hotspot x="782" y="214" image="204" location="8" name="Dragon Cave" visible="Location-Cave" value="1"/>
    <hotspot x="1232" y="462" image="205" location="9" name="Tawyn City" visible="Location-Tawyn" value="1"/>

    <hotspot x="338" y="434" w="96" h="96" image="0" if="Compass" else="1500" name="The Creepy Woods" dialogue="1520"/>
    <hotspot x="962" y="308" w="32" h="32" image="0" dialogue="1505" name="Big Boulder"/>
    <hotspot x="1015" y="456" w="96" h="96" image="0" dialogue="1506" name="Standing Stones"/>
    <hotspot x="1001" y="252" w="64" h="64" image="0" dialogue="1504" name="Lake Bogus"/>
    <hotspot x="695" y="618" w="96" h="96" image="0" if="Fishing rod" else="1501" dialogue="1502" name="Pork 'n Beans Lake"/>

    <hotspot x="1488" y="308" image="0" w="96" h="96" dialogue="3011" name="Squid Place" visible="Quest-Squid" value="2"/>

    <hotspot x="781" y="457" w="96" h="96" image="0" dialogue="1517"/>

    <if name="Misc-SetCoords" equals="0">
      <flag name="Misc-SetCoords" value="1"/>
    </if>

    <if name="Quest-Dragon" equals="99" dialogue="3008"/>

    <if name="T5" equals="0" dialogue="1001"/>
    <if name="Location-Zachary-Show" equals="1">
      <flag name="Location-Zachary-Show" value="0"/>
      <flag name="Misc-MoveEnabled" value="1"/>
      <flag name="Misc-MoveToX" value="610"/>
      <flag name="Misc-MoveToY" value="795"/>
    </if>
    <if name="Location-Campsite-Show" equals="1">
      <flag name="Location-Campsite-Show" value="0"/>
      <flag name="Misc-MoveEnabled" value="1"/>
      <flag name="Misc-MoveToX" value="974"/>
      <flag name="Misc-MoveToY" value="611"/>
    </if>
    <if name="Location-Keep-Show" equals="1">
      <flag name="Location-Keep-Show" value="0"/>
      <flag name="Misc-MoveEnabled" value="1"/>
      <flag name="Misc-MoveToX" value="238"/>
      <flag name="Misc-MoveToY" value="110"/>
    </if>
    <if name="Location-Pond-Show" equals="1">
      <flag name="Location-Pond-Show" value="0"/>
      <flag name="Misc-MoveEnabled" value="1"/>
      <flag name="Misc-MoveToX" value="396"/>
      <flag name="Misc-MoveToY" value="254"/>
    </if>
    <if name="Location-Cave-Show" equals="1">
      <flag name="Location-Cave-Show" value="0"/>
      <flag name="Misc-MoveEnabled" value="1"/>
      <flag name="Misc-MoveToX" value="782"/>
      <flag name="Misc-MoveToY" value="214"/>
    </if>
    <if name="Location-Tawyn-Show" equals="1">
      <flag name="Location-Tawyn-Show" value="0"/>
      <flag name="Misc-MoveEnabled" value="1"/>
      <flag name="Misc-MoveToX" value="1232"/>
      <flag name="Misc-MoveToY" value="462"/>
    </if>

    <if name="Misc-FarmCounter" equals="1">
      <flag name="Misc-FarmCounter" value="2"/>
    </if>
    <if name="Misc-FarmCounter" equals="3">
      <flag name="Misc-FarmCounter" value="4"/>
    </if>
  </location>

  <location id="3" bg="300" special="1" music="Data/Music/LastTime.ogg" effect="1">
    <image id="300" path="Data/Graphics/Farm.jpg"/>
    <image id="275" path="Data/Graphics/Fence1.png"/>
    <image id="276" path="Data/Graphics/Fence2.png"/>
    <image id="277" path="Data/Graphics/Fence3.png"/>
    <image id="278" path="Data/Graphics/Fence4.png"/>
    <image id="279" path="Data/Graphics/Fence2p.png"/>
    <image id="280" path="Data/Graphics/Fence3p.png"/>
    <image id="281" path="Data/Graphics/Fence4p.png"/>
    <image id="10000" path="Data/Graphics/AnimalCounter.png"/>

    <hotspot x="305" y="267" w="34" h="40" image="0" dialogue="1528" visible="XL-3" value="0"/>
    <hotspot x="305" y="267" w="34" h="40" image="0" dialogue="1529" visible="XL-3"/>

    <hotspot x="552" y="704" w="1024" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="552" y="500" w="512" h="256" image="275" visible="T2" value="0"/>

    <hotspot x="100" y="360" image="257" dialogue="26" name="Bruno and Marjorie" visible="Quest-Parents" value="17"/>

    <hotspot x="228" y="118" image="539" scale="0.25" dialogue="5008" visible="Statue-09" value="0"/>

    <if name="Misc-Breeding" equals="1" dialogue="3004"/>
    <if name="Misc-Breeding" equals="2" dialogue="3005"/>
    <if name="T2" equals="0" dialogue="2"/>
    <if name="T6" equals="0" dialogue="1003"/>
    <if name="UpgradedOneDialogue" equals="1" dialogue="3001"/>
    <if name="T10" equals="1" dialogue="1006"/>
    <if name="T11" equals="0" item="Grooming brush" dialogue="1007"/>
    <if name="T13" equals="1" dialogue="1009"/>
    <if name="F1" equals="1" dialogue="64"/>
    <if name="F2" equals="1" dialogue="65"/>

    <if name="Misc-FarmCounter" equals="2">
      <flag name="Misc-FarmCounter" value="3"/>
    </if>
    <if name="Misc-FarmCounter" equals="4" dialogue="1010"/>
  </location>

  <location id="4" bg="302" name="Zachary's Ranch" music="Data/Music/HappyCoincidence.ogg" random="2">
    <image id="302" path="Data/Graphics/Zachary.jpg"/>
    <image id="1031" path="Data/Graphics/Characters_07_512x512.png"/>

    <hotspot x="490" y="704" w="512" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="820" y="698" w="128" h="96" image="0" dialogue="9001"/>
    <hotspot x="56" y="218" w="48" h="32" image="0" dialogue="9000"/>
    <hotspot x="660" y="266" w="164" h="220" image="0" dialogue="9002"/>

    <hotspot x="80" y="300" image="501" scale="0.75" dialogue="1513" visible="Quest-Glasses" value="1"/>

    <hotspot x="512" y="460" image="253" dialogue="8" name="Zachary" visible="T4"/>
    <hotspot x="300" y="336" image="252" dialogue="9" name="Villager" visible="T4"/>

    <hotspot x="972" y="357" image="532" scale="0.25" dialogue="5001" visible="Statue-02" value="0"/>
    <hotspot x="644" y="210" image="540" scale="0.20" dialogue="5009" visible="Statue-10" value="0"/>

    <if name="T4" equals="0" dialogue="1002"/>
    <if name="DragonRumor" equals="3" dialogue="3000"/>
    <if name="DragonRumor" equals="4" dialogue="3000"/>
    <if name="DragonRumor" equals="5" dialogue="3000"/>
  </location>

  <location id="5" bg="303" name="Campsite" music="Data/Music/Evergreen.ogg" effect="3" random="2">
    <image id="303" path="Data/Graphics/Campsite.jpg"/>
    <image id="55" path="Data/Graphics/AppleTree.png"/>
    <image id="10000" path="Data/Graphics/LoadingBar.png"/>
    <image id="10001" path="Data/Graphics/AppleBar.png"/>

    <hotspot x="75" y="610" w="130" h="200" image="0" dialogue="9202" visible="XL-2" value="0"/>
    <hotspot x="75" y="610" w="130" h="200" image="0" dialogue="9203" visible="XL-2"/>

    <hotspot x="551" y="504" w="139" h="60" image="0" dialogue="9200" name="Campsite"/>
    <hotspot x="545" y="209" w="390" h="52" image="0" dialogue="9201" name="Pork 'n Beans Lake"/>

    <hotspot x="850" y="704" w="640" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="393" y="475" image="500" dialogue="1514" visible="Quest-Backpack" value="1"/>

    <hotspot x="583" y="277" image="548" scale="0.25" dialogue="1527" visible="Quest-Hat" value="1"/>

    <hotspot x="200" y="273" w="256" h="256" image="0" dialogue="1516"/>

    <hotspot x="917" y="397" image="535" scale="0.20" dialogue="5004" visible="Statue-05" value="0"/>

    <if name="T7" equals="0" dialogue="1004"/>
  </location>

  <location id="6" bg="304" name="Steinheim Keep" music="Data/Music/Amazon.ogg" effect="1">
    <image id="304" path="Data/Graphics/Steinheim.jpg"/>

    <hotspot x="360" y="450" w="128" h="192" image="0" dialogue="10" name="Enormous Entrance"/>

    <hotspot x="356" y="134" w="164" h="215" image="0" dialogue="9301" name="Hamhugger Stonefist III"/>
    <hotspot x="722" y="186" w="136" h="100" image="0" dialogue="9300" name="Structure"/>

    <hotspot x="400" y="690" image="254" dialogue="11" name="Randerbast"/>

    <hotspot x="229" y="675" w="100" h="100" image="0" dialogue="12" name="Steinheim Supplies"/>
    <hotspot x="488" y="600" w="64" h="64" image="0" dialogue="13" name="Dwarf House"/>
    <hotspot x="716" y="618" w="96" h="96" image="0" dialogue="14" name="Dwarf House"/>

    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="1"/>
    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="2"/>
    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="3"/>
    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="4"/>
    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="5"/>
    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="6"/>
    <hotspot x="370" y="590" image="251" scale="0.65" dialogue="16" name="Adventurers" visible="Quest-Dragon" value="7"/>

    <hotspot x="740" y="704" w="512" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="470" y="268" image="533" scale="0.15" dialogue="5002" visible="Statue-03" value="0"/>

    <if name="T8" equals="0" dialogue="3003"/>
    <if name="Misc-Elk" equals="1" dialogue="3006"/>
    <if name="Misc-Sheep" equals="1" dialogue="3013"/>
  </location>

  <location id="7" bg="305" name="Tranquil Pond" music="Data/Music/CalmSea.ogg" effect="1">
    <image id="305" path="Data/Graphics/Clearing.jpg"/>

    <hotspot x="580" y="704" w="1024" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="580" y="381" image="255" dialogue="15" name="Wildman"/>
    <hotspot x="878" y="628" image="520" scale="0.5" dialogue="1518" visible="Misc-Horn" value="0"/>

    <hotspot x="466" y="336" image="0" w="128" h="16" dialogue="8000" visible="Quest-Axe" value="2"/>

    <hotspot x="209" y="642" image="538" scale="0.20" dialogue="5007" visible="Statue-08" value="0"/>
    <hotspot x="368" y="383" image="543" scale="0.10" dialogue="5012" visible="Statue-13" value="0"/>

    <if name="T9" equals="0" dialogue="1005"/>
  </location>

  <location id="8" bg="306" name="Dragon Cave" music="Data/Music/DeepBlue.ogg">
    <image id="306" path="Data/Graphics/Cave.jpg"/>

    <hotspot x="530" y="500" w="400" h="256" image="0" dialogue="17" name="Enormous pile of gold"/>

    <hotspot x="790" y="580" image="251" scale="1" dialogue="18" name="Adventurers" visible="Quest-Dragon" value="8"/>

    <hotspot x="512" y="704" w="1024" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="199" y="568" image="537" scale="0.15" dialogue="5006" visible="Statue-07" value="0"/>

    <if name="Quest-Dragon" equals="0" dialogue="3007"/>
    <if name="Quest-Dragon" equals="99" dialogue="3009"/>
    <if name="T12" equals="0" dialogue="1008"/>
  </location>

  <location id="9" bg="307" name="Tawyn City" music="Data/Music/PokerFace.ogg" effect="1">
    <image id="307" path="Data/Graphics/Tawyn.jpg"/>

    <hotspot x="516" y="608" w="128" h="128" image="0" dialogue="9400" name="Fountain"/>
    <hotspot x="600" y="268" w="70" h="58" image="0" dialogue="9401" name="Small house"/>

    <hotspot x="700" y="152" w="64" h="180" image="0" dialogue="23" name="Ivory Tower"/>
    <hotspot x="616" y="434" w="100" h="120" image="0" dialogue="21" name="General Store"/>
    <hotspot x="96" y="650" w="192" h="160" image="0" dialogue="19" name="Adventurers Guild"/>
    <hotspot x="420" y="206" w="200" h="112" image="0" dialogue="20" name="Mansion"/>
    <hotspot x="349" y="430" w="120" h="100" image="0" dialogue="22" name="Fresh Fish of Tawyn"/>

    <hotspot x="100" y="498" w="128" h="128" image="0" dialogue="1526" name="Sign"/>

    <hotspot x="960" y="372" w="128" h="128" image="0" dialogue="1521" name="Harbor"/>

    <hotspot x="512" y="720" w="512" h="128" image="0" location="2" name="To the World Map"/>

    <hotspot x="218" y="644" image="528" scale="0.45" dialogue="1519" visible="Quest-Wildman" value="7"/>

    <hotspot x="946" y="484" image="534" scale="0.25" dialogue="5003" visible="Statue-04" value="0"/>
    <hotspot x="583" y="633" image="542" scale="0.20" dialogue="5011" visible="Statue-12" value="0"/>

    <if name="Quest-Parents" equals="8" dialogue="3010"/>
    <if name="T15" equals="1" dialogue="3015"/>
    <if name="Quest-Vengeance" equals="4" dialogue="3016"/>
  </location>

  <location id="10" bg="308" name="Mansion" music="Data/Music/LuckyCharm.ogg">
    <image id="308" path="Data/Graphics/Mansion.jpg"/>
    <image id="1030" path="Data/Graphics/Characters_06_1024x1024.png"/>

    <hotspot x="418" y="78" image="536" scale="0.2" dialogue="5005" visible="Statue-06" value="0"/>
    <hotspot x="790" y="619" image="541" scale="0.20" dialogue="5010" visible="Statue-11" value="0"/>

    <hotspot x="98" y="222" w="60" h="78" image="0" dialogue="9100" name="Racy Painting"/>
    <hotspot x="215" y="228" w="20" h="30" image="0" dialogue="9101" name="Squiggly Painting"/>
    <hotspot x="215" y="301" w="22" h="78" image="0" dialogue="9104" name="Weird Painting"/>
    <hotspot x="863" y="228" w="94" h="62" image="0" dialogue="9102" name="Landscape Painting"/>
    <hotspot x="517" y="214" w="20" h="25" image="0" dialogue="9103" name="Strange Portrait"/>

    <hotspot x="512" y="704" w="512" h="128" image="0" location="9" name="To Tawyn City"/>

    <hotspot x="860" y="374" w="128" h="200" image="0" dialogue="1525" name="Double Doors"/>

    <hotspot x="484" y="339" w="64" h="80" image="0" dialogue="24" name="Parlor Entrance"/>

    <hotspot x="100" y="378" w="128" h="200" image="0" dialogue="1523" name="Large Door" visible="Quest-Parents" value="11"/>
    <hotspot x="100" y="378" w="128" h="200" image="0" dialogue="1524" name="Large Door" visible="Quest-Parents" value="12"/>
    <hotspot x="100" y="378" w="128" h="200" image="0" dialogue="1524" name="Large Door" visible="Quest-Parents" value="13"/>
    <hotspot x="100" y="378" w="128" h="200" image="0" dialogue="1524" name="Large Door" visible="Quest-Parents" value="14"/>
    <hotspot x="100" y="378" w="128" h="200" image="0" dialogue="1524" name="Large Door" visible="Quest-Parents" value="15"/>
    <hotspot x="100" y="378" w="128" h="200" image="0" dialogue="1524" name="Large Door" visible="Quest-Parents" value="17"/>

    <hotspot x="322" y="430" image="256" dialogue="25" name="Sheep" visible="Quest-Parents" value="12"/>
    <hotspot x="322" y="430" image="256" dialogue="25" name="Sheep" visible="Quest-Parents" value="13"/>
    <hotspot x="322" y="430" image="256" dialogue="25" name="Sheep" visible="Quest-Parents" value="14"/>
    <hotspot x="322" y="430" image="256" dialogue="25" name="Sheep" visible="Quest-Parents" value="15"/>

    <if name="T14" equals="0" dialogue="3012"/>
    <if name="Quest-Parents" equals="16" dialogue="3014"/>
    <if name="Misc-Battle" equals="1" dialogue="3017"/>
  </location>

  <location id="64" bg="310" music="Data/Music/GhostTown.ogg">
    <image id="310" path="Data/Graphics/FarmNight.jpg"/>

    <if name="Dummy" equals="0" dialogue="3002"/>
  </location>

  <location id="128" bg="311" special="2" music="Data/Music/CruelWorld.ogg" effect="1">
    <image id="311" path="Data/Graphics/Battle.jpg"/>
  </location>

  <location id="129" bg="0" special="3" music="Data/Music/GreatOutdoors.ogg">
    <image id="312" path="Data/Graphics/Win.jpg"/>
  </location>
</locations>
