<?xml version="1.0" encoding="utf-8" ?>
<actions>
<!-- Init stuff -->
    <location id="City-Act2">

        <action arrow="true" guiid="location" guiname="Hero Base">
            <conditions>
                <flag name="Quest.Zero to Wannabe" value="2"/>
            </conditions>
        </action>

<!-- Act II -->
        <action id="act2_intro" dialogue="act2_intro"/>
        <action>
			<conditions>
                <flag name="ID.act2_intro" value="1"/>
                <flag name="Location.Books and Tomes" value=""/>
			</conditions>
			<flags>
                <flag name="Location.Books and Tomes" value="1"/>
				<flag name="Game.NewLocation" value="Books and Tomes"/>
				<flag name="MoveTo" value="Books and Tomes"/>
			</flags>
		</action>
        <action>
			<conditions>
                <flag name="Location.Books and Tomes" value="1"/>
                <flag name="Location.Vegemite Park" value=""/>
			</conditions>
			<flags>
                <flag name="Location.Vegemite Park" value="1"/>
				<flag name="Game.NewLocation" value="Vegemite Park"/>
				<flag name="MoveTo" value="Vegemite Park"/>
			</flags>
		</action>
        <action>
			<conditions>
                <flag name="Location.Vegemite Park" value="1"/>
                <flag name="Location.Superhero U" value=""/>
			</conditions>
			<flags>
                <flag name="Location.Superhero U" value="1"/>
				<flag name="Game.NewLocation" value="Superhero U"/>
				<flag name="MoveTo" value="Superhero U"/>
			</flags>
		</action>
        <action id="act2_zh_1" dialogue="act2_zh_1">
			<conditions>
				<flag name="Quest.Zero to Wannabe" value="4"/>
			</conditions>
		</action>
        <action id="act2_ce_5" dialogue="act2_ce_5">
			<conditions>
                <flag name="Quest.Close Encounters" value="1"/>
				<flag name="Game.Dungeon" value="1"/>
			</conditions>
		</action>
        <action id="act2_ce_6" dialogue="act2_ce_6">
			<conditions>
                <flag name="Quest.Close Encounters" value="2"/>
				<flag name="Resource.Clues" value="100" type="higher"/>
			</conditions>
			<flags>
                <flag name="Location.UFO" value="1"/>
				<flag name="Game.NewLocation" value="UFO"/>
				<flag name="MoveTo" value="UFO"/>
			</flags>
		</action>
        <action id="act2_ce_9" dialogue="act2_ce_9">
			<action dialogue="act2_ce_good">
				<conditions>
					<flag name="ID.act2_ce_8" value="1"/>
				</conditions>
				<flags>
					<flag id="Attribute.Ethics" add="50"/>
					<flag id="Game.BlizzardWizard" add="1"/>
				</flags>
			</action>
			<conditions>
                <flag name="ID.act2_ce_win" value="1"/>
			</conditions>
		</action>
        <action id="act_2_end" dialogue="act_2_end">
            <conditions>
                <flag name="Quest.Close Encounters" value="4"/>
            </conditions>
			<flags>
				<flag name="Flag.Act" value="3"/>
				<flag name="Goto" value="Map"/>
				<flag name="Flag.StopActions" value="1"/>
			</flags>
		</action>

<!-- UFO -->
		<action arrow="true" guiid="location" guiname="UFO">
            <conditions>
                <flag name="Quest.Close Encounters" value="3"/>
                <flag name="ArriveAt" value="UFO" type="not"/>
            </conditions>
		</action>
		<action dialogue="act2_ce_7">
			<action popup="true" title="Attack?" text="Do you want to attack this strange person, like the Blizzard Wizard suggests?">
				<choice id="Yes!">
					<action win="act2_ce_win" battle="true" name="??????" image="Characters05" index="1" elemental="7" constitution="4" bg="Arena" music="3">
						<power id="Shocker" level="6"/>
						<power id="EMP Strike" level="7"/>
						<flags>
							<flag name="ID.act2_ce_7" value="1"/>
						</flags>
					</action>
				</choice>
				<choice id="Wait...">
					<action dialogue="act2_ce_8">
						<action win="act2_ce_win" battle="true" name="Fierce Beast" image="Animals" index="2" physical="7" constitution="4" bg="Arena" music="3">
							<power id="Render" level="6"/>
							<power id="Vicious Bite" level="7"/>
							<flags>
								<flag name="ID.act2_ce_8" value="1"/>
							</flags>
						</action>
					</action>
				</choice>
			</action>
			<conditions>
                <flag name="ArriveAt" value="UFO"/>
                <flag name="Quest.Close Encounters" value="3"/>
                <flag name="Level.Attribute.Ethics" value="2" type="higher"/>
			</conditions>
            <flags>
				<flag name="ID.act2_ce_7" value=""/>
				<flag name="ID.act2_ce_8" value=""/>
				<flag name="Refresh" value="1"/>
                <flag name="ArriveAt" value=""/>
            </flags>
		</action>
		<action dialogue="act2_ce_7">
			<action win="act2_ce_win" battle="true" name="??????" image="Characters05" index="1" elemental="7" constitution="4" bg="Arena" music="3">
				<power id="Shocker" level="6"/>
				<power id="EMP Strike" level="7"/>
				<flags>
					<flag name="ID.act2_ce_7" value="1"/>
				</flags>
			</action>
			<conditions>
                <flag name="ArriveAt" value="UFO"/>
                <flag name="Quest.Close Encounters" value="3"/>
			</conditions>
            <flags>
				<flag name="ID.act2_ce_7" value=""/>
				<flag name="ID.act2_ce_8" value=""/>
				<flag name="Refresh" value="1"/>
                <flag name="ArriveAt" value=""/>
            </flags>
		</action>

<!-- Ravenclaw Prison -->
        <action id="bw_extra_2" dialogue="bw_extra_2">
            <conditions>
                <flag name="ArriveAt" value="Ravenclaw Prison"/>
				<flag name="Level.Attribute.Ethics" value="1" type="higher"/>
				<flag name="Quest.Close Encounters" value="2"/>
            </conditions>
            <flags>
				<flag name="Game.BlizzardWizard" add="1"/>
				<flag name="Refresh" value="1"/>
                <flag name="ArriveAt" value=""/>
            </flags>
		</action>

<!-- Superhero U -->
        <action id="bw_extra_1" dialogue="bw_extra_1">
            <conditions>
                <flag name="ArriveAt" value="Superhero U"/>
				<flag name="Level.Attribute.Ethics" value="1" type="higher"/>
				<flag name="Quest.Close Encounters" value="3" type="lower"/>
            </conditions>
            <flags>
				<flag name="Game.BlizzardWizard" add="1"/>
				<flag name="Refresh" value="1"/>
                <flag name="ArriveAt" value=""/>
            </flags>
		</action>

	</location>
</actions>