STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228026
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5119

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/92550588?noj=FRM92550588-19DC" width="1" height="1"></div>

Zuma_tetris.swf

This is the info page for
Flash #214247

(Click the ID number above for more basic data on this flash file.)


Text
GAME OVER

P - Pause

Up Arrow - Rotate

Right Arrow - Move Right

Left Arrow - Move Left

Down Arrow - Fast Drop

ActionScript [AS1/AS2]

Frame 1
Frame 4
if (_root._framesloaded >= _root._totalframes) { gotoAndPlay ("codice"); } else { gotoAndPlay ("preloader"); }
Frame 5
function Inizializzalivelli() { var i; var j; matsfondo = new Array(); liv1 = new Array(); liv2 = new Array(); liv3 = new Array(); liv4 = new Array(); liv5 = new Array(); liv6 = new Array(); liv7 = new Array(); liv8 = new Array(); liv9 = new Array(); liv10 = new Array(); i = 0; while (i < maxrig) { matsfondo[i] = new Array(); liv1[i] = new Array(); liv2[i] = new Array(); liv3[i] = new Array(); liv4[i] = new Array(); liv5[i] = new Array(); liv6[i] = new Array(); liv7[i] = new Array(); liv8[i] = new Array(); liv9[i] = new Array(); liv10[i] = new Array(); j = 0; while (j < maxcol) { matsfondo[i][j] = 0; liv1[i][j] = 0; liv2[i][j] = 0; liv3[i][j] = 0; liv4[i][j] = 0; liv5[i][j] = 0; liv6[i][j] = 0; liv7[i][j] = 0; liv8[i][j] = 0; liv9[i][j] = 0; liv10[i][j] = 0; j++; } i++; } liv3[maxrig - 1][0] = (random(7) + 100) + 1; liv3[maxrig - 2][0] = (random(7) + 100) + 1; liv3[maxrig - 3][0] = (random(7) + 100) + 1; liv3[maxrig - 4][0] = (random(7) + 100) + 1; liv3[maxrig - 5][0] = (random(7) + 100) + 1; liv3[maxrig - 6][0] = (random(7) + 100) + 1; liv3[maxrig - 7][0] = (random(7) + 100) + 1; liv3[maxrig - 8][0] = (random(7) + 100) + 1; liv3[maxrig - 1][9] = (random(7) + 100) + 1; liv3[maxrig - 2][9] = (random(7) + 100) + 1; liv3[maxrig - 3][9] = (random(7) + 100) + 1; liv3[maxrig - 4][9] = (random(7) + 100) + 1; liv3[maxrig - 5][9] = (random(7) + 100) + 1; liv3[maxrig - 6][9] = (random(7) + 100) + 1; liv3[maxrig - 7][9] = (random(7) + 100) + 1; liv3[maxrig - 8][9] = (random(7) + 100) + 1; liv4[maxrig - 1][1] = (random(7) + 100) + 1; liv4[maxrig - 1][6] = (random(7) + 100) + 1; liv4[maxrig - 2][3] = (random(7) + 100) + 1; liv4[maxrig - 2][8] = (random(7) + 100) + 1; liv4[maxrig - 3][5] = (random(7) + 100) + 1; liv4[maxrig - 4][2] = (random(7) + 100) + 1; liv4[maxrig - 4][6] = (random(7) + 100) + 1; liv4[maxrig - 4][7] = (random(7) + 100) + 1; liv4[maxrig - 5][0] = (random(7) + 100) + 1; liv4[maxrig - 5][3] = (random(7) + 100) + 1; liv5[maxrig - 1][0] = (random(7) + 100) + 1; liv5[maxrig - 1][1] = (random(7) + 100) + 1; liv5[maxrig - 1][3] = (random(7) + 100) + 1; liv5[maxrig - 1][4] = (random(7) + 100) + 1; liv5[maxrig - 1][5] = (random(7) + 100) + 1; liv5[maxrig - 1][6] = (random(7) + 100) + 1; liv5[maxrig - 1][8] = (random(7) + 100) + 1; liv5[maxrig - 1][9] = (random(7) + 100) + 1; liv5[maxrig - 2][1] = (random(7) + 100) + 1; liv5[maxrig - 2][2] = (random(7) + 100) + 1; liv5[maxrig - 2][4] = (random(7) + 100) + 1; liv5[maxrig - 2][5] = (random(7) + 100) + 1; liv5[maxrig - 2][7] = (random(7) + 100) + 1; liv5[maxrig - 2][8] = (random(7) + 100) + 1; liv5[maxrig - 3][2] = (random(7) + 100) + 1; liv5[maxrig - 3][3] = (random(7) + 100) + 1; liv5[maxrig - 3][6] = (random(7) + 100) + 1; liv5[maxrig - 3][7] = (random(7) + 100) + 1; liv5[maxrig - 4][3] = (random(7) + 100) + 1; liv5[maxrig - 4][4] = (random(7) + 100) + 1; liv5[maxrig - 4][5] = (random(7) + 100) + 1; liv5[maxrig - 4][6] = (random(7) + 100) + 1; liv5[maxrig - 5][4] = (random(7) + 100) + 1; liv5[maxrig - 5][5] = (random(7) + 100) + 1; liv6[maxrig - 12][0] = (random(7) + 100) + 1; liv6[maxrig - 12][1] = (random(7) + 100) + 1; liv6[maxrig - 12][2] = (random(7) + 100) + 1; liv6[maxrig - 12][3] = (random(7) + 100) + 1; liv6[maxrig - 12][4] = (random(7) + 100) + 1; liv6[maxrig - 12][7] = (random(7) + 100) + 1; liv6[maxrig - 12][8] = (random(7) + 100) + 1; liv6[maxrig - 12][9] = (random(7) + 100) + 1; liv7[maxrig - 1][0] = (random(7) + 100) + 1; liv7[maxrig - 2][1] = (random(7) + 100) + 1; liv7[maxrig - 3][2] = (random(7) + 100) + 1; liv7[maxrig - 4][3] = (random(7) + 100) + 1; liv7[maxrig - 5][4] = (random(7) + 100) + 1; liv7[maxrig - 6][5] = (random(7) + 100) + 1; liv7[maxrig - 7][6] = (random(7) + 100) + 1; liv7[maxrig - 8][7] = (random(7) + 100) + 1; liv7[maxrig - 9][8] = (random(7) + 100) + 1; liv7[maxrig - 10][9] = (random(7) + 100) + 1; liv8[maxrig - 1][0] = (random(7) + 100) + 1; liv8[maxrig - 2][1] = (random(7) + 100) + 1; liv8[maxrig - 3][0] = (random(7) + 100) + 1; liv8[maxrig - 4][1] = (random(7) + 100) + 1; liv8[maxrig - 5][0] = (random(7) + 100) + 1; liv8[maxrig - 6][1] = (random(7) + 100) + 1; liv8[maxrig - 7][0] = (random(7) + 100) + 1; liv8[maxrig - 8][1] = (random(7) + 100) + 1; liv8[maxrig - 9][0] = (random(7) + 100) + 1; liv8[maxrig - 1][8] = (random(7) + 100) + 1; liv8[maxrig - 2][9] = (random(7) + 100) + 1; liv8[maxrig - 3][8] = (random(7) + 100) + 1; liv8[maxrig - 4][9] = (random(7) + 100) + 1; liv8[maxrig - 5][8] = (random(7) + 100) + 1; liv8[maxrig - 6][9] = (random(7) + 100) + 1; liv8[maxrig - 7][8] = (random(7) + 100) + 1; liv8[maxrig - 8][9] = (random(7) + 100) + 1; liv8[maxrig - 9][8] = (random(7) + 100) + 1; liv9[maxrig - 9][4] = (random(7) + 100) + 1; liv9[maxrig - 9][5] = (random(7) + 100) + 1; liv9[maxrig - 8][3] = (random(7) + 100) + 1; liv9[maxrig - 8][6] = (random(7) + 100) + 1; liv9[maxrig - 7][2] = (random(7) + 100) + 1; liv9[maxrig - 7][7] = (random(7) + 100) + 1; liv9[maxrig - 6][2] = (random(7) + 100) + 1; liv9[maxrig - 6][7] = (random(7) + 100) + 1; liv9[maxrig - 5][3] = (random(7) + 100) + 1; liv9[maxrig - 5][6] = (random(7) + 100) + 1; liv9[maxrig - 4][4] = (random(7) + 100) + 1; liv9[maxrig - 4][5] = (random(7) + 100) + 1; liv10[maxrig - 13][0] = (random(7) + 100) + 1; liv10[maxrig - 13][9] = (random(7) + 100) + 1; liv10[maxrig - 12][1] = (random(7) + 100) + 1; liv10[maxrig - 12][8] = (random(7) + 100) + 1; liv10[maxrig - 11][2] = (random(7) + 100) + 1; liv10[maxrig - 11][7] = (random(7) + 100) + 1; liv10[maxrig - 10][3] = (random(7) + 100) + 1; liv10[maxrig - 10][6] = (random(7) + 100) + 1; liv10[maxrig - 9][4] = (random(7) + 100) + 1; liv10[maxrig - 9][5] = (random(7) + 100) + 1; } function Sceglilivello() { if (numlevel == 1) { matsfondo = liv1; numcicli = 0; numrig = 5; puntiliv = 1; } else if (numlevel == 2) { matsfondo = liv2; numcicli = 1; numrig = 10; puntiliv = 2; } else if (numlevel == 3) { matsfondo = liv3; numcicli = 2; numrig = 12; puntiliv = 4; } else if (numlevel == 4) { matsfondo = liv4; numcicli = 2; numrig = 10; puntiliv = 7; } else if (numlevel == 5) { matsfondo = liv5; numcicli = 2; numrig = 12; puntiliv = 8; } else if (numlevel == 6) { matsfondo = liv6; numcicli = 2; numrig = 12; puntiliv = 9; } else if (numlevel == 7) { matsfondo = liv7; numcicli = 2; numrig = 10; puntiliv = 11; } else if (numlevel == 8) { matsfondo = liv8; numcicli = 2; numrig = 10; puntiliv = 13; } else if (numlevel == 9) { matsfondo = liv9; numcicli = 2; numrig = 12; puntiliv = 16; } else if (numlevel == 10) { matsfondo = liv10; numcicli = 2; numrig = 8; puntiliv = 17; } Matimage(matsfondo); } function Sommat(a, b, c) { var rig; var col; rig = 0; while (rig < maxrig) { col = 0; while (col < maxcol) { c[rig][col] = a[rig][col] + b[rig][col]; col++; } rig++; } } function Difmat(a, b, c) { var rig; var col; rig = 0; while (rig < maxrig) { col = 0; while (col < maxcol) { c[rig][col] = a[rig][col] - b[rig][col]; col++; } rig++; } } function Matimage(rig, col, valx) { var valxx; if (valx != 0) { valxx = valx % 100; setProperty((("mat" + rig) + "_") + col, _visible , true); eval ((("mat" + rig) + "_") + col).gotoAndStop(valxx); } else { setProperty((("mat" + rig) + "_") + col, _visible , false); } } function Statiniz() { var i; i = 0; while (i < 7) { Set("contastat" + i, 0); setProperty("barra" + i, _visible , false); i++; } } function Statnorm() { var i; var minim; minim = 100; i = 0; while (i < 7) { minim = Math.min(eval ("contastat" + i), minim); i++; } i = 0; while (i < 7) { Set("contastat" + i, eval ("contastat" + i) - minim); if (eval ("contastat" + i) == 0) { setProperty("barra" + i, _visible , false); } else { eval ("barra" + i).gotoAndStop(eval ("contastat" + i)); } i++; } } function Statistiche(num, valx) { setProperty("barra" + num, _visible , true); eval ("barra" + num).gotoAndStop(valx); } function Matimage2(rig, col, tr) { setProperty((("mat" + rig) + "_") + col, _alpha , tr); } function CreaMatrix() { var i; var j; var contatore = 0; i = 0; while (i < maxrig) { j = 0; while (j < maxcol) { contatore++; duplicateMovieClip (mat, (("mat" + i) + "_") + j, contatore); setProperty((("mat" + i) + "_") + j, _x , posx + (j * larg)); setProperty((("mat" + i) + "_") + j, _y , posy + (i * alt)); setProperty((("mat" + i) + "_") + j, _visible , false); setProperty((("mat" + i) + "_") + j, _alpha , 100); j++; } i++; } duplicateMovieClip (scrittapunti, "scrittapunti2", 400); duplicateMovieClip (scrittafine, "scrittafine2", 401); setProperty(scrittafine2, _x , 100); setProperty(scrittafine2, _y , 100); setProperty(scrittafine2, _visible , false); duplicateMovieClip (scrittapausa, "scrittapausa2", 402); setProperty(scrittapausa2, _x , 100); setProperty(scrittapausa2, _y , 100); setProperty(scrittapausa2, _visible , false); } function Sceltapezzo() { if (tipoinizio == 0) { distdx = 4; distup = maxrig - 2; val0 = 1; val1 = 1; val2 = 1; val3 = 1; rig0 = rigind; col0 = colind; rig1 = rigind; col1 = colind + 1; rig2 = rigind + 1; col2 = colind; rig3 = rigind + 1; col3 = colind + 1; } else if (tipoinizio == 1) { distdx = 2; distup = maxrig - 1; val0 = 2; val1 = 2; val2 = 2; val3 = 2; rig0 = rigind; col0 = colind; rig1 = rigind; col1 = colind + 1; rig2 = rigind; col2 = colind + 2; rig3 = rigind; col3 = colind + 3; } else if (tipoinizio == 2) { distdx = 3; distup = maxrig - 2; val0 = 3; val1 = 3; val2 = 3; val3 = 3; rig0 = rigind; col0 = colind; rig1 = rigind; col1 = colind + 1; rig2 = rigind; col2 = colind + 2; rig3 = rigind + 1; col3 = colind + 2; } else if (tipoinizio == 3) { distdx = 3; distup = maxrig - 2; val0 = 4; val1 = 4; val2 = 4; val3 = 4; rig0 = rigind; col0 = colind; rig1 = rigind; col1 = colind + 1; rig2 = rigind; col2 = colind + 2; rig3 = rigind + 1; col3 = colind; } else if (tipoinizio == 4) { distdx = 3; distup = maxrig - 2; val0 = 5; val1 = 5; val2 = 5; val3 = 5; rig0 = rigind; col0 = colind; rig1 = rigind; col1 = colind + 1; rig2 = rigind + 1; col2 = colind + 1; rig3 = rigind + 1; col3 = colind + 2; } else if (tipoinizio == 5) { distdx = 3; distup = maxrig - 2; val0 = 6; val1 = 6; val2 = 6; val3 = 6; rig0 = rigind; col0 = colind + 1; rig1 = rigind; col1 = colind + 2; rig2 = rigind + 1; col2 = colind; rig3 = rigind + 1; col3 = colind + 1; } else if (tipoinizio == 6) { distdx = 3; distup = maxrig - 2; val0 = 7; val1 = 7; val2 = 7; val3 = 7; rig0 = rigind; col0 = colind; rig1 = rigind; col1 = colind + 1; rig2 = rigind; col2 = colind + 2; rig3 = rigind + 1; col3 = colind + 1; } indicerot = 0; distsx = 4; if ((((matsfondo[rig0][col0] < 100) && (matsfondo[rig1][col1] < 100)) && (matsfondo[rig2][col2] < 100)) && (matsfondo[rig3][col3] < 100)) { matsfondo[rig0][col0] = val0; matsfondo[rig1][col1] = val1; matsfondo[rig2][col2] = val2; matsfondo[rig3][col3] = val3; Matimage(rig0, col0, val0); Matimage(rig1, col1, val1); Matimage(rig2, col2, val2); Matimage(rig3, col3, val3); verificainiziale = 0; } else { verificainiziale = 1; } } function Prossimopezzo() { i = 0; while (i < 7) { setProperty("prossimo.pezzo" + i, _visible , false); i++; } if (tipoprossimo == 0) { setProperty("prossimo.pezzo0", _visible , true); } else if (tipoprossimo == 1) { setProperty("prossimo.pezzo1", _visible , true); } else if (tipoprossimo == 2) { setProperty("prossimo.pezzo2", _visible , true); } else if (tipoprossimo == 3) { setProperty("prossimo.pezzo3", _visible , true); } else if (tipoprossimo == 4) { setProperty("prossimo.pezzo4", _visible , true); } else if (tipoprossimo == 5) { setProperty("prossimo.pezzo5", _visible , true); } else if (tipoprossimo == 6) { setProperty("prossimo.pezzo6", _visible , true); } } function Shiftdxsx(dir) { if (dir == 1) { if (distdx != 0) { if ((((matsfondo[rig0][col0 + 1] < 100) && (matsfondo[rig1][col1 + 1] < 100)) && (matsfondo[rig2][col2 + 1] < 100)) && (matsfondo[rig3][col3 + 1] < 100)) { matsfondo[rig0][col0] = 0; matsfondo[rig1][col1] = 0; matsfondo[rig2][col2] = 0; matsfondo[rig3][col3] = 0; Matimage(rig0, col0, 0); Matimage(rig1, col1, 0); Matimage(rig2, col2, 0); Matimage(rig3, col3, 0); matsfondo[rig0][++col0] = val0; matsfondo[rig1][++col1] = val1; matsfondo[rig2][++col2] = val2; matsfondo[rig3][++col3] = val3; Matimage(rig0, col0, val0); Matimage(rig1, col1, val1); Matimage(rig2, col2, val2); Matimage(rig3, col3, val3); distdx--; distsx++; } } } else if (distsx != 0) { if ((((matsfondo[rig0][col0 - 1] < 100) && (matsfondo[rig1][col1 - 1] < 100)) && (matsfondo[rig2][col2 - 1] < 100)) && (matsfondo[rig3][col3 - 1] < 100)) { matsfondo[rig0][col0] = 0; matsfondo[rig1][col1] = 0; matsfondo[rig2][col2] = 0; matsfondo[rig3][col3] = 0; Matimage(rig0, col0, 0); Matimage(rig1, col1, 0); Matimage(rig2, col2, 0); Matimage(rig3, col3, 0); matsfondo[rig0][--col0] = val0; matsfondo[rig1][--col1] = val1; matsfondo[rig2][--col2] = val2; matsfondo[rig3][--col3] = val3; Matimage(rig0, col0, val0); Matimage(rig1, col1, val1); Matimage(rig2, col2, val2); Matimage(rig3, col3, val3); distdx++; distsx--; } } } function Rotazione() { var rotrig0; var rotcol0; var rotrig1; var rotcol1; var rotrig2; var rotcol2; var rotrig3; var rotcol3; var rotdistdx; var rotdistsx; var rotdistup; var flag = 0; rotrig0 = rig0; rotcol0 = col0; rotrig1 = rig1; rotcol1 = col1; rotrig2 = rig2; rotcol2 = col2; rotrig3 = rig3; rotcol3 = col3; if (tipoinizio == 0) { flag = 1; } else if (tipoinizio == 1) { indicerot = indicerot % 2; if ((indicerot == 0) && (2 < distup)) { rotdistdx = distdx + 2; rotdistsx = distsx + 1; rotdistup = distup - 3; rotrig0 = rig1 + 1; rotcol0 = col1; rotrig2 = rig1 + 2; rotcol2 = col1; rotrig3 = rig1 + 3; rotcol3 = col1; } else if (((indicerot == 1) && (distdx >= 2)) && (distsx >= 1)) { rotdistdx = distdx - 2; rotdistsx = distsx - 1; rotdistup = distup + 3; rotrig0 = rig1; rotcol0 = col1 - 1; rotrig2 = rig1; rotcol2 = col1 + 1; rotrig3 = rig1; rotcol3 = col1 + 2; } else if ((indicerot == 1) && (distdx < 2)) { rotdistdx = 0; rotdistsx = 6; rotdistup = distup + 3; rotrig0 = rig1; rotcol0 = 6; rotrig1 = rig1; rotcol1 = 7; rotrig2 = rig1; rotcol2 = 8; rotrig3 = rig1; rotcol3 = 9; } else { flag = 1; } val0 = 2; val1 = 2; val2 = 2; val3 = 2; } else if (tipoinizio == 2) { indicerot = indicerot % 4; if ((indicerot == 0) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotrig2 = rig0 + 1; rotcol2 = col0; rotrig3 = rig0 + 2; rotcol3 = col0; } else if ((indicerot == 1) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotrig1 = rig2; rotcol1 = col2 + 2; rotrig3 = rig2; rotcol3 = col2 + 1; } else if ((indicerot == 1) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig0; rotcol0 = 7; rotrig1 = rig2; rotcol1 = 9; rotrig2 = rig2; rotcol2 = 7; rotrig3 = rig2; rotcol3 = 8; } else if ((indicerot == 2) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotrig0 = rig3 + 1; rotrig1 = rig3 - 1; rotcol1 = col3; rotrig2 = rig3 + 1; rotcol2 = col3; } else if ((indicerot == 3) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotrig0 = rig1; rotrig2 = rig1; rotcol2 = col1 + 1; rotcol3 = col1 + 1; } else if ((indicerot == 3) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig1; rotcol0 = 7; rotrig1 = rig1; rotcol1 = 8; rotrig2 = rig1; rotcol2 = 9; rotrig3 = rig1 + 1; rotcol3 = 9; } else { flag = 1; } val0 = 3; val1 = 3; val2 = 3; val3 = 3; } else if (tipoinizio == 3) { indicerot = indicerot % 4; if ((indicerot == 0) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotrig1 = rig3 + 1; rotrig2 = rig3 + 1; rotcol2 = col0; } else if ((indicerot == 1) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotcol0 = col3 + 2; rotrig1 = rig3; rotcol1 = col3 + 2; rotrig2 = rig3; rotcol2 = col3 + 1; } else if ((indicerot == 1) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig3 - 1; rotcol0 = 9; rotrig1 = rig3; rotcol1 = 9; rotrig2 = rig3; rotcol2 = 8; rotrig3 = rig3; rotcol3 = 7; } else if ((indicerot == 2) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotcol0 = col2 - 1; rotrig1 = rig2 - 1; rotcol1 = col2; rotrig3 = rig2 + 1; rotcol3 = col2; } else if ((indicerot == 3) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotrig2 = rig0; rotcol2 = col1 + 1; rotrig3 = rig0 + 1; rotcol3 = col0; } else if ((indicerot == 3) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig0; rotcol0 = 7; rotrig1 = rig0; rotcol1 = 8; rotrig2 = rig0; rotcol2 = 9; rotrig3 = rig0 + 1; rotcol3 = 7; } else { flag = 1; } val0 = 4; val1 = 4; val2 = 4; val3 = 4; } else if (tipoinizio == 4) { indicerot = indicerot % 2; if ((indicerot == 0) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotrig0 = rig2; rotrig3 = rig2 + 1; rotcol3 = col0; } else if ((indicerot == 1) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotrig0 = rig1; rotrig3 = rig2; rotcol3 = col2 + 1; } else if ((indicerot == 1) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig1; rotcol0 = 7; rotrig1 = rig1; rotcol1 = 8; rotrig2 = rig2; rotcol2 = 8; rotrig3 = rig2; rotcol3 = 9; } else { flag = 1; } val0 = 5; val1 = 5; val2 = 5; val3 = 5; } else if (tipoinizio == 5) { indicerot = indicerot % 2; if ((indicerot == 0) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotcol0 = col2; rotrig1 = rig3 + 1; rotcol1 = col3; } else if ((indicerot == 1) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotcol0 = col3; rotrig1 = rig3 - 1; rotcol1 = col3 + 1; } else if ((indicerot == 1) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig0; rotcol0 = 8; rotrig1 = rig0; rotcol1 = 9; rotrig2 = rig2; rotcol2 = 7; rotrig3 = rig2; rotcol3 = 8; } else { flag = 1; } val0 = 6; val1 = 6; val2 = 6; val3 = 6; } else if (tipoinizio == 6) { indicerot = indicerot % 4; if ((indicerot == 0) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotrig1 = rig3; rotcol1 = col0; rotrig2 = rig3 + 1; rotcol2 = col0; } else if ((indicerot == 1) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotcol0 = col3; rotrig2 = rig3; rotcol2 = col3 + 1; } else if ((indicerot == 1) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig3 - 1; rotcol0 = 8; rotrig1 = rig3; rotcol1 = 7; rotrig2 = rig3; rotcol2 = 9; rotrig3 = rig3; rotcol3 = 8; } else if ((indicerot == 2) && (0 < distup)) { rotdistdx = distdx + 1; rotdistsx = distsx; rotdistup = distup - 1; rotrig2 = rig3 + 1; rotcol2 = col3; } else if ((indicerot == 3) && (distdx >= 1)) { rotdistdx = distdx - 1; rotdistsx = distsx; rotdistup = distup + 1; rotcol0 = col3 - 1; rotrig1 = rig3 - 1; rotcol1 = col3; rotrig2 = rig3 - 1; rotcol2 = col3 + 1; } else if ((indicerot == 3) && (distdx < 1)) { rotdistdx = 0; rotdistsx = 7; rotdistup = distup + 1; rotrig0 = rig3 - 1; rotcol0 = 7; rotrig1 = rig3 - 1; rotcol1 = 8; rotrig2 = rig3 - 1; rotcol2 = 9; rotrig3 = rig3; rotcol3 = 8; } else { flag = 1; } val0 = 7; val1 = 7; val2 = 7; val3 = 7; } if (((((flag == 0) && (matsfondo[rotrig0][rotcol0] < 100)) && (matsfondo[rotrig1][rotcol1] < 100)) && (matsfondo[rotrig2][rotcol2] < 100)) && (matsfondo[rotrig3][rotcol3] < 100)) { matsfondo[rig0][col0] = 0; matsfondo[rig1][col1] = 0; matsfondo[rig2][col2] = 0; matsfondo[rig3][col3] = 0; Matimage(rig0, col0, 0); Matimage(rig1, col1, 0); Matimage(rig2, col2, 0); Matimage(rig3, col3, 0); rig0 = rotrig0; col0 = rotcol0; rig1 = rotrig1; col1 = rotcol1; rig2 = rotrig2; col2 = rotcol2; rig3 = rotrig3; col3 = rotcol3; matsfondo[rig0][col0] = val0; matsfondo[rig1][col1] = val1; matsfondo[rig2][col2] = val2; matsfondo[rig3][col3] = val3; Matimage(rig0, col0, val0); Matimage(rig1, col1, val1); Matimage(rig2, col2, val2); Matimage(rig3, col3, val3); distdx = rotdistdx; distsx = rotdistsx; distup = rotdistup; indicerot++; } } function Shiftbasso() { if (distup != 0) { if ((((matsfondo[rig0 + 1][col0] < 100) && (matsfondo[rig1 + 1][col1] < 100)) && (matsfondo[rig2 + 1][col2] < 100)) && (matsfondo[rig3 + 1][col3] < 100)) { matsfondo[rig0][col0] = 0; matsfondo[rig1][col1] = 0; matsfondo[rig2][col2] = 0; matsfondo[rig3][col3] = 0; Matimage(rig0, col0, 0); Matimage(rig1, col1, 0); Matimage(rig2, col2, 0); Matimage(rig3, col3, 0); matsfondo[++rig0][col0] = val0; matsfondo[++rig1][col1] = val1; matsfondo[++rig2][col2] = val2; matsfondo[++rig3][col3] = val3; Matimage(rig0, col0, val0); Matimage(rig1, col1, val1); Matimage(rig2, col2, val2); Matimage(rig3, col3, val3); distup--; x = 1; } else { matsfondo[rig0][col0] = val0 + 100; matsfondo[rig1][col1] = val1 + 100; matsfondo[rig2][col2] = val2 + 100; matsfondo[rig3][col3] = val3 + 100; x = 0; if (distup >= (maxrig - 2)) { setProperty(scrittafine2, _visible , true); gotoAndPlay ("fine"); } else { punti = ((puntiliv * puntiliv) + (puntiliv * distup)) * puntidoppi; punteggio = punteggio + punti; setProperty(scrittapunti2, _x , (posx + ((distsx + ((maxcol - (distsx + distdx)) / 2)) * larg)) - sfasoriz); setProperty(scrittapunti2, _y , (sfasvert + posy) + ((maxrig - distup) * alt)); scrittapunti2.play(); gotoAndPlay ("eliminariga"); } } } else { matsfondo[rig0][col0] = val0 + 100; matsfondo[rig1][col1] = val1 + 100; matsfondo[rig2][col2] = val2 + 100; matsfondo[rig3][col3] = val3 + 100; x = 0; punti = (puntiliv * puntiliv) * puntidoppi; punteggio = punteggio + punti; setProperty(scrittapunti2, _x , (posx + ((distsx + ((maxcol - (distsx + distdx)) / 2)) * larg)) - sfasoriz); setProperty(scrittapunti2, _y , (sfasvert + posy) + ((maxrig - distup) * alt)); scrittapunti2.play(); gotoAndPlay ("eliminariga"); } } posx = 35; posy = 35; larg = 15; alt = 15; sfasoriz = 8; sfasvert = -10; nummaxliv = 11; nummaxcrediti = 5; numlevel = 0; numrig = 0; numrigrimanenti = 0; numrigeliminate = 0; numcicli = 0; maxrig = 22; maxcol = 10; rig0 = 0; col0 = 0; rigind = 0; colind = Math.floor(maxcol / 2) - 1; verificainiziale = 0; bloccoshift = 0; cicloriga = 0; contacol = 0; alp = 100; punti = 0; punteggio = 0; recordpunti = 10000;
Frame 6
t_pausa = "PAUSE"; t_livello = "LEVEL:"; t_prossimopezzo = "NEXT:"; t_punteggio = "SCORE:"; t_righerimanenti = "LINES:"; t_record = "HI-SCORE"; t_versione = "Version 2 Beta 6";
Frame 7
gotoAndPlay ("intro");
Frame 8
Mouse.hide(); Creamatrix(); maxpunti = 0; numcrediti = nummaxcrediti; Inizializzalivelli(); punteggio = 0; if (codice != 0) { numlevel = codice; } Statiniz();
Frame 9
numlevel++; Sceglilivello(); numrigrimanenti = numrig; numrigeliminate = 0; tipoprossimo = random(7); i = 0; while (i < maxrig) { j = 0; while (j < maxcol) { Matimage(i, j, matsfondo[i][j]); j++; } i++; } bloccoshift = 0;
Frame 14
tipoinizio = tipoprossimo; tipoprossimo = random(7); Prossimopezzo(); Sceltapezzo(); setProperty(prossimo, _visible , true); x = 1; eval ("contastat" + tipoinizio)++; if (100 < eval ("contastat" + tipoinizio)) { Statnorm(); } else { Statistiche(tipoinizio, eval ("contastat" + tipoinizio)); }
Frame 15
Frame 17
Frame 18
Frame 20
if ((x == 1) && (bloccoshift == 0)) { bloccoshift = 1; puntidoppi = 1; Shiftbasso(); bloccoshift = 0; }
Frame 21
if (x == 1) { if (numcicli == 0) { gotoAndPlay ("shift_0"); } else if (numcicli == 1) { gotoAndPlay ("shift_1"); } else if (numcicli == 2) { gotoAndPlay ("shift_2"); } } else { gotoAndPlay ("nuovopezzo"); }
Frame 42
bloccoshift = 1; if (cicloriga >= maxrig) { cicloriga = 0; numrigbonus = 0; if (numrigeliminate >= numrig) { bloccoshift = 1; gotoAndPlay ("prossimolivello"); } else { bloccoshift = 0; gotoAndPlay ("ciclo"); } }
Frame 43
contacol = 0; while ((contacol < maxcol) && (cicloriga < maxrig)) { contacol = 0; r = 0; while (r < maxcol) { if (matsfondo[cicloriga][r] != 0) { contacol++; } r++; } if (contacol < maxcol) { cicloriga++; } }
Frame 44
if (cicloriga >= maxrig) { cicloriga = 0; numrigbonus = 0; if (numrigeliminate >= numrig) { bloccoshift = 1; gotoAndPlay ("prossimolivello"); } else { bloccoshift = 0; gotoAndPlay ("ciclo"); } } if (alp == 0) { colon = 0; while (colon < maxcol) { setProperty((("mat" + cicloriga) + "_") + colon, _visible , false); setProperty((("mat" + cicloriga) + "_") + colon, _alpha , 100); colon++; } alp = 100; gotoAndPlay ("elimina"); }
Frame 45
alp = alp - 5; colon = 0; while (colon < maxcol) { Matimage2(cicloriga, colon, alp); colon++; } gotoAndPlay ("alpha");
Frame 46
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 = 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 ("eliminariga");
Frame 49
cicloriga = 0; cbonus = 0; ccbonus = 0; puntix = 0; contabonus = 1; bloccoshift = 1;
Frame 50
contacol = 0; r = 0; while (r < maxcol) { if (matsfondo[cicloriga][r] == 0) { contacol++; } r++; } if (contacol < maxcol) { cbonus = 1; } cicloriga++;
Frame 51
if (cbonus == 0) { gotoAndPlay ("ciclobonus"); }
Frame 53
if (1 >= cicloriga) { gotoAndPlay ("fine"); } if (contabonus < (cicloriga - 2)) { puntix = puntix + (10 * contabonus); contabonus++; j = 0; while (j < maxcol) { Matimage(contabonus, j, 8); j++; } } else { ccbonus = 1; }
Frame 54
if (ccbonus == 0) { gotoAndPlay ("bonuslivello"); }
Frame 55
punti = puntix; punteggio = punteggio + punti; if (punti != 0) { setProperty(scrittapunti2, _x , (sfasoriz + posx) + ((Math.floor(maxcol / 2) - 1) * larg)); setProperty(scrittapunti2, _y , (sfasvert + posy) + (cicloriga * alt)); scrittapunti2.play(); }
Frame 87
if (numlevel < 10) { bloccoshift = 0; gotoAndPlay ("implivello"); } else { setProperty(scrittafine2, _visible , true); gotoAndPlay ("fine"); }
Frame 89
Mouse.show(); stop();
Frame 90
Mouse.show(); setProperty(prossimo, _visible , false); if (recordpunti < punteggio) { recordpunti = punteggio; } stop();
Frame 91
Frame 141
gotoAndStop ("fine");
Symbol 15 Button
on (keyPress "<Right>") { if (bloccoshift == 0) { bloccoshift = 1; Shiftdxsx(1); bloccoshift = 0; } } on (keyPress "<Left>") { if (bloccoshift == 0) { bloccoshift = 1; Shiftdxsx(0); bloccoshift = 0; } } on (keyPress "<Down>") { if ((bloccoshift == 0) && (x == 1)) { bloccoshift = 1; puntidoppi = 2; Shiftbasso(); bloccoshift = 0; } } on (keyPress "<Up>") { if (bloccoshift == 0) { bloccoshift = 1; Rotazione(); bloccoshift = 0; } } on (keyPress "p") { if (bloccoshift == 0) { setProperty(scrittapausa2, _visible , true); framepausa = _root._currentframe; gotoAndPlay ("pausa"); } } on (keyPress "P") { if (bloccoshift == 0) { setProperty(scrittapausa2, _visible , true); framepausa = _root._currentframe; gotoAndPlay ("pausa"); } }
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 17
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 3
stop();
Symbol 37 MovieClip Frame 4
stop();
Symbol 37 MovieClip Frame 5
stop();
Symbol 37 MovieClip Frame 6
stop();
Symbol 37 MovieClip Frame 7
stop();
Symbol 37 MovieClip Frame 8
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 92 Button
on (release) { gotoAndPlay ("inizializza"); }

Library Items

Symbol 1 SoundUsed by:Timeline
Symbol 2 SoundUsed by:Timeline
Symbol 3 BitmapUsed by:5 89
Symbol 4 BitmapUsed by:5 89
Symbol 5 GraphicUses:3 4Used by:Timeline
Symbol 6 BitmapUsed by:7 11 12 14 89
Symbol 7 GraphicUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 BitmapUsed by:11
Symbol 10 BitmapUsed by:11 89
Symbol 11 GraphicUses:9 6 10Used by:Timeline
Symbol 12 GraphicUses:6Used by:13
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 GraphicUses:6Used by:Timeline
Symbol 15 ButtonUsed by:Timeline
Symbol 16 GraphicUsed by:Timeline
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:Timeline
Symbol 19 FontUsed by:20 23 25 45 47
Symbol 20 EditableTextUses:19Used by:Timeline
Symbol 21 FontUsed by:22 24 26 27 44 46
Symbol 22 EditableTextUses:21Used by:Timeline
Symbol 23 EditableTextUses:19Used by:Timeline
Symbol 24 EditableTextUses:21Used by:Timeline
Symbol 25 EditableTextUses:19Used by:Timeline
Symbol 26 EditableTextUses:21Used by:28
Symbol 27 EditableTextUses:21Used by:28
Symbol 28 MovieClipUses:26 27Used by:Timeline
Symbol 29 GraphicUsed by:37 81
Symbol 30 GraphicUsed by:37 82
Symbol 31 GraphicUsed by:37 83
Symbol 32 GraphicUsed by:37 84
Symbol 33 GraphicUsed by:37 85
Symbol 34 GraphicUsed by:37 86
Symbol 35 GraphicUsed by:37 87
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:29 30 31 32 33 34 35 36Used by:Timeline
Symbol 38 GraphicUsed by:41 43 92
Symbol 39 FontUsed by:40 42 57 58 59 60 61 62 63
Symbol 40 EditableTextUses:39Used by:41
Symbol 41 MovieClipUses:38 40Used by:Timeline
Symbol 42 TextUses:39Used by:43
Symbol 43 MovieClipUses:38 42Used by:Timeline
Symbol 44 EditableTextUses:21Used by:Timeline
Symbol 45 EditableTextUses:19Used by:Timeline
Symbol 46 EditableTextUses:21Used by:Timeline
Symbol 47 EditableTextUses:19Used by:Timeline
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:50 51 52 53 54 55 56
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 MovieClipUses:49Used by:Timeline
Symbol 52 MovieClipUses:49Used by:Timeline
Symbol 53 MovieClipUses:49Used by:Timeline
Symbol 54 MovieClipUses:49Used by:Timeline
Symbol 55 MovieClipUses:49Used by:Timeline
Symbol 56 MovieClipUses:49Used by:Timeline
Symbol 57 EditableTextUses:39Used by:Timeline
Symbol 58 EditableTextUses:39Used by:Timeline
Symbol 59 EditableTextUses:39Used by:Timeline
Symbol 60 EditableTextUses:39Used by:Timeline
Symbol 61 EditableTextUses:39Used by:Timeline
Symbol 62 EditableTextUses:39Used by:Timeline
Symbol 63 EditableTextUses:39Used by:Timeline
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:80
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:80
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:80
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:80
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:80
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:80
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:80
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:80
Symbol 80 MovieClipUses:65 67 69 71 73 75 77 79Used by:Timeline
Symbol 81 MovieClipUses:29Used by:88
Symbol 82 MovieClipUses:30Used by:88
Symbol 83 MovieClipUses:31Used by:88
Symbol 84 MovieClipUses:32Used by:88
Symbol 85 MovieClipUses:33Used by:88
Symbol 86 MovieClipUses:34Used by:88
Symbol 87 MovieClipUses:35Used by:88
Symbol 88 MovieClipUses:81 82 83 84 85 86 87Used by:Timeline
Symbol 89 GraphicUses:4 6 3 10Used by:Timeline
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 ButtonUses:38 91Used by:Timeline
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:101
Symbol 95 FontUsed by:96 97 98 99 100
Symbol 96 TextUses:95Used by:101
Symbol 97 TextUses:95Used by:101
Symbol 98 TextUses:95Used by:101
Symbol 99 TextUses:95Used by:101
Symbol 100 TextUses:95Used by:101
Symbol 101 MovieClipUses:94 96 97 98 99 100Used by:Timeline
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:104
Symbol 104 MovieClipUses:103Used by:Timeline

Instance Names

"scrittapunti"Frame 8Symbol 28 MovieClip
"mat"Frame 8Symbol 37 MovieClip
"scrittapausa"Frame 8Symbol 41 MovieClip
"scrittafine"Frame 8Symbol 43 MovieClip
"barra0"Frame 8Symbol 50 MovieClip
"barra1"Frame 8Symbol 51 MovieClip
"barra2"Frame 8Symbol 52 MovieClip
"barra3"Frame 8Symbol 53 MovieClip
"barra4"Frame 8Symbol 54 MovieClip
"barra5"Frame 8Symbol 55 MovieClip
"barra6"Frame 8Symbol 56 MovieClip
"prossimo"Frame 14Symbol 88 MovieClip
"pezzo0"Symbol 88 MovieClip Frame 1Symbol 81 MovieClip
"pezzo1"Symbol 88 MovieClip Frame 1Symbol 82 MovieClip
"pezzo2"Symbol 88 MovieClip Frame 1Symbol 83 MovieClip
"pezzo3"Symbol 88 MovieClip Frame 1Symbol 84 MovieClip
"pezzo4"Symbol 88 MovieClip Frame 1Symbol 85 MovieClip
"pezzo5"Symbol 88 MovieClip Frame 1Symbol 86 MovieClip
"pezzo6"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip

Labels

"preloader"Frame 1
"codice"Frame 5
"inizializza"Frame 8
"implivello"Frame 9
"nuovopezzo"Frame 14
"shift_0"Frame 15
"shift_1"Frame 17
"shift_2"Frame 18
"ciclo"Frame 21
"eliminariga"Frame 42
"alpha"Frame 44
"elimina"Frame 46
"prossimolivello"Frame 49
"ciclobonus"Frame 50
"bonuslivello"Frame 53
"bonuspunti"Frame 55
"pausa"Frame 89
"fine"Frame 90
"intro"Frame 91

Dynamic Text Variables

t_livelloSymbol 20 EditableText""
numrigrimanentiSymbol 22 EditableText""
t_punteggioSymbol 23 EditableText""
punteggioSymbol 24 EditableText""
t_righerimanentiSymbol 25 EditableText""
../:puntiSymbol 26 EditableText""
../:puntiSymbol 27 EditableText""
../:t_pausaSymbol 40 EditableText""
numlevelSymbol 44 EditableText""
t_recordSymbol 45 EditableText""
recordpuntiSymbol 46 EditableText""
t_prossimopezzoSymbol 47 EditableText""
contastat0Symbol 57 EditableText""
contastat1Symbol 58 EditableText""
contastat2Symbol 59 EditableText""
contastat4Symbol 60 EditableText""
contastat3Symbol 61 EditableText""
contastat6Symbol 62 EditableText""
contastat5Symbol 63 EditableText""




http://swfchan.com/43/214247/info.shtml
Created: 19/10 -2018 18:48:44 Last modified: 19/10 -2018 18:48:44 Server time: 19/04 -2024 22:13:05