Frame 1
ifFrameLoaded (35) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 33
ifFrameLoaded (36) {
gotoAndPlay (35);
}
Frame 34
gotoAndPlay(_currentframe - "1");
Frame 35
stop();
Frame 36
xjim = "150";
yjim = "150";
shoot = "0";
punkte = "0";
setProperty("kills", _xscale , "1");
ckills = "0";
level = "1";
setProperty("fire", _y , "5000");
while ("0" < nklops) {
removeMovieClip("klops" + nklops);
nklops = nklops - "1";
}
Frame 38
xziel = getProperty("drager", _x);
yziel = getProperty("drager", _y);
if (xziel < (xjim - "20")) {
xjim = xjim - "20";
} else if ((xjim + "20") < xziel) {
xjim = xjim + "20";
} else {
xjim = xziel;
}
if (yziel < (yjim - "20")) {
yjim = yjim - "20";
} else if ((yjim + "20") < yziel) {
yjim = yjim + "20";
} else {
yjim = yziel;
}
setProperty("jim", _x , xjim);
setProperty("jim", _y , yjim);
if (random("14" - (level * "2")) == "1") {
nklops = nklops + "1";
if (level == "1") {
gegner = "klopsvorlage";
} else if (level == "2") {
gegner = "klopsvorlage2";
} else {
gegner = "klopsvorlage3";
}
duplicateMovieClip (gegner, "klops" + nklops, nklops);
setProperty("klops" + nklops, _x , "540");
setProperty("klops" + nklops, _y , random("300"));
}
n = "0";
while (n < nklops) {
n = n + "1";
x = getProperty("klops" + n, _x);
y = getProperty("klops" + n, _y);
ymove = "0";
if (level == "3") {
multi = "2";
} else {
multi = "1";
}
if ((xjim + "50") < x) {
x = x - ("10" * multi);
} else {
x = x - "8";
if (y < (yjim - "20")) {
ymove = "8" * multi;
} else if ((yjim + "20") < y) {
ymove = (-"8") * multi;
}
}
y = y + ymove;
if ((getProperty("schleim", _x) < (-"40")) and (level == "2")) {
r = random("5");
if (r == "0") {
setProperty("schleim", _x , x);
setProperty("schleim", _y , y);
}
}
if ((x < (xjim + "40")) and ((xjim - "40") < x)) {
if ((y < (yjim + "40")) and ((yjim - "40") < y)) {
tellTarget ("sfx") {
gotoAndPlay ("explo");
};
gotoAndPlay (40);
}
}
if ((x < (getProperty("fire", _x) + "40")) and ((getProperty("fire", _x) - "40") < x)) {
if ((y < (getProperty("fire", _y) + "40")) and ((getProperty("fire", _y) - "40") < y)) {
setProperty("explo", _x , x);
setProperty("explo", _y , y);
tellTarget ("explo") {
gotoAndPlay (1);
};
punkte = punkte + "17";
tellTarget ("sfx") {
gotoAndPlay ("explo");
};
setProperty("fire", _x , "999");
x = -"50";
if (ckills < "33") {
ckills = ckills + "1";
} else {
ckills = "0";
level = level + "1";
while ("0" < nklops) {
removeMovieClip("klops" + nklops);
nklops = nklops - "1";
}
if (level == "4") {
gotoAndPlay (61);
}
tellTarget ("geschaft") {
gotoAndPlay (2);
};
}
setProperty("kills", _xscale , "1" + (ckills * "3"));
}
}
setProperty("klops" + n, _x , x);
setProperty("klops" + n, _y , y);
if (x < (-"40")) {
if (n < nklops) {
setProperty("klops" + n, _x , getProperty("klops" + nklops, _x) - "10");
setProperty("klops" + n, _y , getProperty("klops" + nklops, _y) + ymove);
}
removeMovieClip("klops" + nklops);
nklops = nklops - "1";
}
}
if (getProperty("schleim", _x) >= (-"40")) {
setProperty("schleim", _x , getProperty("schleim", _x) - "30");
x = getProperty("schleim", _x);
y = getProperty("schleim", _y);
if ((x < (xjim + "20")) and ((xjim - "20") < x)) {
if ((y < (yjim + "20")) and ((yjim - "20") < y)) {
tellTarget ("sfx") {
gotoAndPlay ("explo");
};
gotoAndPlay (40);
}
}
}
if ("0" >= lastshot) {
if ((shoot == "1") and ("540" < getProperty("fire", _x))) {
lastshot = "5";
tellTarget ("sfx") {
gotoAndPlay ("shot");
};
setProperty("fire", _x , xjim);
setProperty("fire", _y , yjim);
}
} else {
lastshot = lastshot - "1";
}
setProperty("fire", _x , getProperty("fire", _x) + "40");
if ("540" < getProperty("fire", _x)) {
setProperty("fire", _y , "5000");
}
Frame 39
gotoAndPlay (38);
Frame 60
gotoAndPlay (36);
Frame 62
while ("0" < nklops) {
removeMovieClip("klops" + nklops);
nklops = nklops - "1";
}
stop();
Symbol 16 Button
on (release) {
getURL ("http://wald.heim.at/redwood/510100/index.html", "_blank");
}
Symbol 23 Button
on (release) {
play();
}
Symbol 27 Button
on (rollOver) {
startDrag ("drager", true);
}
on (press) {
shoot = "1";
}
on (release, dragOut) {
shoot = "0";
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 3
stop();
Symbol 28 MovieClip Frame 5
stop();
Symbol 46 MovieClip Frame 12
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 66 Button
on (release) {
gotoAndPlay (1);
}