<!--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>-10000000</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>
flash = 3
alarm[0] = 3*room_speed
</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 instance_exists(objPlayer) {
    if objPlayer.speed = 0 or (!global.s_poison[1] and !global.s_poison[2] and !global.s_poison[3] and !global.s_poison[4]
    and !global.s_infected[1] and !global.s_infected[2] and !global.s_infected[3] and !global.s_infected[4]) 
    or ie(parDeactivator) or ie(objBattleSwirl) or global.cutscene or room = rmGameOver or (objDebug.active and objDebug.can_input) {
        alarm[0] = 1 
    } else {
        flash = 0
        for (var i=1;i&lt;global.pl_count+1;i++) {
            if global.s_hp[i] &gt; 1 {
                if global.s_poison[i] or global.s_infected[i]{
                    var dmg;
                    if global.s_poison[i] {
                        dmg = 20+irandom_range(-5,5)
                    } else if global.s_infected[i] {
                        dmg = 40+irandom_range(-10,10)
                    }
                    if (global.s_hp[i] - dmg) &lt;= 0 {
                        with instance_create(0,0,objTextBox) { instance_destroy() }
                        var a = instance_create(0,0,objTextBox);
                        a.strno = 0
                        a.str[0] = "@ Caution! "+global.s_name[i]+"'s condition is currently critical.#@ Seek attention immediately, or "+global.s_name[i]+" could collapse."
                        objPlayer.speed = 0
                        global.s_hp[i] = 1
                    } else {
                        write_line("OK")
                        global.s_hp[i] -= dmg
                    }
                }
            }
        }
    }
}
alarm[0] = 3*room_speed
</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>switch global.pl_count {
    case 1:
        global.dead[2] = 1
        global.dead[3] = 1
        global.dead[4] = 1
        break;
    case 2:
        global.dead[3] = 1
        global.dead[4] = 1
        break;
    case 3:
        global.dead[4] = 1
        break;
}

if flash &lt; 3 {
    flash++
}

if !ie(parDeactivator) and !global.cutscene and !ie(objBattleSwirl) and room != rmGameOver and (!objDebug.active or !objDebug.can_input) {
    if keyboard_check_pressed(global.kb_enter) {
        instance_create(0,0,objPause);
    }
}
</string>
          </argument>
        </arguments>
      </action>
      <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>///Instance deactivation
//
/*
if !global.cutscene {
    instance_deactivate_all(true)
    instance_activate_region(view_xview[0] - 100, view_yview[0] - 100, view_xview[0] + 520, view_yview[0] + 520, true);
    
    instance_activate_object(DoNotDeactivateMe)
} else {
    instance_activate_all()
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="7" enumb="4">
      <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>eqp_boosts(1)
eqp_boosts(2)
eqp_boosts(3)
eqp_boosts(4) 
</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>draw_set_alpha(1)
if flash &lt; 3 {
    draw_set_color(c_red)
    draw_rectangle(view_xview,view_yview,view_xview+426,view_yview+240,0)
}
draw_set_color(c_white)
</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>
    <point>8,8</point>
    <point>8,8</point>
  </PhysicsShapePoints>
</object>
