<?xml version="1.0"?>
<dialogues>

  <dialogue id="3">
    <mood value="0"/>
    <enter id="1" image="0" left="1" block="0"/>
    <enter id="2" image="1010" right="1" pitch="1.05"/>
    <goto id="6" item="Receipt"/>
    <text id="2" text="Welcome, welcome! Step right up and have a look at my wares!" flag="D2-C4" value="0"/>
    <text id="2" text="You won't see quality like this anywhere else - especially not at these prices!" flag="D2-C4" value="0"/>
    <text id="1" text="Hm... Isn't that a little ambiguous...?" flag="D2-C4" value="0"/>
    <text id="2" text="Welcome, welcome! Step right up and...oh, it's you again." flag="D2-C4"/>
    <flag name="D2-C4"/>
    <label id="5"/>
    <choices>
      <choice text="Who are you?" name="D2-C1">
        <text id="1" text="Who are you? Last time I was here old man Murray was running the store."/>
        <text id="2" text="Malcolm is my name - Malcolm de Mercatorio! My family and I are franchising our general stores, and we gave Mr. Murray an offer he...simply couldn't refuse."/>
        <mood value="2"/>
        <move id="1" x="224" frames="25"/>
        <text id="1" text="I don't like the sound of that last bit! I sure hope Murray is alright."/>
        <move id="1" x="256" frames="25"/>
        <mood value="0"/>
      </choice>
      <choice text="What do you know about my parents?" name="D2-C2">
        <text id="1" text="Do you know where my parents have gone? They used to live on Wildhollow ranch, but they've disappeared."/>
        <text id="2" text="Sorry, I don't know anything about that."/>
      </choice>
      <choice text="Show me your wares!" name="D2-C3">
        <mood value="1"/>
        <text id="1" text="Well, let's see what you have to offer then!"/>
        <text id="2" text="Ah... Regretfully I'm not open for business just yet."/>
        <mood value="2"/>
        <text id="2" text="All of my wares are here, but the wagon man simply won't let me unload and get this store open!"/>
        <text id="1" text="Whyever not?!"/>
        <mood value="0"/>
        <text id="2" text="I can't find my receipt! Ye-Haul are notoriously mule-headed about these kinds of things."/>
        <text id="1" text="Hm... I bet this is where you ask me to find it for you?"/>
        <text id="2" text="What? No, no! I'm sure I have it. Somewhere... I think."/>
      </choice>
      <choice text="About your receipt..." flag="D2-C3" value="1">
        <mood value="1"/>
        <text id="1" text="You probably dropped that receipt somewhere. I could help you find it."/>
        <mood value="0"/>
        <text id="2" text="Thanks, but no thanks. I'm sure it's around here. Maybe in my other pants..."/>
        <flag name="D2-C3" value="2"/>
      </choice>
      <choice text="About that receipt..." flag="D2-C3" value="2">
        <mood value="1"/>
        <text id="1" text="Still haven't found your receipt?"/>
        <mood value="0"/>
        <text id="2" text="Actually, I haven't! Kid, I'm starting to get desperate. Do you still want to help me out?"/>
        <goto id="2"/>
      </choice>
      <choice text="Are you open yet?" flag="Quest-Receipt" value="5" name="D2-C5">
        <text id="1" text="Malcolm, is the shop open now?" flag="Quest-Repair" value="2"/>
        <goto id="8" flag="Quest-Repair" value="2"/>
        <text id="1" text="So, Malcolm, is the shop open now?"/>
        <text id="2" text="Hold your horses, kid! I still have to clean the store and get everything in order."/>
        <text id="2" text="Bother someone else for a little while, why don't you?"/>
      </choice>
      <choice text="Are you open yet?" flag="D2-C5" value="1">
        <text id="1" text="Malcolm, is the shop open now?"/>
        <goto id="8" flag="Quest-Repair" value="2"/>
        <text id="2" text="Not yet! Bother someone else for a little while, why don't you?"/>
      </choice>
      <choice text="Show me your wares!" flag="D2-C5" value="2">
        <game id="2"/>
        <goto id="3" flag="Misc-NoMoney" value="0"/>
        <text id="2" text="I can't let you do it, kid! If you buy this you won't be able to afford any animals to earn more money."/>
        <flag name="Misc-NoMoney" value="0"/>
      </choice>
      <choice text="Bye!">
        <goto id="1"/>
      </choice>
    </choices>
    <label id="1"/>
    <goto id="3"/>

    <label id="8"/>
    <flag name="D2-C5" value="2"/>
    <text id="2" text="At long last, it is! Take a look at what I've got, kid."/>
    <game id="2"/>
    <goto id="3"/>

    <label id="2"/>
    <choices text="Response">
      <choice text="I'll do it!">
        <mood value="1"/>
        <text id="1" text="No problem! I'll look around for it."/>
        <text id="2" text="Thanks! Thanks a whole lot!"/>
        <mood value="0"/>
        <goto id="4"/>
      </choice>
      <choice text="Will I get something?">
        <mood value="1"/>
        <text id="1" text="That receipt is worth quite a bit to you, isn't it?"/>
        <text id="2" text="...Would you really take advantage of a poor businessman like me?!"/>
        <text id="1" text="Let me think about it..."/>
        <mood value="0"/>
        <text id="1" text="Hmm..."/>
        <text id="1" text="Yep, I would. I need money!"/>
        <text id="2" text="You drive a hard bargain! Deal. Find my receipt and you'll get a reward."/>
        <goto id="4"/>
      </choice>
      <choice text="Nope!">
        <text id="1" text="Not right now. I have some other things to attend to at the moment."/>
        <goto id="5"/>
      </choice>
    </choices>
    <label id="4"/>
    <enter id="5" info="2"/>
    <exit id="5"/>
    <flag name="Quest-Receipt"/>
    <text id="1" text="I'll let you know as soon as I find that receipt of yours!"/>
    <text id="2" text="I'm counting on you, kid!"/>
    <flag name="D2-C3" value="3"/>
    <goto id="3"/>

    <label id="6"/>
    <mood value="1"/>
    <text id="1" text="Malcolm, I found your receipt!"/>
    <text id="2" text="Not a minute too soon! What kept you, kid? I must have lost a fortune while waiting."/>
    <choices text="Response">
      <choice text="Well, I'm here now.">
        <mood value="1"/>
        <text id="1" text="Well, better late than never! I'm here now, and here's your receipt."/>
        <text id="2" text="Thanks for the help! And here's a little reward for you."/>
        <enter id="5" message="1"/>
        <text id="5" text="You received $75!"/>
        <flag name="Money" add="75"/>
        <exit id="5"/>
        <mood value="0"/>
        <goto id="7"/>
      </choice>
      <choice text="What's with the attitude?">
        <mood value="3"/>
        <text id="1" text="Hey! I'm the one helping you out here!"/>
        <text id="1" text="If you're going to be like that maybe I should tear up the receipt instead."/>
        <text id="2" text="Don't do that!"/>
        <text id="2" text="Thank you very much for your kind help, and here's a nice reward for you!"/>
        <enter id="5" message="1"/>
        <text id="5" text="You received $80!"/>
        <flag name="Money" add="80"/>
        <exit id="5"/>
        <mood value="0"/>
        <goto id="7"/>
      </choice>
    </choices>
    <label id="7"/>
    <enter id="5" item="Receipt" remove="1"/>
    <exit id="5"/>
    <enter id="5" info="4"/>
    <exit id="5"/>
    <item name="Receipt" number="-1"/>
    <flag name="Quest-Receipt" value="5"/>
    <goto id="5"/>

    <label id="3"/>
    <exit id="1"/>
    <exit id="2"/>
  </dialogue>

</dialogues>
