home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / rudolfs_revenge.swf / scripts / DefineSprite_120 / frame_3 / DoAction.as
Encoding:
Text File  |  2007-07-07  |  5.9 KB  |  194 lines

  1. var ┬º\x01┬º = 892;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 892)
  5.    {
  6.       set("\x01",eval("\x01") - 119);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 922)
  10.    {
  11.       set("\x01",eval("\x01") - 773);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") + 516);
  15.       }
  16.    }
  17.    else
  18.    {
  19.       if(eval("\x01") == 944)
  20.       {
  21.          set("\x01",eval("\x01") - 670);
  22.          break;
  23.       }
  24.       if(eval("\x01") == 264)
  25.       {
  26.          set("\x01",eval("\x01") + 658);
  27.          ┬º┬ºpush(true);
  28.       }
  29.       else
  30.       {
  31.          if(eval("\x01") == 943)
  32.          {
  33.             set("\x01",eval("\x01") - 840);
  34.             break;
  35.          }
  36.          if(eval("\x01") == 149)
  37.          {
  38.             set("\x01",eval("\x01") + 516);
  39.             break;
  40.          }
  41.          if(eval("\x01") == 540)
  42.          {
  43.             set("\x01",eval("\x01") + 404);
  44.             if(┬º┬ºpop())
  45.             {
  46.                set("\x01",eval("\x01") - 670);
  47.             }
  48.          }
  49.          else if(eval("\x01") == 773)
  50.          {
  51.             set("\x01",eval("\x01") - 696);
  52.             if(┬º┬ºpop())
  53.             {
  54.                set("\x01",eval("\x01") + 816);
  55.             }
  56.          }
  57.          else if(eval("\x01") == 19)
  58.          {
  59.             set("\x01",eval("\x01") + 521);
  60.             ┬º┬ºpush(true);
  61.          }
  62.          else
  63.          {
  64.             if(eval("\x01") == 665)
  65.             {
  66.                set("\x01",eval("\x01") - 597);
  67.                if(targ.hitTest(_root.mos.targ))
  68.                {
  69.                   if(_root.scrollin == 1)
  70.                   {
  71.                      var myPointst = {x:15,y:0};
  72.                      this.localToGlobal(myPointst);
  73.                      plusx = Math.round((_root.mos._x - myPointst.x) / 10);
  74.                      plusy = Math.round((myPointst.y - _root.mos._y) / 10) * 4;
  75.                      if(_root.mos._x > 250)
  76.                      {
  77.                         plusx -= random(5) + 3;
  78.                      }
  79.                      if(_root.mos._x < 250)
  80.                      {
  81.                         plusx += random(5) + 3;
  82.                      }
  83.                      _root.mos.vx += plusx;
  84.                      _root.mos.vy -= Math.abs(plusy) + 20;
  85.                      duplicateMovieClip(_root.obiect,"obiect" + _root.contobiecte,16384 + _root.contobiecte);
  86.                      _root["obiect" + _root.contobiecte]._x = _root.mos._x;
  87.                      _root["obiect" + _root.contobiecte]._y = _root.mos._y;
  88.                      _root["obiect" + _root.contobiecte].gotoAndPlay(random(6) + 2);
  89.                      _root.contobiecte = _root.contobiecte + 1;
  90.                      if(_root.sunet == 1)
  91.                      {
  92.                         tigi = random(10) + 1;
  93.                         stopAllSounds();
  94.                         _root["mosha" + tigi].start();
  95.                      }
  96.                   }
  97.                }
  98.                break;
  99.             }
  100.             if(eval("\x01") == 936)
  101.             {
  102.                set("\x01",eval("\x01") + 7);
  103.                if(┬º┬ºpop())
  104.                {
  105.                   set("\x01",eval("\x01") - 840);
  106.                }
  107.             }
  108.             else if(eval("\x01") == 893)
  109.             {
  110.                set("\x01",eval("\x01") - 237);
  111.                ┬º┬ºpush(true);
  112.             }
  113.             else if(eval("\x01") == 219)
  114.             {
  115.                set("\x01",eval("\x01") + 82);
  116.                if(┬º┬ºpop())
  117.                {
  118.                   set("\x01",eval("\x01") - 37);
  119.                }
  120.             }
  121.             else
  122.             {
  123.                if(eval("\x01") == 77)
  124.                {
  125.                   set("\x01",eval("\x01") + 816);
  126.                   break;
  127.                }
  128.                if(eval("\x01") == 539)
  129.                {
  130.                   set("\x01",eval("\x01") - 520);
  131.                   break;
  132.                }
  133.                if(eval("\x01") == 274)
  134.                {
  135.                   set("\x01",eval("\x01") - 55);
  136.                   ┬º┬ºpush(true);
  137.                }
  138.                else
  139.                {
  140.                   if(eval("\x01") == 301)
  141.                   {
  142.                      set("\x01",eval("\x01") - 37);
  143.                      break;
  144.                   }
  145.                   if(eval("\x01") == 752)
  146.                   {
  147.                      set("\x01",eval("\x01") - 213);
  148.                      if(┬º┬ºpop())
  149.                      {
  150.                         set("\x01",eval("\x01") - 520);
  151.                      }
  152.                   }
  153.                   else
  154.                   {
  155.                      if(eval("\x01") == 68)
  156.                      {
  157.                         set("\x01",eval("\x01") - 68);
  158.                         break;
  159.                      }
  160.                      if(eval("\x01") == 292)
  161.                      {
  162.                         set("\x01",eval("\x01") + 644);
  163.                         ┬º┬ºpush(true);
  164.                      }
  165.                      else if(eval("\x01") == 656)
  166.                      {
  167.                         set("\x01",eval("\x01") - 461);
  168.                         if(┬º┬ºpop())
  169.                         {
  170.                            set("\x01",eval("\x01") + 97);
  171.                         }
  172.                      }
  173.                      else
  174.                      {
  175.                         if(eval("\x01") != 103)
  176.                         {
  177.                            if(eval("\x01") == 195)
  178.                            {
  179.                               set("\x01",eval("\x01") + 97);
  180.                               startDrag(┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop());
  181.                            }
  182.                            break;
  183.                         }
  184.                         set("\x01",eval("\x01") + 649);
  185.                         ┬º┬ºpush(true);
  186.                      }
  187.                   }
  188.                }
  189.             }
  190.          }
  191.       }
  192.    }
  193. }
  194.