<?xml version="1.0" encoding="utf-8"?>
<Scenes>
  <S_4_OUTSKIRTS Ambient="4_outskirts.ini">
    <Objects>
      <frame>
        <States>
          <general X="0" Y="0" Width="1366" Height="800" Enabled="1"></general>
        </States>
        <Events>
          <SceneEnter act1="enter" />
        </Events>
        <Actions>
          <enter>
            <Operations>
              <ChangeObjectState state="off" obj="mask_rain"></ChangeObjectState>
              <ChangeObjectState state="off" obj="mask_rain_back"></ChangeObjectState>
              <ChangeObjectState state="off" obj="mask_drops"></ChangeObjectState>
              <ChangeObjectState state="off" obj="water_1"></ChangeObjectState>
              <ChangeObjectState state="off" obj="water_2"></ChangeObjectState>
              <ChangeObjectState state="off" obj="water_3"></ChangeObjectState>
              <ChangeObjectState state="general" obj="water_3">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="water_2">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="water_1">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="mask_rain">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="mask_rain_back">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="mask_drops">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_HAY.mask_rain"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_HAY.mask_drops"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_CELLAR.mask_drops"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_CELLAR.mask_rain"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_CHEST.mask_drops"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_CHEST.mask_rain"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_REEDS.mask_rain"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_REEDS.mask_drops_0"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_REEDS.mask_drops"></ChangeObjectState>
              <ChangeObjectState state="off" obj="S_4_OUTSKIRTS_REEDS.mask_rain_back"></ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_HAY.mask_drops">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_HAY.mask_rain">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_CELLAR.mask_drops">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_CELLAR.mask_rain">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_CHEST.mask_drops">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_CHEST.mask_rain">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_REEDS.mask_rain">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_REEDS.mask_drops_0">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_REEDS.mask_drops">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeObjectState state="general" obj="S_4_OUTSKIRTS_REEDS.mask_rain_back">
                <Conditions>
                  <eq Arg1="S_GLOBAL.rain.mode" Arg2="$2" />
                </Conditions>
              </ChangeObjectState>
              <ChangeVariableValue name="S_5_BRIDGE.mask_guard.show_vo" value="1" op="=" />
            </Operations>
          </enter>
        </Actions>
      </frame>
      <back1>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_BACK_1"></general>
        </States>
      </back1>
      <sky>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_SKY" X="1360" Y="232" Enabled="1" CenterX="960" CenterY="232" ClipRect="458,0,700,220" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_sky1"></MoveObjectByTrajectory>
              <MoveObjectByTrajectory Value="tr_sky2" />
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
      </sky>
      <sky2>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_SKY" X="1360" Y="232" Enabled="1" CenterX="960" CenterY="232" ClipRect="458,0,700,220" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_sky2"></MoveObjectByTrajectory>
              <MoveObjectByTrajectory Value="tr_sky1" />
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
      </sky2>
      <cloud_1>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_CLOUD_1_ADD" X="1590" Y="336" Enabled="1" CenterX="342" CenterY="186" ClipRect="458,0,700,220" DrawMode="Add" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_cloud1"></MoveObjectByTrajectory>
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
      </cloud_1>
      <cloud_2>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_CLOUD_2_ADD" X="1590" Y="336" Enabled="1" CenterX="326" CenterY="196" ClipRect="458,0,700,220" DrawMode="Add" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
        <Actions>
          <load Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_cloud2_0"></MoveObjectByTrajectory>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_cloud2"></MoveObjectByTrajectory>
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
      </cloud_2>
      <back>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_BACK" X="458" Y="7"></general>
        </States>
      </back>
      <fog_1>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_fog1_1"></MoveObjectByTrajectory>
              <MoveObjectByTrajectory Value="tr_fog1_2" />
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
        <States>
          <general X="456" Y="196" Image="IMAGE_4_OUTSKIRTS_FOG_1" Enabled="1" ClipRect="475,200,530,165" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
      </fog_1>
      <fog_1_2>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_fog1_2" />
              <MoveObjectByTrajectory Value="tr_fog1_1"></MoveObjectByTrajectory>
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
        <States>
          <general X="456" Y="196" Image="IMAGE_4_OUTSKIRTS_FOG_1" Enabled="1" ClipRect="475,200,530,165" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
      </fog_1_2>
      <tree1>
        <States>
          <general X="418" Y="356" Image="IMAGE_4_OUTSKIRTS_TREE_1" CenterX="0" CenterY="350">
            <Effects>
              <Oscillation st_min="st_min" st_max="st_max" time="3000" scope="1111" bRand="0" bSmoth="1" />
            </Effects>
          </general>
          <st_max Angle="-2" />
          <st_min Angle="2" />
        </States>
      </tree1>
      <tree2>
        <States>
          <general X="563" Y="355" Image="IMAGE_4_OUTSKIRTS_TREE_2" CenterX="15" CenterY="200">
            <Effects>
              <Oscillation st_min="st_min" st_max="st_max" time="4200" scope="1111" bRand="0" bSmoth="1" />
            </Effects>
          </general>
          <st_max Angle="-2" />
          <st_min Angle="2" />
        </States>
      </tree2>
      <tree3>
        <States>
          <general X="1068" Y="222" Image="IMAGE_4_OUTSKIRTS_TREE_3" CenterX="140" CenterY="222">
            <Effects>
              <Oscillation st_min="st_min" st_max="st_max" time="4700" scope="1111" bRand="0" bSmoth="1" />
            </Effects>
          </general>
          <st_max Angle="-2" />
          <st_min Angle="2" />
        </States>
      </tree3>
      <mask_rain_back>
        <States>
          <general X="300" Y="0" Width="700" Height="250">
            <Effects>
              <Leafs file="effects/4_rain_back.xml" />
            </Effects>
          </general>
          <off />
        </States>
      </mask_rain_back>
      <patch>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_PATCH" X="456" Y="0"></general>
        </States>
      </patch>
      <dog>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_DOG" X="506" Y="292"></general>
          <off />
        </States>
      </dog>
      <gates>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_GATES_CLOSED" X="681" Y="288"></general>
          <st2 Image="IMAGE_4_OUTSKIRTS_GATES_OPEN" X="684" Y="291" />
        </States>
      </gates>
      <cellar>
        <States>
          <off />
          <general Image="IMAGE_4_OUTSKIRTS_CELLAR" X="849" Y="326"></general>
        </States>
      </cellar>
      <chest>
        <States>
          <off />
          <general Image="IMAGE_4_OUTSKIRTS_CHEST" X="480" Y="404"></general>
        </States>
      </chest>
      <pruner>
        <States>
          <off />
          <general Image="IMAGE_4_OUTSKIRTS_PRUNER" X="512" Y="434"></general>
        </States>
      </pruner>
      <board>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_BOARD" X="508" Y="462"></general>
          <off />
        </States>
      </board>
      <fog_2>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_fog2_1"></MoveObjectByTrajectory>
              <MoveObjectByTrajectory Value="tr_fog2_2" />
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
        <States>
          <general X="456" Y="196" Image="IMAGE_4_OUTSKIRTS_FOG_2" Enabled="1" DrawMode="Add" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
      </fog_2>
      <fog_2_2>
        <Actions>
          <load Modal="0">
            <Operations>
              <ExecuteAction act="loop" />
            </Operations>
          </load>
          <loop Modal="0">
            <Operations>
              <MoveObjectByTrajectory Value="tr_fog2_2" />
              <MoveObjectByTrajectory Value="tr_fog2_1"></MoveObjectByTrajectory>
              <ExecuteAction act="loop" />
            </Operations>
          </loop>
        </Actions>
        <States>
          <general X="456" Y="196" Image="IMAGE_4_OUTSKIRTS_FOG_2" Enabled="1" DrawMode="Add" />
        </States>
        <Events>
          <SceneLoad act1="load" />
        </Events>
      </fog_2_2>
      <patch_fog>
        <States>
          <general X="868" Y="409" Image="IMAGE_4_OUTSKIRTS_PATCH_FOG" />
        </States>
      </patch_fog>
      <pincers>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_PINCERS" X="951" Y="530"></general>
          <off />
        </States>
      </pincers>
      <hay>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_HAY" X="931" Y="511"></general>
          <off />
        </States>
      </hay>
      <cellar_light_add>
        <States>
          <general X="1054" Y="370" Image="IMAGE_4_OUTSKIRTS_LIGHT_1_ADD" DrawMode="Add">
            <Effects>
              <Oscillation st_min="st_min" st_max="st_max" time="3000" scope="1111" bRand="1" bSmoth="1" />
            </Effects>
          </general>
          <st_max CA="255" />
          <st_min CA="50" />
        </States>
      </cellar_light_add>
      <ribbon_1>
        <States>
          <general X="1040" Y="443" Image="IMAGE_4_OUTSKIRTS_RIBBON_1">
            <Effects>
              <Grid arg="effects/grid_s4_ribbon1.xml" />
            </Effects>
          </general>
        </States>
      </ribbon_1>
      <ribbon_2>
        <States>
          <general X="1040" Y="450" Image="IMAGE_4_OUTSKIRTS_RIBBON_2">
            <Effects>
              <Grid arg="effects/grid_s4_ribbon2.xml" />
            </Effects>
          </general>
        </States>
      </ribbon_2>
      <hole>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_HOLE" X="848" Y="552"></general>
          <off />
        </States>
      </hole>
      <water_2>
        <States>
          <general X="444" Y="223" Image="IMAGE_PARTICLE_WATER_2" HitTest="Rect" ScaleY="1" Enabled="1"></general>
          <off ScaleY="0.8" ScaleX="0.8" CA="200">
            <Effects>
              <Drop image_anim="NULL" time_drop_in_anim="100" time_pause_min="1000" time_pause_max="2500" image_drop="IMAGE_PARTICLE_DROP" drop1="446,230,450,470,200" />
            </Effects>
          </off>
        </States>
      </water_2>
      <patch_fog2>
        <States>
          <general X="140" Y="106" Image="IMAGE_4_OUTSKIRTS_PATCH_FOG_2" />
        </States>
      </patch_fog2>
      <light_add>
        <States>
          <general X="202" Y="0" Image="IMAGE_4_OUTSKIRTS_LIGHT_1_ADD" DrawMode="Add">
            <Effects>
              <Oscillation st_min="st_min" st_max="st_max" time="6000" scope="1111" bRand="1" bSmoth="1" />
            </Effects>
          </general>
          <st_max CA="255" />
          <st_min CA="50" />
        </States>
      </light_add>
      <table>
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_TABLE" X="152" Y="320"></general>
        </States>
      </table>
      <worker>
        <States>
          <v_loop Movie="VIDEO_4_WORKER_LOOP" X="179" Y="202" />
          <off />
        </States>
      </worker>
      <cup DisplayName="OBJ_4_CUP">
        <States>
          <off />
          <general Image="IMAGE_4_OUTSKIRTS_CUP" X="228" Y="284" Enabled="1" Cursor="Hand" Layer="2" HitTest="Rect:-41,-80,178,187"></general>
          <st2 Image="IMAGE_4_OUTSKIRTS_CUP2" X="244" Y="296" Enabled="0" Cursor="Zoom" />
          <inventory Image="IMAGE_4_OUTSKIRTS_CUP_INV" />
        </States>
        <Actions>
          <take>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$general" />
            </Conditions>
            <Operations>
              <AddInventoryItem cell="S_4_OUTSKIRTS_CUP" obj="cup" nofly="0" fromScene="1" />
            </Operations>
          </take>
        </Actions>
        <Events>
          <LeftMouse act1="take" />
        </Events>
      </cup>
      <axe DisplayName="OBJ_4_AXE">
        <States>
          <general Image="IMAGE_4_OUTSKIRTS_AXE" X="335" Y="371" Enabled="0" Cursor="Hand" HitTest="Rect:-14,-9,128,111"></general>
          <inventory Image="IMAGE_4_OUTSKIRTS_AXE_INV" />
        </States>
        <Actions>
          <take>
            <Operations>
              <AddInventoryItem cell="axe" obj="axe" nofly="0" fromScene="1" />
            </Operations>
          </take>
          <take2>
            <Operations>
              <AddInventoryItem cell="axe" obj="axe" />
            </Operations>
          </take2>
        </Actions>
        <Events>
          <LeftMouse act1="take" />
        </Events>
      </axe>
      <mask_return>
        <Actions>
          <click>
            <Operations>
              <PlaySoundSample Value="s_3_step" />
              <ChangeScene Value="S_3_SQUARE" />
            </Operations>
          </click>
        </Actions>
        <Events>
          <LeftMouse act1="click" />
        </Events>
        <States>
          <general X="0" Y="594" Width="1366" Height="185" Cursor="GoAway" CursorDir="180" Enabled="1" HintX="686" HintY="5">
            <Effects>
              <Hover id_image="IMAGE_PARTICLE_BOTTOM_LIGHT" position="0,509" />
            </Effects>
          </general>
        </States>
      </mask_return>
      <mask_hay>
        <Actions>
          <goto>
            <Operations>
              <ChangeScene Value="S_4_OUTSKIRTS_HAY"></ChangeScene>
            </Operations>
          </goto>
        </Actions>
        <Events>
          <LeftMouse act1="goto" />
        </Events>
        <States>
          <goto X="867" Y="545" Width="189" Height="99" Enabled="1" Cursor="Zoom" HintX="32" HintY="142" HitTest="Poly:-85,23;200,-78;283,-41;245,141;-32,57;" Angle="17">
            <Effects>
              <Glint />
            </Effects>
          </goto>
          <empty></empty>
        </States>
      </mask_hay>
      <mask_dog>
        <Actions>
          <goto>
            <Operations>
              <ChangeScene Value="S_4_OUTSKIRTS_DOG"></ChangeScene>
            </Operations>
          </goto>
        </Actions>
        <Events>
          <LeftMouse act1="goto" />
        </Events>
        <States>
          <goto X="459" Y="227" Width="145" Height="130" Enabled="1" Cursor="Zoom" HintX="60" HintY="69">
            <Effects>
              <Glint />
            </Effects>
          </goto>
          <off />
        </States>
      </mask_dog>
      <mask_cellar>
        <Actions>
          <goto>
            <Operations>
              <ChangeScene Value="S_4_OUTSKIRTS_CELLAR"></ChangeScene>
            </Operations>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$goto" />
            </Conditions>
          </goto>
          <go_ho>
            <Operations>
              <ChangeScene Value="S_4_OUTSKIRTS_HO"></ChangeScene>
            </Operations>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$go_ho" />
            </Conditions>
          </go_ho>
        </Actions>
        <Events>
          <LeftMouse act1="goto" a2="go_ho" />
        </Events>
        <States>
          <goto X="843" Y="279" Width="206" Height="166" Enabled="1" Cursor="Zoom" HintX="100" HintY="106" HitTest="Poly:61,17;203,18;152,158;2,144;">
            <Effects>
              <Glint />
            </Effects>
          </goto>
          <go_ho X="843" Y="279" Width="206" Height="166" Enabled="1" Cursor="Zoom" HintX="100" HintY="106" HitTest="Poly:61,17;203,18;152,158;2,144;">
            <Effects>
              <Sparkles />
            </Effects>
          </go_ho>
          <empty></empty>
        </States>
      </mask_cellar>
      <mask_chest>
        <Actions>
          <goto>
            <Operations>
              <ChangeScene Value="S_4_OUTSKIRTS_CHEST"></ChangeScene>
            </Operations>
          </goto>
        </Actions>
        <Events>
          <LeftMouse act1="goto" />
        </Events>
        <States>
          <goto X="483" Y="406" Width="132" Height="103" Enabled="1" Cursor="Zoom" HintX="49" HintY="58" HitTest="Poly:0,0;132,0;162,53;126,103;0,103;" Angle="-8">
            <Effects>
              <Glint />
            </Effects>
          </goto>
          <empty></empty>
        </States>
      </mask_chest>
      <mask_gate>
        <Actions>
          <goto>
            <Operations>
              <ChangeScene Value="S_4_OUTSKIRTS_GATE">
                <Conditions>
                  <eq Arg1="#ObjectState:" Arg2="$goto" />
                </Conditions>
              </ChangeScene>
              <ChangeScene Value="S_4_OUTSKIRTS_REEDS">
                <Conditions>
                  <eq Arg1="#ObjectState:" Arg2="$st2" />
                </Conditions>
              </ChangeScene>
            </Operations>
          </goto>
          <change>
            <Operations>
              <Pause time="400" />
              <PlaySoundSample name="s_4_gate_open" />
              <ChangeObjectState state="st2" />
              <ChangeObjectState state="st2" obj="gates" Time="500" />
            </Operations>
          </change>
          <msg>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$st_msg" />
            </Conditions>
            <Operations>
              <ShowTextMessage Value="BBT_4_NO_WAY"></ShowTextMessage>
            </Operations>
          </msg>
        </Actions>
        <Events>
          <LeftMouse act1="goto" a2="msg" />
        </Events>
        <States>
          <goto X="638" Y="252" Width="206" Height="166" Enabled="1" Cursor="Zoom" HintX="108" HintY="100" HitTest="Rect">
            <Effects>
              <Glint />
            </Effects>
          </goto>
          <st2 X="636" Y="203" Width="206" Height="213" Enabled="1" Cursor="Zoom" HintX="109" HintY="140" HitTest="Rect">
            <Effects>
              <Glint />
            </Effects>
          </st2>
          <st_msg X="636" Y="250" Width="206" Height="166" Enabled="1" HintX="110" HintY="135" HitTest="Rect" Cursor="Ask"></st_msg>
          <empty></empty>
        </States>
      </mask_gate>
      <mask_axe>
        <Actions>
          <click>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$first" />
            </Conditions>
            <Operations>
              <ChangeVariableValue name="hint" value="0" op="=" />
              <ChangeObjectState state="st2"></ChangeObjectState>
              <ChangeObjectState state="off" obj="worker"></ChangeObjectState>
              <ChangeObjectState state="v_worker" obj="video"></ChangeObjectState>
            </Operations>
          </click>
          <click2>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$st2" />
            </Conditions>
            <Operations>
              <PlaySoundSample Value="s_4_bbt_worker_5" />
              <ShowTextMessage Value="BBT_4_VO_WORKER_5" img="IMAGE_UI_BBT_WORKER"></ShowTextMessage>
              <ChangeObjectState state="st3"></ChangeObjectState>
              <Pause time="3500" />
            </Operations>
          </click2>
          <click3>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$st3" />
            </Conditions>
            <Operations>
              <ShowTextMessage Value="BBT_4_AXE_LAST"></ShowTextMessage>
            </Operations>
          </click3>
        </Actions>
        <Events>
          <LeftMouse a3="click3" a2="click2" act1="click" />
        </Events>
        <States>
          <first X="315" Y="334" Width="134" Height="135" Enabled="1" Cursor="Hand" HintX="43" HintY="76" HitTest="Rect">
            <Effects>
              <Glint />
            </Effects>
          </first>
          <st2 X="297" Y="372" Width="145" Height="121" Enabled="1" Cursor="Zoom" HintX="67" HintY="56" HitTest="Poly:40,-4;116,-9;96,98;28,100;">
            <Effects>
              <Glint />
            </Effects>
          </st2>
          <st3 X="297" Y="372" Width="145" Height="121" Enabled="1" Cursor="Zoom" HintX="67" HintY="56" HitTest="Poly:40,-4;116,-9;96,98;28,100;">
            <Effects>
              <Glint />
            </Effects>
          </st3>
          <off />
        </States>
        <Variables hint="1" />
      </mask_axe>
      <mask_worker>
        <Actions>
          <click>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$first" />
            </Conditions>
            <Operations>
              <ShowTextMessage Value="BBT_4_WORKER"></ShowTextMessage>
            </Operations>
          </click>
          <click2>
            <Conditions>
              <or>
                <eq Arg1="#ObjectState:" Arg2="$st3" />
                <eq Arg1="#ObjectState:" Arg2="$st2"></eq>
              </or>
              <eq Arg1="$cup_beer" Arg2="$arg" />
            </Conditions>
            <Operations>
              <PlaySoundSample name="s_4_worker_beer" />
              <RemoveInventoryItem argCell="cup_beer" />
              <ChangeObjectState state="st2" obj="cup" Time="500" />
              <ChangeObjectState state="v_ogr" obj="video"></ChangeObjectState>
              <ChangeObjectState state="off" />
              <ChangeObjectState state="off" obj="mask_axe" />
              <EnableObject value="1" obj="axe" />
            </Operations>
          </click2>
          <about>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$st2" />
              <eq Arg1="$empty" Arg2="$arg" />
            </Conditions>
            <Operations>
              <PlaySoundSample Value="s_4_bbt_worker_6" />
              <ShowTextMessage Value="BBT_4_VO_WORKER_6" img="IMAGE_UI_BBT_WORKER"></ShowTextMessage>
              <Pause time="3500" />
              <ChangeObjectState state="st3" />
            </Operations>
          </about>
          <about2>
            <Conditions>
              <eq Arg1="#ObjectState:" Arg2="$st3" />
              <eq Arg1="$empty" Arg2="$arg" />
            </Conditions>
            <Operations>
              <ShowTextMessage Value="BBT_4_WORKER_LAST"></ShowTextMessage>
            </Operations>
          </about2>
          <wrong>
            <Conditions>
              <or>
                <eq Arg1="#ObjectState:" Arg2="$st3" />
                <eq Arg1="#ObjectState:" Arg2="$st2"></eq>
              </or>
              <neq Arg1="$cup_beer" Arg2="$arg"></neq>
              <neq Arg1="$empty" Arg2="$arg" />
            </Conditions>
            <Operations>
              <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
            </Operations>
          </wrong>
        </Actions>
        <Events>
          <LeftMouse a5="about2" act1="click" a2="click2" a3="about" a4="wrong" />
        </Events>
        <States>
          <first X="155" Y="210" Width="206" Height="166" Enabled="1" Cursor="Zoom" HintX="113" HintY="74" HitTest="Poly:76,-19;152,-13;192,147;8,165;">
            <Effects>
              <Glint />
            </Effects>
          </first>
          <st2 X="160" Y="193" Width="206" Height="183" Enabled="1" Cursor="Gears" HintX="106" HintY="95" HitTest="Rect">
            <Effects>
              <Glint />
            </Effects>
          </st2>
          <st3 X="160" Y="210" Width="206" Height="166" Enabled="1" Cursor="Zoom" HintX="117" HintY="119" HitTest="Rect">
            <Effects>
              <Glint />
            </Effects>
          </st3>
          <off />
        </States>
      </mask_worker>
      <mask_sky>
        <Actions>
          <click>
            <Operations>
              <ShowTextMessage Value="BBT_4_WORKER_HIDE" />
            </Operations>
          </click>
        </Actions>
        <Events>
          <LeftMouse act1="click" />
        </Events>
        <States>
          <off />
          <gen X="693" Y="17" Width="145" Height="121" Enabled="1" Cursor="Ask" HintX="62" HintY="41" HitTest="Poly:-220,-14;453,-10;333,79;294,169;150,198;-72,195;">
            <Effects>
              <Glint />
            </Effects>
          </gen>
        </States>
      </mask_sky>
      <video>
        <Actions>
          <end_ogr>
            <Conditions>
              <eq Arg1="$VIDEO_4_OGR" Arg2="$arg" />
            </Conditions>
            <Operations>
              <ShowHud Value="1" val="1" />
              <ChangeObjectState state="off"></ChangeObjectState>
              <ChangeObjectState state="off" obj="worker"></ChangeObjectState>
              <EnableObject state="1" obj="axe" />
              <Pause time="100" />
              <ShowTextMessage Value="BBT_4_SHOW_OGR" />
              <ChangeObjectState state="gen" obj="mask_sky"></ChangeObjectState>
              <PlayMusic name="music_5" />
            </Operations>
          </end_ogr>
          <end_w>
            <Conditions>
              <eq Arg1="$VIDEO_4_WORKER" Arg2="$arg" />
            </Conditions>
            <Operations>
              <ShowHud Value="1" val="1" />
              <ChangeObjectState state="off"></ChangeObjectState>
              <ChangeObjectState state="general" obj="cup" />
              <ChangeObjectState state="st2" obj="mask_worker"></ChangeObjectState>
              <ChangeObjectState state="v_loop" obj="worker"></ChangeObjectState>
              <PlayMusic name="music_4" />
            </Operations>
          </end_w>
          <start>
            <Operations>
              <ShowHud Value="0" val="0" time="0" />
            </Operations>
          </start>
        </Actions>
        <Events>
          <VideoCompleted act1="end_ogr" a2="end_w" />
          <VideoStarted act1="start" />
        </Events>
        <States>
          <off />
          <v_ogr Movie="VIDEO_4_OGR" Enabled="1" Layer="2" />
          <v_worker Movie="VIDEO_4_WORKER" Enabled="1" Layer="2" X="179" Y="202" HitTest="Poly:-171,-198;1177,-206;1175,502;-163,397;" Width="259" Height="218" />
        </States>
      </video>
      <mask_rain>
        <States>
          <general X="0" Y="0" Width="1366" Height="500">
            <Effects>
              <Leafs file="effects/4_rain.xml" />
            </Effects>
          </general>
          <off />
        </States>
      </mask_rain>
      <mask_drops>
        <States>
          <general X="267" Y="406" Width="777" Height="325" Enabled="1" HitTest="Poly:349,1;587,1;775,328;0,325;">
            <Effects>
              <Splash PerfBound="10" Count="100" ScaleMin="50" ScaleMax="70" TimeMin="300" TimeMax="700" ImageName="IMAGE_PARTICLE_RAINDROP" UseAlpha="0" UseCount="0" UseScale="0" />
            </Effects>
          </general>
          <off />
        </States>
      </mask_drops>
      <water_1>
        <States>
          <general X="596" Y="194" Image="IMAGE_PARTICLE_WATER_2" HitTest="Rect" ScaleY="0.8" Enabled="1"></general>
          <off ScaleY="0.8" ScaleX="0.8" CA="200">
            <Effects>
              <Drop image_anim="NULL" time_drop_in_anim="100" time_pause_min="1000" time_pause_max="2500" image_drop="IMAGE_PARTICLE_DROP" drop1="596,194,590,322,200" />
            </Effects>
          </off>
        </States>
      </water_1>
      <water_3>
        <States>
          <general X="132" Y="-6" Image="IMAGE_PARTICLE_WATER_2" HitTest="Rect" ScaleY="2" ScaleX="1.5" Enabled="1"></general>
          <off ScaleY="1.5" ScaleX="1.5" CA="200">
            <Effects>
              <Drop image_anim="NULL" time_drop_in_anim="100" time_pause_min="1000" time_pause_max="2500" image_drop="IMAGE_PARTICLE_DROP" drop1="132,-6,128,800,200" />
            </Effects>
          </off>
        </States>
      </water_3>
    </Objects>
    <Scenes>
      <S_4_OUTSKIRTS_HAY>
        <Objects>
          <back>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_HAY_BACK" />
            </States>
            <Variables count_to_close="2" />
            <Actions>
              <try_close>
                <Operations>
                  <ChangeVariableValue Image="count_to_close" obj="1" op="-" />
                  <EnableObject value="0" obj="S_4_OUTSKIRTS.mask_hay">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </EnableObject>
                  <Pause time="500">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </Pause>
                  <ChangeScene Image="CloseZoom">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </ChangeScene>
                </Operations>
              </try_close>
            </Actions>
          </back>
          <bone DisplayName="OBJ_4_BONE">
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_HAY_BONE" X="60" Y="366" Enabled="0" Cursor="Hand" HitTest="Rect:-17,-14,207,96"></general>
              <inventory Image="IMAGE_4_OUTSKIRTS_HAY_BONE_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <AddInventoryItem cell="bone" obj="bone" fl="0" sc="1" />
                  <ExecuteAction act="back.try_close" />
                </Operations>
              </take>
            </Actions>
            <Events>
              <LeftMouse act1="take" />
            </Events>
          </bone>
          <ground>
            <States>
              <off />
              <general Image="IMAGE_4_OUTSKIRTS_HAY_GROUND_AFTER" X="0" Y="400"></general>
            </States>
          </ground>
          <hill>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_HAY_HILL" X="0" Y="275"></general>
              <off />
            </States>
          </hill>
          <pliers DisplayName="OBJ_4_PLIERS">
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_HAY_PINCERS" X="348" Y="222" Enabled="0" Cursor="Hand" HitTest="Rect:0,0,231,115"></general>
              <inventory Image="IMAGE_4_OUTSKIRTS_HAY_PINCERS_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <AddInventoryItem cell="pliers" obj="pliers" fl="0" sc="1" />
                  <ExecuteAction act="back.try_close" />
                  <ChangeObjectState state="off" obj="S_4_OUTSKIRTS.pincers"></ChangeObjectState>
                </Operations>
              </take>
              <try_add>
                <Operations>
                  <ChangeVariableValue name="use_count" value="1" op="-" />
                  <AddInventoryItem cell="pliers" obj="pliers">
                    <Conditions>
                      <neq Arg1="use_count" Arg2="$0" />
                    </Conditions>
                  </AddInventoryItem>
                </Operations>
              </try_add>
            </Actions>
            <Events>
              <LeftMouse act1="take" />
            </Events>
            <Variables use_count="1" />
          </pliers>
          <hay>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_HAY_HAY" X="301" Y="145"></general>
              <off />
            </States>
          </hay>
          <mask_use_fork>
            <Actions>
              <click>
                <Conditions>
                  <eq Arg1="$pitchfork" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <EnableObject value="0" />
                  <RemoveInventoryItem Time="0" argCell="pitchfork" />
                  <ChangeObjectState state="v_fork" obj="video" Time="100" />
                </Operations>
              </click>
              <about>
                <Conditions>
                  <eq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_hay_fork_try" />
                  <ShowTextMessage Value="BBT_4_NEED_FORK" />
                </Operations>
              </about>
              <wrong>
                <Conditions>
                  <neq Arg1="$pitchfork" Arg2="$arg"></neq>
                  <neq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                </Operations>
              </wrong>
              <try_add>
                <Operations>
                  <ChangeVariableValue name="use_count" value="1" op="-" />
                  <AddInventoryItem cell="pitchfork" obj="S_3_SQUARE_LANE.pitchfork">
                    <Conditions>
                      <neq Arg1="use_count" Arg2="$0" />
                    </Conditions>
                  </AddInventoryItem>
                </Operations>
              </try_add>
            </Actions>
            <Events>
              <LeftMouse act1="click" act2="about" act3="wrong" />
            </Events>
            <States>
              <general X="296" Y="138" Width="245" Height="182" HintX="46" HintY="78" Cursor="Gears" Enabled="1" HitTest="Poly:3,-113;252,0;332,194;155,276;-148,59;-114,-54;">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
            <Variables use_count="1" />
            <Properties DefaultClickSound="empty" />
          </mask_use_fork>
          <mask_use_scoop>
            <Actions>
              <click>
                <Conditions>
                  <eq Arg1="$scoop" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <EnableObject value="0" />
                  <RemoveInventoryItem Time="0" argCell="scoop" />
                  <ChangeObjectState state="v_scoop" obj="video" Time="100" />
                </Operations>
              </click>
              <about>
                <Conditions>
                  <eq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_hay_scoop_try" />
                  <ShowTextMessage Value="BBT_4_NEED_SCOOP" />
                </Operations>
              </about>
              <wrong>
                <Conditions>
                  <neq Arg1="$scoop" Arg2="$arg"></neq>
                  <neq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                </Operations>
              </wrong>
            </Actions>
            <Events>
              <LeftMouse act1="click" act2="about" act3="wrong" />
            </Events>
            <States>
              <general X="16" Y="288" Width="245" Height="182" HintX="138" HintY="93" Cursor="Gears" Enabled="1" HitTest="Poly:1,-32;96,-60;242,40;295,111;275,192;-12,188;">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
            <Properties DefaultClickSound="empty" />
          </mask_use_scoop>
          <video>
            <Actions>
              <end_f>
                <Conditions>
                  <eq Arg1="$VIDEO_4_USE_FORK" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ChangeObjectState state="off"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="hay"></ChangeObjectState>
                  <EnableObject value="1" obj="pliers" />
                  <ExecuteAction act="mask_use_fork.try_add" />
                  <ChangeObjectState state="off" obj="S_4_OUTSKIRTS.hay"></ChangeObjectState>
                </Operations>
              </end_f>
              <end_s>
                <Conditions>
                  <eq Arg1="$VIDEO_4_USE_SCOOP" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ChangeObjectState state="off"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="hill"></ChangeObjectState>
                  <ChangeObjectState state="general" obj="ground"></ChangeObjectState>
                  <EnableObject value="1" obj="bone" />
                  <ChangeObjectState state="off" obj="S_4_OUTSKIRTS.hole"></ChangeObjectState>
                </Operations>
              </end_s>
            </Actions>
            <Events>
              <VideoCompleted act1="end_f" a2="end_s" />
            </Events>
            <States>
              <off />
              <v_fork Movie="VIDEO_4_USE_FORK" Enabled="1"></v_fork>
              <v_scoop Movie="VIDEO_4_USE_SCOOP" Enabled="1" />
            </States>
          </video>
          <ribbon_2_sh>
            <States>
              <general X="414" Y="28" Image="IMAGE_4_OUTSKIRTS_HAY_RAG_2_SH">
                <Effects>
                  <Grid arg="effects/grid_s4_rag2_sh.xml" />
                </Effects>
              </general>
            </States>
          </ribbon_2_sh>
          <ribbon_1>
            <States>
              <general X="396" Y="15" Image="IMAGE_4_OUTSKIRTS_HAY_RAG_1">
                <Effects>
                  <Grid arg="effects/grid_s4_rag1.xml" />
                </Effects>
              </general>
            </States>
          </ribbon_1>
          <ribbon_2>
            <States>
              <general X="391" Y="11" Image="IMAGE_4_OUTSKIRTS_HAY_RAG_2">
                <Effects>
                  <Grid arg="effects/grid_s4_rag2.xml" />
                </Effects>
              </general>
            </States>
          </ribbon_2>
          <mask_rain>
            <States>
              <general X="0" Y="0" Width="800" Height="500">
                <Effects>
                  <Rain file="effects/rain_4_zoom.xml" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_rain>
          <mask_drops>
            <States>
              <general X="-8" Y="201" Width="368" Height="283" Enabled="1" HitTest="Poly:0,0;139,7;426,277;0,283;">
                <Effects>
                  <Splash PerfBound="10" Count="20" ScaleMin="30" ScaleMax="40" TimeMin="400" TimeMax="700" ImageName="IMAGE_PARTICLE_RAINDROP_3" UseAlpha="0" UseCount="0" UseScale="0" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_drops>
        </Objects>
      </S_4_OUTSKIRTS_HAY>
      <S_4_OUTSKIRTS_CELLAR>
        <Objects>
          <back>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_BACK" />
            </States>
          </back>
          <lock3>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_LOCK3" X="260" Y="140"></general>
              <off />
            </States>
          </lock3>
          <lock2>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_LOCK2" X="260" Y="140"></general>
              <off />
            </States>
          </lock2>
          <lock>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_LOCK1" X="260" Y="140"></general>
              <off />
            </States>
          </lock>
          <door>
            <States>
              <off />
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_DOOR_PUSH" X="10" Y="0"></general>
            </States>
          </door>
          <patch1>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_PATCH_1" X="144" Y="0"></general>
            </States>
          </patch1>
          <patch2>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CELLAR_PATCH_2" X="519" Y="2"></general>
            </States>
          </patch2>
          <grass2>
            <States>
              <general X="-185" Y="350" Image="IMAGE_4_OUTSKIRTS_CELLAR_GRASS_2" CenterX="-150" CenterY="250">
                <Effects>
                  <Oscillation st_min="st_min" st_max="st_max" time="4200" scope="1111" bRand="0" bSmoth="1" />
                </Effects>
              </general>
              <st_max Angle="-2" />
              <st_min Angle="2" />
            </States>
          </grass2>
          <light_add>
            <States>
              <general X="163" Y="5" Image="IMAGE_4_OUTSKIRTS_CELLAR_LIGHT_ADD" DrawMode="Add">
                <Effects>
                  <Oscillation st_min="st_min" st_max="st_max" time="3000" scope="1111" bRand="0" bSmoth="1" />
                </Effects>
              </general>
              <st_max CA="255" />
              <st_min CA="100" />
            </States>
          </light_add>
          <grass1>
            <States>
              <general X="660" Y="560" Image="IMAGE_4_OUTSKIRTS_CELLAR_GRASS_1" CenterX="240" CenterY="290">
                <Effects>
                  <Oscillation st_min="st_min" st_max="st_max" time="3000" scope="1111" bRand="0" bSmoth="1" />
                </Effects>
              </general>
              <st_max Angle="-2" />
              <st_min Angle="2" />
            </States>
          </grass1>
          <mask_use>
            <Actions>
              <click>
                <Conditions>
                  <eq Arg1="$cellar_key" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_cellar_key" />
                  <EnableObject value="0" />
                  <RemoveInventoryItem Time="0" argCell="cellar_key" />
                  <ChangeObjectState state="off" obj="lock" Time="600"></ChangeObjectState>
                  <Pause time="100" />
                  <ChangeObjectState state="off" obj="lock2" Time="400"></ChangeObjectState>
                  <Pause time="100" />
                  <ChangeObjectState state="off" obj="lock3" Time="600" />
                  <EnableObject value="0" obj="S_4_OUTSKIRTS.mask_cellar"></EnableObject>
                  <Pause time="200" />
                  <ChangeObjectState state="go_ho" obj="S_4_OUTSKIRTS.mask_cellar"></ChangeObjectState>
                  <ChangeObjectState state="general" obj="S_4_OUTSKIRTS.cellar" />
                  <ChangeScene Value="CloseZoom" />
                </Operations>
              </click>
              <click2>
                <Conditions>
                  <eq Arg1="$axe" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ClearCursorObject Time="0" argFly="1" />
                  <ShowTextMessage Value="BBT_4_AXE_CELLAR" />
                </Operations>
              </click2>
              <about>
                <Conditions>
                  <eq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_cellar_try" />
                  <ChangeObjectState state="general" obj="door" Time="200"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="door" Time="200" />
                  <ShowTextMessage Value="BBT_4_NEED_KEY" />
                </Operations>
              </about>
              <wrong>
                <Conditions>
                  <neq Arg1="$axe" Arg2="$arg"></neq>
                  <neq Arg1="$cellar_key" Arg2="$arg"></neq>
                  <neq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                </Operations>
              </wrong>
            </Actions>
            <Events>
              <LeftMouse a4="click2" act1="click" act2="about" act3="wrong" />
            </Events>
            <States>
              <general X="168" Y="56" Width="282" Height="314" HintX="131" HintY="162" Cursor="Gears" Enabled="1">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
            <Properties DefaultClickSound="empty" />
          </mask_use>
          <mask_rain>
            <States>
              <general X="0" Y="0" Width="800" Height="500">
                <Effects>
                  <Rain file="effects/rain_4_zoom.xml" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_rain>
          <mask_drops>
            <States>
              <general X="-8" Y="381" Width="485" Height="103" Enabled="1" HitTest="Poly:1,-13;500,77;378,101;7,46;">
                <Effects>
                  <Splash PerfBound="10" Count="20" ScaleMin="50" ScaleMax="60" TimeMin="400" TimeMax="700" ImageName="IMAGE_PARTICLE_RAINDROP" UseAlpha="0" UseCount="0" UseScale="0" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_drops>
        </Objects>
      </S_4_OUTSKIRTS_CELLAR>
      <S_4_OUTSKIRTS_CHEST>
        <Objects>
          <back>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_BACK" />
            </States>
            <Variables count_to_close="3" />
            <Actions>
              <try_close>
                <Operations>
                  <ChangeVariableValue Image="count_to_close" obj="1" op="-" />
                  <EnableObject value="0" obj="S_4_OUTSKIRTS.mask_chest">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </EnableObject>
                  <ChangeScene Image="CloseZoom">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </ChangeScene>
                </Operations>
              </try_close>
            </Actions>
          </back>
          <mask_drops>
            <States>
              <general X="-8" Y="248" Width="806" Height="254" Enabled="1" HitTest="Poly:0,0;96,72;467,114;555,3;806,0;807,254;0,254;">
                <Effects>
                  <Splash PerfBound="10" Count="30" ScaleMin="30" ScaleMax="45" TimeMin="400" TimeMax="700" ImageName="IMAGE_PARTICLE_RAINDROP_3" UseAlpha="0" UseCount="0" UseScale="0" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_drops>
          <pruner DisplayName="OBJ_4_PRUNER">
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_PRUNER" X="299" Y="98" Enabled="0" Cursor="Hand" CenterX="50" HitTest="Rect:0,0,267,88"></general>
              <inventory Image="IMAGE_4_OUTSKIRTS_CHEST_PRUNER_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <AddInventoryItem cell="pruner" obj="pruner" fl="0" sc="1" />
                  <ExecuteAction act="back.try_close" />
                  <ChangeObjectState state="off" obj="S_4_OUTSKIRTS.pruner" />
                </Operations>
              </take>
              <try_add>
                <Operations>
                  <ChangeVariableValue name="use_count" value="1" op="-" />
                  <AddInventoryItem cell="pruner" obj="pruner">
                    <Conditions>
                      <neq Arg1="use_count" Arg2="$0" />
                    </Conditions>
                  </AddInventoryItem>
                </Operations>
              </try_add>
            </Actions>
            <Events>
              <LeftMouse act1="take" />
            </Events>
            <Variables use_count="3" />
          </pruner>
          <anchor DisplayName="OBJ_4_ANCHOR">
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_ANCHOR" X="147" Y="76" Enabled="0" Cursor="Hand" HitTest="Rect:0,0,112,82"></general>
              <inventory Image="IMAGE_4_OUTSKIRTS_CHEST_ANCHOR_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <ShowGetObjectWindow object="anchor" state="inventory" />
                  <AddInventoryItem cell="anchor" />
                  <ExecuteAction act="back.try_close" />
                </Operations>
              </take>
              <try_add>
                <Operations>
                  <ChangeVariableValue name="use_count" value="1" op="-" />
                  <AddInventoryItem cell="pruner" obj="pruner">
                    <Conditions>
                      <neq Arg1="use_count" Arg2="$0" />
                    </Conditions>
                  </AddInventoryItem>
                </Operations>
              </try_add>
            </Actions>
            <Events>
              <LeftMouse act1="take" />
            </Events>
            <Variables use_count="3" />
          </anchor>
          <closed>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_CLOSED" X="19" Y="0"></general>
              <off />
            </States>
          </closed>
          <drag>
            <States>
              <off />
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_DRAG" X="19" Y="0"></general>
            </States>
          </drag>
          <tile>
            <States>
              <off />
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_TILE" X="231" Y="200"></general>
            </States>
          </tile>
          <plant2>
            <States>
              <general X="840" Y="287" Image="IMAGE_4_OUTSKIRTS_CHEST_PLANT_2" CenterX="240" CenterY="233">
                <Effects>
                  <Oscillation st_min="st_min" st_max="st_max" time="5000" scope="1111" bRand="0" bSmoth="1" />
                </Effects>
              </general>
              <st_max Angle="-1" />
              <st_min Angle="1" />
            </States>
          </plant2>
          <boards DisplayName="OBJ_4_BOARDS">
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_CHEST_BOARDS" X="415" Y="256" Enabled="1" Cursor="Hand" CenterX="200"></general>
              <inventory Image="IMAGE_4_OUTSKIRTS_CHEST_BOARDS_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <AddInventoryItem cell="S_4_OUTSKIRTS_BOARDS" obj="boards" nofly="0" fromScene="1" />
                  <ExecuteAction act="back.try_close" />
                  <ChangeObjectState state="off" obj="S_4_OUTSKIRTS.board" />
                </Operations>
              </take>
            </Actions>
            <Events>
              <LeftMouse act1="take" />
            </Events>
          </boards>
          <plant1>
            <States>
              <general X="-5" Y="582" Image="IMAGE_4_OUTSKIRTS_CHEST_PLANT_1" CenterX="10" CenterY="230">
                <Effects>
                  <Oscillation st_min="st_min" st_max="st_max" time="3000" scope="1111" bRand="0" bSmoth="1" />
                </Effects>
              </general>
              <st_max Angle="-2" />
              <st_min Angle="2" />
            </States>
          </plant1>
          <mask_use>
            <Properties DefaultClickSound="empty" />
            <Actions>
              <click>
                <Conditions>
                  <eq Arg1="$item1" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_chest_emblem" />
                  <EnableObject value="0" />
                  <RemoveInventoryItem Time="0" argCell="item1" />
                  <ChangeObjectState state="general" obj="tile" Time="500"></ChangeObjectState>
                  <Pause time="200" />
                  <ChangeObjectState state="off" obj="closed" Time="500" />
                  <EnableObject value="1" obj="pruner"></EnableObject>
                  <EnableObject value="1" obj="anchor" />
                  <ChangeObjectState state="general" obj="S_4_OUTSKIRTS.chest" />
                  <ChangeObjectState state="general" obj="S_4_OUTSKIRTS.pruner" />
                </Operations>
              </click>
              <about>
                <Conditions>
                  <eq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_chest_try" />
                  <ChangeObjectState state="general" obj="drag" Time="200"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="drag" Time="200"></ChangeObjectState>
                  <ShowTextMessage Value="BBT_4_NEED_TILE" />
                </Operations>
              </about>
              <wrong>
                <Conditions>
                  <neq Arg1="$item1" Arg2="$arg"></neq>
                  <neq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                </Operations>
              </wrong>
            </Actions>
            <Events>
              <LeftMouse act1="click" act2="about" act3="wrong" />
            </Events>
            <States>
              <general X="128" Y="44" Width="366" Height="291" HintX="156" HintY="190" Cursor="Gears" Enabled="1" HitTest="Poly:42,-21;453,-1;415,206;344,313;-49,274;-85,43;">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
          </mask_use>
          <mask_rain>
            <States>
              <general X="0" Y="0" Width="800" Height="500">
                <Effects>
                  <Rain file="effects/rain_4_zoom.xml" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_rain>
        </Objects>
      </S_4_OUTSKIRTS_CHEST>
      <S_4_OUTSKIRTS_GATE>
        <Objects>
          <back>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_BACK" />
            </States>
          </back>
          <fog_1>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_FOG_1_ADD_FULL" X="340" Y="-20" Enabled="1" DrawMode="Add" />
            </States>
            <Events>
              <SceneLoad act1="load" />
            </Events>
            <Actions>
              <load Modal="0">
                <Operations>
                  <MoveObjectByTrajectory Value="tr_fog_1" />
                  <ExecuteAction act="load" />
                </Operations>
              </load>
            </Actions>
          </fog_1>
          <fog_12>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_FOG_1_ADD_FULL" X="340" Y="-20" Enabled="1" DrawMode="Add" />
            </States>
            <Events>
              <SceneLoad act1="load" />
            </Events>
            <Actions>
              <load Modal="0">
                <Operations>
                  <MoveObjectByTrajectory Value="tr_fog_1_2" />
                  <ExecuteAction act="loop" />
                </Operations>
              </load>
              <loop Modal="0">
                <Operations>
                  <MoveObjectByTrajectory Value="tr_fog_1" />
                  <ExecuteAction act="loop" />
                </Operations>
              </loop>
            </Actions>
          </fog_12>
          <chain_back_2>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_CHAIN_BACK_2" X="218" Y="165"></general>
              <off />
            </States>
          </chain_back_2>
          <chain_back_1>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_CHAIN_BACK_1" X="7" Y="197"></general>
              <off />
            </States>
          </chain_back_1>
          <gate>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_GATE" X="0" Y="0"></general>
            </States>
          </gate>
          <maska_sh>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_MASK_SH" X="226" Y="29"></general>
              <off />
            </States>
            <Actions>
              <hide>
                <Operations>
                  <ChangeObjectState state="off" Time="100" />
                </Operations>
              </hide>
            </Actions>
          </maska_sh>
          <maska>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_MASK" X="335" Y="185" CenterX="62" CenterY="111"></general>
            </States>
          </maska>
          <patch>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_PATCH" X="341" Y="1"></general>
            </States>
          </patch>
          <board>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_SIGNBOARD_1" X="165" Y="222" CenterX="70" CenterY="60"></general>
              <off />
            </States>
            <Actions>
              <move>
                <Operations>
                  <MoveObjectByTrajectory Value="tr_board"></MoveObjectByTrajectory>
                </Operations>
              </move>
            </Actions>
          </board>
          <chains>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_GATE_CHAINS_1" X="6" Y="123"></general>
              <fx X="6" Y="123" Image="IMAGE_4_OUTSKIRTS_GATE_CHAINS_1">
                <Effects>
                  <Transform time="0.352,0.717" trajectory="S_4_OUTSKIRTS_GATE.tr_chain" bLoop="1" />
                </Effects>
              </fx>
              <off />
            </States>
          </chains>
          <mask_use>
            <Actions>
              <click>
                <Conditions>
                  <eq Arg1="$acid" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <EnableObject value="0" />
                  <RemoveInventoryItem Time="0" argCell="acid" />
                  <ChangeObjectState state="general" obj="video" Time="100"></ChangeObjectState>
                </Operations>
              </click>
              <about>
                <Conditions>
                  <eq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <PlaySoundSample name="s_4_gate_try" />
                  <ExecuteAction act="board.move" />
                  <ChangeObjectState state="fx" obj="chains"></ChangeObjectState>
                  <Pause time="400"></Pause>
                  <ChangeObjectState state="general" obj="chains"></ChangeObjectState>
                  <ShowTextMessage Value="BBT_4_NEED_ACID" />
                </Operations>
              </about>
              <wrong>
                <Conditions>
                  <neq Arg1="$acid" Arg2="$arg"></neq>
                  <neq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                </Operations>
              </wrong>
            </Actions>
            <Events>
              <LeftMouse act1="click" act2="about" act3="wrong" />
            </Events>
            <States>
              <general X="53" Y="65" Width="504" Height="390" HintX="259" HintY="225" Cursor="Gears" Enabled="0">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
            <Properties DefaultClickSound="empty" />
          </mask_use>
          <mask_maska>
            <Actions>
              <click>
                <Operations>
                  <PlaySoundSample name="s_4_gate_mask_fall" />
                  <EnableObject value="0"></EnableObject>
                  <ExecuteAction act="maska_sh.hide" />
                  <MoveObjectByTrajectory Value="tr_fall" obj="maska"></MoveObjectByTrajectory>
                  <ShowTextMessage Value="BBT_4_MASK_FALL" />
                  <EnableObject value="1" obj="mask_use" />
                </Operations>
              </click>
            </Actions>
            <Events>
              <LeftMouse act1="click" />
            </Events>
            <States>
              <general X="20" Y="42" Width="602" Height="416" HintX="291" HintY="103" Cursor="Hand" Enabled="1">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
            <Variables hint="1" />
          </mask_maska>
          <video>
            <Actions>
              <end>
                <Conditions>
                  <eq Arg1="$VIDEO_4_ACID" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ChangeObjectState state="off"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="chains"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="chain_back_2"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="chain_back_1"></ChangeObjectState>
                  <ChangeObjectState state="off" obj="board"></ChangeObjectState>
                  <Pause time="300" />
                  <ExecuteAction act="S_4_OUTSKIRTS.mask_gate.change" />
                  <ChangeScene Value="CloseZoom" />
                </Operations>
              </end>
            </Actions>
            <Events>
              <VideoCompleted act1="end" />
            </Events>
            <States>
              <off />
              <general Movie="VIDEO_4_ACID" Enabled="1" X="0" Y="118" />
            </States>
          </video>
          <mask_rain>
            <States>
              <general X="0" Y="0" Width="800" Height="500">
                <Effects>
                  <Rain file="effects/rain_4_zoom.xml" />
                </Effects>
              </general>
              <off />
            </States>
          </mask_rain>
        </Objects>
        <Trajectories>
          <tr_chain>
            <TrajectoryPoints>
              <start Time="0" X="229" Y="379"></start>
              <start Time="200" X="234" Y="376"></start>
              <start Time="400" X="229" Y="379"></start>
            </TrajectoryPoints>
          </tr_chain>
          <tr_fall>
            <TrajectoryPoints>
              <start Time="0" X="335" Y="185" Angle="0" ScaleX="1" ScaleY="1"></start>
              <start Time="700" X="350" Y="230" Angle="-90" ScaleX="0.85" ScaleY="0.85"></start>
              <start Time="1500" X="365" Y="487" Angle="-179" ScaleX="0.70" ScaleY="0.70"></start>
            </TrajectoryPoints>
          </tr_fall>
          <tr_board>
            <TrajectoryPoints>
              <start Time="0" ScaleX="1" ScaleY="1"></start>
              <start Time="200" ScaleX="1.01" ScaleY="1.01"></start>
              <start Time="400" ScaleX="1" ScaleY="1"></start>
            </TrajectoryPoints>
          </tr_board>
          <tr_fog_1>
            <TrajectoryPoints>
              <start Time="0" X="608"></start>
              <start Time="50000" X="-876"></start>
            </TrajectoryPoints>
          </tr_fog_1>
          <tr_fog_1_2>
            <TrajectoryPoints>
              <start Time="0" X="-128"></start>
              <start Time="25300" X="-876"></start>
            </TrajectoryPoints>
          </tr_fog_1_2>
        </Trajectories>
      </S_4_OUTSKIRTS_GATE>
      <S_4_OUTSKIRTS_REEDS>
        <Objects>
          <frame2>
            <States>
              <general X="0" Y="0" Width="640" Height="480" />
            </States>
          </frame2>
          <frame>
            <States>
              <general X="0" Y="0" Width="640" Height="960" Enabled="1" />
            </States>
            <Objects>
              <back>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_BACK" />
                </States>
                <Actions>
                  <try_close>
                    <Operations>
                      <ChangeVariableValue Image="count_to_close" obj="1" op="-" />
                      <ChangeScene Image="CloseZoom">
                        <Conditions>
                          <eq Arg1="count_to_close" Arg2="$0" />
                        </Conditions>
                      </ChangeScene>
                      <ChangeObjectState state="st_msg" obj="S_4_OUTSKIRTS.mask_gate">
                        <Conditions>
                          <eq Arg1="count_to_close" Arg2="$0" />
                        </Conditions>
                      </ChangeObjectState>
                    </Operations>
                  </try_close>
                </Actions>
                <Variables count_to_close="2" />
              </back>
              <sky>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_SKY" X="710" Y="170" Enabled="1" CenterX="690" CenterY="190" ClipRect="0,0,640,265" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_sky1"></MoveObjectByTrajectory>
                      <MoveObjectByTrajectory Value="tr_sky2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </sky>
              <sky2>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_SKY" X="710" Y="170" Enabled="1" CenterX="690" CenterY="190" ClipRect="0,0,640,265" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_sky2"></MoveObjectByTrajectory>
                      <MoveObjectByTrajectory Value="tr_sky1" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </sky2>
              <patch>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_PATCH" Y="85" />
                </States>
              </patch>
              <mask_rain_back>
                <States>
                  <general X="0" Y="0" Width="700" Height="250">
                    <Effects>
                      <Leafs file="effects/4_rain_back_r.xml" />
                    </Effects>
                  </general>
                  <off />
                </States>
              </mask_rain_back>
              <mask_drops_0>
                <States>
                  <general X="-8" Y="376" Width="650" Height="204" Enabled="1">
                    <Effects>
                      <Splash PerfBound="10" Count="120" ScaleMin="10" ScaleMax="40" TimeMin="400" TimeMax="700" ImageName="IMAGE_PARTICLE_RAINDROP_2" UseAlpha="0" UseCount="0" UseScale="0" />
                    </Effects>
                  </general>
                  <off />
                </States>
              </mask_drops_0>
              <mask_drops>
                <States>
                  <general X="-15" Y="729" Width="615" Height="477" Enabled="1" HitTest="Poly:163,52;237,9;341,3;605,124;554,196;577,332;518,471;18,470;20,140;191,142;">
                    <Effects>
                      <Splash PerfBound="10" Count="50" ScaleMin="30" ScaleMax="45" TimeMin="400" TimeMax="700" ImageName="IMAGE_PARTICLE_RAINDROP_3" UseAlpha="0" UseCount="0" UseScale="0" />
                    </Effects>
                  </general>
                  <off />
                </States>
              </mask_drops>
              <mask_foot>
                <Actions>
                  <about>
                    <Operations>
                      <ShowTextMessage Value="BBT_4_MSG_FOOT" />
                    </Operations>
                  </about>
                </Actions>
                <Events>
                  <LeftMouse act2="about" />
                </Events>
                <States>
                  <general X="186" Y="738" Width="273" Height="122" HintX="156" HintY="190" Cursor="Zoom" Enabled="0" HitTest="Rect">
                    <Effects>
                      <Glint />
                    </Effects>
                  </general>
                </States>
              </mask_foot>
              <add_thorn_back>
                <States>
                  <general X="143" Y="745" Image="IMAGE_4_OUTSKIRTS_REEDS_ADD_THORN_BACK" DrawMode="Add">
                    <Effects>
                      <Oscillation st_min="st_min" st_max="st_max" time="4000" scope="1111" bRand="0" bSmoth="1" />
                    </Effects>
                  </general>
                  <st_min CA="50" />
                  <st_max CA="255" />
                </States>
              </add_thorn_back>
              <part1 DisplayName="OBJ_4_PART_1">
                <Actions>
                  <take>
                    <Operations>
                      <AddInventoryItem cell="S_4_OUTSKIRTS_MONEYBOX" obj="part1" fl="0" sc="1"></AddInventoryItem>
                      <Pause time="1000" />
                      <ExecuteAction act="back.try_close" />
                    </Operations>
                  </take>
                </Actions>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_PART1" X="193" Y="833" Cursor="Hand" HitTest="Rect:0,35,203,190" />
                  <inventory Image="IMAGE_4_OUTSKIRTS_REEDS_PART1_INV"></inventory>
                </States>
                <Events>
                  <LeftMouse act1="take" />
                </Events>
              </part1>
              <thorns_broken>
                <States>
                  <off />
                  <general X="210" Y="897" Image="IMAGE_4_OUTSKIRTS_REEDS_THORNS_BROKEN" />
                </States>
              </thorns_broken>
              <thorn_4>
                <States>
                  <general X="298" Y="1004" Image="IMAGE_4_OUTSKIRTS_REEDS_THORN_4" CenterX="95" CenterY="128" />
                  <off />
                </States>
                <Actions>
                  <drag>
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_drag" />
                    </Operations>
                  </drag>
                </Actions>
              </thorn_4>
              <thorn_3>
                <States>
                  <general X="220" Y="974" Image="IMAGE_4_OUTSKIRTS_REEDS_THORN_3" CenterX="26" CenterY="92" />
                  <off />
                </States>
                <Actions>
                  <drag>
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_drag" />
                    </Operations>
                  </drag>
                </Actions>
              </thorn_3>
              <thorn_2>
                <States>
                  <general X="339" Y="947" CenterX="107" CenterY="155" Image="IMAGE_4_OUTSKIRTS_REEDS_THORN_2" />
                  <off />
                </States>
                <Actions>
                  <drag>
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_drag" />
                    </Operations>
                  </drag>
                </Actions>
              </thorn_2>
              <thorn_1>
                <States>
                  <general X="289" Y="1041" Image="IMAGE_4_OUTSKIRTS_REEDS_THORN_1" CenterX="106" CenterY="124" />
                  <off />
                </States>
                <Actions>
                  <drag>
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_drag" />
                    </Operations>
                  </drag>
                </Actions>
              </thorn_1>
              <thorn_1_add>
                <States>
                  <general X="188" Y="790" Image="IMAGE_4_OUTSKIRTS_REEDS_THORN_1_ADD" DrawMode="Add">
                    <Effects>
                      <Oscillation st_min="st_min" st_max="st_max" time="4000" scope="1111" bRand="0" bSmoth="1" />
                    </Effects>
                  </general>
                  <st_min CA="50" />
                  <st_max CA="255" />
                  <off />
                </States>
              </thorn_1_add>
              <video>
                <Actions>
                  <end>
                    <Conditions>
                      <eq Arg1="$VIDEO_4_PRUNER" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ChangeObjectState state="off"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="thorns_broken"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="thorn_1_add"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="thorn_1"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="thorn_2"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="thorn_3"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="thorn_4"></ChangeObjectState>
                      <EnableObject value="1" obj="part1"></EnableObject>
                      <EnableObject value="1" obj="mask_foot" />
                      <ExecuteAction act="S_4_OUTSKIRTS_CHEST.pruner.try_add" />
                    </Operations>
                  </end>
                </Actions>
                <Events>
                  <VideoCompleted act1="end" />
                </Events>
                <States>
                  <off />
                  <general Movie="VIDEO_4_PRUNER" Enabled="1" Y="720" X="0" />
                </States>
              </video>
              <mask_use>
                <Properties DefaultClickSound="empty" />
                <Actions>
                  <click>
                    <Conditions>
                      <eq Arg1="$pruner" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <EnableObject value="0" />
                      <RemoveInventoryItem argCell="pruner" />
                      <ChangeObjectState state="general" obj="video" Time="100"></ChangeObjectState>
                    </Operations>
                  </click>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_reeds_try" />
                      <ExecuteAction act="thorn_1.drag"></ExecuteAction>
                      <ExecuteAction act="thorn_2.drag"></ExecuteAction>
                      <ExecuteAction act="thorn_3.drag"></ExecuteAction>
                      <ExecuteAction act="thorn_4.drag"></ExecuteAction>
                      <Pause time="800" />
                      <ShowTextMessage Value="BBT_4_NEED_PRUNER"></ShowTextMessage>
                    </Operations>
                  </about>
                  <wrong>
                    <Conditions>
                      <neq Arg1="$pruner" Arg2="$arg"></neq>
                      <neq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse act1="click" act2="about" act3="wrong" />
                </Events>
                <States>
                  <general X="134" Y="841" Width="330" Height="257" HintX="214" HintY="53" Cursor="Gears" Enabled="1" HitTest="Rect">
                    <Effects>
                      <Glint />
                    </Effects>
                  </general>
                </States>
              </mask_use>
              <mask1_1 DisplayName="OBJ_4_MASK_1_1">
                <Actions>
                  <take>
                    <Operations>
                      <ShowGetObjectWindow object="mask1_1" state="inventory" />
                      <AddInventoryItem cell="mask1_1" />
                      <ExecuteAction act="back.try_close" />
                      <ExecuteAction act="S_3_SQUARE_PORCH.mask_mg_hint.try_hint" />
                    </Operations>
                  </take>
                </Actions>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_MASK" X="430" Y="991" Cursor="Hand" Enabled="0" HitTest="Rect:0,0,114,106" />
                  <inventory Image="IMAGE_4_OUTSKIRTS_REEDS_MASK_INV"></inventory>
                </States>
                <Events>
                  <LeftMouse act1="take" />
                </Events>
              </mask1_1>
              <grass1>
                <States>
                  <general X="550" Y="1230" Image="IMAGE_4_OUTSKIRTS_REEDS_GRASS" CenterX="66" CenterY="230">
                    <Effects>
                      <Oscillation st_min="st_min" st_max="st_max" time="2000" scope="1111" bRand="0" bSmoth="1" />
                    </Effects>
                  </general>
                  <st_max Angle="-1" />
                  <st_min Angle="1" />
                </States>
              </grass1>
              <fog_1>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_1" X="340" Y="400" Enabled="1" DrawMode="Add" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_1" />
                      <ExecuteAction act="load" />
                    </Operations>
                  </load>
                </Actions>
              </fog_1>
              <fog_12>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_1" X="340" Y="400" Enabled="1" DrawMode="Add" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_1_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_1" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </fog_12>
              <fog_2>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_2" X="340" Y="300" Enabled="1" DrawMode="Add" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2" />
                      <ExecuteAction act="load" />
                    </Operations>
                  </load>
                </Actions>
              </fog_2>
              <fog_22>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_2" X="340" Y="300" Enabled="1" DrawMode="Add" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </fog_22>
              <fog_3>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_3" X="588" Y="330" Enabled="1" DrawMode="Add" Angle="0.001" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <Pause time="2000" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </fog_3>
              <fog_32>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_3" X="340" Y="330" Enabled="1" DrawMode="Add" Angle="0.001" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </fog_32>
              <fog_4>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_4" X="340" Y="350" Enabled="1" DrawMode="Add" Angle="0.001" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_2" />
                      <ExecuteAction act="load" />
                    </Operations>
                  </load>
                </Actions>
              </fog_4>
              <fog_42>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_REEDS_FOG_4" X="340" Y="350" Enabled="1" DrawMode="Add" Angle="0.001" />
                </States>
                <Events>
                  <SceneLoad act1="load" />
                </Events>
                <Actions>
                  <load Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_1_2" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </load>
                  <loop Modal="0">
                    <Operations>
                      <MoveObjectByTrajectory Value="tr_fog_1" />
                      <ExecuteAction act="loop" />
                    </Operations>
                  </loop>
                </Actions>
              </fog_42>
              <mask_rain>
                <States>
                  <general X="0" Y="0" Width="700" Height="600">
                    <Effects>
                      <Rain file="effects/rain_4_zoom.xml" />
                    </Effects>
                  </general>
                  <st_down X="0" Y="730" Width="700" Height="450" CA="0">
                    <Effects>
                      <Rain file="effects/rain_5_br.xml" />
                    </Effects>
                  </st_down>
                  <off />
                </States>
              </mask_rain>
            </Objects>
          </frame>
          <mask_first>
            <Actions>
              <click>
                <Operations>
                  <ChangeObjectState state="off" />
                  <ShowTextMessage Value="BBT_4_NO_WAY"></ShowTextMessage>
                  <Pause time="800" />
                  <MoveObjectByTrajectory Value="tr_down" obj="frame" />
                  <EnableObject value="1" obj="mask1_1" />
                  <ChangeObjectState state="st_down" obj="mask_rain" Time="500" />
                </Operations>
              </click>
            </Actions>
            <Events>
              <LeftMouse act1="click" />
            </Events>
            <States>
              <general X="23" Y="0" Width="617" Height="480" Enabled="1" HitTest="Rect" Layer="2">
                <Effects>
                  <Glint />
                </Effects>
              </general>
              <off />
            </States>
            <Variables hint="1" />
          </mask_first>
        </Objects>
        <Trajectories>
          <tr_down>
            <TrajectoryPoints>
              <start Time="0" X="0" Y="0"></start>
              <start Time="1500" X="0" Y="-720"></start>
            </TrajectoryPoints>
          </tr_down>
          <tr_drag>
            <TrajectoryPoints>
              <start Time="0" Angle="0"></start>
              <start Time="500" Angle="-1"></start>
              <start Time="800" Angle="0.5"></start>
              <start Time="1000" Angle="0"></start>
            </TrajectoryPoints>
          </tr_drag>
          <tr_fog_1>
            <TrajectoryPoints>
              <start Time="0" X="614"></start>
              <start Time="50000" X="-290"></start>
            </TrajectoryPoints>
          </tr_fog_1>
          <tr_fog_1_2>
            <TrajectoryPoints>
              <start Time="0" X="280"></start>
              <start Time="31500" X="-290"></start>
            </TrajectoryPoints>
          </tr_fog_1_2>
          <tr_fog_2>
            <TrajectoryPoints>
              <start Time="0" X="584"></start>
              <start Time="100000" X="-426"></start>
            </TrajectoryPoints>
          </tr_fog_2>
          <tr_fog_2_2>
            <TrajectoryPoints>
              <start Time="0" X="80"></start>
              <start Time="50000" X="-426"></start>
            </TrajectoryPoints>
          </tr_fog_2_2>
          <tr_sky1>
            <TrajectoryPoints>
              <start Time="0" ScaleX="1" ScaleY="1" CA="0"></start>
              <start Time="3000" ScaleX="1.1" ScaleY="1.13" CA="255"></start>
              <start Time="4500" ScaleX="1.15" ScaleY="1.195" CA="255"></start>
            </TrajectoryPoints>
          </tr_sky1>
          <tr_sky2>
            <TrajectoryPoints>
              <start Time="0" ScaleX="1.15" ScaleY="1.195" CA="255"></start>
              <start Time="1500" ScaleX="1.2" ScaleY="1.26" CA="255"></start>
              <start Time="4500" ScaleX="1.3" ScaleY="1.4" CA="0"></start>
            </TrajectoryPoints>
          </tr_sky2>
        </Trajectories>
      </S_4_OUTSKIRTS_REEDS>
      <S_4_OUTSKIRTS_BOARDS Border="button">
        <Objects>
          <frame>
            <States>
              <general X="0" Y="0" Width="1024" Height="600" Enabled="1" CenterX="0" CenterY="0"></general>
            </States>
            <Objects>
              <board3>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_3" X="224" Y="152"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_3" X="232" Y="85" Layer="1" />
                </States>
                <Objects>
                  <rough3_1>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_ROUGH_3_1" X="0" Y="0"></general>
                      <off />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="rough3_1" />
                        </Operations>
                      </move>
                    </Actions>
                  </rough3_1>
                  <rough3_2>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_ROUGH_3_2" X="0" Y="0"></general>
                      <off />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="rough3_2" />
                        </Operations>
                      </move>
                    </Actions>
                  </rough3_2>
                </Objects>
              </board3>
              <board3_d>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_3_D" X="224" Y="152"></general>
                  <off />
                </States>
                <Actions>
                  <hide>
                    <Operations>
                      <ChangeObjectState state="off" Time="300" />
                    </Operations>
                  </hide>
                </Actions>
              </board3_d>
              <board2>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_2" X="245" Y="132"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_2" X="118" Y="26" />
                </States>
                <Objects>
                  <rough2_1>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_ROUGH_2_1" X="0" Y="0"></general>
                      <off />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="rough2_1" />
                        </Operations>
                      </move>
                    </Actions>
                  </rough2_1>
                  <rough2_2>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_ROUGH_2_2" X="0" Y="0"></general>
                      <off />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="rough2_2" />
                        </Operations>
                      </move>
                    </Actions>
                  </rough2_2>
                </Objects>
              </board2>
              <board3_1>
                <States>
                  <empty />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_3" X="232" Y="85" Layer="1" />
                </States>
              </board3_1>
              <board2_d>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_2_D" X="245" Y="132"></general>
                  <off />
                </States>
                <Actions>
                  <hide>
                    <Operations>
                      <ChangeObjectState state="off" Time="300" />
                    </Operations>
                  </hide>
                </Actions>
              </board2_d>
              <board1>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_1" X="250" Y="114"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_1" X="355" Y="149" />
                  <off />
                </States>
                <Objects>
                  <rough1_1>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_ROUGH_1_1" X="0" Y="0"></general>
                      <off />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="rough1_2" />
                        </Operations>
                      </move>
                    </Actions>
                  </rough1_1>
                  <rough1_2>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_PLANK_ROUGH_1_2" X="0" Y="0"></general>
                      <off />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="rough1_2" />
                        </Operations>
                      </move>
                    </Actions>
                  </rough1_2>
                </Objects>
              </board1>
              <rope>
                <States>
                  <general Width="458" Height="318" X="328" Y="135"></general>
                  <off />
                </States>
                <Objects>
                  <rope1cut>
                    <States>
                      <empty />
                      <general X="4" Y="167" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE1CUT" />
                    </States>
                    <Actions>
                      <show>
                        <Operations>
                          <ChangeObjectState obj="general" Time="300"></ChangeObjectState>
                        </Operations>
                      </show>
                    </Actions>
                  </rope1cut>
                  <rope2cut>
                    <States>
                      <empty />
                      <general X="15" Y="152" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE2CUT" />
                    </States>
                    <Actions>
                      <show>
                        <Operations>
                          <ChangeObjectState obj="general" Time="300"></ChangeObjectState>
                        </Operations>
                      </show>
                    </Actions>
                  </rope2cut>
                  <rope3cut>
                    <States>
                      <empty />
                      <general X="102" Y="108" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE3CUT" />
                    </States>
                    <Actions>
                      <show>
                        <Operations>
                          <ChangeObjectState obj="general" Time="300"></ChangeObjectState>
                        </Operations>
                      </show>
                    </Actions>
                  </rope3cut>
                  <rope4cut>
                    <States>
                      <empty />
                      <general X="183" Y="72" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE4CUT" />
                    </States>
                    <Actions>
                      <show>
                        <Operations>
                          <ChangeObjectState obj="general" Time="300"></ChangeObjectState>
                        </Operations>
                      </show>
                    </Actions>
                  </rope4cut>
                  <rope5cut>
                    <States>
                      <empty />
                      <general X="205" Y="14" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE5CUT" />
                    </States>
                    <Actions>
                      <show>
                        <Operations>
                          <ChangeObjectState obj="general" Time="300"></ChangeObjectState>
                        </Operations>
                      </show>
                    </Actions>
                  </rope5cut>
                  <rope6cut>
                    <States>
                      <empty />
                      <general X="336" Y="1" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE6CUT" />
                    </States>
                    <Actions>
                      <show>
                        <Operations>
                          <ChangeObjectState obj="general" Time="300"></ChangeObjectState>
                        </Operations>
                      </show>
                    </Actions>
                  </rope6cut>
                  <pruner_2>
                    <States>
                      <st1 X="330" Y="0" Image="IMAGE_4_OUTSKIRTS_BOARDS_PRUNER_2" CA="0" CenterX="55" CenterY="135" />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="pruner1" />
                          <ExecuteAction obj="cut" />
                          <MoveObjectByTrajectory obj="pruner2" />
                          <MoveObjectByTrajectory obj="pruner3" />
                          <StopAction obj="cut" />
                        </Operations>
                      </move>
                      <cut>
                        <Operations>
                          <MoveObjectByTrajectory obj="pruner2_cut" />
                          <ExecuteAction obj="cut" />
                        </Operations>
                      </cut>
                    </Actions>
                  </pruner_2>
                  <rope1>
                    <States>
                      <general X="0" Y="165" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE1" />
                      <empty />
                    </States>
                    <Actions>
                      <change>
                        <Operations>
                          <Pause obj="3000"></Pause>
                          <ExecuteAction obj="rope1cut.show" />
                          <ChangeObjectState obj="empty" Time="300"></ChangeObjectState>
                        </Operations>
                      </change>
                    </Actions>
                  </rope1>
                  <rope2>
                    <States>
                      <general X="17" Y="149" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE2" />
                      <empty />
                    </States>
                    <Actions>
                      <change>
                        <Operations>
                          <Pause obj="3000"></Pause>
                          <ExecuteAction obj="rope2cut.show" />
                          <ChangeObjectState obj="empty" Time="300"></ChangeObjectState>
                        </Operations>
                      </change>
                    </Actions>
                  </rope2>
                  <rope3>
                    <States>
                      <general X="104" Y="99" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE3" />
                      <empty />
                    </States>
                    <Actions>
                      <change>
                        <Operations>
                          <Pause obj="1700"></Pause>
                          <ExecuteAction obj="rope3cut.show" />
                          <ChangeObjectState obj="empty" Time="300"></ChangeObjectState>
                        </Operations>
                      </change>
                    </Actions>
                  </rope3>
                  <rope4>
                    <States>
                      <general X="180" Y="69" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE4" />
                      <empty />
                    </States>
                    <Actions>
                      <change>
                        <Operations>
                          <Pause obj="1700"></Pause>
                          <ExecuteAction obj="rope4cut.show" />
                          <ChangeObjectState obj="empty" Time="300"></ChangeObjectState>
                        </Operations>
                      </change>
                    </Actions>
                  </rope4>
                  <rope5>
                    <States>
                      <general X="210" Y="8" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE5" />
                      <empty />
                    </States>
                    <Actions>
                      <change>
                        <Operations>
                          <Pause obj="500"></Pause>
                          <ExecuteAction obj="rope5cut.show" />
                          <ChangeObjectState obj="empty" Time="300"></ChangeObjectState>
                        </Operations>
                      </change>
                    </Actions>
                  </rope5>
                  <rope6>
                    <States>
                      <general X="330" Y="0" Image="IMAGE_4_OUTSKIRTS_BOARDS_ROPE6" />
                      <empty />
                    </States>
                    <Actions>
                      <change>
                        <Operations>
                          <ExecuteAction obj="rope6cut.show" />
                          <ChangeObjectState obj="empty" Time="300"></ChangeObjectState>
                        </Operations>
                      </change>
                    </Actions>
                  </rope6>
                  <pruner_1>
                    <States>
                      <st1 X="330" Y="0" Image="IMAGE_4_OUTSKIRTS_BOARDS_PRUNER_1" CA="0" CenterX="81" CenterY="58" />
                    </States>
                    <Actions>
                      <move>
                        <Operations>
                          <MoveObjectByTrajectory obj="pruner1" />
                          <ExecuteAction obj="cut" />
                          <ExecuteAction obj="rope1.change" />
                          <ExecuteAction obj="rope2.change" />
                          <ExecuteAction obj="rope3.change" />
                          <ExecuteAction obj="rope4.change" />
                          <ExecuteAction obj="rope5.change" />
                          <ExecuteAction obj="rope6.change" />
                          <MoveObjectByTrajectory obj="pruner2" />
                          <MoveObjectByTrajectory obj="pruner3" />
                          <StopAction obj="cut" />
                          <ChangeObjectState state="hand" obj="mask_rope" />
                          <ChangeVariableValue state="mask_rope.hint" obj="1" />
                          <ExecuteAction act="S_4_OUTSKIRTS_CHEST.pruner.try_add" />
                        </Operations>
                      </move>
                      <cut>
                        <Operations>
                          <MoveObjectByTrajectory obj="pruner1_cut" />
                          <ExecuteAction obj="cut" />
                        </Operations>
                      </cut>
                    </Actions>
                  </pruner_1>
                </Objects>
              </rope>
              <small_3_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_3_SH" X="535" Y="72" Layer="2"></general>
                </States>
              </small_3_sh>
              <small_3>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
                <Actions>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_3" X="703" Y="247"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_3" X="536" Y="51" Layer="2" />
                </States>
              </small_3>
              <small_2_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_2_SH" X="382" Y="144" Layer="2"></general>
                </States>
              </small_2_sh>
              <small_2>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
                <Actions>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_2" X="595" Y="282"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_2" X="385" Y="124" Layer="2" />
                </States>
              </small_2>
              <small_1_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_1_SH" X="216" Y="219" Layer="2"></general>
                </States>
              </small_1_sh>
              <small_1>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_1" X="625" Y="230" Enabled="1" HitTest="Rect:-27,0,326,184"></general>
                  <cursor Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_1_CUR" X="625" Y="230" />
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_SMALL_1_CUR" X="219" Y="201" Enabled="0" Layer="2" />
                </States>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
                <Actions>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
              </small_1>
              <tool_box>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_HINT_TOOL_BOX" X="550" Y="200"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_TOOL_BOX" X="562" Y="211" />
                </States>
              </tool_box>
              <hint_saw>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_HINT_SAWING" X="523" Y="217"></general>
                </States>
              </hint_saw>
              <hint_small>
                <States>
                  <off Image="IMAGE_4_OUTSKIRTS_BOARDS_HINT_SMALL" X="205" Y="38" Layer="2" CA="0" />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_HINT_SMALL" X="205" Y="38" Layer="2"></general>
                </States>
              </hint_small>
              <hint_nails>
                <States>
                  <off Image="IMAGE_4_OUTSKIRTS_BOARDS_HINT_NAILS" X="290" Y="0" Layer="3" CA="0" />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_HINT_NAILS" X="290" Y="0" Layer="3"></general>
                </States>
              </hint_nails>
              <nail_1_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_1_SH" X="393" Y="293" Layer="3"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="200" />
                    </Operations>
                  </show>
                </Actions>
              </nail_1_sh>
              <nail_1>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL" X="384" Y="-88" Layer="3" CA="0"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_CAP" X="384" Y="286" Layer="3" />
                  <off />
                </States>
              </nail_1>
              <nail_2_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_2_SH" X="305" Y="250" Layer="3"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="200" />
                    </Operations>
                  </show>
                </Actions>
              </nail_2_sh>
              <nail_2>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL" X="299" Y="-130" Layer="3" CA="0"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_CAP" X="299" Y="246" Layer="3" />
                  <off />
                </States>
              </nail_2>
              <nail_3_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_3_SH" X="558" Y="217" Layer="3"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="200" />
                    </Operations>
                  </show>
                </Actions>
              </nail_3_sh>
              <nail_3>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL" X="549" Y="-162" Layer="3" CA="0"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_CAP" X="549" Y="214" Layer="3" />
                  <off />
                </States>
              </nail_3>
              <nail_4_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_4_SH" X="464" Y="171" Layer="3"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="200" />
                    </Operations>
                  </show>
                </Actions>
              </nail_4_sh>
              <nail_4>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL" X="456" Y="-211" Layer="3" CA="0"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_CAP" X="456" Y="164" Layer="3" />
                  <off />
                </States>
              </nail_4>
              <nail_5_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_5_SH" X="712" Y="140" Layer="3"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="200" />
                    </Operations>
                  </show>
                </Actions>
              </nail_5_sh>
              <nail_5>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL" X="703" Y="-242" Layer="3" CA="0"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_CAP" X="703" Y="133" Layer="3" />
                  <off />
                </States>
              </nail_5>
              <nail_6_sh>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_6_SH" X="618" Y="97" Layer="3"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="200" />
                    </Operations>
                  </show>
                </Actions>
              </nail_6_sh>
              <nail_6>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL" X="611" Y="-286" Layer="3" CA="0"></general>
                  <st2 Image="IMAGE_4_OUTSKIRTS_BOARDS_NAIL_CAP" X="611" Y="90" Layer="3" />
                  <off />
                </States>
              </nail_6>
              <saw>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_SAW" X="304" Y="457" Enabled="1" Cursor="Hand" HitTest="Rect:-4,0,332,100"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="500" />
                    </Operations>
                  </show>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
              </saw>
              <nails>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_NAILS" X="645" Y="468" Enabled="1" HitTest="Rect" Cursor="Hand"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="500" />
                    </Operations>
                  </show>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
              </nails>
              <jack_plane>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_JACK_PLANE" X="104" Y="447" Enabled="1" Cursor="Hand" HitTest="Rect"></general>
                </States>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="500" />
                    </Operations>
                  </show>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
              </jack_plane>
              <jack_plane_anim>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_JACK_PLANE" CenterX="84" CenterY="55" CA="0" Angle="36"></general>
                </States>
                <Objects>
                  <chip>
                    <States>
                      <st1 Width="65" Height="50" X="-3" Y="-9" />
                    </States>
                    <Objects>
                      <chip1>
                        <States>
                          <general X="0" Y="0" Image="IMAGE_4_OUTSKIRTS_BOARDS_CHIP1" />
                          <empty />
                        </States>
                        <Actions>
                          <show>
                            <Operations>
                              <ChangeObjectState obj="general" Time="300" />
                            </Operations>
                          </show>
                          <hide>
                            <Operations>
                              <ChangeObjectState obj="empty" Time="300" />
                            </Operations>
                          </hide>
                        </Actions>
                      </chip1>
                      <chip2>
                        <States>
                          <empty />
                          <general X="10" Y="-1" Image="IMAGE_4_OUTSKIRTS_BOARDS_CHIP2" />
                        </States>
                        <Actions>
                          <show>
                            <Operations>
                              <ChangeObjectState obj="general" Time="300" />
                            </Operations>
                          </show>
                          <hide>
                            <Operations>
                              <ChangeObjectState obj="empty" Time="300" />
                            </Operations>
                          </hide>
                        </Actions>
                      </chip2>
                    </Objects>
                    <Actions>
                      <move>
                        <Operations>
                          <ExecuteAction obj="change" />
                          <MoveObjectByTrajectory obj="chip" />
                          <ChangeObjectState obj="general" NAme="chip1" />
                          <ChangeObjectState obj="empty" NAme="chip2" />
                        </Operations>
                      </move>
                      <change>
                        <Operations>
                          <Pause obj="400" />
                          <ExecuteAction obj="chip1.hide" />
                          <ExecuteAction obj="chip2.show" />
                        </Operations>
                      </change>
                    </Actions>
                  </chip>
                  <chip_cap>
                    <States>
                      <general Image="IMAGE_4_OUTSKIRTS_BOARDS_CHIP_CAP" X="-31" Y="-45"></general>
                    </States>
                  </chip_cap>
                </Objects>
                <Actions>
                  <move>
                    <Operations>
                      <MoveObjectByTrajectory jack="jack1" />
                      <ExecuteAction jack="chip.move" />
                      <ExecuteAction jack="rough2_1.move" />
                      <MoveObjectByTrajectory jack="jack2" />
                      <MoveObjectByTrajectory jack="jack3" />
                      <ExecuteAction jack="chip.move" />
                      <ExecuteAction jack="rough2_2.move" />
                      <MoveObjectByTrajectory jack="jack4" />
                      <MoveObjectByTrajectory jack="jack5" />
                      <ExecuteAction jack="chip.move" />
                      <ExecuteAction jack="rough3_1.move" />
                      <MoveObjectByTrajectory jack="jack6" />
                      <MoveObjectByTrajectory jack="jack7" />
                      <ExecuteAction jack="chip.move" />
                      <ExecuteAction jack="rough3_2.move" />
                      <MoveObjectByTrajectory jack="jack8" />
                      <MoveObjectByTrajectory jack="jack9" />
                      <ExecuteAction jack="chip.move" />
                      <ExecuteAction jack="rough1_1.move" />
                      <MoveObjectByTrajectory jack="jack10" />
                      <MoveObjectByTrajectory jack="jack11" />
                      <ExecuteAction jack="chip.move" />
                      <ExecuteAction jack="rough1_2.move" />
                      <MoveObjectByTrajectory jack="jack12" />
                      <MoveObjectByTrajectory jack="jack13" />
                      <Pause time="300"></Pause>
                      <PlaySoundSample name="s_4_boards_tools_shift" />
                      <ChangeObjectState Value="general" obj="board3_1" />
                      <ShowObject Value="0" obj="board3" />
                      <MoveObjectByTrajectory Value="tr_move2_b2" obj="board2" />
                      <Pause time="100" />
                      <ChangeObjectState state="general" obj="hint_saw"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="mask_saw"></ChangeObjectState>
                    </Operations>
                  </move>
                </Actions>
              </jack_plane_anim>
              <hammer>
                <States>
                  <off />
                  <general Image="IMAGE_4_OUTSKIRTS_BOARDS_HAMMER" X="765" Y="437" Enabled="1" HitTest="Poly:10,0;57,-17;130,44;197,124;159,161;-5,45;" Cursor="Hand"></general>
                </States>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
                <Actions>
                  <show>
                    <Operations>
                      <ChangeObjectState state="general" Time="500" />
                    </Operations>
                  </show>
                  <click>
                    <Operations>
                      <CaptureObjectToCursor />
                    </Operations>
                  </click>
                </Actions>
              </hammer>
              <mask_rope>
                <Actions>
                  <click>
                    <Conditions>
                      <eq Arg1="$pruner" Arg2="$arg" />
                      <eq Arg1="#ObjectState:" Arg2="$gears" />
                    </Conditions>
                    <Operations>
                      <ChangeObjectState object="empty" />
                      <RemoveInventoryItem argCell="pruner" />
                      <PlaySoundSample argCell="s_4_cut_rope" />
                      <ExecuteAction argCell="pruner_1.move" />
                      <ExecuteAction argCell="pruner_2.move" />
                    </Operations>
                  </click>
                  <click2>
                    <Conditions>
                      <eq Arg1="#ObjectState:" Arg2="$hand" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_ropes" />
                      <MoveObjectByTrajectory state="hide" obj="rope" />
                      <ChangeObjectState object="hand2" />
                    </Operations>
                  </click2>
                  <click3>
                    <Conditions>
                      <eq Arg1="#ObjectState:" Arg2="$hand2" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_click" />
                      <ChangeObjectState object="empty"></ChangeObjectState>
                      <ExecuteAction act="board2_d.hide" />
                      <MoveObjectByTrajectory Value="tr_move_b1" obj="board1"></MoveObjectByTrajectory>
                      <ExecuteAction act="board3_d.hide" />
                      <MoveObjectByTrajectory Value="tr_move_b2" obj="board2"></MoveObjectByTrajectory>
                      <MoveObjectByTrajectory Value="tr_move_b3" obj="board3"></MoveObjectByTrajectory>
                      <Pause time="300" />
                      <ChangeObjectState state="general" obj="tool_box" Time="500"></ChangeObjectState>
                      <ChangeObjectState state="gears" obj="mask_tools" />
                    </Operations>
                  </click3>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                      <eq Arg1="#ObjectState:" Arg2="$gears" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_try" />
                      <ShowTextMessage Value="BBT_4_BOARDS_PRUNER" />
                    </Operations>
                  </about>
                  <wrong>
                    <Conditions>
                      <neq Arg1="$pruner" Arg2="$arg" />
                      <neq Arg1="$empty" Arg2="$arg" />
                      <eq Arg1="#ObjectState:" Arg2="$gears" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Name="BBT_CLICK_WRONG" />
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse act1="click" act2="about" act3="wrong" act4="click2" a5="click3" />
                </Events>
                <States>
                  <gears X="177" Y="32" Width="724" Height="485" Cursor="Gears" Enabled="1">
                    <Effects>
                      <Glint />
                    </Effects>
                  </gears>
                  <hand X="177" Y="32" Width="724" Height="485" Cursor="Hand" Enabled="1">
                    <Effects>
                      <Glint />
                    </Effects>
                  </hand>
                  <hand2 X="177" Y="32" Width="724" Height="485" Cursor="Hand" Enabled="1">
                    <Effects>
                      <Glint />
                    </Effects>
                  </hand2>
                  <empty></empty>
                </States>
                <Variables hint="0" />
              </mask_rope>
              <mask_tools>
                <Actions>
                  <click2>
                    <Conditions>
                      <eq Arg1="#ObjectState:" Arg2="$hand" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_tools_tools" />
                      <ExecuteAction act="saw.show"></ExecuteAction>
                      <ExecuteAction act="nails.show"></ExecuteAction>
                      <ExecuteAction act="jack_plane.show"></ExecuteAction>
                      <ExecuteAction act="hammer.show" />
                      <ChangeObjectState st="off" obj="tool_box" Time="500" />
                      <ChangeObjectState st="empty" />
                      <ChangeObjectState st="general" obj="mask_jack" />
                    </Operations>
                  </click2>
                  <click>
                    <Conditions>
                      <eq Arg1="$tool_box" Arg2="$arg" />
                      <eq Arg1="#ObjectState:" Arg2="$gears" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_tools_start" />
                      <RemoveInventoryItem argCell="tool_box" />
                      <ChangeObjectState state="st2" obj="tool_box" Time="500" />
                      <ChangeObjectState object="hand" />
                      <ChangeVariableValue name="hint" value="1" op="=" />
                    </Operations>
                  </click>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                      <eq Arg1="#ObjectState:" Arg2="$gears" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Value="BBT_4_BOARDS_TOOLBOX" />
                    </Operations>
                  </about>
                  <wrong>
                    <Conditions>
                      <neq Arg1="$tool_box" Arg2="$arg" />
                      <neq Arg1="$empty" Arg2="$arg" />
                      <eq Arg1="#ObjectState:" Arg2="$gears" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Name="BBT_CLICK_WRONG" />
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse act1="click" act2="about" act3="wrong" act4="click2" />
                </Events>
                <States>
                  <empty></empty>
                  <gears X="50" Y="27" Width="1124" Height="582" Cursor="Gears" Enabled="1" HintX="658" HintY="402">
                    <Effects>
                      <Glint />
                    </Effects>
                  </gears>
                  <hand X="537" Y="210" Width="463" Height="367" Cursor="Hand" Enabled="1" HintX="254" HintY="176">
                    <Effects>
                      <Glint />
                    </Effects>
                  </hand>
                </States>
                <Variables hint="0" />
              </mask_tools>
              <mask_jack>
                <Actions>
                  <click>
                    <Conditions>
                      <eq Arg1="$jack_plane" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ChangeObjectState st="off" />
                      <ClearCursorObject Time="0" argFly="0"></ClearCursorObject>
                      <ChangeObjectState state="off" obj="jack_plane" />
                      <PlaySoundSample state="s_4_jackplane" />
                      <ExecuteAction state="jack_plane_anim.move" />
                    </Operations>
                  </click>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Value="BBT_4_BOARDS_JACKPLANE" />
                    </Operations>
                  </about>
                  <wrong>
                    <Conditions>
                      <neq Arg1="$jack_plane" Arg2="$arg" />
                      <neq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Name="BBT_CLICK_WRONG" />
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse act1="click" act2="about" act3="wrong" />
                </Events>
                <States>
                  <off />
                  <general X="69" Y="-5" Width="845" Height="469" Cursor="Gears" Enabled="1" HintX="459" HintY="231" HitTest="Poly:33,192;428,30;693,14;931,206;491,466;340,460;40,368;">
                    <Effects>
                      <Glint />
                    </Effects>
                  </general>
                </States>
              </mask_jack>
              <mask_saw>
                <Actions>
                  <click>
                    <Conditions>
                      <eq Arg1="$saw" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ChangeObjectState st="off" />
                      <ClearCursorObject Time="0" argFly="0"></ClearCursorObject>
                      <ChangeObjectState state="off" obj="saw" />
                      <PlaySoundSample state="s_4_use_saw" />
                      <ChangeObjectState state="general" obj="small_1"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="small_2"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="small_3"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="board1"></ChangeObjectState>
                      <ChangeObjectState state="off" obj="hint_saw"></ChangeObjectState>
                      <Pause time="300" />
                      <ChangeObjectState state="general" obj="hint_small" Time="400"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="mask_small"></ChangeObjectState>
                    </Operations>
                  </click>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Value="BBT_4_BOARDS_SAW" />
                    </Operations>
                  </about>
                  <wrong>
                    <Conditions>
                      <neq Arg1="$saw" Arg2="$arg" />
                      <neq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Name="BBT_CLICK_WRONG" />
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse act1="click" act2="about" act3="wrong" />
                </Events>
                <States>
                  <off />
                  <general X="69" Y="-5" Width="845" Height="469" Cursor="Gears" Enabled="1" HintX="459" HintY="231" HitTest="Poly:33,192;428,30;693,14;931,206;491,466;340,460;40,368;">
                    <Effects>
                      <Glint />
                    </Effects>
                  </general>
                </States>
              </mask_saw>
              <mask_small>
                <Actions>
                  <click>
                    <Conditions>
                      <eq Arg1="$small_1" Arg2="$arg"></eq>
                      <eq Arg1="count" Arg2="$0" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_tools_set" />
                      <ClearCursorObject Time="0" argFly="0" />
                      <ChangeObjectState state="st2" obj="small_1"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="small_1_sh" />
                      <ChangeVariableValue name="count" value="1" op="+"></ChangeVariableValue>
                      <EnableObject value="1" obj="small_2" />
                    </Operations>
                  </click>
                  <click2>
                    <Conditions>
                      <eq Arg1="$small_2" Arg2="$arg"></eq>
                      <eq Arg1="count" Arg2="$1" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_tools_set" />
                      <ClearCursorObject Time="0" argFly="0" />
                      <ChangeObjectState state="st2" obj="small_2"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="small_2_sh" />
                      <ChangeVariableValue name="count" value="1" op="+"></ChangeVariableValue>
                      <EnableObject value="1" obj="small_3" />
                    </Operations>
                  </click2>
                  <click3>
                    <Conditions>
                      <eq Arg1="$small_3" Arg2="$arg"></eq>
                      <eq Arg1="count" Arg2="$2" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_boards_tools_set" />
                      <ClearCursorObject Time="0" argFly="0" />
                      <ChangeObjectState state="st2" obj="small_3"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="small_3_sh" />
                      <ChangeVariableValue name="count" value="1" op="+"></ChangeVariableValue>
                      <ChangeObjectState state="off" obj="hint_small" Time="300"></ChangeObjectState>
                      <ChangeObjectState state="general" obj="hint_nails" Time="500" />
                    </Operations>
                  </click3>
                  <click4>
                    <Conditions>
                      <eq Arg1="$nails" Arg2="$arg"></eq>
                      <eq Arg1="count" Arg2="$3" />
                    </Conditions>
                    <Operations>
                      <ClearCursorObject Time="0" argFly="0"></ClearCursorObject>
                      <ChangeObjectState state="off" obj="nails" />
                      <ChangeVariableValue name="count" value="1" op="+"></ChangeVariableValue>
                      <ChangeObjectState state="off" obj="hint_nails" Time="300"></ChangeObjectState>
                      <ExecuteAction act="nail_1_sh.show"></ExecuteAction>
                      <MoveObjectByTrajectory Value="tr_nail" obj="nail_1"></MoveObjectByTrajectory>
                      <PlaySoundSample name="s_4_boards_tools_nail" />
                      <ExecuteAction act="nail_2_sh.show" />
                      <MoveObjectByTrajectory Value="tr_nail" obj="nail_2"></MoveObjectByTrajectory>
                      <PlaySoundSample name="s_4_boards_tools_nail" />
                      <ExecuteAction act="nail_3_sh.show" />
                      <MoveObjectByTrajectory Value="tr_nail" obj="nail_3"></MoveObjectByTrajectory>
                      <PlaySoundSample name="s_4_boards_tools_nail" />
                      <ExecuteAction act="nail_4_sh.show" />
                      <MoveObjectByTrajectory Value="tr_nail" obj="nail_4"></MoveObjectByTrajectory>
                      <PlaySoundSample name="s_4_boards_tools_nail" />
                      <ExecuteAction act="nail_5_sh.show" />
                      <MoveObjectByTrajectory Value="tr_nail" obj="nail_5"></MoveObjectByTrajectory>
                      <PlaySoundSample name="s_4_boards_tools_nail" />
                      <ExecuteAction act="nail_6_sh.show" />
                      <MoveObjectByTrajectory Value="tr_nail" obj="nail_6"></MoveObjectByTrajectory>
                      <PlaySoundSample name="s_4_boards_tools_nail" />
                    </Operations>
                  </click4>
                  <click5>
                    <Conditions>
                      <eq Arg1="$hammer" Arg2="$arg"></eq>
                      <eq Arg1="count" Arg2="$4" />
                    </Conditions>
                    <Operations>
                      <ClearCursorObject Time="0" argFly="0"></ClearCursorObject>
                      <PlaySoundSample state="s_4_hammer" />
                      <ChangeObjectState state="off" />
                      <ChangeObjectState state="off" obj="hammer" />
                      <ChangeVariableValue name="count" value="1" op="+"></ChangeVariableValue>
                      <ChangeObjectState state="st2" obj="nail_1" Time="300"></ChangeObjectState>
                      <ChangeObjectState state="st2" obj="nail_2" Time="300"></ChangeObjectState>
                      <ChangeObjectState state="st2" obj="nail_3" Time="300"></ChangeObjectState>
                      <ChangeObjectState state="st2" obj="nail_4" Time="300"></ChangeObjectState>
                      <ChangeObjectState state="st2" obj="nail_5" Time="300"></ChangeObjectState>
                      <ChangeObjectState state="st2" obj="nail_6" Time="300"></ChangeObjectState>
                      <MoveObjectByTrajectory Value="scale_in" obj="frame" />
                      <ExecuteAction act="bridge.take" />
                      <ShowObject value="0" obj="frame" />
                    </Operations>
                  </click5>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Value="BBT_4_BOARDS_SMALL">
                        <Conditions>
                          <eq Arg1="count" Arg2="$0" />
                        </Conditions>
                      </ShowTextMessage>
                      <ShowTextMessage Value="BBT_4_BOARDS_SMALL2">
                        <Conditions>
                          <eq Arg1="count" Arg2="$1" />
                        </Conditions>
                      </ShowTextMessage>
                      <ShowTextMessage Value="BBT_4_BOARDS_SMALL3">
                        <Conditions>
                          <eq Arg1="count" Arg2="$2" />
                        </Conditions>
                      </ShowTextMessage>
                      <ShowTextMessage Value="BBT_4_BOARDS_NAILS">
                        <Conditions>
                          <eq Arg1="count" Arg2="$3" />
                        </Conditions>
                      </ShowTextMessage>
                      <ShowTextMessage Value="BBT_4_BOARDS_HAMMER">
                        <Conditions>
                          <eq Arg1="count" Arg2="$4" />
                        </Conditions>
                      </ShowTextMessage>
                    </Operations>
                  </about>
                  <wrong>
                    <Conditions>
                      <or>
                        <and>
                          <neq Arg1="$small_1" Arg2="$arg" />
                          <neq Arg1="$empty" Arg2="$arg" />
                          <eq Arg1="count" Arg2="$0" />
                        </and>
                        <and>
                          <neq Arg1="$small_2" Arg2="$arg" />
                          <neq Arg1="$empty" Arg2="$arg" />
                          <eq Arg1="count" Arg2="$1" />
                        </and>
                        <and>
                          <neq Arg1="$small_3" Arg2="$arg" />
                          <neq Arg1="$empty" Arg2="$arg" />
                          <eq Arg1="count" Arg2="$2" />
                        </and>
                        <and>
                          <neq Arg1="$nails" Arg2="$arg" />
                          <neq Arg1="$empty" Arg2="$arg" />
                          <eq Arg1="count" Arg2="$3" />
                        </and>
                        <and>
                          <neq Arg1="$hammer" Arg2="$arg" />
                          <neq Arg1="$empty" Arg2="$arg" />
                          <eq Arg1="count" Arg2="$4" />
                        </and>
                      </or>
                    </Conditions>
                    <Operations>
                      <ClearCursorObject Time="0" argFly="1" />
                      <ShowTextMessage Name="BBT_CLICK_WRONG" />
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse act3="wrong" a7="click5" a6="click4" a5="click3" a4="click2" act1="click" act2="about" />
                </Events>
                <States>
                  <off />
                  <general X="69" Y="-5" Width="845" Height="469" Cursor="Gears" Enabled="1" HintX="459" HintY="231" HitTest="Poly:50,232;428,30;693,14;821,159;262,445;40,368;">
                    <Effects>
                      <Glint />
                    </Effects>
                  </general>
                </States>
                <Variables count="0" />
              </mask_small>
            </Objects>
          </frame>
          <bridge DisplayName="OBJ_4_BRIDGE">
            <States>
              <off />
              <inventory Image="IMAGE_4_OUTSKIRTS_BOARDS_BRIDGE_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <ShowGetObjectWindow object="bridge" state="inventory" />
                  <AddInventoryItem cell="bridge" />
                  <RemoveInventoryItem argCell="S_4_OUTSKIRTS_BOARDS" />
                  <ChangeScene Value="CloseZoom" />
                </Operations>
              </take>
            </Actions>
          </bridge>
        </Objects>
        <Trajectories>
          <rough1_1>
            <TrajectoryPoints>
              <start Time="0" ClipRect="323,149,535,279"></start>
              <start Time="1000" ClipRect="887,149,1,1"></start>
            </TrajectoryPoints>
          </rough1_1>
          <rough1_2>
            <TrajectoryPoints>
              <start Time="0" ClipRect="353,149,572,305"></start>
              <start Time="1000" ClipRect="924,149,1,1"></start>
            </TrajectoryPoints>
          </rough1_2>
          <rough2_1>
            <TrajectoryPoints>
              <start Time="0" ClipRect="116,26,554,297"></start>
              <start Time="1000" ClipRect="671,26,1,1"></start>
            </TrajectoryPoints>
          </rough2_1>
          <rough2_2>
            <TrajectoryPoints>
              <start Time="0" ClipRect="116,26,597,317"></start>
              <start Time="1000" ClipRect="713,26,1,1"></start>
            </TrajectoryPoints>
          </rough2_2>
          <rough3_1>
            <TrajectoryPoints>
              <start Time="0" ClipRect="230,85,559,299"></start>
              <start Time="1000" ClipRect="788,85,1,1"></start>
            </TrajectoryPoints>
          </rough3_1>
          <rough3_2>
            <TrajectoryPoints>
              <start Time="0" ClipRect="230,85,598,317"></start>
              <start Time="1000" ClipRect="825,85,1,1"></start>
            </TrajectoryPoints>
          </rough3_2>
          <jack1>
            <TrajectoryPoints>
              <start Time="0" X="176" Y="223" CA="0"></start>
              <start Time="300" X="176" Y="223" CA="255"></start>
            </TrajectoryPoints>
          </jack1>
          <jack2>
            <TrajectoryPoints>
              <start Time="0" X="176" Y="223"></start>
              <start Time="1000" X="570" Y="36"></start>
            </TrajectoryPoints>
          </jack2>
          <jack3>
            <TrajectoryPoints>
              <start Time="0" X="554" Y="36"></start>
              <start Time="300" X="314" Y="83"></start>
              <start Time="600" X="228" Y="261"></start>
            </TrajectoryPoints>
          </jack3>
          <jack4>
            <TrajectoryPoints>
              <start Time="0" X="228" Y="261"></start>
              <start Time="1000" X="690" Y="25"></start>
            </TrajectoryPoints>
          </jack4>
          <jack5>
            <TrajectoryPoints>
              <start Time="0" X="690" Y="25"></start>
              <start Time="300" X="385" Y="150"></start>
              <start Time="600" X="290" Y="292"></start>
            </TrajectoryPoints>
          </jack5>
          <jack6>
            <TrajectoryPoints>
              <start Time="0" X="290" Y="292"></start>
              <start Time="1000" X="695" Y="90"></start>
            </TrajectoryPoints>
          </jack6>
          <jack7>
            <TrajectoryPoints>
              <start Time="0" X="695" Y="90"></start>
              <start Time="300" X="450" Y="170"></start>
              <start Time="600" X="352" Y="316"></start>
            </TrajectoryPoints>
          </jack7>
          <jack8>
            <TrajectoryPoints>
              <start Time="0" X="352" Y="316"></start>
              <start Time="1000" X="760" Y="115"></start>
            </TrajectoryPoints>
          </jack8>
          <jack9>
            <TrajectoryPoints>
              <start Time="0" X="760" Y="115"></start>
              <start Time="300" X="485" Y="212"></start>
              <start Time="600" X="421" Y="340"></start>
            </TrajectoryPoints>
          </jack9>
          <jack10>
            <TrajectoryPoints>
              <start Time="0" X="421" Y="340"></start>
              <start Time="1000" X="795" Y="155"></start>
            </TrajectoryPoints>
          </jack10>
          <jack11>
            <TrajectoryPoints>
              <start Time="0" X="795" Y="155"></start>
              <start Time="300" X="530" Y="220"></start>
              <start Time="600" X="477" Y="369"></start>
            </TrajectoryPoints>
          </jack11>
          <jack12>
            <TrajectoryPoints>
              <start Time="0" X="477" Y="369"></start>
              <start Time="1000" X="835" Y="187"></start>
            </TrajectoryPoints>
          </jack12>
          <jack13>
            <TrajectoryPoints>
              <start Time="0" X="835" Y="187" CA="255"></start>
              <start Time="500" X="1100" Y="55" CA="0"></start>
            </TrajectoryPoints>
          </jack13>
          <chip>
            <TrajectoryPoints>
              <start Time="0" X="0" Y="10" Angle="15" CA="255"></start>
              <start Time="400" X="-30" Y="-60" Angle="-15" CA="255"></start>
              <start Time="800" X="-6" Y="-120" Angle="-35" CA="255"></start>
              <start Time="1000" X="-36" Y="-160" Angle="-35" CA="0"></start>
            </TrajectoryPoints>
          </chip>
          <pruner1_cut>
            <TrajectoryPoints>
              <start Time="0" Angle="0"></start>
              <start Time="500" Angle="-20"></start>
              <start Time="800" Angle="10"></start>
              <start Time="1200" Angle="0"></start>
            </TrajectoryPoints>
          </pruner1_cut>
          <pruner2_cut>
            <TrajectoryPoints>
              <start Time="0" Angle="0"></start>
              <start Time="500" Angle="20"></start>
              <start Time="800" Angle="-10"></start>
              <start Time="1200" Angle="0"></start>
            </TrajectoryPoints>
          </pruner2_cut>
          <pruner1>
            <TrajectoryPoints>
              <start Time="0" X="720" Y="85" Angle="0" CA="0"></start>
              <start Time="500" X="610" Y="-70" Angle="0" CA="255"></start>
              <start Time="1500" X="414" Y="-6" Angle="0" CA="255"></start>
            </TrajectoryPoints>
          </pruner1>
          <pruner2>
            <TrajectoryPoints>
              <start Time="0" X="414" Y="-6" Angle="0" CA="255"></start>
              <start Time="4000" X="69" Y="185" Angle="0" CA="255"></start>
            </TrajectoryPoints>
          </pruner2>
          <pruner3>
            <TrajectoryPoints>
              <start Time="0" X="69" Y="185" Angle="0" CA="255"></start>
              <start Time="500" X="-120" Y="258" Angle="0" CA="255"></start>
              <start Time="1000" X="-220" Y="400" Angle="0" CA="0"></start>
            </TrajectoryPoints>
          </pruner3>
          <hide>
            <TrajectoryPoints>
              <start Time="0" CA="255"></start>
              <start Time="500" CA="0"></start>
            </TrajectoryPoints>
          </hide>
          <scale_in>
            <TrajectoryPoints>
              <start Time="0" ScaleX="1.0" ScaleY="1.0" X="0" Y="0"></start>
              <start Time="10" ScaleX="1.0" ScaleY="1.0" X="0" Y="0"></start>
              <start Time="1000" ScaleX="1.2" ScaleY="1.2" X="5" Y="5"></start>
            </TrajectoryPoints>
          </scale_in>
          <tr_move_b1>
            <TrajectoryPoints>
              <start Time="0" X="250" Y="114"></start>
              <start Time="500" X="270" Y="-15"></start>
              <start Time="1000" X="355" Y="149"></start>
            </TrajectoryPoints>
          </tr_move_b1>
          <tr_move_b2>
            <TrajectoryPoints>
              <start Time="0" X="245" Y="132"></start>
              <start Time="500" X="200" Y="0"></start>
              <start Time="1000" X="118" Y="26"></start>
            </TrajectoryPoints>
          </tr_move_b2>
          <tr_move2_b2>
            <TrajectoryPoints>
              <start Time="0" X="118" Y="26"></start>
              <start Time="500" X="146" Y="42"></start>
            </TrajectoryPoints>
          </tr_move2_b2>
          <tr_move_b3>
            <TrajectoryPoints>
              <start Time="0" X="224" Y="152"></start>
              <start Time="500" X="232" Y="85"></start>
            </TrajectoryPoints>
          </tr_move_b3>
          <tr_nail Relative="1">
            <TrajectoryPoints>
              <start Time="0" Y="0" CA="0"></start>
              <start Time="200" Y="297" CA="250"></start>
            </TrajectoryPoints>
          </tr_nail>
        </Trajectories>
      </S_4_OUTSKIRTS_BOARDS>
      <S_4_OUTSKIRTS_DOG>
        <Objects>
          <back>
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_DOG_BACK" />
            </States>
            <Actions>
              <try_close>
                <Operations>
                  <ChangeVariableValue Image="count_to_close" obj="1" op="-" />
                  <EnableObject value="0" obj="S_4_OUTSKIRTS.mask_hay">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </EnableObject>
                  <ChangeScene Image="CloseZoom">
                    <Conditions>
                      <eq Arg1="count_to_close" Arg2="$0" />
                    </Conditions>
                  </ChangeScene>
                </Operations>
              </try_close>
            </Actions>
          </back>
          <cellar_key DisplayName="OBJ_4_KEY">
            <States>
              <general Image="IMAGE_4_OUTSKIRTS_DOG_KEY" X="137" Y="160" Enabled="0" Cursor="Hand" HitTest="Rect:-33,-24,127,152"></general>
              <inventory Image="IMAGE_4_OUTSKIRTS_DOG_KEY_INV" />
            </States>
            <Actions>
              <take>
                <Operations>
                  <AddInventoryItem cell="cellar_key" obj="cellar_key" fl="0" sc="1" />
                  <ChangeObjectState state="off" obj="S_4_OUTSKIRTS.mask_dog"></ChangeObjectState>
                  <Pause time="500" />
                  <ChangeScene Value="CloseZoom" />
                </Operations>
              </take>
            </Actions>
            <Events>
              <LeftMouse act1="take" />
            </Events>
          </cellar_key>
          <mask_use>
            <Actions>
              <click>
                <Conditions>
                  <eq Arg1="$bone" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <EnableObject value="0" />
                  <RemoveInventoryItem Time="0" argCell="bone"></RemoveInventoryItem>
                  <ChangeObjectState state="st_use" obj="v_dog" />
                </Operations>
              </click>
              <about>
                <Conditions>
                  <eq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ChangeObjectState state="st_agr" obj="v_dog" />
                </Operations>
              </about>
              <wrong>
                <Conditions>
                  <neq Arg1="$bone" Arg2="$arg"></neq>
                  <neq Arg1="$empty" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ShowTextMessage Value="BBT_CLICK_WRONG"></ShowTextMessage>
                </Operations>
              </wrong>
            </Actions>
            <Events>
              <LeftMouse act1="click" act2="about" act3="wrong" />
            </Events>
            <States>
              <general X="106" Y="88" Width="428" Height="332" HintX="58" HintY="137" Cursor="Gears" Enabled="1">
                <Effects>
                  <Glint />
                </Effects>
              </general>
            </States>
          </mask_use>
          <v_dog>
            <Actions>
              <end_agr>
                <Conditions>
                  <eq Arg1="$VIDEO_4_DOG_AGR" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ChangeObjectState state="st_loop"></ChangeObjectState>
                  <ShowTextMessage Value="BBT_4_NEED_BONE"></ShowTextMessage>
                </Operations>
              </end_agr>
              <end_use>
                <Conditions>
                  <eq Arg1="$VIDEO_4_DOG_BONE" Arg2="$arg" />
                </Conditions>
                <Operations>
                  <ChangeObjectState state="st_end_loop"></ChangeObjectState>
                  <EnableObject value="1" obj="cellar_key" />
                </Operations>
              </end_use>
            </Actions>
            <Events>
              <VideoCompleted act1="end_agr" a2="end_use"></VideoCompleted>
            </Events>
            <States>
              <st_loop Movie="VIDEO_4_DOG_LOOP" Y="0" X="0" />
              <st_agr Movie="VIDEO_4_DOG_AGR" Enabled="1" Y="0" X="0"></st_agr>
              <st_use Movie="VIDEO_4_DOG_BONE" Enabled="1" Y="0" X="0" />
              <st_end_loop Movie="VIDEO_4_DOG_END_LOOP" Y="0" X="0" />
              <off />
            </States>
          </v_dog>
          <light_add>
            <States>
              <general X="0" Y="0" Image="IMAGE_4_OUTSKIRTS_DOG_LIGHT_ADD" DrawMode="Add">
                <Effects>
                  <Oscillation st_min="st_min" st_max="st_max" time="3000" scope="1111" bRand="1" bSmoth="1" />
                </Effects>
              </general>
              <st_max CA="255" />
              <st_min CA="50" />
            </States>
          </light_add>
        </Objects>
      </S_4_OUTSKIRTS_DOG>
      <S_4_OUTSKIRTS_MONEYBOX Border="button">
        <Objects>
          <frame>
            <States>
              <general X="-183" Y="0" Width="1000" Height="800" Enabled="1" CenterX="0" CenterY="0"></general>
            </States>
            <Objects>
              <eyes>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_MONEYBOX_EYES" X="661" Y="195"></general>
                </States>
              </eyes>
              <body>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_MONEYBOX_BODY" X="469" Y="183"></general>
                </States>
              </body>
              <hat>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_MONEYBOX_HAT" X="709" Y="177" CenterX="90" CenterY="140"></general>
                </States>
              </hat>
              <coin_bronze DisplayName="OBJ_4_COIN_BRONZE">
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_MONEYBOX_COIN" X="647" Y="472" Cursor="Hand" CenterX="35" CenterY="63" />
                  <inventory Image="IMAGE_4_OUTSKIRTS_MONEYBOX_COIN_INV" />
                </States>
                <Actions>
                  <take>
                    <Operations>
                      <AddInventoryItem cell="coin_bronze" obj="coin_bronze" nofly="0" fromScene="1" />
                      <RemoveInventoryItem argCell="S_4_OUTSKIRTS_MONEYBOX"></RemoveInventoryItem>
                      <Pause time="300" />
                      <ChangeScene Value="CloseZoom" />
                    </Operations>
                  </take>
                  <try_open>
                    <Operations>
                      <ChangeVariableValue name="count" value="1" op="-"></ChangeVariableValue>
                      <MoveObjectByTrajectory Value="tr_move" obj="coin_bronze">
                        <Conditions>
                          <eq Arg1="count" Arg2="$0" />
                        </Conditions>
                      </MoveObjectByTrajectory>
                      <EnableObject value="1" obj="mask_take">
                        <Conditions>
                          <eq Arg1="count" Arg2="$0" />
                        </Conditions>
                      </EnableObject>
                      <ChangeObjectState object="empty" obj="mask_use">
                        <Conditions>
                          <eq Arg1="count" Arg2="$0" />
                        </Conditions>
                      </ChangeObjectState>
                    </Operations>
                  </try_open>
                </Actions>
                <Variables count="2" />
              </coin_bronze>
              <coin_patch>
                <States>
                  <general Image="IMAGE_4_OUTSKIRTS_MONEYBOX_COIN_PATCH" X="610" Y="408"></general>
                </States>
              </coin_patch>
              <boot>
                <States>
                  <off X="487" Y="500" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_BOOT_0" CenterX="80" CenterY="101" />
                  <general X="399" Y="395" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_BOOT" />
                </States>
              </boot>
              <clover>
                <States>
                  <off />
                  <general X="660" Y="70" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_CLOVER" />
                </States>
              </clover>
              <right_hand>
                <States>
                  <general X="539" Y="274" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_RIGHT_HAND_DOWN"></general>
                  <st2 X="469" Y="194" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_RIGHT_HAND_UP" />
                </States>
              </right_hand>
              <hand_patch>
                <States>
                  <general X="650" Y="265" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_HAND_PATCH" />
                </States>
              </hand_patch>
              <left_hand>
                <States>
                  <general X="566" Y="285" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_LEFT_HAND_DOWN"></general>
                  <st2 X="731" Y="248" Image="IMAGE_4_OUTSKIRTS_MONEYBOX_LEFT_HAND_UP" />
                </States>
              </left_hand>
              <mask_use>
                <Actions>
                  <click>
                    <Conditions>
                      <eq Arg1="$clover" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_moneybox_part" />
                      <RemoveInventoryItem argCell="clover" />
                      <ChangeObjectState state="general" Name="clover" Time="500"></ChangeObjectState>
                      <Pause time="500" />
                      <ChangeObjectState state="st2" Name="right_hand" Time="500">
                        <Conditions>
                          <eq Arg1="r_hand_open" Arg2="$0" />
                        </Conditions>
                      </ChangeObjectState>
                      <ChangeObjectState state="st2" Name="left_hand" Time="500">
                        <Conditions>
                          <eq Arg1="r_hand_open" Arg2="$1" />
                        </Conditions>
                      </ChangeObjectState>
                      <ExecuteAction act="coin_bronze.try_open" />
                      <ChangeVariableValue name="r_hand_open" value="1" op="=" />
                    </Operations>
                  </click>
                  <click2>
                    <Conditions>
                      <eq Arg1="$boot" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_moneybox_boot" />
                      <RemoveInventoryItem argCell="boot" />
                      <ChangeObjectState state="general" Name="boot" Time="500"></ChangeObjectState>
                      <Pause time="500" />
                      <ChangeObjectState state="st2" Name="right_hand" Time="500">
                        <Conditions>
                          <eq Arg1="r_hand_open" Arg2="$0" />
                        </Conditions>
                      </ChangeObjectState>
                      <ChangeObjectState state="st2" Name="left_hand" Time="500">
                        <Conditions>
                          <eq Arg1="r_hand_open" Arg2="$1" />
                        </Conditions>
                      </ChangeObjectState>
                      <ExecuteAction act="coin_bronze.try_open" />
                      <ChangeVariableValue name="r_hand_open" value="1" op="=" />
                    </Operations>
                  </click2>
                  <about>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                      <eq Arg1="r_hand_open" Arg2="$0" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_moneybox_try" />
                      <MoveObjectByTrajectory Value="tr_drag" obj="hat"></MoveObjectByTrajectory>
                      <MoveObjectByTrajectory Value="tr_drag" obj="boot" />
                      <MoveObjectByTrajectory Value="tr_drag" obj="boot" />
                      <ShowTextMessage Value="BBT_4_NEED_ITEM" />
                    </Operations>
                  </about>
                  <about2>
                    <Conditions>
                      <eq Arg1="$empty" Arg2="$arg" />
                      <eq Arg1="r_hand_open" Arg2="$1" />
                    </Conditions>
                    <Operations>
                      <PlaySoundSample name="s_4_moneybox_try" />
                      <MoveObjectByTrajectory Value="tr_drag" obj="hat">
                        <Conditions>
                          <eq Arg1="#ObjectState:clover" Arg2="$off" />
                        </Conditions>
                      </MoveObjectByTrajectory>
                      <MoveObjectByTrajectory Value="tr_drag" obj="boot">
                        <Conditions>
                          <eq Arg1="#ObjectState:boot" Arg2="$off" />
                        </Conditions>
                      </MoveObjectByTrajectory>
                      <MoveObjectByTrajectory Value="tr_drag" obj="boot">
                        <Conditions>
                          <eq Arg1="#ObjectState:boot" Arg2="$off" />
                        </Conditions>
                      </MoveObjectByTrajectory>
                      <ShowTextMessage Value="BBT_4_NEED_ITEM2" />
                    </Operations>
                  </about2>
                  <wrong>
                    <Conditions>
                      <neq Arg1="$clover" Arg2="$arg"></neq>
                      <neq Arg1="$boot" Arg2="$arg" />
                      <neq Arg1="$empty" Arg2="$arg" />
                    </Conditions>
                    <Operations>
                      <ShowTextMessage Name="BBT_CLICK_WRONG" />
                    </Operations>
                  </wrong>
                </Actions>
                <Events>
                  <LeftMouse a5="about2" act2="about" act3="wrong" act1="click" a4="click2" />
                </Events>
                <States>
                  <gears X="335" Y="42" Width="586" Height="580" Cursor="Gears" Enabled="1" HintX="261" HintY="381">
                    <Effects>
                      <Glint />
                    </Effects>
                  </gears>
                  <empty></empty>
                </States>
                <Variables r_hand_open="0" />
                <Properties DefaultClickSound="empty" />
              </mask_use>
              <mask_take>
                <Actions>
                  <click>
                    <Operations>
                      <ExecuteAction act="coin_bronze.take" />
                    </Operations>
                  </click>
                </Actions>
                <Events>
                  <LeftMouse act1="click" />
                </Events>
                <States>
                  <hand X="374" Y="29" Width="531" Height="584" Cursor="Hand" Enabled="0" HintX="246" HintY="407">
                    <Effects>
                      <Glint />
                    </Effects>
                  </hand>
                  <empty></empty>
                </States>
              </mask_take>
            </Objects>
          </frame>
        </Objects>
        <Trajectories>
          <scale_in>
            <TrajectoryPoints>
              <start Time="0" ScaleX="1.0" ScaleY="1.0" X="0" Y="0"></start>
              <start Time="10" ScaleX="1.0" ScaleY="1.0" X="0" Y="0"></start>
              <start Time="1000" ScaleX="1.2" ScaleY="1.2" X="5" Y="5"></start>
            </TrajectoryPoints>
          </scale_in>
          <tr_move>
            <TrajectoryPoints>
              <start Time="0" Angle="0" X="647"></start>
              <start Time="200" Angle="15" X="640"></start>
            </TrajectoryPoints>
          </tr_move>
          <tr_drag>
            <TrajectoryPoints>
              <start Time="0" Angle="0"></start>
              <start Time="150" Angle="-2"></start>
              <start Time="300" Angle="2"></start>
              <start Time="450" Angle="0"></start>
            </TrajectoryPoints>
          </tr_drag>
        </Trajectories>
      </S_4_OUTSKIRTS_MONEYBOX>
      <S_4_OUTSKIRTS_CUP Border="button">
        <Objects>
          <frame>
            <States>
              <general X="0" Y="0" Width="800" Height="600" Enabled="1"></general>
            </States>
            <Objects>
              <cup DisplayName="OBJ_4_CUP">
                <States>
                  <general X="195" Y="74" Image="IMAGE_4_OUTSKIRTS_CUP_MUG" />
                  <inventory Image="IMAGE_4_OUTSKIRTS_CUP_INV" />
                </States>
              </cup>
              <mg3_part DisplayName="OBJ_2_FLOWER">
                <Actions>
                  <take>
                    <Operations>
                      <ShowGetObjectWindow object="mg3_part" state="inventory" />
                      <AddInventoryItem cell="4_mg3_part" />
                      <ExecuteAction act="S_3_SQUARE.mask_mg_hint.try_hint" />
                      <RemoveInventoryItem argCell="S_4_OUTSKIRTS_CUP" />
                      <AddInventoryItem cell="cup" obj="cup" />
                      <ChangeScene Value="CloseZoom" />
                    </Operations>
                  </take>
                </Actions>
                <States>
                  <general X="316" Y="169" Enabled="1" Cursor="Hand" Image="IMAGE_4_OUTSKIRTS_CUP_TILE" Layer="1" HitTest="Rect:-12,-13,177,182" />
                  <inventory Image="IMAGE_4_OUTSKIRTS_CUP_TILE_INV"></inventory>
                </States>
                <Events>
                  <LeftMouse act1="take" />
                </Events>
              </mg3_part>
            </Objects>
          </frame>
        </Objects>
      </S_4_OUTSKIRTS_CUP>
    </Scenes>
    <Trajectories>
      <tr_fog1_1>
        <TrajectoryPoints>
          <start Time="0" X="900" Y="200"></start>
          <start Time="20000" X="475" Y="200"></start>
        </TrajectoryPoints>
      </tr_fog1_1>
      <tr_fog1_2>
        <TrajectoryPoints>
          <start Time="0" X="475" Y="200"></start>
          <start Time="20000" X="52" Y="200"></start>
        </TrajectoryPoints>
      </tr_fog1_2>
      <tr_fog2_1>
        <TrajectoryPoints>
          <start Time="0" X="1300" Y="331"></start>
          <start Time="15000" X="350" Y="331"></start>
        </TrajectoryPoints>
      </tr_fog2_1>
      <tr_fog2_2>
        <TrajectoryPoints>
          <start Time="0" X="350" Y="331"></start>
          <start Time="15000" X="-600" Y="331"></start>
        </TrajectoryPoints>
      </tr_fog2_2>
      <tr_cloud1>
        <TrajectoryPoints>
          <start Time="0" ScaleX="1" ScaleY="1" X="1472" Y="350"></start>
          <start Time="40000" ScaleX="1.2" ScaleY="1.2" X="600" Y="0"></start>
        </TrajectoryPoints>
      </tr_cloud1>
      <tr_cloud2_0>
        <TrajectoryPoints>
          <start Time="0" ScaleX="1.1" ScaleY="1.1" X="935" Y="151"></start>
          <start Time="18000" ScaleX="1.2" ScaleY="1.2" X="570" Y="20"></start>
        </TrajectoryPoints>
      </tr_cloud2_0>
      <tr_cloud2>
        <TrajectoryPoints>
          <start Time="0" ScaleX="1" ScaleY="1" X="1300" Y="270" CA="150"></start>
          <start Time="36000" ScaleX="1.2" ScaleY="1.2" X="570" Y="15" CA="255"></start>
        </TrajectoryPoints>
      </tr_cloud2>
      <tr_sky1>
        <TrajectoryPoints>
          <start Time="0" ScaleX="1" ScaleY="1" CA="0"></start>
          <start Time="3000" ScaleX="1.1" ScaleY="1.13" CA="255"></start>
          <start Time="4500" ScaleX="1.15" ScaleY="1.195" CA="255"></start>
        </TrajectoryPoints>
      </tr_sky1>
      <tr_sky2>
        <TrajectoryPoints>
          <start Time="0" ScaleX="1.15" ScaleY="1.195" CA="255"></start>
          <start Time="1500" ScaleX="1.2" ScaleY="1.26" CA="255"></start>
          <start Time="4500" ScaleX="1.3" ScaleY="1.4" CA="0"></start>
        </TrajectoryPoints>
      </tr_sky2>
    </Trajectories>
  </S_4_OUTSKIRTS>
</Scenes>