Frame 1
startDrag ("/player", true, "15", "15", "535", "550");
gotoAndPlay (2);
sph = "1.2";
sp = "0.3";
Frame 2
setProperty("geg2", _x , "170");
setProperty("geg5", _x , "370");
tellTarget ("/ball") {
gotoAndPlay ("bou");
};
tellTarget ("/ball/bouncer") {
gotoAndPlay ("start");
};
play();
Frame 15
xgeg9 = getProperty("/geg9", _x);
ygeg9 = getProperty("/geg9", _y);
if (xgeg9 < xball) {
if ("430" < xball) {
setProperty("/geg9", _x , xgeg9 + sp);
} else {
setProperty("/geg9", _x , xgeg9);
}
}
if (xball < xgeg9) {
if ("430" < xball) {
setProperty("/geg9", _x , xgeg9 - sph);
} else {
setProperty("/geg9", _x , xgeg9);
}
}
if (ygeg9 < yball) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg9", _y , ygeg9 + sph);
} else {
setProperty("/geg9", _y , ygeg9);
}
}
if (yball < ygeg9) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg9", _y , ygeg9 - sp);
} else {
setProperty("/geg9", _y , ygeg9);
}
}
delta9 = xball - xgeg9;
deltay9 = yball - ygeg9;
if (((delta9 < "5") and ((-"5") < delta9)) and ((deltay9 < "5") and ((-"5") < deltay9))) {
tellTarget ("/ball") {
Set("/ball:stepx", -"4");
Set("/ball:stepy", random("5"));
};
tellTarget ("/ball/bouncer") {
gotoAndPlay ("hoch");
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg10 = getProperty("/geg10", _x);
ygeg10 = getProperty("/geg10", _y);
xs = xgeg10;
ys = ygeg10;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg10") {
gotoAndStop(/:richtung);
};
if (xgeg10 < xball) {
setProperty("/geg10", _x , (xgeg10 + sph) + "0.3");
}
if (xball < xgeg10) {
setProperty("/geg10", _x , (xgeg10 - sph) - "1");
}
if (ygeg10 < yball) {
setProperty("/geg10", _y , (ygeg10 + sph) + "0.5");
}
if (yball < ygeg10) {
setProperty("/geg10", _y , (ygeg10 - sph) - "0.7");
}
delta10 = xball - xgeg10;
deltay10 = yball - ygeg10;
if (((delta10 < "5") and ((-"5") < delta10)) and ((deltay10 < "5") and ((-"5") < deltay10))) {
if (ygeg10 >= "250") {
Set("/ball:stepx", random("4"));
Set("/ball:stepy", -"4");
}
if ("130" >= ygeg10) {
Set("/ball:stepx", random("4"));
Set("/ball:stepy", "4");
}
if (("130" < ygeg10) and (ygeg10 < "250")) {
Set("/ball:stepx", "4");
Set("/ball:stepy", random("4"));
}
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg10", _x);
yalt = getProperty("/geg10", _y);
if (((xalt - xs) < "1") and ((-"1") < (xalt - xs))) {
tellTarget ("/geg10/ani") {
stop();
};
} else {
tellTarget ("/geg10/ani") {
play();
};
}
xalt = getProperty("/geg10", _x);
yalt = getProperty("/geg10", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg10/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg10/ani") {
play();
Set("/geg10/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg10/ani") {
play();
Set("/geg10/ani:s", "0");
};
}
}
xgeg7 = getProperty("/geg7", _x);
ygeg7 = getProperty("/geg7", _y);
xs = xgeg7;
ys = ygeg7;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg7") {
gotoAndStop(/:richtung);
};
if (xgeg7 < xball) {
if ("250" < xball) {
setProperty("/geg7", _x , xgeg7 + sph);
} else {
setProperty("/geg7", _x , xgeg7);
}
}
if (xball < xgeg7) {
if ("250" < xball) {
setProperty("/geg7", _x , xgeg7 - sph);
} else {
setProperty("/geg7", _x , xgeg7);
}
}
if (ygeg7 < yball) {
if ("200" < yball) {
setProperty("/geg7", _y , ygeg7 + sph);
} else {
setProperty("/geg7", _y , ygeg7);
}
}
if (yball < ygeg7) {
if ("250" < yball) {
setProperty("/geg7", _y , ygeg7 - sph);
} else {
setProperty("/geg7", _y , ygeg7);
}
}
delta7 = xball - xgeg7;
deltay7 = yball - ygeg7;
if (((delta7 < "5") and ((-"5") < delta7)) and ((deltay7 < "5") and ((-"5") < deltay7))) {
tellTarget ("/ball") {
if (xgeg7 >= "300") {
Set("/ball:stepx", -"3");
Set("/ball:stepy", -"5");
} else {
Set("/ball:stepx", "4");
Set("/ball:stepy", random("5"));
}
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg7", _x);
yalt = getProperty("/geg7", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg7/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg7/ani") {
play();
Set("/geg7/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg7/ani") {
play();
Set("/geg7/ani:s", "0");
};
}
}
xgeg6 = getProperty("/geg6", _x);
ygeg6 = getProperty("/geg6", _y);
xs = xgeg6;
ys = ygeg6;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg6") {
gotoAndStop(/:richtung);
};
if (xgeg6 < xball) {
if ("250" < xball) {
setProperty("/geg6", _x , xgeg6 + sph);
} else {
setProperty("/geg6", _x , xgeg6);
}
} else {
setProperty("/geg6", _x , xgeg6 - sph);
}
if (xball < xgeg6) {
if ("250" < xball) {
setProperty("/geg6", _x , xgeg6 - sph);
} else {
setProperty("/geg6", _x , xgeg6);
}
}
if (ygeg6 < yball) {
if ((yball < "150") and ("25" < yball)) {
setProperty("/geg6", _y , ygeg6 + sph);
} else {
setProperty("/geg6", _y , ygeg6);
}
} else {
setProperty("/geg6", _y , ygeg6 - sph);
}
delta6 = xball - xgeg6;
deltay6 = yball - ygeg6;
if (((delta6 < "5") and ((-"5") < delta6)) and ((deltay6 < "5") and ((-"5") < deltay6))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random("6"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg6", _x);
yalt = getProperty("/geg6", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg6/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg6/ani") {
play();
Set("/geg6/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg6/ani") {
play();
Set("/geg6/ani:s", "0");
};
}
}
xgeg5 = getProperty("/geg5", _x);
ygeg5 = getProperty("/geg5", _y);
xs = xgeg5;
ys = ygeg5;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg5") {
gotoAndStop(/:richtung);
};
if (xgeg5 < xball) {
if (("240" < xball) and (xball < "550")) {
setProperty("/geg5", _x , xgeg5 + sph);
} else {
setProperty("/geg5", _x , xgeg5);
}
}
if (xball < xgeg5) {
if ((xball < "550") and ("240" < xball)) {
setProperty("/geg5", _x , xgeg5 - sph);
} else {
setProperty("/geg5", _x , xgeg5);
}
}
if (ygeg5 < yball) {
if ((yball < "240") and ("130" < yball)) {
setProperty("/geg5", _y , ygeg5 + sph);
} else {
setProperty("/geg2", _y , ygeg5);
}
}
if (yball < ygeg5) {
if ((yball < "240") and ("130" < yball)) {
setProperty("/geg5", _y , ygeg5 - sph);
} else {
setProperty("/geg2", _y , ygeg5);
}
}
delta5 = xball - xgeg5;
deltay5 = yball - ygeg5;
if (((delta5 < "6") and ((-"6") < delta5)) and ((deltay5 < "6") and ((-"6") < deltay5))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
rand = random("5");
Set("/ball:stepy", "2" - rand);
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg5", _x);
yalt = getProperty("/geg5", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg5/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg5/ani") {
play();
Set("/geg5/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg5/ani") {
play();
Set("/geg5/ani:s", "0");
};
}
}
xgeg3 = getProperty("/geg3", _x);
ygeg3 = getProperty("/geg3", _y);
xs = xgeg3;
ys = ygeg3;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg3") {
gotoAndStop(/:richtung);
};
if (xgeg3 < xball) {
if (xball < "270") {
setProperty("/geg3", _x , xgeg3 + sph);
} else {
setProperty("/geg3", _x , xgeg3);
}
}
if (xball < xgeg3) {
if (xball < "270") {
setProperty("/geg3", _x , xgeg3 - sph);
} else {
setProperty("/geg3", _x , xgeg3);
}
}
if (ygeg3 < yball) {
if ("200" < yball) {
setProperty("/geg3", _y , ygeg3 + sph);
} else {
setProperty("/geg3", _y , ygeg3);
}
}
if (yball < ygeg3) {
if ("250" < yball) {
setProperty("/geg3", _y , ygeg3 - sph);
} else {
setProperty("/geg3", _y , ygeg3);
}
}
delta3 = xball - xgeg3;
deltay3 = yball - ygeg3;
if (((delta3 < "5") and ((-"5") < delta3)) and ((deltay3 < "5") and ((-"5") < deltay3))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random(-"7"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg3", _x);
yalt = getProperty("/geg3", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg3/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg3/ani") {
play();
Set("/geg3/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg3/ani") {
play();
Set("/geg3/ani:s", "0");
};
}
}
xgeg2 = getProperty("/geg2", _x);
ygeg2 = getProperty("/geg2", _y);
xs = xgeg2;
ys = ygeg2;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg2") {
gotoAndStop(/:richtung);
};
if (xgeg2 < xball) {
if (xball < "270") {
setProperty("/geg2", _x , xgeg2 + sp);
} else {
setProperty("/geg2", _x , xgeg2);
}
}
if (xball < xgeg2) {
if (xball < "270") {
setProperty("/geg2", _x , xgeg2 - sp);
} else {
setProperty("/geg2", _x , xgeg2);
}
}
if (ygeg2 < yball) {
if ((yball < "270") and ("120" < yball)) {
setProperty("/geg2", _y , ygeg2 + sph);
} else {
setProperty("/geg2", _y , ygeg2);
}
}
if (yball < ygeg2) {
if ((yball < "270") and ("120" < yball)) {
setProperty("/geg2", _y , ygeg2 - sp);
} else {
setProperty("/geg2", _y , ygeg2);
}
}
delta2 = xball - xgeg2;
deltay2 = yball - ygeg2;
if (((delta2 < "5") and ((-"5") < delta2)) and ((deltay2 < "5") and ((-"5") < deltay2))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
if (ygeg2 >= "200") {
Set("/ball:stepy", random(-"4"));
}
if (ygeg2 < "200") {
Set("/ball:stepy", random("4"));
}
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg2", _x);
yalt = getProperty("/geg2", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg2/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg2/ani") {
play();
Set("/geg2/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg2/ani") {
play();
Set("/geg2/ani:s", "0");
};
}
}
xgeg = getProperty("/geg", _x);
ygeg = getProperty("/geg", _y);
xs = xgeg;
ys = ygeg;
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/geg") {
gotoAndStop(/:richtung);
};
if (xgeg < xball) {
if (xball < "270") {
setProperty("/geg", _x , xgeg + sph);
} else {
setProperty("/geg", _x , xgeg);
}
} else {
setProperty("/geg", _x , xgeg - sph);
}
if (ygeg < yball) {
if ((yball < "150") and ("25" < yball)) {
setProperty("/geg", _y , ygeg + sph);
} else {
setProperty("/geg", _y , ygeg);
}
} else {
setProperty("/geg", _y , ygeg - sph);
}
delta = xball - xgeg;
deltay = yball - ygeg;
if (((delta < "9") and ((-"9") < delta)) and ((deltay < "9") and ((-"9") < deltay))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random("8"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xalt = getProperty("/geg", _x);
yalt = getProperty("/geg", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/geg/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/geg/ani") {
play();
Set("/geg/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/geg/ani") {
play();
Set("/geg/ani:s", "0");
};
}
}
xgeg4 = getProperty("/geg4", _x);
ygeg4 = getProperty("/geg4", _y);
if (xgeg4 < xball) {
if (xball < "120") {
setProperty("/geg4", _x , xgeg4 + sph);
} else {
setProperty("/geg4", _x , xgeg4);
}
}
if (xball < xgeg4) {
if (xball < "120") {
setProperty("/geg4", _x , xgeg4 - sph);
} else {
setProperty("/geg4", _x , xgeg4);
}
}
if (ygeg4 < yball) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg4", _y , ygeg4 + sph);
} else {
setProperty("/geg4", _y , ygeg4);
}
}
if (yball < ygeg4) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg4", _y , ygeg4 - sp);
} else {
setProperty("/geg4", _y , ygeg4);
}
}
delta4 = xball - xgeg4;
deltay4 = yball - ygeg4;
if (((delta4 < "6") and ((-"6") < delta4)) and ((deltay4 < "6") and ((-"6") < deltay4))) {
tellTarget ("/ball") {
Set("/ball:stepx", "4");
Set("/ball:stepy", random("5"));
};
tellTarget ("/ball/bouncer") {
gotoAndPlay ("hoch");
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
if (("23" >= xball) and (("125" < yball) and (yball < "270"))) {
tellTarget ("/ball") {
gotoAndStop (2);
Set("/ball:stepx", "0");
Set("/ball:stepy", "0");
};
gotoAndPlay (27);
}
if ((xball >= "520") and (("125" < yball) and (yball < "270"))) {
tellTarget ("/ball") {
gotoAndStop (2);
Set("/ball:stepx", "0");
Set("/ball:stepy", "0");
};
gotoAndPlay (37);
}
play();
xs = getProperty("/player", _x);
ys = getProperty("/player", _y);
xb = xball;
yb = yball;
dx = xb - xs;
dy = yb - ys;
if ((xball >= xs) and (ys >= yball)) {
richtung = "ro";
dy = dy * (-"1");
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "o";
}
}
if ((xball >= xs) and (yball >= ys)) {
richtung = "ru";
if (("2" * dy) < dx) {
richtung = "r";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
if ((xs >= xball) and (ys >= yball)) {
richtung = "lo";
if (dx < ("2" * dy)) {
richtung = "l";
}
if (dy < ("2" * dx)) {
richtung = "o";
}
}
if ((xball < xs) and (ys < yball)) {
dx = dx * (-"1");
richtung = "lu";
if (("2" * dy) < dx) {
richtung = "l";
}
if (("2" * dx) < dy) {
richtung = "u";
}
}
tellTarget ("/player") {
gotoAndStop(/:richtung);
};
Frame 16
xgeg9 = getProperty("/geg9", _x);
ygeg9 = getProperty("/geg9", _y);
if (xgeg9 < xball) {
if ("430" < xball) {
setProperty("/geg9", _x , xgeg9 + sp);
} else {
setProperty("/geg9", _x , xgeg9);
}
}
if (xball < xgeg9) {
if ("430" < xball) {
setProperty("/geg9", _x , xgeg9 - sph);
} else {
setProperty("/geg9", _x , xgeg9);
}
}
if (ygeg9 < yball) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg9", _y , ygeg9 + sph);
} else {
setProperty("/geg9", _y , ygeg9);
}
}
if (yball < ygeg9) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg9", _y , ygeg9 - sp);
} else {
setProperty("/geg9", _y , ygeg9);
}
}
delta9 = xball - xgeg9;
deltay9 = yball - ygeg9;
if (((delta9 < "5") and ((-"5") < delta9)) and ((deltay9 < "5") and ((-"5") < deltay9))) {
tellTarget ("/ball") {
Set("/ball:stepx", -"4");
Set("/ball:stepy", random("5"));
};
tellTarget ("/ball/bouncer") {
gotoAndPlay ("hoch");
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg10 = getProperty("/geg10", _x);
ygeg10 = getProperty("/geg10", _y);
if (xgeg10 < xball) {
setProperty("/geg10", _x , (xgeg10 + sph) + "0.3");
}
if (xball < xgeg10) {
setProperty("/geg10", _x , (xgeg10 - sph) - "1");
}
if (ygeg10 < yball) {
setProperty("/geg10", _y , (ygeg10 + sph) + "0.5");
}
if (yball < ygeg10) {
setProperty("/geg10", _y , (ygeg10 - sph) - "0.7");
}
delta10 = xball - xgeg10;
deltay10 = yball - ygeg10;
if (((delta10 < "5") and ((-"5") < delta10)) and ((deltay10 < "5") and ((-"5") < deltay10))) {
if (ygeg10 >= "250") {
Set("/ball:stepx", random("4"));
Set("/ball:stepy", -"4");
}
if ("130" >= ygeg10) {
Set("/ball:stepx", random("4"));
Set("/ball:stepy", "4");
}
if (("130" < ygeg10) and (ygeg10 < "250")) {
Set("/ball:stepx", "4");
Set("/ball:stepy", random("4"));
}
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg7 = getProperty("/geg7", _x);
ygeg7 = getProperty("/geg7", _y);
if (xgeg7 < xball) {
if ("250" < xball) {
setProperty("/geg7", _x , xgeg7 + sph);
} else {
setProperty("/geg7", _x , xgeg7);
}
}
if (xball < xgeg7) {
if ("250" < xball) {
setProperty("/geg7", _x , xgeg7 - sph);
} else {
setProperty("/geg7", _x , xgeg7);
}
}
if (ygeg7 < yball) {
if ("200" < yball) {
setProperty("/geg7", _y , ygeg7 + sph);
} else {
setProperty("/geg7", _y , ygeg7);
}
}
if (yball < ygeg7) {
if ("250" < yball) {
setProperty("/geg7", _y , ygeg7 - sph);
} else {
setProperty("/geg7", _y , ygeg7);
}
}
delta7 = xball - xgeg7;
deltay7 = yball - ygeg7;
if (((delta7 < "5") and ((-"5") < delta7)) and ((deltay7 < "5") and ((-"5") < deltay7))) {
tellTarget ("/ball") {
if (xgeg7 >= "300") {
Set("/ball:stepx", -"3");
Set("/ball:stepy", -"5");
} else {
Set("/ball:stepx", "4");
Set("/ball:stepy", random("5"));
}
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg6 = getProperty("/geg6", _x);
ygeg6 = getProperty("/geg6", _y);
if (xgeg6 < xball) {
if ("250" < xball) {
setProperty("/geg6", _x , xgeg6 + sph);
} else {
setProperty("/geg6", _x , xgeg6);
}
} else {
setProperty("/geg6", _x , xgeg6 - sph);
}
if (xball < xgeg6) {
if ("250" < xball) {
setProperty("/geg6", _x , xgeg6 - sph);
} else {
setProperty("/geg6", _x , xgeg6);
}
}
if (ygeg6 < yball) {
if ((yball < "150") and ("25" < yball)) {
setProperty("/geg6", _y , ygeg6 + sph);
} else {
setProperty("/geg6", _y , ygeg6);
}
} else {
setProperty("/geg6", _y , ygeg6 - sph);
}
delta6 = xball - xgeg6;
deltay6 = yball - ygeg6;
if (((delta6 < "5") and ((-"5") < delta6)) and ((deltay6 < "5") and ((-"5") < deltay6))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random("6"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg5 = getProperty("/geg5", _x);
ygeg5 = getProperty("/geg5", _y);
if (xgeg5 < xball) {
if (("240" < xball) and (xball < "550")) {
setProperty("/geg5", _x , xgeg5 + sph);
} else {
setProperty("/geg5", _x , xgeg5);
}
}
if (xball < xgeg5) {
if ((xball < "550") and ("240" < xball)) {
setProperty("/geg5", _x , xgeg5 - sph);
} else {
setProperty("/geg5", _x , xgeg5);
}
}
if (ygeg5 < yball) {
if ((yball < "240") and ("130" < yball)) {
setProperty("/geg5", _y , ygeg5 + sph);
} else {
setProperty("/geg2", _y , ygeg5);
}
}
if (yball < ygeg5) {
if ((yball < "240") and ("130" < yball)) {
setProperty("/geg5", _y , ygeg5 - sph);
} else {
setProperty("/geg2", _y , ygeg5);
}
}
delta5 = xball - xgeg5;
deltay5 = yball - ygeg5;
if (((delta5 < "6") and ((-"6") < delta5)) and ((deltay5 < "6") and ((-"6") < deltay5))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
rand = random("5");
Set("/ball:stepy", "2" - rand);
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg3 = getProperty("/geg3", _x);
ygeg3 = getProperty("/geg3", _y);
if (xgeg3 < xball) {
if (xball < "270") {
setProperty("/geg3", _x , xgeg3 + sph);
} else {
setProperty("/geg3", _x , xgeg3);
}
}
if (xball < xgeg3) {
if (xball < "270") {
setProperty("/geg3", _x , xgeg3 - sph);
} else {
setProperty("/geg3", _x , xgeg3);
}
}
if (ygeg3 < yball) {
if ("200" < yball) {
setProperty("/geg3", _y , ygeg3 + sph);
} else {
setProperty("/geg3", _y , ygeg3);
}
}
if (yball < ygeg3) {
if ("250" < yball) {
setProperty("/geg3", _y , ygeg3 - sph);
} else {
setProperty("/geg3", _y , ygeg3);
}
}
delta3 = xball - xgeg3;
deltay3 = yball - ygeg3;
if (((delta3 < "5") and ((-"5") < delta3)) and ((deltay3 < "5") and ((-"5") < deltay3))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random(-"7"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg2 = getProperty("/geg2", _x);
ygeg2 = getProperty("/geg2", _y);
if (xgeg2 < xball) {
if (xball < "270") {
setProperty("/geg2", _x , xgeg2 + sp);
} else {
setProperty("/geg2", _x , xgeg2);
}
}
if (xball < xgeg2) {
if (xball < "270") {
setProperty("/geg2", _x , xgeg2 - sp);
} else {
setProperty("/geg2", _x , xgeg2);
}
}
if (ygeg2 < yball) {
if ((yball < "270") and ("120" < yball)) {
setProperty("/geg2", _y , ygeg2 + sph);
} else {
setProperty("/geg2", _y , ygeg2);
}
}
if (yball < ygeg2) {
if ((yball < "270") and ("120" < yball)) {
setProperty("/geg2", _y , ygeg2 - sp);
} else {
setProperty("/geg2", _y , ygeg2);
}
}
delta2 = xball - xgeg2;
deltay2 = yball - ygeg2;
if (((delta2 < "5") and ((-"5") < delta2)) and ((deltay2 < "5") and ((-"5") < deltay2))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
if (ygeg2 >= "200") {
Set("/ball:stepy", random(-"4"));
}
if (ygeg2 < "200") {
Set("/ball:stepy", random("4"));
}
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg = getProperty("/geg", _x);
ygeg = getProperty("/geg", _y);
if (xgeg < xball) {
if (xball < "270") {
setProperty("/geg", _x , xgeg + sph);
} else {
setProperty("/geg", _x , xgeg);
}
} else {
setProperty("/geg", _x , xgeg - sph);
}
if (ygeg < yball) {
if ((yball < "150") and ("25" < yball)) {
setProperty("/geg", _y , ygeg + sph);
} else {
setProperty("/geg", _y , ygeg);
}
} else {
setProperty("/geg", _y , ygeg - sph);
}
delta = xball - xgeg;
deltay = yball - ygeg;
if (((delta < "9") and ((-"9") < delta)) and ((deltay < "9") and ((-"9") < deltay))) {
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random("8"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
xgeg4 = getProperty("/geg4", _x);
ygeg4 = getProperty("/geg4", _y);
if (xgeg4 < xball) {
if (xball < "120") {
setProperty("/geg4", _x , xgeg4 + sph);
} else {
setProperty("/geg4", _x , xgeg4);
}
}
if (xball < xgeg4) {
if (xball < "120") {
setProperty("/geg4", _x , xgeg4 - sph);
} else {
setProperty("/geg4", _x , xgeg4);
}
}
if (ygeg4 < yball) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg4", _y , ygeg4 + sph);
} else {
setProperty("/geg4", _y , ygeg4);
}
}
if (yball < ygeg4) {
if ((yball < "250") and ("150" < yball)) {
setProperty("/geg4", _y , ygeg4 - sp);
} else {
setProperty("/geg4", _y , ygeg4);
}
}
delta4 = xball - xgeg4;
deltay4 = yball - ygeg4;
if (((delta4 < "6") and ((-"6") < delta4)) and ((deltay4 < "6") and ((-"6") < deltay4))) {
tellTarget ("/ball") {
Set("/ball:stepx", "4");
Set("/ball:stepy", random("5"));
};
tellTarget ("/sou") {
gotoAndPlay (2);
};
}
prevFrame();
xalt = getProperty("/player", _x);
yalt = getProperty("/player", _y);
if (((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) and ((yalt - ys) < "0.2")) and ((-"0.2") < (yalt - ys))) {
tellTarget ("/player/ani") {
gotoAndStop (1);
};
} else {
tellTarget ("/player/ani") {
play();
Set("/player/ani:s", "1");
};
if ((((xalt - xs) < "0.2") and ((-"0.2") < (xalt - xs))) or (((yalt - ys) < "0.2") and ((-"0.2") < (yalt - ys)))) {
tellTarget ("/player/ani") {
play();
Set("/player/ani:s", "0");
};
}
}
Frame 27
setProperty("/ball", _x , "0");
tellTarget ("/scores") {
gotoAndPlay ("toor");
}
Frame 31
setProperty("/ball", _y , "200");
setProperty("/ball", _x , "275");
setProperty("/geg5", _x , "260");
setProperty("/geg5", _y , "200");
gotoAndPlay (15);
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random("3") + "2");
gotoAndPlay ("spiel");
};
tellTarget ("/sou") {
gotoAndPlay (2);
}
Frame 36
gotoAndPlay (15);
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high);
Set("/ball:stepy", random("3") + "2");
gotoAndPlay ("spiel");
};
tellTarget ("/sou") {
gotoAndPlay (2);
}
Frame 37
setProperty("/ball", _x , "550");
tellTarget ("/scores") {
gotoAndPlay ("tooor");
}
Frame 41
setProperty("/ball", _y , "200");
setProperty("/ball", _x , "275");
gotoAndPlay (15);
tellTarget ("/ball") {
Set("/ball:stepx", /ball:high * (-"1"));
Set("/ball:stepy", random("3") + "2");
gotoAndPlay ("spiel");
};
tellTarget ("/sou") {
gotoAndPlay (2);
}
Frame 47
gotoAndPlay (15);
Frame 48
tellTarget ("/ball") {
Set("/ball:stepx", "0");
Set("/ball:stepy", "0");
};
stop();
Frame 53
stop();
re = /scores:scorer;
li = /scores:scorel;
Symbol 5 MovieClip Frame 1
stop();
scorel = "0";
scorer = "0";
stop();
scorel = "0";
scorer = "0";
Symbol 5 MovieClip Frame 2
scorel = scorel + "1";
nextFrame();
Symbol 5 MovieClip Frame 3
stop();
Symbol 5 MovieClip Frame 4
scorer = scorer + "1";
nextFrame();
Symbol 5 MovieClip Frame 5
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 1
gotoAndPlay(random("7") + "2");
s = "1";
Symbol 27 MovieClip Frame 6
s = "1";
Symbol 27 MovieClip Frame 17
if (s == "1") {
gotoAndPlay (6);
} else {
gotoAndPlay (24);
}
Symbol 27 MovieClip Frame 30
if (s == "1") {
gotoAndPlay (6);
} else {
gotoAndPlay (24);
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 12
if (s == "1") {
gotoAndPlay (1);
} else {
gotoAndPlay (26);
}
Symbol 49 MovieClip Frame 32
if (s == "1") {
gotoAndPlay (1);
} else {
gotoAndPlay (26);
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
counter = "90";
Symbol 55 MovieClip Frame 2
counter = counter - "1";
if ("0" >= counter) {
stop();
tellTarget ("/") {
gotoAndStop ("fin");
};
}
Symbol 55 MovieClip Frame 13
gotoAndPlay (2);
Symbol 58 Button
on (release) {
sph = sph - "1";
sp = sp - "1";
if (sph < "2") {
sph = "2";
}
if (sp < "1") {
sp = "1";
}
}
Symbol 60 Button
on (press) {
sph = sph + "1";
sp = sp + "1";
if ("8" < sph) {
sph = "8";
}
if ("6" < sp) {
sp = "6";
}
}
Symbol 66 Button
on (press) {
Set("/ball:high", /ball:high - "1");
Set("/ball:low", /ball:low - "1");
if (/ball:high < "2") {
Set("/ball:high", "2");
}
if (/ball:low < "2") {
Set("/ball:low", "2");
}
}
Symbol 67 Button
on (press) {
Set("/ball:high", /ball:high + "1");
Set("/ball:low", /ball:low + "1");
if ("12" < /ball:high) {
Set("/ball:high", "12");
}
if ("10" < /ball:low) {
Set("/ball:low", "10");
}
}
Symbol 70 Button
on (release) {
stopAllSounds();
gotoAndPlay (1);
Set("/count:counter", "90");
Set("/scores:scorel", "0");
Set("/scores:scorer", "0");
tellTarget ("/count") {
play();
}
}
Symbol 74 MovieClip Frame 1
if (foul >= "20") {
tellTarget ("/") {
gotoAndStop ("start");
};
gotoAndPlay (37);
}
foul = "1";
play();
Symbol 74 MovieClip Frame 36
gotoAndPlay (1);
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
play();
Set("/sou/fou:foul", /sou/fou:foul + "1");
Symbol 86 MovieClip Frame 1
stop();
Symbol 88 Button
on (press) {
tellTarget ("bouncer") {
gotoAndPlay ("hoch");
};
stepx = stepx * "3";
stepy = stepy * "3";
}
Symbol 90 Button
on (rollOver) {
play();
stepy = low;
stepx = -low;
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 92 Button
on (rollOver) {
play();
stepy = low;
stepx = low;
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 94 Button
on (rollOver) {
play();
stepy = high;
stepx = "0";
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 96 Button
on (rollOver) {
play();
stepy = "0";
stepx = -high;
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 98 Button
on (rollOver) {
play();
stepy = -low;
stepx = -low;
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 100 Button
on (rollOver) {
play();
stepy = -high;
stepx = "0";
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 102 Button
on (rollOver) {
play();
stepy = -low;
stepx = low;
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 104 Button
on (rollOver) {
play();
stepy = "0";
stepx = high;
}
on (press) {
stop();
}
on (release) {
play();
}
Symbol 105 MovieClip Frame 1
play();
Symbol 105 MovieClip Frame 20
gotoAndPlay (1);
Symbol 105 MovieClip Frame 21
play();
Symbol 105 MovieClip Frame 40
gotoAndPlay (1);
Symbol 106 MovieClip Frame 1
stop();
high = "4.8";
low = "3";
Symbol 106 MovieClip Frame 2
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
setProperty("/ball", _y , yball + stepy);
setProperty("/ball", _x , xball + stepx);
if ("23" >= xball) {
stepx = high;
}
if (xball >= "520") {
stepx = -high;
}
if ("25" >= yball) {
stepy = high;
}
if (yball >= "377") {
stepy = -high;
}
play();
Symbol 106 MovieClip Frame 3
stepx = stepx * "0.95";
stepy = stepy * "0.95";
xball = getProperty("/ball", _x);
yball = getProperty("/ball", _y);
setProperty("/ball", _y , yball + stepy);
setProperty("/ball", _x , xball + stepx);
if ("23" >= xball) {
stepx = high;
setProperty("/ball", _x , "23");
}
if (xball >= "520") {
stepx = -high;
setProperty("/ball", _x , "520");
}
if ("25" >= yball) {
stepy = high;
setProperty("/ball", _y , "25");
}
if (yball >= "377") {
stepy = -high;
setProperty("/ball", _y , "377");
}
gotoAndPlay (2);
Symbol 111 Button
on (release) {
gotoAndPlay (1);
Set("/count:counter", "90");
Set("/scores:scorel", "0");
Set("/scores:scorer", "0");
tellTarget ("/count") {
play();
}
}
on (press) {
stopAllSounds();
}