home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / StackUp.swf / scripts / frame_118 / DoAction.as
Encoding:
Text File  |  2001-07-16  |  207 b   |  12 lines

  1. cx = cx - "1" + "1" * (cx == "1");
  2. il = "0";
  3. while(il < "3")
  4. {
  5.    if(eval("map" add (cx + il - "1") add y) and eval("n" add il) != "99")
  6.    {
  7.       cx += "1";
  8.       il = "8";
  9.    }
  10.    il += "1";
  11. }
  12.