home *** CD-ROM | disk | FTP | other *** search
- numrigeliminate++;
- numrigbonus++;
- if(numrigbonus == 1)
- {
- punti = 50;
- }
- else if(numrigbonus == 2)
- {
- punti = 100;
- }
- else if(numrigbonus == 3)
- {
- punti = 250;
- }
- else if(numrigbonus == 4)
- {
- punti = 500;
- }
- punteggio += punti;
- if(punti != 0)
- {
- setProperty(scrittapunti2, _X, sfasoriz + posx + (Math.floor(maxcol / 2) - 1) * larg);
- setProperty(scrittapunti2, _Y, sfasvert + posy + (cicloriga + 1) * alt);
- scrittapunti2.play();
- }
- if(0 < numrigrimanenti)
- {
- numrigrimanenti--;
- }
- i = cicloriga;
- while(0 < i)
- {
- j = maxcol - 1;
- while(j >= 0)
- {
- matsfondo[i][j] = matsfondo[i - 1][j];
- j--;
- }
- i--;
- }
- j = 0;
- while(j < maxcol)
- {
- matsfondo[0][j] = 0;
- j++;
- }
- i = 0;
- while(i < cicloriga + 1)
- {
- j = 0;
- while(j < maxcol)
- {
- Matimage(i,j,matsfondo[i][j]);
- j++;
- }
- i++;
- }
- cicloriga++;
- gotoAndPlay(42);
-