home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / PuzzlePuzzle.swf / scripts / frame_248 / DoAction.as
Encoding:
Text File  |  2005-08-05  |  852 b   |  52 lines

  1. if(time >= 150 - stime)
  2. {
  3.    sss();
  4.    time = 0;
  5.    if(stime < 135)
  6.    {
  7.       stime = stime + 3 + guan;
  8.    }
  9.    gtime += 1;
  10.    if(9 < gtime)
  11.    {
  12.       i = 10;
  13.       while(i >= 0)
  14.       {
  15.          j = 10;
  16.          while(j >= 0)
  17.          {
  18.             removeMovieClip("gg" add (i * 11 + j));
  19.             j--;
  20.          }
  21.          i--;
  22.       }
  23.       mannumber = 0;
  24.       mancolor = 0;
  25.       sound.gotoandplay("clear");
  26.       gotoAndPlay(361);
  27.    }
  28. }
  29. ai = 0;
  30. while(ai < 8)
  31. {
  32.    if(a[ai][10] != 0)
  33.    {
  34.       i = 10;
  35.       while(i >= 0)
  36.       {
  37.          j = 10;
  38.          while(j >= 0)
  39.          {
  40.             removeMovieClip("gg" add (i * 11 + j));
  41.             j--;
  42.          }
  43.          i--;
  44.       }
  45.       cheng += 1;
  46.       cheng += 1;
  47.       man.gotoandplay("lose");
  48.       gotoAndPlay(250);
  49.    }
  50.    ai++;
  51. }
  52.