<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>sMslSpark</spriteName>
  <solid>0</solid>
  <visible>0</visible>
  <depth>0</depth>
  <persistent>0</persistent>
  <parentName>&lt;undefined&gt;</parentName>
  <maskName>&lt;undefined&gt;</maskName>
  <events>
    <event eventtype="0" enumb="0">
      <action>
        <libid>1</libid>
        <id>603</id>
        <kind>7</kind>
        <userelative>0</userelative>
        <isquestion>0</isquestion>
        <useapplyto>-1</useapplyto>
        <exetype>2</exetype>
        <functionname></functionname>
        <codestring></codestring>
        <whoName>self</whoName>
        <relative>0</relative>
        <isnot>0</isnot>
        <arguments>
          <argument>
            <kind>1</kind>
            <string>global.curropt = 0;
opset = 0;
editing = 0;
ealpha = 0;
active = 0;
fadeout = 0;
rectoffset = 0;
dtext = "";
currentsuit = global.currentsuit;
sfx_stop(sndSpinJump);
sfx_stop(sndSpaceJump);
sfx_stop(sndScrewAttack);
sfx_stop(sndSpaceScrewAttack);
sfx_stop(sndSpinJumpWater);


tiptext[0] = get_text("Equipment", "PowerSuit_Tip");
tiptext[1] = get_text("Equipment", "VariaSuit_Tip");
tiptext[2] = get_text("Equipment", "GravitySuit_Tip");
tiptext[3] = get_text("Equipment", "ChargeBeam_Tip");
tiptext[4] = get_text("Equipment", "WaveBeam_Tip");
tiptext[5] = get_text("Equipment", "SpazerBeam_Tip");
tiptext[6] = get_text("Equipment", "PlasmaBeam_Tip");
tiptext[7] = get_text("Equipment", "IceBeam_Tip");
tiptext[8] = get_text("Equipment", "MorphBall_Tip");
tiptext[9] = get_text("Equipment", "SpiderBall_Tip");
tiptext[10] = get_text("Equipment", "JumpBall_Tip");
tiptext[11] = get_text("Equipment", "Bombs_Tip");
tiptext[12] = get_text("Equipment", "PowerGrip_Tip");
tiptext[13] = get_text("Equipment", "ScrewAttack_Tip");
tiptext[14] = get_text("Equipment", "HiJump_Tip");
tiptext[15] = get_text("Equipment", "SpaceJump_Tip");
tiptext[16] = get_text("Equipment", "SpeedBooster_Tip");



</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="3" enumb="0">
      <action>
        <libid>1</libid>
        <id>603</id>
        <kind>7</kind>
        <userelative>0</userelative>
        <isquestion>0</isquestion>
        <useapplyto>-1</useapplyto>
        <exetype>2</exetype>
        <functionname></functionname>
        <codestring></codestring>
        <whoName>self</whoName>
        <relative>0</relative>
        <isnot>0</isnot>
        <arguments>
          <argument>
            <kind>1</kind>
            <string>if (active &amp;&amp; oControl.kDown &amp;&amp; oControl.kDownPushedSteps == 0) {
    global.curropt += 1;

    if (global.curropt == 1 &amp;&amp; global.item[5] == 0) global.curropt += 1;
    if (global.curropt == 2 &amp;&amp; global.item[9] == 0) global.curropt += 1;
    if (global.curropt == 3 &amp;&amp; global.item[10] == 0) global.curropt += 1;
    if (global.curropt == 4 &amp;&amp; global.item[12] == 0) global.curropt += 1;
    if (global.curropt == 5 &amp;&amp; global.item[13] == 0) global.curropt += 1;
    if (global.curropt == 6 &amp;&amp; global.item[14] == 0) global.curropt += 1;
    if (global.curropt == 7 &amp;&amp; global.item[11] == 0) global.curropt += 1;
    if (global.curropt == 9 &amp;&amp; global.item[2] == 0) global.curropt += 1;
    if (global.curropt == 10 &amp;&amp; global.item[3] == 0) global.curropt += 1;
    if (global.curropt == 11 &amp;&amp; global.item[0] == 0) global.curropt += 1;
    if (global.curropt == 12 &amp;&amp; global.item[1] == 0) global.curropt += 1;
    if (global.curropt == 13 &amp;&amp; global.item[8] == 0) global.curropt += 1;
    if (global.curropt == 14 &amp;&amp; global.item[4] == 0) global.curropt += 1;
    if (global.curropt == 15 &amp;&amp; global.item[6] == 0) global.curropt += 1;
    if (global.curropt == 16 &amp;&amp; global.item[7] == 0) global.curropt += 1;
    if (global.curropt &gt; 16) global.curropt = 0;
    sfx_play(sndMenuMove);
}

if (active &amp;&amp; oControl.kUp &amp;&amp; oControl.kUpPushedSteps == 0) {
    global.curropt -= 1;
    
    if (global.curropt &lt; 0) global.curropt = 16;
    if (global.curropt == 16 &amp;&amp; global.item[7] == 0) global.curropt -= 1;
    if (global.curropt == 15 &amp;&amp; global.item[6] == 0) global.curropt -= 1;
    if (global.curropt == 14 &amp;&amp; global.item[4] == 0) global.curropt -= 1;
    if (global.curropt == 13 &amp;&amp; global.item[8] == 0) global.curropt -= 1;
    if (global.curropt == 12 &amp;&amp; global.item[1] == 0) global.curropt -= 1;
    if (global.curropt == 11 &amp;&amp; global.item[0] == 0) global.curropt -= 1;
    if (global.curropt == 10 &amp;&amp; global.item[3] == 0) global.curropt -= 1;
    if (global.curropt == 9 &amp;&amp; global.item[2] == 0) global.curropt -= 1;
    if (global.curropt == 7 &amp;&amp; global.item[11] == 0) global.curropt -= 1;
    if (global.curropt == 6 &amp;&amp; global.item[14] == 0) global.curropt -= 1;
    if (global.curropt == 5 &amp;&amp; global.item[13] == 0) global.curropt -= 1;
    if (global.curropt == 4 &amp;&amp; global.item[12] == 0) global.curropt -= 1;
    if (global.curropt == 3 &amp;&amp; global.item[10] == 0) global.curropt -= 1;
    if (global.curropt == 2 &amp;&amp; global.item[9] == 0) global.curropt -= 1;
    if (global.curropt == 1 &amp;&amp; global.item[5] == 0) global.curropt -= 1;
    sfx_play(sndMenuMove);    
}


if (active &amp;&amp; oControl.kRight &gt; 0 &amp;&amp; oControl.kRightPushedSteps == 0 &amp;&amp; global.curropt &lt; 8) {
    if (global.curropt &gt;= 0 &amp;&amp; global.curropt &lt; 3) {
            global.curropt = 8;
        } else global.curropt = 14;
        if (global.curropt == 14 &amp;&amp; global.item[4] == 0) global.curropt += 1;
        if (global.curropt == 15 &amp;&amp; global.item[6] == 0) global.curropt += 1;
        if (global.curropt == 16 &amp;&amp; global.item[7] == 0) global.curropt += 1;
        if (global.curropt &gt; 16) global.curropt = 8;
        sfx_play(sndMenuMove);    
}
if (active &amp;&amp; oControl.kLeft &gt; 0 &amp;&amp; oControl.kLeftPushedSteps == 0 &amp;&amp; global.curropt &gt;= 8) {

if (global.curropt &gt;= 8 &amp;&amp; global.curropt &lt; 14) { global.curropt = 0; }
    else { global.curropt = 3; }
    if (global.curropt == 3 &amp;&amp; global.item[10] == 0) global.curropt += 1;
    if (global.curropt == 4 &amp;&amp; global.item[12] == 0) global.curropt += 1;
    if (global.curropt == 5 &amp;&amp; global.item[13] == 0) global.curropt += 1;
    if (global.curropt == 6 &amp;&amp; global.item[14] == 0) global.curropt += 1;
    if (global.curropt == 7 &amp;&amp; global.item[11] == 0) global.curropt += 1;
    if (global.curropt &gt; 7) global.curropt = 0;
    sfx_play(sndMenuMove);
}
        

if (active &amp;&amp; oControl.kMenu1 &amp;&amp; oControl.kMenu1PushedSteps == 0) {
    editing = 1;
    sfx_play(sndMenuMove);
}
if (editing) {
    if (global.curropt == 0) global.currentsuit = 0;
    if (global.curropt == 1) global.currentsuit = 1;
    if (global.curropt == 2) global.currentsuit = 2;
    if (global.curropt == 3) global.cbeam = !global.cbeam;
    if (global.curropt == 4) global.wbeam = !global.wbeam;
    if (global.curropt == 5) global.sbeam = !global.sbeam;
    if (global.curropt == 6) global.pbeam = !global.pbeam;
    if (global.curropt == 7) global.ibeam = !global.ibeam;
    if (global.curropt == 8) global.morphball = !global.morphball;
    if (global.curropt == 9) global.spiderball = !global.spiderball;
    if (global.curropt == 10) global.jumpball = !global.jumpball;
    if (global.curropt == 11) global.bomb = !global.bomb;
    if (global.curropt == 12) global.powergrip = !global.powergrip;
    if (global.curropt == 13) global.screwattack = !global.screwattack;
    if (global.curropt == 14) global.hijump = !global.hijump;
    if (global.curropt == 15) global.spacejump = !global.spacejump;
    if (global.curropt == 16) global.speedbooster = !global.speedbooster;
    editing = 0;
}
dtext = tiptext[global.curropt];
if (active &amp;&amp; oControl.kStart &amp;&amp; oControl.kStartPushedSteps == 0) {
    fadeout = 1;
    active = 0;
}
if (fadeout) rectoffset += 2;
if (ealpha &lt; 1 &amp;&amp; fadeout == 0) ealpha += 0.05;
if (ealpha &gt; 0 &amp;&amp; fadeout) ealpha -= 0.05;
if (ealpha &gt;= 1 &amp;&amp; fadeout == 0 &amp;&amp; instance_exists(oSubScrChange) == false) active = 1;
if (ealpha &lt;= 0 &amp;&amp; fadeout) {
    global.ingame = 1;
    global.transitiontype = 3;
    room_goto(global.currentroom);
    Unmute_Loops();
}
if (global.curropt &lt; 14) {
    oSubScrPlayer.targety = 52;
} else oSubScrPlayer.targety = -13;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="8" enumb="0">
      <action>
        <libid>1</libid>
        <id>603</id>
        <kind>7</kind>
        <userelative>0</userelative>
        <isquestion>0</isquestion>
        <useapplyto>-1</useapplyto>
        <exetype>2</exetype>
        <functionname></functionname>
        <codestring></codestring>
        <whoName>self</whoName>
        <relative>0</relative>
        <isnot>0</isnot>
        <arguments>
          <argument>
            <kind>1</kind>
            <string></string>
          </argument>
        </arguments>
      </action>
    </event>
  </events>
  <PhysicsObject>0</PhysicsObject>
  <PhysicsObjectSensor>0</PhysicsObjectSensor>
  <PhysicsObjectShape>0</PhysicsObjectShape>
  <PhysicsObjectDensity>0.5</PhysicsObjectDensity>
  <PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
  <PhysicsObjectGroup>0</PhysicsObjectGroup>
  <PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
  <PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
  <PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
  <PhysicsObjectAwake>-1</PhysicsObjectAwake>
  <PhysicsObjectKinematic>-1</PhysicsObjectKinematic>
  <PhysicsShapePoints/>
</object>
