<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>&lt;undefined&gt;</spriteName>
  <solid>0</solid>
  <visible>-1</visible>
  <depth>-6</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>draw_set_font(font_1);
draw_set_halign(fa_center);
draw_set_valign(fa_middle);
display_set_gui_size(640, 420);
see = 0;
type = 0;
alarm[0] = 210;
if global.points &gt; global.top_points global.top_points = global.points;
</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>type = 1;
if (file_exists('save.ini')) file_delete('save.ini')
ini_open('save.ini');
ini_write_real('top','points',global.top_points);
ini_close();
</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_set_alpha(1-see);
draw_set_colour(c_black);
draw_rectangle(0, 0, 640, 420, 0);
draw_set_colour(c_gray);
draw_set_alpha(0.5);
    draw_rectangle(0, 0, 320, 420, 0);
draw_set_alpha(1);
if type == 1
{
    draw_text(153, 228, "[space/пробел]");
if global.victory = 2 draw_text(153, 248, "продолжить (-1 монета)");
if global.victory = 1 draw_text(153, 248, "продолжить (бесплатно)");
    
    draw_text(153, 278, "[Esc]");
    draw_text(153, 298, "выйти в меню и");
    draw_text(153, 318, "пополнить запас монет");
}
draw_set_colour(make_colour_rgb(64, 32, 0));
    draw_rectangle(-200, -200, 19, 620, 0);
    draw_rectangle(287, -200, 352, 620, 0);
    draw_rectangle(620, -200, 840, 620, 0);
    draw_rectangle(-200, -200, 840, 5, 0);
    draw_rectangle(-200, 415, 840, 620, 0);
draw_set_colour(c_black);
if type = 1
{
    if global.victory == 1
    {
        draw_text(484, 56, 'Бот сдулся!');
        draw_text(488, 56, 'Бот сдулся!');
        draw_text(486, 54, 'Бот сдулся!');
        draw_text(486, 58, 'Бот сдулся!');
    }
    if global.victory == 2
    {
        draw_text(484, 56, 'Бот победил!');
        draw_text(488, 56, 'Бот победил!');
        draw_text(486, 54, 'Бот победил!');
        draw_text(486, 58, 'Бот победил!');
    }
    draw_text(484, 100, '- СЧЁТ -');
    draw_text(488, 100, '- СЧЁТ -');
    draw_text(486, 102, '- СЧЁТ -');
    draw_text(486, 98, '- СЧЁТ -');
            draw_text(153, 60, 'рекорд');
            draw_text(153, 80, global.top_points);
            draw_text(153, 130, 'очков набрано сейчас');
            draw_text(153, 150, global.points);
            if global.points == global.top_points
            {
                draw_text_colour(153, 180, 'НОВЫЙ РЕКОРД', c_maroon, c_maroon, c_maroon, c_maroon, 1);
            }
    draw_text(384, 100, global.score1);
    draw_text(388, 100, global.score1);
    draw_text(386, 102, global.score1);
    draw_text(386, 98, global.score1);
    draw_text(584, 100, global.score2);
    draw_text(588, 100, global.score2);
    draw_text(586, 102, global.score2);
    draw_text(586, 98, global.score2);
    
    draw_text(153, 226, "[space/пробел]");
if global.victory = 2 draw_text(153, 246, "продолжить (-1 монета)");
if global.victory = 1 draw_text(153, 246, "продолжить (бесплатно)");
    
    draw_text(153, 276, "[Esc]");
    draw_text(153, 296, "выйти в меню и");
    draw_text(153, 316, "пополнить запас монет");
draw_set_colour(c_orange);
    draw_text(386, 100, global.score1);
    if global.victory = 1 draw_text(486, 56, 'Бот сдулся!');
draw_set_colour(c_teal);
    draw_text(586, 100, global.score2);
    if global.victory = 2 draw_text(486, 56, 'Бот победил!');
draw_set_colour(c_white);
    draw_text(486, 100, '- СЧЁТ -');
}
draw_sprite_ext(s_ramka, 0, 0, 0, 1, 1, 0, c_white, 1);
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="9" enumb="32">
      <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 type != 1 exit;
if global.victory == 1
{
    if !instance_exists(o_close_window)
    {
        with instance_create(-256, 0, o_close_window) type = 3;
    }
}
if global.victory == 2
{
    if !instance_exists(o_close_window) and !instance_exists(o_hand_left)
    {
        with instance_create(-256, 0, o_hand_left) type2 = 3;
        global.hp = 100;
    }
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="9" enumb="27">
      <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 type = 0 exit;
if !instance_exists(o_close_window)
{
    ss_reset();
    with instance_create(0, 0, o_close_window) type = 0;
};
</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>
