<!--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>-99999999</depth>
  <persistent>-1</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>igt_surface = surface_create(320 + oControl.widescreen_space, 240);
//image_speed = 0.25;
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="1" 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>surface_free(igt_surface);
</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>if(!oControl.mod_IGT) instance_destroy();
if (surface_exists(igt_surface) &amp;&amp; (surface_get_width(igt_surface) &lt; (320 + oControl.widescreen_space))) { // widescreen fix
    surface_free(igt_surface);
}
if (!surface_exists(igt_surface)) igt_surface = surface_create(320 + oControl.widescreen_space, 240);
    if (surface_exists(igt_surface)) {
    
        var compl = string(round(global.itemstaken / 88 * 100));
        
        surface_set_target(igt_surface);
        draw_clear_alpha(c_black, 0);
        draw_set_font(fontGUI2);
        draw_set_halign(fa_left);
        draw_set_alpha(100/255);
        draw_set_color(c_black);
        draw_rectangle(0, 20, 54 - (4*string_count("1", steps_to_time2(global.gametime))), 29, false);
        draw_set_alpha(1);
        draw_set_color(c_white);
        draw_cool_text(4, 16, steps_to_time2(global.gametime), c_black, c_white, c_gray, 1);
        
        if (oControl.mod_collecteditemsmap == 1) {
            draw_set_halign(fa_right);
            //draw_cool_text(surface_get_width(igt_surface) - 4, 26, string(round(global.itemstaken / 88 * 100)) + "%", c_black, c_white, c_gray, 1);
            //draw_cool_text(4, 22, string(round(global.itemstaken / 88 * 100)) + "%", c_black, c_white, c_gray, 1);
            //draw_cool_text(54, 14, string(round(global.itemstaken / 88 * 100)) + "%", c_black, c_white, make_color_rgb(255, 228, 2), 1);
            draw_set_alpha(100/255);
            draw_set_color(c_black);
            draw_rectangle(320 + oControl.widescreen_space + (4*string_count("1", compl)) - (7*(string_length(compl) - 1)) - 21, 32, 320 + oControl.widescreen_space, 41, false);
            draw_set_alpha(1);
            draw_set_color(c_white);
            draw_cool_text(surface_get_width(igt_surface) - 3, 28, compl + "%", c_black, c_white, c_silver, 1);
            draw_set_halign(fa_left);
        }
        
        //draw_sprite(sHUD_GT, image_index, 316, 32); // DEBUG
        surface_reset_target();
    }
</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>var d = application_get_position();
if(room != rm_transition &amp;&amp; instance_exists(oCharacter) &amp;&amp; global.ingame &amp;&amp; oControl.displaygui &amp;&amp; global.opshowhud) draw_surface_ext(igt_surface, oControl.displayx - d[0], oControl.displayy - d[1], oControl.display_scale, oControl.display_scale, 0, -1, 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/>
</object>
