<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>sprSoundPunch</spriteName>
  <solid>0</solid>
  <visible>-1</visible>
  <depth>-100</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>towardsX = mouse_x;
towardsY = mouse_y;

move_towards_point(towardsX, towardsY, 5);
alarm[0] = 40;

image_index = 0;
image_speed = 1;

direction = point_direction(x,y,mouse_x,mouse_y);

depth = -100;

speed = 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>///alarma
if(audio_is_playing(sndCarga))
    {
        audio_stop_sound(sndCarga)
    }
    /*
    if(audio_is_playing(sndCargaFinal))
    {
        audio_stop_sound(sndCargaFinal)
    }
    */
    with(instance_create(x,y,objLightSource))
    {
        maxRadius = 70;
    }
    instance_create(x,y,objCrack);
    audio_play_sound(sndSoundPunch,10,false);
    instance_destroy();
    
    with(objPlayer)
    {
        sprite_index = sprPlayerPunch;
        image_speed = 0;
        image_index = 3;
    }
</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>mouse_left_released = (mouse_check_button_released(mb_left));
if (mouse_left_released)
{
    if(audio_is_playing(sndCarga))
    {
        audio_stop_sound(sndCarga)
    }
    /*
    if(audio_is_playing(sndCargaFinal))
    {
        audio_stop_sound(sndCargaFinal)
    }
    */
    with(instance_create(x,y,objLightSource))
    {
        maxRadius = 70;
    }
    instance_create(x,y,objCrack);
    audio_play_sound(sndSoundPunch,10,false);
    instance_destroy();
    
    with(objPlayer)
    {
        sprite_index = sprPlayerPunch;
        image_speed = 0;
        image_index = 3;
    }
}
/*
if(!audio_is_playing(sndCarga) &amp;&amp; !audio_is_playing(sndCargaFinal))
{
    audio_play_sound(sndCargaFinal, 10, false)
}
*/
//move_contact_all(direction, 0);
/*
image_angle = image_angle + 10;
*/
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="8" enumb="75">
      <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_set_colour(c_white);
draw_text(20,20, x);
draw_text(20,40, y);*/
</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>
