home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / ray-ray.swf / scripts / DefineSprite_100 / frame_3 / DoAction.as
Encoding:
Text File  |  2005-09-29  |  225 b   |  15 lines

  1. i = "1";
  2. while("25" >= i)
  3. {
  4.    if(eval("grump" add i) == "2")
  5.    {
  6.       set("grump" add i,"1");
  7.       tellTarget("grump" add i)
  8.       {
  9.          gotoAndStop("sit");
  10.       }
  11.    }
  12.    i += "1";
  13. }
  14. gotoAndStop(25);
  15.