<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>sBoss1Block</spriteName>
  <solid>0</solid>
  <visible>-1</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>gravity = 0.2;
gravity_direction = 270;
spikeoffset = 18;
enablespikes = 0;
spike = instance_create(x, 80, oSpikes1);
spike.image_yscale = 5;
alarm[0] = 90;
alarm[1] = 5;
falling = 1;
hspeed = 0;
</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 (hspeed != 0) {
    smk = instance_create(x - 16 + random(32), y, oFXAnimSpark);
    smk.image_speed = 0.5;
    smk.additive = 0;
    smk.sprite_index = sSmoke1;
    smk.image_alpha = 0.6;
    smk.depth = -95;
}
alarm[1] = 5;
</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>enablespikes = 1;
</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 (!instance_exists(oBoss1Head)) return 0;
if (y &gt; 150 &amp;&amp; falling) {
    gravity = 0;
    speed = 0;
    y = 160;
    falling = 0;
    quake = instance_create(0, 0, oQuake);
    quake.delay = 0;
    quake.duration = 10;
    quake.intensity = 2;
    sfx_play(sndBoss1Stomp);
    mus_current_stop();
}
if (enablespikes &amp;&amp; spikeoffset &gt; 0) spikeoffset -= 1;
if (facing == 1) {
    if (x &lt; oBoss1Head.edge_l - 48) {
        hspeed = 0.25;
    } else hspeed = 0;
}
if (facing == -1) {
    if (x &gt; oBoss1Head.edge_r + 48) {
        hspeed = -0.25;
    } else hspeed = 0;
}
if (facing == 1) spike.x = x + 18 - spikeoffset;
if (facing == -1) spike.x = x - 34 + spikeoffset;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="4" ename="oCharacter">
      <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 (oCharacter.speedboost &gt; 0) instance_destroy();
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="7" 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>with (spike) instance_destroy();
eoffset = 24 * facing;
i = 1;
repeat (10) {
    expl = instance_create(x + eoffset - 8 + random(16), y - 8 * i, oFXAnimSpark);
    expl.image_speed = 0.1 + i / 8;
    expl.additive = 0;
    expl.sprite_index = sExpl1;
    expl.depth = -10 - i;
    i += 1;
}
block = instance_create(x, y, oBoss1Block3);
block.facing = facing;
instance_destroy();
</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>if (facing == 1) {
    i = 1;
    repeat (10) {
        draw_sprite_ext(sBoss1Spike, -1, x + 18 - spikeoffset, y - 8 * i, 1, 1, 0, -1, 1);
        i += 1;
    }
}
if (facing == -1) {
    i = 1;
    repeat (10) {
        draw_sprite_ext(sBoss1Spike, -1, x - 18 + spikeoffset, y - 8 * i, -1, 1, 0, -1, 1);
        i += 1;
    }
}
draw_sprite_ext(sprite_index, -1, x, y, facing, 1, 0, -1, 1);
draw_sprite_ext(sprite_index, -1, x, y - 32, facing, 1, 0, -1, 1);
draw_sprite_ext(sprite_index, -1, x, y - 64, facing, 1, 0, -1, 1);
</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>
