
<sequence>
  <scene id="start">

    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>

		<switchtosceneifall id="1pylon">
			<testvariable key="pylons" value="1"/>
		</switchtosceneifall>
		<switchtosceneifall id="2pylons">
			<testvariable key="pylons" value="2"/>
		</switchtosceneifall>
		<switchtosceneifall id="3pylons">
			<testvariable key="pylons" value="3"/>
		</switchtosceneifall>
		<switchtosceneifall id="4pylons">
			<testvariable key="pylons" value="4"/>
		</switchtosceneifall>
		<switchtosceneifall id="5pylons">
			<testvariable key="pylons" value="5"/>
		</switchtosceneifall>
		<switchtosceneifall id="6pylons">
			<testvariable key="pylons" value="6"/>
		</switchtosceneifall>
		<switchtosceneifall id="7pylons">
			<testvariable key="pylons" value="7"/>
		</switchtosceneifall>
		<switchtosceneifall id="8pylons">
			<testvariable key="pylons" value="8"/>
		</switchtosceneifall>

		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>

    </script>
  </scene>

  <scene id="1pylon">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart1.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="2pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart2.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="3pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart3.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="4pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart4.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="5pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart5.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="6pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart6.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="7pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart7.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"Eight holes... John, it seems like we have not found all of the balls!"
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>

  <scene id="8pylons">
    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/temple/starchart8.jpg"/>
      </bg>
      <bg id="woman" priority="0">
        <bitmap file="sequences/temple/woman1.png"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
		<movebg id="woman" pos="255,0" duration="0" soft="false"/>
		<setbrightness value="0" duration="0"/> <setbrightness value="1" duration="1.5"/> <waitforall> <brightness/> </waitforall>

		<requestplayerconfirm/>
		<waitforall>
			<playerconfirm/>
		</waitforall>

		<dialogtextsequence characterdelay="0.02" orientation="neutral">
		A gentle thunder resounds from deep inside the island.
		</dialogtextsequence>

		<movebg id="woman" pos="0,0" duration="0.5" soft="false"/> <dialogtextsequence characterdelay="0.02" orientation="left">
		"What was this? It doesn&apos;t sound nice, we have to leave."
		</dialogtextsequence>

		<setbrightness value="0" duration="1.5"/> <waitforall> <brightness/> </waitforall>
		<endsequence/>
    </script>
  </scene>


</sequence>
