home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / frog_day.swf / scripts / DefineSprite_377 / frame_37 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  463 b   |  33 lines

  1. if(eval("a" add Robo) == WARP)
  2. {
  3.    if(Dir eq "U")
  4.    {
  5.       tellTarget(Robo)
  6.       {
  7.          gotoAndStop("U");
  8.       }
  9.    }
  10.    if(Dir eq "R")
  11.    {
  12.       tellTarget(Robo)
  13.       {
  14.          gotoAndStop("R");
  15.       }
  16.    }
  17.    if(Dir eq "D")
  18.    {
  19.       tellTarget(Robo)
  20.       {
  21.          gotoAndStop("D");
  22.       }
  23.    }
  24.    if(Dir eq "L")
  25.    {
  26.       tellTarget(Robo)
  27.       {
  28.          gotoAndStop("L");
  29.       }
  30.    }
  31.    gotoAndPlay(38);
  32. }
  33.