Frame 130
gotoAndPlay (131);
Frame 131
mySound = new Sound();
mySound.attachSound("inbg");
mySound.start();
Frame 137
mySound = new Sound();
mySound.attachSound("hhh");
mySound.start();
Frame 154
mySound = new Sound();
mySound.attachSound("hhh");
mySound.start();
Frame 156
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Frame 165
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Frame 167
mySound = new Sound();
mySound.attachSound("in1");
mySound.start();
Frame 174
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Frame 176
mySound = new Sound();
mySound.attachSound("in1");
mySound.start();
Frame 183
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Frame 185
mySound = new Sound();
mySound.attachSound("in1");
mySound.start();
Frame 194
mySound = new Sound();
mySound.attachSound("in1");
mySound.start();
Frame 207
mySound = new Sound();
mySound.attachSound("ookk");
mySound.start();
stop();
Frame 208
score = 0;
kind = 3;
big = 30;
con = 0;
level = 1;
Frame 209
function push() {
xcount = 1;
ycount = 1;
ready = false;
Set(((("var" add clx) add "_") add cly) add "_gone", true);
Set("col" add clx, true);
score++;
Set("ymax" add clx, eval ("ymax" add clx) + 1);
subxx1 = clx;
subxy1 = cly;
subyx1 = clx;
subyy1 = cly;
while (Number(ready) == Number(false)) {
while (Number(xcount) > 0) {
subx = eval ("subxx" add xcount) + 1;
suby = eval ("subxy" add xcount);
while ((eval (((("var" add subx) add "_") add suby) add "_gone") == false) and (eval (((("var" add subx) add "_") add suby) add "_color") == clc)) {
Set(((("var" add subx) add "_") add suby) add "_gone", true);
Set("ymax" add subx, eval ("ymax" add subx) + 1);
Set("col" add subx, true);
score++;
ycount = Number(ycount) + 1;
Set("subyx" add ycount, subx);
Set("subyy" add ycount, suby);
subx = Number(subx) + 1;
}
subx = eval ("subxx" add xcount) - 1;
while ((eval (((("var" add subx) add "_") add suby) add "_gone") == false) and (eval (((("var" add subx) add "_") add suby) add "_color") == clc)) {
Set(((("var" add subx) add "_") add suby) add "_gone", true);
Set("ymax" add subx, eval ("ymax" add subx) + 1);
Set("col" add subx, true);
score++;
ycount = Number(ycount) + 1;
Set("subyx" add ycount, subx);
Set("subyy" add ycount, suby);
subx = subx - 1;
}
xcount = xcount - 1;
}
while (Number(ycount) > 0) {
subx = eval ("subyx" add ycount);
suby = eval ("subyy" add ycount) + 1;
while ((eval (((("var" add subx) add "_") add suby) add "_gone") == false) and (eval (((("var" add subx) add "_") add suby) add "_color") == clc)) {
Set(((("var" add subx) add "_") add suby) add "_gone", true);
Set("ymax" add subx, eval ("ymax" add subx) + 1);
score++;
xcount = Number(xcount) + 1;
Set("subxx" add xcount, subx);
Set("subxy" add xcount, suby);
suby = Number(suby) + 1;
}
suby = eval ("subyy" add ycount) - 1;
while ((eval (((("var" add subx) add "_") add suby) add "_gone") == false) and (eval (((("var" add subx) add "_") add suby) add "_color") == clc)) {
Set(((("var" add subx) add "_") add suby) add "_gone", true);
Set("ymax" add subx, eval ("ymax" add subx) + 1);
score++;
xcount = Number(xcount) + 1;
Set("subxx" add xcount, subx);
Set("subxy" add xcount, suby);
suby = suby - 1;
}
ycount = ycount - 1;
}
if ((Number(xcount) == 0) and (Number(ycount) == 0)) {
ready = true;
}
}
}
top = 6;
line = 20;
button_pp = 0;
uu = 0;
x = 1;
while (Number(x) <= 9) {
y = 1;
while (Number(y) <= 10) {
if (y > top) {
Set(((("var" add x) add "_") add y) add "_color", Number(random(Number(kind))) + 1);
Set(((("var" add x) add "_") add y) add "_gone", false);
} else {
Set(((("var" add x) add "_") add y) add "_color", 7);
Set(((("var" add x) add "_") add y) add "_gone", true);
}
uu = uu + 1;
duplicateMovieClip ("dup", (("var" add x) add "_") add y, uu);
setProperty((("var" add x) add "_") add y, _x , (x * big) + 20);
setProperty((("var" add x) add "_") add y, _y , (y * big) + 63);
tellTarget ((("var" add x) add "_") add y) {
gotoAndStop(eval (((("/:var" add /:x) add "_") add /:y) add "_color"));
};
y++;
}
Set("ymax" add x, top);
x++;
}
Frame 210
stop();
Frame 211
ch = 1;
while (Number(ch) < 10) {
if (eval ("col" add ch) == true) {
a = eval ("ymax" add ch);
tellTarget ((("var" add ch) add "_") add a) {
gotoAndStop (7);
};
t = Number(a) + 1;
while ((Number(a) > 0) and (Number(t) <= 11)) {
if (eval (((("var" add ch) add "_") add (t - a)) add "_gone") == true) {
a = a - 1;
tellTarget ((("var" add ch) add "_") add a) {
gotoAndStop (7);
};
} else {
tellTarget ((("var" add ch) add "_") add t) {
gotoAndStop(eval (((("/:var" add /:ch) add "_") add (/:t - /:a)) add "_color"));
};
t = Number(t) + 1;
}
}
ch = Number(ch) + 1;
if (eval ("col" add ch) == false) {
ch = 10;
}
} else {
ch = Number(ch) + 1;
}
}
Frame 212
ch = 1;
while (Number(ch) < 10) {
if (eval ("col" add ch) == true) {
a = eval ("ymax" add ch);
while (Number(a) > 0) {
Set(((("var" add ch) add "_") add a) add "_gone", true);
Set(((("var" add ch) add "_") add a) add "_color", 7);
a = a - 1;
}
t = eval ("ymax" add ch) + 1;
while (Number(t) <= 10) {
Set(((("var" add ch) add "_") add t) add "_gone", false);
tellTarget ((("var" add ch) add "_") add t) {
Set(((("/:var" add /:ch) add "_") add /:t) add "_color", _currentframe);
};
t = Number(t) + 1;
}
Set("col" add ch, false);
ch = Number(ch) + 1;
if (eval ("col" add ch) == false) {
ch = 10;
}
} else {
ch = Number(ch) + 1;
}
}
if (line <= 0) {
level = level + 1;
line = 0;
yy = 0;
zz = 0;
i = 1;
while (i < 10) {
zz = eval ("ymax" add i);
yy = yy + zz;
i++;
}
gotoAndPlay (214);
}
if ((((((((ymax1 < 0) || (ymax2 < 0)) || (ymax3 < 0)) || (ymax4 < 0)) || (ymax5 < 0)) || (ymax6 < 0)) || (ymax7 < 0)) || (ymax8 < 0)) {
gotoAndStop (290);
}
Frame 213
ppp = 0;
i = 1;
while (i < 10) {
if (eval ("ymax" add i) == 10) {
ppp = i;
j = 1;
while (j < 11) {
if (eval (((("var" add (i + 1)) add "_") add j) add "_gone") == false) {
Set(((("var" add i) add "_") add j) add "_color", eval (((("var" add (i + 1)) add "_") add j) add "_color"));
Set(((("var" add i) add "_") add j) add "_gone", eval (((("var" add (i + 1)) add "_") add j) add "_gone"));
tellTarget ((("var" add i) add "_") add j) {
gotoAndStop(eval (((("/:var" add /:i) add "_") add /:j) add "_color"));
};
Set(((("var" add (i + 1)) add "_") add j) add "_color", 7);
Set(((("var" add (i + 1)) add "_") add j) add "_gone", true);
Set("col" add (i + 1), false);
tellTarget ((("var" add (i + 1)) add "_") add j) {
gotoAndStop (7);
};
}
j++;
}
Set("ymax" add i, eval ("ymax" add (i + 1)));
if (i < 9) {
Set("ymax" add (i + 1), 10);
} else {
Set("ymax" add i, 10);
}
}
i++;
}
if (((score >= 1500) && (con == 0)) || ((score >= 3000) && (con == 1))) {
con = con + 1;
}
if (((((((((ymax1 == 10) and (ymax2 != 10)) || ((ymax2 == 10) and (ymax3 != 10))) || ((ymax3 == 10) and (ymax4 != 10))) || ((ymax4 == 10) and (ymax5 != 10))) || ((ymax5 == 10) and (ymax6 != 10))) || ((ymax6 == 10) and (ymax7 != 10))) || ((ymax7 == 10) and (ymax8 != 10))) || ((ymax8 == 10) and (ymax9 != 10))) {
gotoAndPlay (211);
} else {
stop();
}
Frame 214
button_pp = 1;
duplicateMovieClip ("_root.level_ve", "lelele", 100);
setProperty("_root.level_ve", _visible , 0);
mySound = new Sound();
mySound.attachSound("winwin");
mySound.start();
xx = (90 - yy) * 10;
Frame 221
mySound = new Sound();
mySound.attachSound("gameover");
mySound.start();
Frame 222
xx = xx - 3;
score = score + 3;
Frame 223
if (xx > 0) {
gotoAndPlay (222);
}
Frame 289
removeMovieClip("lelele");
x = 1;
while (Number(x) <= 9) {
y = 1;
while (Number(y) <= 10) {
tellTarget ((("var" add x) add "_") add y) {
gotoAndStop (7);
};
y++;
}
x++;
}
gotoAndPlay (209);
Frame 290
x = 1;
while (Number(x) <= 9) {
y = 1;
while (Number(y) <= 10) {
tellTarget ((("var" add x) add "_") add y) {
gotoAndStop (7);
};
y++;
}
x++;
}
gotoAndStop (299);
Frame 295
x = 1;
while (Number(x) <= 9) {
y = 1;
while (Number(y) <= 10) {
if (eval (((("var" add x) add "_") add (y + 1)) add "_gone") == false) {
Set(((("var" add x) add "_") add y) add "_color", eval (((("var" add x) add "_") add (y + 1)) add "_color"));
Set(((("var" add x) add "_") add y) add "_gone", eval (((("var" add x) add "_") add (y + 1)) add "_gone"));
tellTarget ((("var" add x) add "_") add y) {
gotoAndStop(eval (((("/:var" add /:x) add "_") add /:y) add "_color"));
};
}
if (y == 10) {
Set(((("var" add x) add "_") add y) add "_color", Number(random(Number(kind))) + 1);
Set(((("var" add x) add "_") add y) add "_gone", false);
tellTarget ((("var" add x) add "_") add y) {
gotoAndStop(eval (((("/:var" add /:x) add "_") add /:y) add "_color"));
};
}
y++;
}
Set("ymax" add x, eval ("ymax" add x) - 1);
x++;
}
mySound = new Sound();
mySound.attachSound("bbbb");
mySound.start();
gotoAndPlay (211);
Frame 299
mySound = new Sound();
mySound.attachSound("ffail");
mySound.start();
stop();
Symbol 28 MovieClip Frame 21
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Symbol 28 MovieClip Frame 51
mySound = new Sound();
mySound.attachSound("in3");
mySound.start();
Symbol 34 MovieClip Frame 21
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Symbol 34 MovieClip Frame 51
mySound = new Sound();
mySound.attachSound("in3");
mySound.start();
Symbol 42 MovieClip Frame 21
mySound = new Sound();
mySound.attachSound("in2");
mySound.start();
Symbol 42 MovieClip Frame 51
mySound = new Sound();
mySound.attachSound("in3");
mySound.start();
Symbol 95 Button
on (release) {
stopAllSounds();
gotoAndPlay (208);
}
Symbol 96 MovieClip Frame 2
if (((_root.score >= 1500) && (_root.con == 0)) || ((_root.score >= 3000) && (_root.con == 1))) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 96 MovieClip Frame 4
this.swapDepths(500);
Symbol 96 MovieClip Frame 51
if (_root.con >= 2) {
stop();
} else {
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 1
if (aa == 1) {
gotoAndStop("/:addd");
}
Symbol 98 MovieClip Frame 2
aa = 1;
Symbol 98 MovieClip Frame 20
if (_root.level == 14) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 30
if (_root.level == 13) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 40
if (_root.level == 12) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 50
if (_root.level == 11) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 60
if (_root.level == 10) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 70
if (_root.level == 9) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 80
if (_root.level == 8) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 90
if (_root.level == 7) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 100
if (_root.level == 6) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 110
if (_root.level == 5) {
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 120
if (_root.level == 4) {
_root.kind = 6;
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 130
if (_root.level == 3) {
_root.kind = 5;
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 140
if (_root.level == 2) {
_root.kind = 4;
_root.line = _root.line - 1;
gotoAndPlay (1);
}
Symbol 98 MovieClip Frame 150
_root.line = _root.line - 1;
Symbol 108 Button
on (press) {
if (_root.button_pp == 0) {
Set("/:clx", (_x - 20) / _root.big);
Set("/:cly", (_y - 63) / _root.big);
Set("/:clc", _currentframe);
if ((((eval (((("/:var" add (/:clx + 1)) add "_") add /:cly) add "_color") == /:clc) or (eval (((("/:var" add (/:clx - 1)) add "_") add /:cly) add "_color") == /:clc)) or (eval (((("/:var" add /:clx) add "_") add (/:cly + 1)) add "_color") == /:clc)) or (eval (((("/:var" add /:clx) add "_") add (/:cly - 1)) add "_color") == /:clc)) {
_root.push();
mySound = new Sound();
mySound.attachSound("ppong");
mySound.start();
gotoAndPlay("/:update");
} else {
mySound = new Sound();
mySound.attachSound("nono");
mySound.start();
}
}
}
Symbol 110 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 43
stop();
Symbol 120 MovieClip Frame 133
stop();
Symbol 131 Button
on (release) {
stopAllSounds();
gotoAndPlay (208);
}