<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>s_bonus</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>image_speed = 0.5;
vspeed = 5;
image_xscale = choose(-1, 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 y&gt;500 instance_destroy();
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="4" ename="o_car2_pl2">
      <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 other.ready == 1
{
    if other.fari == 1
    {
        other.fari = 2;
        other.alarm[0] = 60;
    }
    instance_destroy();
    var rot = point_direction(x, y, other.x, other.y);
    //other.y += 10;
    ss(w_bonus);
    son = instance_create(x, y, o_hit1_purple);
    son.image_angle = rot+180;
    son.papa = other.id;
    son.xx = x - other.x;
    son.yy = y - other.y;
    other.gun = choose(1, 2, 3, 4, 5, 6);
    other.ready = 2;
    switch (other.gun)
    {
        case 1: with o_button24 {if type == 7 light = 1}; break;
        case 2: with o_button24 {if type == 8 light = 1}; break;
        case 3: with o_button24 {if type == 9 light = 1}; break;
        case 4: with o_button24 {if type == 10 light = 1}; break;
        case 5: with o_button24 {if type == 11 light = 1}; break;
        case 6: with o_button24 {if type == 12 light = 1}; break;
        default: break;
    }
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="4" ename="o_car1_pl1">
      <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 other.ready == 1
{
    if other.fari == 1
    {
        other.fari = 2;
        other.alarm[0] = 60;
    }
    instance_destroy();
    var rot = point_direction(x, y, other.x, other.y);
    //other.y += 10;
    ss(w_bonus);
    son = instance_create(x, y, o_hit1_purple);
    son.image_angle = rot+180;
    son.papa = other.id;
    son.xx = x - other.x;
    son.yy = y - other.y;
    other.gun = choose(1, 2, 3, 4, 5, 6);
    other.ready = 2;
    switch (other.gun)
    {
        case 1: with o_button24 {if type == 1 light = 1}; break;
        case 2: with o_button24 {if type == 2 light = 1}; break;
        case 3: with o_button24 {if type == 3 light = 1}; break;
        case 4: with o_button24 {if type == 4 light = 1}; break;
        case 5: with o_button24 {if type == 5 light = 1}; break;
        case 6: with o_button24 {if type == 6 light = 1}; break;
        default: break;
    }
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="8" enumb="64">
      <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>draw_self();
</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>0</PhysicsObjectKinematic>
  <PhysicsShapePoints/>
</object>
