Frame 1
ifFrameLoaded (20) {
gotoAndPlay (3);
tellTarget ("/sound") {
gotoAndPlay (8);
};
}
Frame 2
gotoAndPlay (1);
Frame 3
borst = "0";
borstcnt = "0";
borst2 = "0";
stop();
Frame 4
startDrag ("/pad", true, "40", "420", "586", "420");
Frame 5
if ((((score == "1000") or (score == "500")) or (score == "1500")) or (score == "2000")) {
ballc = ballc + "1";
score = score + "5";
}
if (gover) {
gotoAndStop (3);
}
if ("0" >= bricks) {
if ("21" < lev) {
lev = "21";
}
levnum = lev - "9";
call(lev);
setProperty("/brick", _visible , "0");
bx = getProperty("/pad", _x);
by = "350";
sx = speed - "8";
sy = -speed;
}
bx = bx + sx;
by = by + sy;
if (actv >= by) {
c1 = int((bx - "4") / "44");
r1 = int((by - "50") / "20");
c2 = int((bx - "8") / "44");
r2 = int((by - "46") / "20");
c3 = int((bx - "4") / "44");
r3 = int((by - "42") / "20");
c4 = int(bx / "44");
r4 = int((by - "46") / "20");
i = "1";
while ("4" >= i) {
r = eval ("r" add i);
c = eval ("c" add i);
IsVisible = getProperty(("brick" add r) add c, _currentframe);
if (IsVisible == "1") {
bricks = bricks - "1";
score = score + "5";
eli = r add c;
tellTarget ("brick" add eli) {
gotoAndPlay (2);
};
if ((i == "2") or (i == "4")) {
sx = -sx;
bx = bx + sx;
i = "5";
} else {
sy = -sy;
by = by + sy;
i = "5";
}
}
i = i + "1";
}
}
if ((bx >= "620") or ("6" >= bx)) {
sx = -sx;
bx = bx + sx;
tellTarget ("/sound") {
gotoAndPlay (5);
};
}
if ("42" >= by) {
tellTarget ("/sound") {
gotoAndPlay (5);
};
sy = -sy;
by = by + sy;
}
px = getProperty("pad", _x);
if (((("410" < by) and (by < "421")) and ((px - "44") < bx)) and (bx < (px + "44"))) {
if (bx < (px - "24")) {
sx = sx - "6";
} else if ((px + "24") < bx) {
sx = sx + "6";
} else if (bx < (px - "13")) {
sx = sx - "3";
} else if ((px + "13") < bx) {
sx = sx + "3";
}
sy = -sy;
by = by + sy;
tellTarget ("/sound") {
gotoAndPlay (5);
};
} else if ("479" < by) {
gotoAndPlay (23);
}
setProperty("/ball", _x , bx);
setProperty("/ball", _y , by);
Frame 6
if (ballc < balls) {
balls = "0";
gover = "1";
tellTarget ("/gover") {
gotoAndPlay (2);
};
gotoAndStop (8);
}
gotoAndPlay (5);
Frame 7
setProperty("/pad", _visible , "0");
tellTarget ("/balllost") {
gotoAndPlay (2);
}
Frame 8
stopDrag();
c = "0";
r = "0";
while (r < "18") {
while (c < "14") {
removeMovieClip(("brick" add r) add c);
c = c + "1";
}
r = r + "1";
c = "0";
}
Frame 9
stop();
Frame 10
actv = "150";
bricks = "70";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "5") {
while (c < "14") {
if (((c >= r) and (c < "5")) or ((c >= "5") and (("9" - r) >= c))) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
count = count + "1";
c = c + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 11
actv = "250";
bricks = "56";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "10") {
while (c < "14") {
if ((((("1" < r) and (r < "8")) and ("5" < c)) and (c < "8")) or (((("0" < c) and (c < "13")) and ("9" < r)) and (r < "6"))) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if (((("8" < r) or (r == "0")) or (c == "0")) or (c == "13")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 12
actv = "370";
bricks = "56";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
index = "0";
while (r < "14") {
while (c < ("14" - index)) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "2";
index = index + "1";
c = index;
}
c = "1";
r = "1";
index = "0";
setProperty("/brick", _visible , "0");
Frame 13
actv = "265";
bricks = "54";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "11") {
while (c < "14") {
if ((((r == "0") and (r < "6")) and ("2" < c)) and (c < "0")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if (((((("14" < r) or (r == "10")) or (c == "0")) or (c == "9")) or (c == "13")) or (c == "4")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 14
actv = "250";
bricks = "78";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "9") {
while (c < "14") {
if ((((r == "0") and (r < "6")) and ("2" < c)) and (c < "0")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if (((((((((("14" < r) or (r == "0")) or (c == "7")) or (c == "2")) or (c == "0")) or (c == "4")) or (c == "9")) or (c == "11")) or (c == "13")) or (c == "6")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 15
actv = "230";
bricks = "54";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "9") {
while (c < "14") {
if (((("0" < r) and (r < "6")) and ("2" < c)) and (c < "0")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if (((("5" < r) or (r == "8")) or (c == "9")) or (c == "4")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 16
actv = "240";
bricks = "66";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
index = "0";
while (r < "1") {
while (c < ("14" - index)) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
index = index + "2";
c = index;
}
c = "1";
r = "1";
index = "0";
while (r < "10") {
while (c < ("13" - index)) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "2";
index = index + "2";
c = index + "1";
}
c = "0";
r = "8";
while (r < "10") {
while (c < "14") {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
c = "0";
r = r + "1";
}
setProperty("/brick", _visible , "0");
Frame 17
actv = "330";
bricks = "84";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "14") {
while (c < "14") {
if ((r == "5") or (r == "8")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if ((r == "13") or (r == "0")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if ((r == "7") or (r == "6")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 18
actv = "250";
bricks = "100";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "10") {
while (c < "14") {
if (((("1" < r) and (r < "13")) and ("2" < c)) and (c < "11")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else if (((("8" < r) or (r == "0")) or (c == "0")) or (c == "13")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 19
actv = "330";
bricks = "72";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "12") {
while (c < "14") {
if (((((((c == "9") or (c == "4")) or (c == "8")) or (c == "5")) or (c == "7")) or (c == "9")) or (c == "6")) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
c = c + "1";
count = count + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 20
actv = "220";
bricks = "126";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "9") {
while (c < "14") {
if (((c >= r) and (c < "5")) or ((c >= "5") and (("9" - r) >= c))) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
count = count + "1";
c = c + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 21
actv = "220";
bricks = "126";
lev = lev + "1";
c = "0";
r = "0";
count = "1";
while (r < "9") {
while (c < "14") {
if (((c >= r) and (c < "5")) or ((c >= "5") and (("9" - r) >= c))) {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
} else {
duplicateMovieClip ("/brick", ("brick" add r) add c, count + "1");
}
setProperty(("brick" add r) add c, _x , "27" + ("44" * c));
setProperty(("brick" add r) add c, _y , "57" + ("20" * r));
count = count + "1";
c = c + "1";
}
r = r + "1";
c = "0";
}
setProperty("/brick", _visible , "0");
Frame 22
gover = "1";
lev = lev + "1";
Frame 23
if (balls < ballc) {
tellTarget ("/sound") {
gotoAndPlay (8);
};
tellTarget ("/balllost") {
gotoAndPlay (2);
};
} else {
gotoAndPlay (5);
}
balls = balls + "1";
sy = -sy;
bx = getProperty("/pad", _x);
by = "400";
sx = speed - "8";
sy = -speed;
setProperty("ball", _visible , "0");
Frame 69
gotoAndPlay (5);
setProperty("ball", _visible , "1");
bx = getProperty("/pad", _x);
Symbol 6 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 13
gotoAndStop (1);
Symbol 10 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 2
comb = /:eli;
tellTarget ("/sound") {
gotoAndPlay (2);
}
Symbol 10 MovieClip Frame 10
removeMovieClip("/brick" add comb);
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 4
gotoAndPlay (1);
Symbol 13 MovieClip Frame 7
gotoAndPlay (1);
Symbol 13 MovieClip Frame 40
Set("/:break", "0");
gotoAndPlay (1);
Symbol 22 Button
on (press) {
setProperty("/pad", _visible , "1");
setProperty("/ball", _visible , "1");
borstcnt = "0";
borst2 = "0";
by = "380";
bx = "20";
sy = "0";
sx = "8";
speed = "10";
balls = "1";
ballc = "5";
score = "0";
credits = credits - "1";
bw = "8";
pw = "80";
lev = "10";
bricks = "0";
levnum = "1";
actv = "250";
gover = "0";
tellTarget ("/game over") {
gotoAndStop (1);
};
play();
}
Symbol 27 MovieClip Frame 1
borst = borst + "1";
borst2 = "0";
if ("15" < borst) {
gotoAndPlay (4);
}
if (borstcnt >= "4") {
gotoAndPlay (36);
}
Symbol 27 MovieClip Frame 3
gotoAndPlay (1);
Symbol 27 MovieClip Frame 35
borst = "0";
borstcnt = borstcnt + "1";
gotoAndPlay (1);
Symbol 27 MovieClip Frame 40
borstcnt = "0";
borst2 = borst2 + "1";
if (borst2 >= "100") {
gotoAndPlay (1);
} else {
gotoAndPlay (36);
}