<!--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>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>shw=0
shwtime=100
stars1=0
stars2=0
stars3=0
stars4=0
stars5=0
alarm[0]=shwtime
</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 shw&lt;5
{
shw+=1
alarm[0]=shwtime
}
</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>allstars=stars1+stars2+stars3+stars4+stars5
draw_set_color(c_white)
draw_set_halign(fa_center)
draw_set_font(font_pravila3)
if allstars=0 {draw_text(320,168,"Игра окончена!")}
if allstars&gt;=1 &amp;&amp; allstars&lt;5 {draw_text(320,168,"Попробуйте еще раз!")}
if allstars&gt;=5 &amp;&amp; allstars&lt;10 {draw_text(320,168,"Это только начало!")}
if allstars&gt;=10 &amp;&amp; allstars&lt;15 {draw_text(320,168,"Отличный результат!")}
if allstars=15 {draw_text(320,168,"Вы сделали все, что смогли!")}

if shw&gt;0
{
draw_set_font(font_pravila2)
draw_text(320,238,"Время игры:")
if global.stat_minutes&gt;=10 {stars1=1 draw_sprite(spr_star2,0,375,258)}
if global.stat_minutes&gt;=13 {stars1=2 draw_sprite(spr_star2,0,408,258)}
if global.stat_minutes&gt;=15 {stars1=3 draw_sprite(spr_star2,0,440,258)}
draw_set_font(font_pravila)

if global.stat_minutes&gt;=60
{
draw_text(320,258,"Больше часа!")
}
else
{
draw_set_halign(fa_right)

if global.stat_sec&lt;10
{
draw_text(345,258,":0"+string(global.stat_sec))
}
if global.stat_sec&gt;=10
{
draw_text(345,258,":"+string(global.stat_sec))
}

if global.stat_minutes&lt;10
{
draw_text(319,258,"0"+string(global.stat_minutes))
}
if global.stat_minutes&gt;=10
{
draw_text(319,258,global.stat_minutes)
}
}
}

draw_set_halign(fa_center)

if shw&gt;1
{
draw_set_font(font_pravila2)
draw_text(320,298,"Выстрелов:")
if global.stat_shoots&gt;=250 {stars2=1 draw_sprite(spr_star2,0,375,325)}
if global.stat_shoots&gt;=400 {stars2=2 draw_sprite(spr_star2,0,408,325)}
if global.stat_shoots&gt;=500 {stars2=3 draw_sprite(spr_star2,0,440,325)}
draw_set_font(font_pravila)
draw_text(320,318,global.stat_shoots)
}

if shw&gt;2
{
draw_set_font(font_pravila2)
draw_text(320,358,"Взрывов:")
if global.stat_explosions&gt;=2500 {stars3=1 draw_sprite(spr_star2,0,375,385)}
if global.stat_explosions&gt;=4000 {stars3=2 draw_sprite(spr_star2,0,408,385)}
if global.stat_explosions&gt;=5000 {stars3=3 draw_sprite(spr_star2,0,440,385)}
draw_set_font(font_pravila)
draw_text(320,378,global.stat_explosions)
}

if shw&gt;3
{
draw_set_font(font_pravila2)
draw_text(320,418,"Уничтожено врагов:")
if global.stat_enemydestroyed&gt;=200 {stars4=1 draw_sprite(spr_star2,0,375,445)}
if global.stat_enemydestroyed&gt;=350 {stars4=2 draw_sprite(spr_star2,0,408,445)}
if global.stat_enemydestroyed&gt;=400 {stars4=3 draw_sprite(spr_star2,0,440,445)}
draw_set_font(font_pravila)
draw_text(320,438,global.stat_enemydestroyed)
}

if shw&gt;4
{
draw_set_font(font_pravila2)
draw_text(320,478,"Заработано очков:")
if global.stat_scoreall&gt;=7500 {stars5=1 draw_sprite(spr_star2,0,375,505)}
if global.stat_scoreall&gt;=9000 {stars5=2 draw_sprite(spr_star2,0,408,505)}
if global.stat_scoreall&gt;=10000 {stars5=3 draw_sprite(spr_star2,0,440,505)}
draw_set_font(font_pravila)
draw_text(320,498,global.stat_scoreall)

draw_set_font(font_pravila)
draw_text(320,545,"Итог: "+string(stars1+stars2+stars3+stars4+stars5)+" из 15")
}
</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>
