<!--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>0</visible>
  <depth>-1000001</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>audio_play_sound(sndpattack,0,0)
b = 0
val = 0
dmg = 0
type = 0
alarm[0] = 1;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="11">
      <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(objBattleMsg) {
    alarm[11] = 1
} else {
    with objTurnMaster { event_perform(ev_other,ev_user0) }
    instance_destroy()
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="6">
      <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(objFreezeFx){
    alarm[6] = 1
} else {
    randomize()
    var msg,resist;
    resist = global.target[global._pl].freeze_resistance; 
    
    dmg = ceil(dmg*(100-30*resist)/100)
    
    if resist !=4 {
        
        var a = instance_create(0,0,objBattleMsg);
        
        with global.target[global._pl] { alarm[1] = 2 }
        
        global.target[global._pl].e_hp -= dmg;
        a.str[0] = string(dmg)+" HP of damage#   to "+global.target[global._pl].e_art + global.target[global._pl].e_name + "!"
        
        instance_create(0,0,objHitEffect)
    } else {
        failed = 1
        var a = instance_create(0,0,objBattleMsg);
        a.strno = 0
        a.str[0] = "It had no effect on "+global.target[global._pl].e_art + global.target[global._pl].e_name + "!"
    }

    alarm[11] = 1
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="5">
      <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(objStatDownFx) or instance_exists(objBattleMsg) {
    alarm[5] = 1
} else {
    with instance_create(global.target[global._pl].x,global.target[global._pl].y,objFreezeFx) {
        type = 0
        backfire = 0
    }
    alarm[6] = 1
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" 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>if instance_exists(objStatDownFx) or instance_exists(objBattleMsg) {
    alarm[4] = 1
} else {
    global._pl = 2
    var a = instance_create(0,0,objBattleMsg);
    a.strno = 0
    a.str[0] = "All of a sudden, "+global.s_name[2] + " tried PK Freeze "+"["+"!";
    global.target[2] = global.target[1]
    freeze_damage()

    alarm[5] = 1
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="3">
      <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(objStatDownFx) or instance_exists(objBattleMsg) {
    alarm[3] = 1
} else {
    val = irandom_range(18,25)
    var a = instance_create(0,0,objBattleMsg);
    a.strno = 0
    global.target[global._pl].patience -= val
    a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +"'s patience went down by "+string(val)+"!";
    var effect;
    effect = instance_create(global.target[global._pl].x,global.target[global._pl].y,objEnStatDownGFX)
    effect.alarm[0] = 1
    effect.color = make_color_rgb(34,177,76);
    audio_play_sound(sndStatDown,0,0)
    
    if global.target[global._pl].patience &gt; -20 {
        alarm[11] = 1
    } else {
        alarm[4] = 1
    }
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="2">
      <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(objStatDownFx) or instance_exists(objBattleMsg) {
    alarm[2] = 1
} else {
    var a = instance_create(0,0,objBattleMsg);
    a.strno = 0
    if global.target[global._pl].patience = 100 {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" called the request unreasonable."
    } else if global.target[global._pl].patience &lt; 100 and global.target[global._pl].patience &gt;= 80 {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" refuses to reach an agreement with you."
    } else if global.target[global._pl].patience &lt; 80 and global.target[global._pl].patience &gt;= 60 {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" is becoming rather frustrated."
    } else if global.target[global._pl].patience &lt; 60 and global.target[global._pl].patience &gt;= 40 {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" is losing his cool!"
    } else if global.target[global._pl].patience &lt; 40 and global.target[global._pl].patience &gt;= 20 {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" doesn't wanna deal with your crap!"
    } else if global.target[global._pl].patience &lt; 20 and global.target[global._pl].patience &gt;= 0 {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" said &lt;No, no, no way. Shut up.&gt;"
    } else {
        a.str[0] = upper(global.target[global._pl].e_art) + global.target[global._pl].e_name +" is furious now!"
    }
    alarm[3] = 1
}
</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>var a;
a = instance_create(0,0,objBattleMsg);

a.strno = 0;

    if global.target[global._pl].patience = 100 {
        a.str[0] = global.s_name[1]+" asked the guard for a bigger cell!"
    } else if global.target[global._pl].patience &lt; 100 and global.target[global._pl].patience &gt;= 80 {
        a.str[0] = global.s_name[1]+" asked the guard for clean bed sheets!"
    } else if global.target[global._pl].patience &lt; 80 and global.target[global._pl].patience &gt;= 60 {
        a.str[0] = global.s_name[1]+" demanded a better quality of life for fellow inmates!"
    } else if global.target[global._pl].patience &lt; 60 and global.target[global._pl].patience &gt;= 40 {
        a.str[0] = global.s_name[1]+" posed the guard a hypothetical question!#@ Something like: &lt;Would you enjoy this if you were a prisoner?&gt;"
    } else if global.target[global._pl].patience &lt; 40 and global.target[global._pl].patience &gt;= 20 {
        a.str[0] = global.s_name[1]+" harshly criticised the guard's fashion sense!"
    } else if global.target[global._pl].patience &lt; 20 and global.target[global._pl].patience &gt;= 0 {
        a.str[0] = global.s_name[1]+" smugly declared the whole building to be unsightly!"
    } else {
        a.str[0] = global.s_name[1]+" called the guard a poopy-head!#@ Very harsh words."
    }

alarm[2] = 1
</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>0,0</point>
    <point>160,160</point>
  </PhysicsShapePoints>
</object>
