home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / the_lost_vikings.swf / scripts / DefineSprite_323_RunnerClass / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  15.1 KB  |  748 lines

  1. function Runner_Walk()
  2. {
  3.    if(this.Keys_state[10] & _root.Bits_on[3])
  4.    {
  5.       this.gotoAndPlay("Runner_Fast");
  6.    }
  7.    else if(this.Keys_pressed[8] & _root.Bits_on[1])
  8.    {
  9.       this.Obj_DY = -491520;
  10.       this.gotoAndPlay("Runner_Jump");
  11.    }
  12.    else if(this.Keys_state[4] & _root.Bits_on[5])
  13.    {
  14.       this.Obj_DX += -49152;
  15.       if(this.Obj_DX < -458752)
  16.       {
  17.          this.Obj_DX = -458752;
  18.       }
  19.       if(this.Obj_Flip == 1 && this.Obj_DX > 196608)
  20.       {
  21.          _root.snd.attachSound("LV_184");
  22.          _root.snd.start();
  23.       }
  24.       this.Obj_Flip = -1;
  25.    }
  26.    else if(this.Keys_state[4] & _root.Bits_on[7])
  27.    {
  28.       this.Obj_DX += 49152;
  29.       if(this.Obj_DX > 458752)
  30.       {
  31.          this.Obj_DX = 458752;
  32.       }
  33.       if(this.Obj_Flip == -1 && this.Obj_DX < -196608)
  34.       {
  35.          _root.snd.attachSound("LV_184");
  36.          _root.snd.start();
  37.       }
  38.       this.Obj_Flip = 1;
  39.    }
  40.    else
  41.    {
  42.       var dx = this.Obj_DX >> 16;
  43.       this.Obj_DX = 0;
  44.       if(dx <= -5 || dx >= 5)
  45.       {
  46.          gotoAndPlay(166);
  47.       }
  48.       else
  49.       {
  50.          gotoAndPlay(47);
  51.       }
  52.    }
  53.    if(this.CX_Ladder("Runner_Climb0"))
  54.    {
  55.       return undefined;
  56.    }
  57.    if(this.CX_LadderX("Runner_Climb0"))
  58.    {
  59.       return undefined;
  60.    }
  61.    this.CX(0,32768,524288);
  62.    if(this.CX_Fall_Flag)
  63.    {
  64.       this.gotoAndPlay("Runner_Fall");
  65.    }
  66.    if(this.CX_Collide_Flag & 3)
  67.    {
  68.       this.gotoAndPlay("Runner_Push");
  69.    }
  70. }
  71. function Runner_Fast()
  72. {
  73.    this.Obj_Flags |= 32;
  74.    if(this.Keys_state[4] & _root.Bits_on[5])
  75.    {
  76.       this.Obj_DX += -49152;
  77.       if(this.Obj_DX < -458752)
  78.       {
  79.          this.Obj_DX = -458752;
  80.       }
  81.       if(this.Obj_Flip != -1)
  82.       {
  83.          var dx = this.Obj_DX >> 16;
  84.          this.Obj_DX = 0;
  85.          this.Obj_Flags &= 65503;
  86.          if(dx <= -5 || dx >= 5)
  87.          {
  88.             gotoAndPlay(166);
  89.          }
  90.          else
  91.          {
  92.             gotoAndPlay(47);
  93.          }
  94.       }
  95.    }
  96.    else if(this.Keys_state[4] & _root.Bits_on[7])
  97.    {
  98.       this.Obj_DX += 49152;
  99.       if(this.Obj_DX > 458752)
  100.       {
  101.          this.Obj_DX = 458752;
  102.       }
  103.       if(this.Obj_Flip != 1)
  104.       {
  105.          var dx = this.Obj_DX >> 16;
  106.          this.Obj_DX = 0;
  107.          this.Obj_Flags &= 65503;
  108.          if(dx <= -5 || dx >= 5)
  109.          {
  110.             gotoAndPlay(166);
  111.          }
  112.          else
  113.          {
  114.             gotoAndPlay(47);
  115.          }
  116.       }
  117.    }
  118.    else if(!(this.Keys_state[10] & _root.Bits_on[3]))
  119.    {
  120.       var dx = this.Obj_DX >> 16;
  121.       this.Obj_DX = 0;
  122.       this.Obj_Flags &= 65503;
  123.       if(dx <= -5 || dx >= 5)
  124.       {
  125.          gotoAndPlay(166);
  126.       }
  127.       else
  128.       {
  129.          gotoAndPlay(47);
  130.       }
  131.    }
  132.    else
  133.    {
  134.       var dx = this.Obj_DX >> 16;
  135.       this.Obj_DX = 0;
  136.       this.Obj_Flags &= 65503;
  137.       if(dx <= -5 || dx >= 5)
  138.       {
  139.          gotoAndPlay(166);
  140.       }
  141.       else
  142.       {
  143.          gotoAndPlay(47);
  144.       }
  145.    }
  146.    if(this.CX_Ladder("Runner_Climb0"))
  147.    {
  148.       this.Obj_Flags &= 65503;
  149.       return undefined;
  150.    }
  151.    if(this.CX_LadderX("Runner_Climb0"))
  152.    {
  153.       this.Obj_Flags &= 65503;
  154.       return undefined;
  155.    }
  156.    this.CX(0,32768,524288);
  157.    if(this.CX_Fall_Flag)
  158.    {
  159.       this.Obj_Flags &= 65503;
  160.       this.gotoAndPlay("Runner_Fall");
  161.    }
  162.    if(this.CX_Collide_Flag & 3)
  163.    {
  164.       _root.ImpactX_Flag = 9;
  165.       _root.snd.attachSound("LV_185");
  166.       _root.snd.start();
  167.       this.gotoAndPlay("Runner_Bonk");
  168.    }
  169. }
  170. function Runner_Idle()
  171. {
  172.    this.Obj_DX = 0;
  173.    if(0 && this.Keys_pressed[2] & _root.Bits_on[1])
  174.    {
  175.       this.gotoAndPlay("Runner_Cheat");
  176.    }
  177.    if(this.Keys_state[4] & _root.Bits_on[5])
  178.    {
  179.       this.Obj_DX = -1;
  180.       gotoAndPlay(15);
  181.    }
  182.    else if(this.Keys_state[4] & _root.Bits_on[7])
  183.    {
  184.       this.Obj_DX = 1;
  185.       gotoAndPlay(15);
  186.    }
  187.    else if(this.Keys_pressed[8] & _root.Bits_on[1])
  188.    {
  189.       this.Obj_DX = 0;
  190.       this.Obj_DY = -491520;
  191.       gotoAndPlay(144);
  192.    }
  193.    else if(this.Keys_pressed[4] & _root.Bits_on[6])
  194.    {
  195.       if(_root.teleportCheck(this))
  196.       {
  197.          this.gotoAndPlay("Runner_Teleport");
  198.       }
  199.       _root.helpCheck(this);
  200.    }
  201.    if(this.CX_Ladder("Runner_Climb0"))
  202.    {
  203.       return undefined;
  204.    }
  205.    if(this.CX_LadderX("Runner_Climb0"))
  206.    {
  207.       return undefined;
  208.    }
  209.    this.CX(0,32768,524288);
  210.    if(this.CX_Fall_Flag)
  211.    {
  212.       this.gotoAndPlay("Runner_Fall");
  213.    }
  214. }
  215. function Runner_Jump_Frame()
  216. {
  217.    var dy = this.Obj_DY;
  218.    if(dy < -65536)
  219.    {
  220.       this.gotoAndPlay("Runner_Jump1");
  221.    }
  222.    else if(dy <= 65536)
  223.    {
  224.       this.gotoAndPlay("Runner_Jump2");
  225.    }
  226.    else
  227.    {
  228.       this.Obj_Timer = this.Obj_Timer + 1;
  229.       if((this.Obj_Timer & 7) < 4)
  230.       {
  231.          this.gotoAndStop("Runner_Fall1");
  232.       }
  233.       else
  234.       {
  235.          this.gotoAndStop("Runner_Fall2");
  236.       }
  237.    }
  238. }
  239. function Runner_Jump()
  240. {
  241.    this.Runner_Jump_Frame();
  242.    if(this.Keys_state[4] & _root.Bits_on[5])
  243.    {
  244.       this.Obj_DX += -49152;
  245.       if(this.Obj_DX < -458752)
  246.       {
  247.          this.Obj_DX = -458752;
  248.       }
  249.       this.Obj_Flip = -1;
  250.    }
  251.    else if(this.Keys_state[4] & _root.Bits_on[7])
  252.    {
  253.       this.Obj_DX += 49152;
  254.       if(this.Obj_DX > 458752)
  255.       {
  256.          this.Obj_DX = 458752;
  257.       }
  258.       this.Obj_Flip = 1;
  259.    }
  260.    else
  261.    {
  262.       this.Obj_DX = 0;
  263.    }
  264.    if(this.Obj_DY > 65536)
  265.    {
  266.       this.gotoAndPlay("Runner_Fall");
  267.    }
  268.    if(this.CX_Ladder("Runner_Climb0"))
  269.    {
  270.       return undefined;
  271.    }
  272.    this.CX(0,32768,524288);
  273.    if(this.CX_Collide_Flag & 4)
  274.    {
  275.       this.Obj_DY = 0;
  276.    }
  277.    if(this.CX_Collide_Flag & 8)
  278.    {
  279.       if(this.Keys_pressed[8] & _root.Bits_on[1])
  280.       {
  281.          this.Obj_DY = -491520;
  282.          this.gotoAndPlay("Runner_Jump");
  283.       }
  284.       else
  285.       {
  286.          this.gotoAndPlay("Runner_Idle");
  287.       }
  288.    }
  289. }
  290. function Runner_Fall()
  291. {
  292.    if(this.Keys_state[4] & _root.Bits_on[5])
  293.    {
  294.       this.Obj_DX += -49152;
  295.       if(this.Obj_DX < -458752)
  296.       {
  297.          this.Obj_DX = -458752;
  298.       }
  299.       this.Obj_Flip = -1;
  300.    }
  301.    else if(this.Keys_state[4] & _root.Bits_on[7])
  302.    {
  303.       this.Obj_DX += 49152;
  304.       if(this.Obj_DX > 458752)
  305.       {
  306.          this.Obj_DX = 458752;
  307.       }
  308.       this.Obj_Flip = 1;
  309.    }
  310.    else
  311.    {
  312.       this.Obj_DX = 0;
  313.    }
  314.    if(this.CX_Ladder("Runner_Climb0"))
  315.    {
  316.       return undefined;
  317.    }
  318.    this.CX(0,32768,524288);
  319.    if(this.Obj_Y - this.Obj_Target >> 16 > 96)
  320.    {
  321.       this.gotoAndPlay("Runner_FreeFall");
  322.    }
  323.    if(this.CX_Collide_Flag & 4)
  324.    {
  325.       this.Obj_DY = 0;
  326.    }
  327.    if(this.CX_Collide_Flag & 8)
  328.    {
  329.       if(this.Keys_pressed[8] & _root.Bits_on[1])
  330.       {
  331.          this.Obj_DY = -491520;
  332.          this.gotoAndPlay("Runner_Jump");
  333.       }
  334.       else
  335.       {
  336.          _root.snd.attachSound("LV_196");
  337.          _root.snd.start();
  338.          this.gotoAndPlay("Runner_Idle");
  339.       }
  340.    }
  341. }
  342. function Runner_FreeFall()
  343. {
  344.    this.Obj_DX = 0;
  345.    if(this.CX_Ladder("Runner_Climb0"))
  346.    {
  347.       return undefined;
  348.    }
  349.    this.CX(0,32768,524288);
  350.    if(this.CX_Collide_Flag & 4)
  351.    {
  352.       this.Obj_DY = 0;
  353.    }
  354.    if(this.CX_Collide_Flag & 8)
  355.    {
  356.       _root.ImpactY_Flag = 9;
  357.       _root.snd.attachSound("LV_185");
  358.       _root.snd.start();
  359.       this.gotoAndPlay("Runner_Crash");
  360.    }
  361. }
  362. function Runner_Tired()
  363. {
  364.    if(0 && this.Keys_pressed[2] & _root.Bits_on[1])
  365.    {
  366.       this.gotoAndPlay("Runner_Cheat");
  367.    }
  368.    if(this.Keys_pressed[8] & _root.Bits_on[1])
  369.    {
  370.       this.Obj_DY = -491520;
  371.       gotoAndPlay(144);
  372.    }
  373.    else if(this.Keys_state[4] & _root.Bits_on[5])
  374.    {
  375.       this.Obj_Flip = -1;
  376.       this.gotoAndPlay("Runner_Walk");
  377.    }
  378.    else if(this.Keys_state[4] & _root.Bits_on[7])
  379.    {
  380.       this.Obj_Flip = 1;
  381.       this.gotoAndPlay("Runner_Walk");
  382.    }
  383.    else if(this.Keys_pressed[4] & _root.Bits_on[6])
  384.    {
  385.       if(_root.teleportCheck(this))
  386.       {
  387.          this.gotoAndPlay("Runner_Teleport");
  388.       }
  389.       _root.helpCheck(this);
  390.    }
  391.    if(this.CX_Ladder("Runner_Climb0"))
  392.    {
  393.       return undefined;
  394.    }
  395.    if(this.CX_LadderX("Runner_Climb0"))
  396.    {
  397.       return undefined;
  398.    }
  399.    this.CX(0,32768,524288);
  400.    if(this.CX_Fall_Flag)
  401.    {
  402.       this.gotoAndPlay("Runner_Fall");
  403.    }
  404. }
  405. function Runner_Climb_Frame()
  406. {
  407.    this.Obj_AnimFrame += 80;
  408.    switch(this.Obj_AnimFrame >> 8 & 3)
  409.    {
  410.       case 0:
  411.          this.gotoAndStop("Runner_Climb1");
  412.          break;
  413.       case 1:
  414.          this.gotoAndStop("Runner_Climb2");
  415.          break;
  416.       case 2:
  417.          this.gotoAndStop("Runner_Climb3");
  418.          break;
  419.       case 3:
  420.          this.gotoAndStop("Runner_Climb4");
  421.    }
  422. }
  423. function Runner_Climb0()
  424. {
  425.    this.Obj_Flags |= 1;
  426.    if(this.Obj_Timer < 0)
  427.    {
  428.       this.Obj_Timer += 4;
  429.       this.Obj_X -= 262144;
  430.       if(this.Obj_X <= this.Obj_Target)
  431.       {
  432.          this.Obj_X = this.Obj_Target;
  433.       }
  434.    }
  435.    else if(this.Obj_Timer > 0)
  436.    {
  437.       this.Obj_Timer += 4;
  438.       this.Obj_X += 262144;
  439.       if(this.Obj_X >= this.Obj_Target)
  440.       {
  441.          this.Obj_X = this.Obj_Target;
  442.       }
  443.    }
  444.    if(this.Obj_X == this.Obj_Target)
  445.    {
  446.       if(this.Obj_Climb == 0)
  447.       {
  448.          this.gotoAndPlay("Runner_Climb");
  449.       }
  450.       if(this.Obj_Climb == 1)
  451.       {
  452.          this.gotoAndPlay("Runner_Climb_Out");
  453.       }
  454.    }
  455. }
  456. function Runner_Climb()
  457. {
  458.    this.Obj_Flags |= 1;
  459.    this.Obj_DX = 0;
  460.    this.Obj_DY = 0;
  461.    if(this.Keys_state[4] & _root.Bits_on[6])
  462.    {
  463.       this.Obj_DY = -163840;
  464.       this.Runner_Climb_Frame();
  465.    }
  466.    else if(this.Keys_state[5] & _root.Bits_on[0])
  467.    {
  468.       this.Obj_DY = 163840;
  469.       this.Runner_Climb_Frame();
  470.    }
  471.    else if(this.Keys_state[4] & _root.Bits_on[5])
  472.    {
  473.       this.Obj_Flip = -1;
  474.       this.Obj_Flags &= 65534;
  475.       this.gotoAndPlay("Runner_Fall");
  476.    }
  477.    else if(this.Keys_state[4] & _root.Bits_on[7])
  478.    {
  479.       this.Obj_Flip = 1;
  480.       this.Obj_Flags &= 65534;
  481.       this.gotoAndPlay("Runner_Fall");
  482.    }
  483.    this.CX(0,0,1073741824);
  484.    if(!this.CX_Ladder0())
  485.    {
  486.       this.Obj_Flags &= 65534;
  487.       this.gotoAndPlay("Runner_Climb_Out");
  488.    }
  489.    if(this.CX_Collide_Flag & 8)
  490.    {
  491.       this.Obj_Flags &= 65534;
  492.       this.gotoAndPlay("Runner_Idle");
  493.    }
  494. }
  495. function Runner_Climb_Out()
  496. {
  497.    this.Obj_DX = 0;
  498.    this.Obj_DY = 0;
  499.    if(this.Keys_state[4] & _root.Bits_on[6])
  500.    {
  501.       this.Obj_DY = -65536;
  502.    }
  503.    else if(this.Keys_state[5] & _root.Bits_on[0])
  504.    {
  505.       this.Obj_DY = 65536;
  506.    }
  507.    if((this.Obj_Y >> 16 & 7) < 4)
  508.    {
  509.       this.gotoAndStop("Runner_Climb_Out1");
  510.    }
  511.    else
  512.    {
  513.       this.gotoAndStop("Runner_Climb_Out2");
  514.    }
  515.    this.Obj_X += this.Obj_DX;
  516.    this.Obj_Y += this.Obj_DY;
  517.    if(!this.CX_LadderX0())
  518.    {
  519.       this.gotoAndPlay("Runner_Idle");
  520.       if(this.CX_Ladder0())
  521.       {
  522.          this.gotoAndPlay("Runner_Climb");
  523.       }
  524.       else
  525.       {
  526.          this.Obj_DX = 0;
  527.          this.Obj_DY = 0;
  528.          this.Obj_Y &= 4294443008;
  529.          this.Obj_Y += 458752;
  530.          this.gotoAndPlay("Runner_Idle");
  531.       }
  532.    }
  533. }
  534. function Runner_Dizzy()
  535. {
  536.    this.CX(0,32768,524288);
  537. }
  538. function Runner_Crash()
  539. {
  540.    this.CX(0,32768,524288);
  541. }
  542. function Runner_Push()
  543. {
  544.    this.Obj_DX = 0;
  545.    if(this.Keys_pressed[8] & _root.Bits_on[1])
  546.    {
  547.       this.Obj_DY = -491520;
  548.       this.gotoAndPlay("Runner_Jump");
  549.    }
  550.    if(this.Keys_state[4] & _root.Bits_on[5])
  551.    {
  552.       if(this.Obj_DX > 0)
  553.       {
  554.          this.Obj_DX = 0;
  555.       }
  556.       this.Obj_DX = -65536;
  557.       if(this.Obj_DX < -458752)
  558.       {
  559.          this.Obj_DX = -458752;
  560.       }
  561.       this.Obj_Flip = -1;
  562.    }
  563.    else if(this.Keys_state[4] & _root.Bits_on[7])
  564.    {
  565.       if(this.Obj_DX < 0)
  566.       {
  567.          this.Obj_DX = 0;
  568.       }
  569.       this.Obj_DX = 65536;
  570.       if(this.Obj_DX > 458752)
  571.       {
  572.          this.Obj_DX = 458752;
  573.       }
  574.       this.Obj_Flip = 1;
  575.    }
  576.    else
  577.    {
  578.       this.gotoAndPlay("Runner_Idle");
  579.    }
  580.    this.CX(0,32768,524288);
  581.    if(!(this.CX_Collide_Flag & 3))
  582.    {
  583.       this.gotoAndPlay("Runner_Idle");
  584.    }
  585. }
  586. function Runner_Bonk()
  587. {
  588.    this.Obj_Flags &= 65503;
  589.    if(this.Obj_DX < 0)
  590.    {
  591.       this.Obj_DX += 8192;
  592.       if(this.Obj_DX > 0)
  593.       {
  594.          this.Obj_DX = 0;
  595.       }
  596.    }
  597.    if(this.Obj_DX > 0)
  598.    {
  599.       this.Obj_DX -= 8192;
  600.       if(this.Obj_DX < 0)
  601.       {
  602.          this.Obj_DX = 0;
  603.       }
  604.    }
  605.    this.CX_Init();
  606.    this.Obj_DY += 32768;
  607.    if(this.Obj_DY > 524288)
  608.    {
  609.       this.Obj_DY = 524288;
  610.    }
  611.    if(this.CX_Obj_Collide)
  612.    {
  613.       this.CX_Collide_Flag |= this.CX_Obj_Collide;
  614.    }
  615.    this.Obj_X += this.Obj_DX;
  616.    if(this.Obj_DX < 0)
  617.    {
  618.       while(this.Ck_Collide_LF())
  619.       {
  620.       }
  621.    }
  622.    if(this.Obj_DX > 0)
  623.    {
  624.       while(this.Ck_Collide_RT())
  625.       {
  626.       }
  627.    }
  628.    this.Obj_Y += this.Obj_DY;
  629.    if(this.Obj_DY < 0)
  630.    {
  631.       while(this.Ck_Collide_UP())
  632.       {
  633.       }
  634.    }
  635.    if(this.Obj_DY > 0)
  636.    {
  637.       while(this.Ck_Collide_DN())
  638.       {
  639.       }
  640.    }
  641.    if(this.CX_Collide_Flag & 8)
  642.    {
  643.       this.Obj_DY = - this.Obj_DY;
  644.       this.Obj_DY += 98304;
  645.       if(this.Obj_DY > 0)
  646.       {
  647.          this.Obj_DY = 0;
  648.       }
  649.    }
  650.    if(this.CX_Obj_Collide & 8)
  651.    {
  652.       x = 262144;
  653.    }
  654.    else
  655.    {
  656.       x = 131072;
  657.    }
  658.    if(this.Obj_Y - this.Old_Y0 > x)
  659.    {
  660.       this.CX_Fall_Flag = 1;
  661.    }
  662.    if(this.CX_Obj_Collide)
  663.    {
  664.       this.CX_Obj_Collide = 0;
  665.    }
  666.    this.cacheCX();
  667. }
  668. function Runner_Cheat()
  669. {
  670.    if(this.Keys_pressed[2] & _root.Bits_on[1])
  671.    {
  672.       this.gotoAndPlay("Runner_Fall");
  673.    }
  674.    if(this.Keys_state[4] & _root.Bits_on[6])
  675.    {
  676.       this.Obj_Y -= 524288;
  677.    }
  678.    if(this.Keys_state[5] & _root.Bits_on[0])
  679.    {
  680.       this.Obj_Y += 524288;
  681.    }
  682.    if(this.Keys_state[4] & _root.Bits_on[5])
  683.    {
  684.       this.Obj_Flip = -1;
  685.       this.Obj_X -= 524288;
  686.    }
  687.    if(this.Keys_state[4] & _root.Bits_on[7])
  688.    {
  689.       this.Obj_Flip = 1;
  690.       this.Obj_X += 524288;
  691.    }
  692.    this.cacheCX();
  693.    trace("x: " + (this.Obj_X >> 16) + ", y: " + (this.Obj_Y >> 16));
  694. }
  695. function Runner_Shocked()
  696. {
  697. }
  698. function Runner_Teleport()
  699. {
  700. }
  701. function Runner_Splat()
  702. {
  703. }
  704. function Runner_Hit()
  705. {
  706.    this.Obj_Flags &= 65534;
  707.    this.Obj_X += this.Obj_DX;
  708.    if(this.Obj_DX < 0)
  709.    {
  710.       while(this.Ck_Collide_LF())
  711.       {
  712.       }
  713.    }
  714.    else if(this.Obj_DX > 0)
  715.    {
  716.       while(this.Ck_Collide_RT())
  717.       {
  718.       }
  719.    }
  720. }
  721. function Runner_Die()
  722. {
  723. }
  724. this.gotoAndPlay("Runner_Walk");
  725. _root.KEY_LT = 37;
  726. _root.KEY_RT = 39;
  727. _root.KEY_UP = 38;
  728. _root.KEY_DN = 40;
  729. _root.KEY_A = 65;
  730. _root.KEY_B = 83;
  731. _root.KEY_LB = 81;
  732. _root.KEY_RB = 87;
  733. _root.KEY_CHEAT = 17;
  734. _root.Obj_Flags_ALWAYSRUN = 384;
  735. _root.Obj_Flags_BACKGROUND = 256;
  736. _root.Obj_Flags_MICKEY = 128;
  737. _root.Obj_Flags_DEAD = 64;
  738. _root.Obj_Flags_SPECIAL = 32;
  739. _root.Obj_Flags_KILL = 16;
  740. _root.Obj_Flags_KEYBD = 8;
  741. _root.Obj_Flags_GONE = 4;
  742. _root.Obj_Flags_ATTACK = 2;
  743. _root.Obj_Flags_CLIMBING = 1;
  744. this.Obj_X1 = -5;
  745. this.Obj_X2 = 5;
  746. this.Obj_Y1 = -31;
  747. this.Obj_Y2 = 0;
  748.