<events>
  <event id="0" title="Mandrake" dialog="Fight 'Mandrake'?" type="reply">
    <trigger type="obj" val="Select Mandrake" />
 <trigger type="loc" val="Play as Jared" />
    <reply text="Yes"/>
    <reply text="No"/>
    <next id="1"/>
    <next id="0"/>
  </event>

  <event id="1" title="Mandrake" dialog="Time to meet your maker, Dent! Which is, oh, jeez, I don't even want to speculate. Gnomes? Evil ones?" type="dlg">
	  <effect type="var" subject="add" val="fight_mandrake"/>
	 <effect type="level" subject="Jared Vs" val="" />
    <next id="2"/>
  </event>

  <event id="2" title="Mandrake" dialog="Vs Wolf Mandrake!" type="dlg">
	 <effect type="status" subject="Mandrake NPC" val="hostile" />
    <next id="3"/>
  </event>

  <event id="3" title="Mandrake" dialog="You win!" type="dlg">
	 <trigger type="state" val="ko" subject="Mandrake NPC" />
	<trigger type="var" subject="" val="player jared" />
	  <effect type="var" subject="add" val="1v1_beat_mandrake"/>
	<effect type="mode" val="talk" />
	<effect type="var" subject="del" val="fight_mandrake"/>
	 <effect type="health" subject="Hector P" val="full" />
	<effect type="level" subject="Play as Jared" val="" />
    <effect type="save" val="" />
    <next id="4"/>
  </event>
  
    <event id="4" title="Hector" dialog="Vs Fightacus!" type="silent">
	 	 <effect type="health" subject="Mandrake NPC" val="full" />
		  <effect type="state" subject="Mandrake NPC" val="stand" />
		  <effect type="status" subject="Mandrake NPC" val="neutral" />
    <next id="0"/>
  </event>
</events>

