home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2003 December (Special) / Gamestar-Special_2003-12_cd.bin / Arkady / arcanoid_gy.exe / scripts / frame_10 / DoAction.as
Text File  |  2002-11-22  |  451b  |  28 lines

  1. if(first_flag)
  2. {
  3.    if(sound_flag)
  4.    {
  5.       Sound5.start();
  6.    }
  7.    i = 0;
  8.    while(i < 12)
  9.    {
  10.       j = 0;
  11.       while(j < 16)
  12.       {
  13.          if(field[i][j] != 0)
  14.          {
  15.             field[i][j] = 0;
  16.             removeMovieClip("x" + i + "y" + j);
  17.          }
  18.          j++;
  19.       }
  20.       i++;
  21.    }
  22.    FinalScore = scores;
  23.    FinalSeries = max_series;
  24.    FinalHit = max_hit;
  25.    first_flag = false;
  26. }
  27. gotoAndPlay(9);
  28.