home *** CD-ROM | disk | FTP | other *** search
- if(180 - stime < time)
- {
- sssb();
- sss();
- time = 0;
- stime += 10;
- if(stime >= 60)
- {
- stime = 60;
- }
- }
- ai = 0;
- while(ai < 8)
- {
- if(a[ai][10] != 0)
- {
- i = 10;
- while(i >= 0)
- {
- j = 7;
- while(j >= 0)
- {
- removeMovieClip("gb" add (i * 8 + j));
- removeMovieClip("gg" add (i * 8 + j));
- j--;
- }
- i--;
- }
- cheng += 1;
- attachMovie("lose","lose1",1);
- setProperty(lose1, _X, 160);
- setProperty(lose1, _Y, 256);
- cheng += 1;
- attachMovie("win","win1",2);
- setProperty(win1, _X, 489);
- setProperty(win1, _Y, 256);
- man.gotoandplay("lose");
- manb.gotoandplay("win");
- sound.gotoandplay("clear");
- p2w++;
- gotoAndPlay(662);
- }
- else if(b[ai][10] != 0)
- {
- i = 10;
- while(i >= 0)
- {
- j = 7;
- while(j >= 0)
- {
- removeMovieClip("gb" add (i * 8 + j));
- removeMovieClip("gg" add (i * 8 + j));
- j--;
- }
- i--;
- }
- cheng += 1;
- attachMovie("lose","lose1",1);
- setProperty(lose1, _X, 489);
- setProperty(lose1, _Y, 256);
- cheng += 1;
- attachMovie("win","win1",2);
- setProperty(win1, _X, 160);
- setProperty(win1, _Y, 256);
- man.gotoandplay("win");
- sound.gotoandplay("clear");
- p1w++;
- manb.gotoandplay("lose");
- gotoAndPlay(662);
- }
- ai++;
- }
-