<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>sWaterParticle</spriteName>
  <solid>0</solid>
  <visible>0</visible>
  <depth>-10000</depth>
  <persistent>-1</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>currentbgm = musTitle;
previousbgm = 254;
bossbgm = sndJump;
sound_id = 0;

useMultistageMusic = 0;

if (file_exists("musQueenbreak.ogg") and file_exists("musQueen2.ogg") and file_exists("musQueen3.ogg")) {
    useMultistageMusic = 1;
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="11">
      <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>sfx_stop(musItemGet);
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="10">
      <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 (oMusicV2.bossbgm == sndJump) mus_stop_muted();
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="9">
      <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>sfx_stop(sound_id);
sfx_play(sound_id);
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="8">
      <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>mus_pause(previousbgm);
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="7">
      <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>// Part 3 Queen theme

if (!instance_exists(oQueenFireball) &amp;&amp; !sfx_isplaying(musQueen3))
{
    if (instance_exists(oQueen) || global.ingame == false)
    {
        mus_play(musQueen3);
        oMusicV2.bossbgm = musQueen3;
    }
}
else
{
    alarm[7] = 1;
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="6">
      <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>// Part 2 Queen theme.
if (!instance_exists(oQueenFireball) &amp;&amp; !sfx_isplaying(musQueen2))
{
    if (instance_exists(oQueen) || global.ingame == false)
    {
        mus_play(musQueen2);
        oMusicV2.bossbgm = musQueen2;
    }
}
else
{
    alarm[6] = 1;
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="5">
      <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 (!sfx_isplaying(musQueenIntro) &amp;&amp; !sfx_isplaying(musQueen)) {
    if (instance_exists(oQueen) || global.ingame == false) {
        mus_play(musQueen);
        oMusicV2.bossbgm = musQueen;
    }
} else alarm[5] = 1;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="4">
      <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 (!sfx_isplaying(musMonsterAppear) &amp;&amp; !sfx_isplaying(musOmegaFight)) {
    if (instance_exists(oMOmega) &amp;&amp; oMOmega.myhealth &gt; false || global.ingame == 0) {
        mus_play(musOmegaFight);
        oMusicV2.bossbgm = musOmegaFight;
    }
} else alarm[4] = 1;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="3">
      <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 (!sfx_isplaying(musMonsterAppear) &amp;&amp; !sfx_isplaying(musZetaFight)) {
    if (instance_exists(oMZeta) &amp;&amp; oMZeta.myhealth &gt; false || global.ingame == 0) {
        mus_play(musZetaFight);
        oMusicV2.bossbgm = musZetaFight;
    }
} else alarm[3] = 1;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="2">
      <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 (!sfx_isplaying(musMonsterAppear) &amp;&amp; !sfx_isplaying(musGammaFight)) {
    if (instance_exists(oMGamma) &amp;&amp; oMGamma.myhealth &gt; false || global.ingame == 0) {
        mus_play(musGammaFight);
        oMusicV2.bossbgm = musGammaFight;
    }
} else alarm[2] = 1;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="1">
      <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 (!sfx_isplaying(musMonsterAppear) &amp;&amp; !sfx_isplaying(musAlphaFight)) {
    if (instance_exists(oMAlpha) &amp;&amp; oMAlpha.myhealth &gt; false || global.ingame == 0) {
        mus_play(musAlphaFight);
        oMusicV2.bossbgm = musAlphaFight;
    }
} else alarm[1] = 1;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" 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 (!sfx_isplaying(musFanfare)) {
    if (!sfx_isplaying(currentbgm)) {
        mus_current_fadein();
        alarm[0] = 10;
    }
} else alarm[0] = 5;


/*
//Original Code
if (!sfx_isplaying(musFanfare)) {
    mus_current_fadein();
} else alarm[0] = 5;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="7" enumb="4">
      <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>alarm[10] = 210;
</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>var yoff, sep;
yoff = 48;
sep = 8;
draw_set_alpha(1);
draw_set_font(fontMenuSmall);
draw_set_color(c_white);
draw_text_shadow(view_xview[0], view_yview[0] + yoff, " Current Song: " + string(currentbgm) + " - Playing: " + string(audio_is_playing(currentbgm)) + " - A0: " + string(alarm[0]));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 1, " Boss: " + string(bossbgm));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 2, " Title: " + string(254) + " - Playing: " + string(audio_is_playing(musTitle)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 3, " Fanfare: " + string(256) + " - Playing: " + string(audio_is_playing(musFanfare)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 4, " Cave: " + string(257) + " - Playing: " + string(audio_is_playing(musMainCave)) + " - Vol: " + string(audio_sound_get_gain(musMainCave)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 5, " MetAppear: " + string(258) + " - Playing: " + string(audio_is_playing(musMonsterAppear)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 6, " Alpha: " + string(259) + " - Playing: " + string(audio_is_playing(musAlphaFight)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 7, " Amb: " + string(260) + " - Playing: " + string(audio_is_playing(musCaveAmbience)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 8, " Area1A: " + string(261) + " - Playing: " + string(audio_is_playing(musArea1A)));
draw_text_shadow(view_xview[0], view_yview[0] + yoff + sep * 9, " Area1B: " + string(262) + " - Playing: " + string(audio_is_playing(musArea1B)));
</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>
