<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>sprWallNPC</spriteName>
  <solid>-1</solid>
  <visible>0</visible>
  <depth>0</depth>
  <persistent>0</persistent>
  <parentName>parNpc</parentName>
  <maskName>sprWallNPC</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>image_speed = 0
answer = 0
item = 0
</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>event_user(0)
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="10">
      <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>///Checkout mode
if instance_exists(objStorage) { alarm[10] = 1 } else {
    //global.cutscene = 0
    var a = instance_create(0,0,objTextBox);
    a.strno = 1
    switch item {
        case -1:
            a.str[0] = "@ It looks like you're carrying too much stuff."
            break;
        case 0:
            a.str[0] = "@ All done."
            break;
        default:
            a.str[0] = "@ The "+global.item[item,1]+"? All done."
            break;
    }
    a.str[1] = "@ Do you want anything else?"
    question(3,"Store something for me","I'd like to retrieve an item","I don't want anything","","")
    alarm[0] = 1
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="9">
      <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>///Store mode
if instance_exists(obj_inv) { alarm[9] = 1 } else {
    //global.cutscene = 0
    var a = instance_create(0,0,objTextBox);
    a.strno = 1
    if item != 0 {
        a.str[0] = "@ The "+global.item[item,1]+"?#@ I'll take good care of it!"
    } else {
        a.str[0] = "@ All done then."
    }
    a.str[1] = "@ Do you want anything else?"
    question(3,"Store something for me","I'd like to retrieve an item","I don't want anything","","")
    alarm[0] = 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>///Checkout mode
if instance_exists(objTextBox) { alarm[2] = 1 } else {
    //global.cutscene = 1
    objPlayer.canmove = 0
    var a = instance_create(view_xview,view_yview,objStorage);
    a.object = object_index
    alarm[10] = 1
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="2" enumb="1">
      <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>///Store mode
if instance_exists(objTextBox) { alarm[1] = 1 } else {
    //global.cutscene = 1
    objPlayer.canmove = 0
    var a = instance_create(view_xview,view_yview,obj_inv);
    a.object = object_index
    a.storage_mode = 1
    alarm[9] = 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>if instance_exists(objQuestion) { alarm[0] = 1 }
else {
    var a = instance_create(0,0,objTextBox);
        switch answer {
            case 0:
                a.strno = 0
                a.str[0] = "@ What do you want me to store?"
                alarm[1] = 1
                break;
            case 1:
                if !ds_list_empty(global.storage) {
                    a.strno = 0
                    a.str[0] = "@ What do you want to retrieve?"
                    alarm[2] = 1
                } else {
                    a.strno = 1
                    a.str[0] = "@ I'd like to help you, but it seems your storage is empty."
                    a.str[1] = "@ Do you want anything else?"
                    question(3,"Store something for me","I'd like to retrieve an item","I don't want anything","","")
                    alarm[0] = 1
                }
                break;
            case 2:
                a.strno = 0
                a.str[0] = "@ Thank you."
                break;
                
        } 
}
</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>
depth = -y


if (direction &gt;= 0 and direction &lt; 45/2) or (direction &gt;= 315+45/2 and direction &lt; 360) {
    image_index = 1
} else if (direction &gt;= 45/2 and direction &lt; 45+45/2) {
    image_index = 2
} else if (direction &gt;= 45+45/2 and direction &lt; 90+45/2) {
    image_index = 2
} else if (direction &gt;= 90+45/2 and direction &lt; 135+45/2) {
    image_index = 2
} else if (direction &gt;= 135+45/2 and direction &lt; 180+45/2) {
    image_index = 3
} else if (direction &gt;= 180+45/2 and direction &lt; 225+45/2) {
    image_index = 0
} else if (direction &gt;= 225+45/2 and direction &lt; 270+45/2) {
    image_index = 0
} else if (direction &gt;= 270+45/2 and direction &lt; 315+45/2) {
    image_index = 0
}
</string>
          </argument>
        </arguments>
      </action>
    </event>
    <event eventtype="7" enumb="10">
      <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 = instance_create(0,0,objTextBox);
a.str[0] = "@ Welcome to the storage management interface."
question(3,"Store something for me","I'd like to retrieve an item","I don't want anything","","")
alarm[0] = 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>7,22</point>
    <point>13,13</point>
  </PhysicsShapePoints>
</object>
