<?xml version="1.0" encoding="utf-8" ?>
<c2eventsheet>
    <!--All the 'name' attributes are ignored by Construct 2 - they are there for readability only.-->
    <name>ES - Intro Scene</name>
    <events>
        <variable constant="0" name="IntroSceneReadyToPlay" sid="902902383729646" static="0" type="number">0</variable>
        <variable constant="0" name="PlaneRocketHits" sid="840998402626626" static="0" type="number">0</variable>
        <variable constant="0" name="PlaneGravityStop" sid="544288979070403" static="0" type="number">0</variable>
        <comment>Intro Scene Storyline and Mechanics</comment>
        <event-block sid="461897681419790">
            <conditions>
                <condition id="-41" name="Is between angles" sid="103823682515376" type="System">
                    <param id="0" name="Angle">0</param>
                    <param id="1" name="First angle">0</param>
                    <param id="2" name="Second angle">45</param>
                </condition>
            </conditions>
            <actions />
        </event-block>
        <event-block sid="513294188695336">
            <conditions>
                <condition id="-2" name="On start of layout" sid="995600375632177" type="System" />
            </conditions>
            <actions>
                <action id="-16" name="Wait" sid="997563492016376" type="System">
                    <param id="0" name="Seconds">1</param>
                </action>
                <action id="0" name="Play" sid="913637349796519" type="Audio">
                    <param id="0" name="Audio file">FS_PreTitleChime_First</param>
                    <param id="2" name="Loop">0</param>
                    <param id="3" name="Volume">0</param>
                    <param id="1" name="Tag (optional)">&quot;PreTitleChime_First&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="455797331750189" type="System">
                    <param id="0" name="Seconds">0.25</param>
                </action>
                <action id="-15" name="Set visible" sid="197950139932507" type="IS_FS_PreTitle1">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action behavior="Fade" id="1" name="Start fade" sid="519064659843083" type="IS_FS_PreTitle1" />
                <action id="-16" name="Wait" sid="590110910565292" type="System">
                    <param id="0" name="Seconds">4</param>
                </action>
                <action id="-15" name="Set visible" sid="450763409755570" type="IS_FS_PreTitle1">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="0" name="Play" sid="358103881637579" type="Audio">
                    <param id="0" name="Audio file">FS_PreTitleChime_Second</param>
                    <param id="2" name="Loop">0</param>
                    <param id="3" name="Volume">0</param>
                    <param id="1" name="Tag (optional)">&quot;PreTitleChime_Second&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="580002325389783" type="System">
                    <param id="0" name="Seconds">0.25</param>
                </action>
                <action id="-15" name="Set visible" sid="721186675583241" type="IS_FS_PreTitle2">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action behavior="Fade" id="1" name="Start fade" sid="198344081232729" type="IS_FS_PreTitle2" />
                <action id="-16" name="Wait" sid="226073530213000" type="System">
                    <param id="0" name="Seconds">4</param>
                </action>
                <action id="-15" name="Set visible" sid="755254405742939" type="IS_FS_PreTitle2">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="-16" name="Wait" sid="421682616552694" type="System">
                    <param id="0" name="Seconds">0.25</param>
                </action>
                <action id="-9" name="Set value" sid="723650957008999" type="System">
                    <param id="0" name="Variable">IntroSceneReadyToPlay</param>
                    <param id="1" name="Value">1</param>
                </action>
                <action id="-15" name="Set visible" sid="513479545861845" type="IS_TFHoldToSkip">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-15" name="Set visible" sid="551366172251136" type="IS_sky_lightened">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-15" name="Set visible" sid="699323167363416" type="IS_Mountain">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-15" name="Set visible" sid="908838361382407" type="IS_Plane">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-16" name="Wait" sid="726852262193097" type="System">
                    <param id="0" name="Seconds">5</param>
                </action>
                <action id="0" name="Play" sid="468913875992248" type="Audio">
                    <param id="0" name="Audio file">UnderPhone</param>
                    <param id="2" name="Loop">0</param>
                    <param id="3" name="Volume">0</param>
                    <param id="1" name="Tag (optional)">&quot;IS_PhoneRing&quot;</param>
                </action>
                <action id="-15" name="Set visible" sid="494743697009166" type="IS_DialogBox">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-15" name="Set visible" sid="804119167126496" type="IS_DialogueTF">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="0" name="Set text" sid="453553795637149" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;*intercom ringing*&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="909715326916828" type="System">
                    <param id="0" name="Seconds">1.8</param>
                </action>
                <action id="0" name="Set text" sid="453224928778827" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="116614500945129" type="System">
                    <param id="0" name="Seconds">0.05</param>
                </action>
                <action id="0" name="Set text" sid="833400499758746" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;COMMAND CENTER: &quot; &amp; newline &amp; &quot;Fox One, I am picking you up on the radar, you are now within base range. Over.&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="898839628650883" type="System">
                    <param id="0" name="Seconds">6</param>
                </action>
                <action id="0" name="Set text" sid="847913162834479" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="514029937530474" type="System">
                    <param id="0" name="Seconds">0.05</param>
                </action>
                <action id="0" name="Set text" sid="202189584992424" type="IS_DialogueTF">
                    <param id="0" name="Text">newline &amp; &quot;Roger that. Fox One pulling down and reducing altitude. Over.&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="749689254296849" type="System">
                    <param id="0" name="Seconds">5.5</param>
                </action>
                <action id="0" name="Set text" sid="586582113690607" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="995749057366830" type="System">
                    <param id="0" name="Seconds">0.05</param>
                </action>
                <action id="0" name="Set text" sid="226440840125429" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;COMMAND CENTER: &quot; &amp; newline &amp; &quot;10-4. Reduce your altitude by 200 meters and-&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="821931376493166" type="System">
                    <param id="0" name="Seconds">4</param>
                </action>
                <action id="-15" name="Set visible" sid="228703806960249" type="IS_DialogBox">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="-15" name="Set visible" sid="191818772263253" type="IS_DialogueTF">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="0" name="Set text" sid="833513167626038" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="703154719035472" type="System">
                    <param id="0" name="Seconds">0.3</param>
                </action>
                <action id="-15" name="Set visible" sid="370943275054493" type="IS_DialogBox">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-15" name="Set visible" sid="467534142460981" type="IS_DialogueTF">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-16" name="Wait" sid="424758846300053" type="System">
                    <param id="0" name="Seconds">0.3</param>
                </action>
                <action id="0" name="Set text" sid="909714370214558" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="718381199114779" type="System">
                    <param id="0" name="Seconds">0.05</param>
                </action>
                <action id="0" name="Set text" sid="961048972262000" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;COMMAND CENTER: &quot; &amp; newline &amp; &quot;Fox One, we&apos;re picking up a bogey coming directly towards you.&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="668661970068488" type="System">
                    <param id="0" name="Seconds">5.5</param>
                </action>
                <action id="0" name="Set text" sid="315203883058438" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="841600618218508" type="System">
                    <param id="0" name="Seconds">0.05</param>
                </action>
                <action id="0" name="Set text" sid="484597024737289" type="IS_DialogueTF">
                    <param id="0" name="Text">newline &amp; &quot;A what? Oh no, it&apos;s a mis-&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="479560264906856" type="System">
                    <param id="0" name="Seconds">2.3</param>
                </action>
                <action id="-15" name="Set visible" sid="280133269309521" type="IS_DialogBox">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="-15" name="Set visible" sid="580478443557540" type="IS_DialogueTF">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="0" name="Set text" sid="785765978879782" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-15" name="Set visible" sid="577214027189803" type="IS_Exclamation">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="6" name="Set speed" sid="806603209651125" type="IS_Exclamation">
                    <param id="0" name="Speed">5</param>
                </action>
                <action id="4" name="Set animation" sid="547611516493128" type="IS_Exclamation">
                    <param id="0" name="Animation">&quot;Animated&quot;</param>
                    <param id="1" name="From">1</param>
                </action>
                <action behavior="Bullet" id="3" name="Set angle of motion" sid="656837946981707" type="IS_Rocket">
                    <param id="0" name="Angle">215</param>
                </action>
                <action behavior="Bullet" id="3" name="Set angle of motion" sid="893072675453550" type="IS_Rocket2">
                    <param id="0" name="Angle">215</param>
                </action>
                <action behavior="Bullet" id="3" name="Set angle of motion" sid="644786977905984" type="IS_Rocket3">
                    <param id="0" name="Angle">215</param>
                </action>
                <action behavior="Bullet" id="5" name="Set enabled" sid="636014698379359" type="IS_Rocket">
                    <param id="0" name="State">1</param>
                </action>
                <action behavior="Bullet" id="5" name="Set enabled" sid="433568176143493" type="IS_Rocket2">
                    <param id="0" name="State">1</param>
                </action>
                <action behavior="Bullet" id="5" name="Set enabled" sid="915715078597017" type="IS_Rocket3">
                    <param id="0" name="State">1</param>
                </action>
                <action id="6" name="Set speed" sid="816015392059579" type="IS_Explosion">
                    <param id="0" name="Speed">48</param>
                </action>
                <action id="-16" name="Wait" sid="965633286941124" type="System">
                    <param id="0" name="Seconds">1.2</param>
                </action>
                <action id="-9" name="Destroy" sid="258965388487858" type="IS_Exclamation" />
                <action id="-16" name="Wait" sid="692176142931874" type="System">
                    <param id="0" name="Seconds">1.5</param>
                </action>
                <action id="-15" name="Set visible" sid="121145331687556" type="IS_DialogBox">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="-15" name="Set visible" sid="183200386647664" type="IS_DialogueTF">
                    <param id="0" name="Visibility">1</param>
                </action>
                <action id="0" name="Set text" sid="491926381207848" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;COMMAND CENTER: &quot; &amp; newline &amp; &quot;Fox One, what happened!? Your readings have become irregular!!&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="472678061071788" type="System">
                    <param id="0" name="Seconds">3.5</param>
                </action>
                <action id="0" name="Set text" sid="505919106377186" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="623220815571769" type="System">
                    <param id="0" name="Seconds">0.05</param>
                </action>
                <action id="0" name="Set text" sid="790788703173218" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;COMMAND CENTER: &quot; &amp; newline &amp; &quot;Fo... ...e, can yo... sti... ...r ... -&quot;</param>
                </action>
                <action id="-16" name="Wait" sid="748496401005258" type="System">
                    <param id="0" name="Seconds">3.5</param>
                </action>
                <action id="-15" name="Set visible" sid="187682721669574" type="IS_DialogBox">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="-15" name="Set visible" sid="679889234608451" type="IS_DialogueTF">
                    <param id="0" name="Visibility">0</param>
                </action>
                <action id="0" name="Set text" sid="433303336711322" type="IS_DialogueTF">
                    <param id="0" name="Text">&quot;&quot;</param>
                </action>
            </actions>
            <sub-events>
                <comment>For second part of the scene go to End of Scene</comment>
            </sub-events>
        </event-block>
        <comment>Parallax Scroller Start</comment>
        <event-block sid="362387943260484">
            <conditions>
                <condition id="-14" name="Compare variable" sid="700195321526806" type="System">
                    <param id="0" name="Variable">IntroSceneReadyToPlay</param>
                    <param id="1" name="Comparison">0</param>
                    <param id="2" name="Value">1</param>
                </condition>
                <condition id="-6" name="Every X seconds" sid="242256608587485" type="System">
                    <param id="0" name="Interval (seconds)">0.4</param>
                </condition>
            </conditions>
            <actions>
                <action id="-1" name="Set X" sid="980995455565759" type="IS_Mountain">
                    <param id="0" name="X">IS_Mountain.X-1</param>
                </action>
            </actions>
        </event-block>
        <comment>Upon Rocket Collision with Plane</comment>
        <event-block sid="544371476278341">
            <conditions>
                <condition id="0" name="On collision with another object" sid="398159809856391" type="IS_Rocket">
                    <param id="0" name="Object">IS_Plane</param>
                </condition>
            </conditions>
            <actions>
                <action id="-10" name="Add to" sid="668551902029011" type="System">
                    <param id="0" name="Variable">PlaneRocketHits</param>
                    <param id="1" name="Value">1</param>
                </action>
                <action id="11" name="Set collisions enabled" sid="795060396730701" type="IS_Rocket">
                    <param id="0" name="Collisions">0</param>
                </action>
                <action id="-9" name="Destroy" sid="348565026840650" type="IS_Rocket" />
                <action id="0" name="Spawn another object" sid="511787014874527" type="IS_Rocket">
                    <param id="0" name="Object">IS_Explosion</param>
                    <param id="1" name="Layer">&quot;Scene Foreground&quot;</param>
                    <param id="2" name="Image point">0</param>
                </action>
            </actions>
        </event-block>
        <event-block sid="752595239195378">
            <conditions>
                <condition id="0" name="On collision with another object" sid="658540729137623" type="IS_Rocket2">
                    <param id="0" name="Object">IS_Plane</param>
                </condition>
            </conditions>
            <actions>
                <action id="-10" name="Add to" sid="233347621741290" type="System">
                    <param id="0" name="Variable">PlaneRocketHits</param>
                    <param id="1" name="Value">1</param>
                </action>
                <action id="11" name="Set collisions enabled" sid="752608857554115" type="IS_Rocket2">
                    <param id="0" name="Collisions">0</param>
                </action>
                <action id="-9" name="Destroy" sid="346267073689944" type="IS_Rocket2" />
                <action id="0" name="Spawn another object" sid="255034001143117" type="IS_Rocket2">
                    <param id="0" name="Object">IS_Explosion</param>
                    <param id="1" name="Layer">&quot;Scene Foreground&quot;</param>
                    <param id="2" name="Image point">0</param>
                </action>
            </actions>
        </event-block>
        <event-block sid="305192101424955">
            <conditions>
                <condition id="0" name="On collision with another object" sid="695403809667724" type="IS_Rocket3">
                    <param id="0" name="Object">IS_Plane</param>
                </condition>
            </conditions>
            <actions>
                <action id="-10" name="Add to" sid="181828051126824" type="System">
                    <param id="0" name="Variable">PlaneRocketHits</param>
                    <param id="1" name="Value">1</param>
                </action>
                <action id="11" name="Set collisions enabled" sid="849417136596146" type="IS_Rocket3">
                    <param id="0" name="Collisions">0</param>
                </action>
                <action id="-9" name="Destroy" sid="487867142004930" type="IS_Rocket3" />
                <action id="0" name="Spawn another object" sid="480912656100175" type="IS_Rocket3">
                    <param id="0" name="Object">IS_Explosion</param>
                    <param id="1" name="Layer">&quot;Scene Foreground&quot;</param>
                    <param id="2" name="Image point">0</param>
                </action>
            </actions>
        </event-block>
        <comment>Second Part of Intro Scene Start</comment>
        <event-block sid="695455917938374">
            <conditions>
                <condition id="-14" name="Compare variable" sid="332480324520319" type="System">
                    <param id="0" name="Variable">PlaneRocketHits</param>
                    <param id="1" name="Comparison">0</param>
                    <param id="2" name="Value">3</param>
                </condition>
            </conditions>
            <actions>
                <action behavior="Sine" id="0" name="Set active" sid="632766440129652" type="IS_Plane">
                    <param id="0" name="State">0</param>
                </action>
                <action behavior="Bullet" id="5" name="Set enabled" sid="763078498105171" type="IS_Plane">
                    <param id="0" name="State">1</param>
                </action>
                <action behavior="Bullet" id="0" name="Set speed" sid="499818774402433" type="IS_Plane">
                    <param id="0" name="Speed">160</param>
                </action>
            </actions>
        </event-block>
        <event-block sid="517191088440305">
            <conditions>
                <condition id="-14" name="Compare variable" sid="938021552887259" type="System">
                    <param id="0" name="Variable">PlaneRocketHits</param>
                    <param id="1" name="Comparison">0</param>
                    <param id="2" name="Value">3</param>
                </condition>
                <condition id="-14" name="Compare variable" sid="603201919531402" type="System">
                    <param id="0" name="Variable">PlaneGravityStop</param>
                    <param id="1" name="Comparison">0</param>
                    <param id="2" name="Value">0</param>
                </condition>
                <condition id="-6" name="Every X seconds" sid="360027979547302" type="System">
                    <param id="0" name="Interval (seconds)">1.0</param>
                </condition>
            </conditions>
            <actions>
                <action behavior="Bullet" id="3" name="Set angle of motion" sid="323024504980571" type="IS_Plane">
                    <param id="0" name="Angle">(IS_Plane.Bullet.AngleOfMotion+5)</param>
                </action>
                <action behavior="Bullet" id="2" name="Set gravity" sid="146903879967907" type="IS_Plane">
                    <param id="0" name="Gravity">(IS_Plane.Bullet.Gravity+2)</param>
                </action>
            </actions>
            <sub-events>
                <event-block sid="277155585652163">
                    <conditions>
                        <condition behavior="Bullet" id="1" name="Compare distance travelled" sid="462874732361289" type="IS_Plane">
                            <param id="0" name="Comparison">5</param>
                            <param id="1" name="Distance">500</param>
                        </condition>
                    </conditions>
                    <actions>
                        <action id="-9" name="Set value" sid="862049289883191" type="System">
                            <param id="0" name="Variable">PlaneRocketHits</param>
                            <param id="1" name="Value">4</param>
                        </action>
                        <action id="-9" name="Set value" sid="217811514252888" type="System">
                            <param id="0" name="Variable">PlaneGravityStop</param>
                            <param id="1" name="Value">1</param>
                        </action>
                        <action behavior="Bullet" id="2" name="Set gravity" sid="675634851192831" type="IS_Plane">
                            <param id="0" name="Gravity">0</param>
                        </action>
                    </actions>
                </event-block>
            </sub-events>
        </event-block>
        <comment>End of Scene, go to Main Menu</comment>
        <event-block sid="199171245973396">
            <conditions>
                <condition behavior="Bullet" id="1" name="Compare distance travelled" sid="279384153624508" type="IS_Plane">
                    <param id="0" name="Comparison">5</param>
                    <param id="1" name="Distance">1500</param>
                </condition>
            </conditions>
            <actions>
                <action id="-2" name="Go to layout" sid="989137113667450" type="System">
                    <param id="0" name="Layout">Main Menu</param>
                </action>
            </actions>
        </event-block>
        <comment>Hold button to skip intro ticker</comment>
        <event-block sid="212323517315285">
            <conditions>
                <condition behavior="Fade" id="0" name="On fade-out finished" sid="728578103651525" type="IS_TFHoldToSkip" />
            </conditions>
            <actions>
                <action behavior="Fade" id="0" name="Restart fade" sid="940901000987309" type="IS_TFHoldToSkip" />
            </actions>
        </event-block>
        <comment>Intro Skipped Action</comment>
        <event-block sid="679020014025006">
            <conditions>
                <condition id="3" name="On key released" sid="181334531696273" type="Keyboard">
                    <param id="0" name="Key">27 (Esc)</param>
                </condition>
                <condition id="-14" name="Compare variable" sid="546697770225620" type="System">
                    <param id="0" name="Variable">IntroSceneReadyToPlay</param>
                    <param id="1" name="Comparison">0</param>
                    <param id="2" name="Value">1</param>
                </condition>
            </conditions>
            <actions>
                <action id="-2" name="Go to layout" sid="998011167224912" type="System">
                    <param id="0" name="Layout">Main Menu</param>
                </action>
            </actions>
        </event-block>
    </events>
</c2eventsheet>
