Frame 1
Stage.scaleMode = "noScale";
totalbytes = _root.getBytesTotal();
bytesloaded = _root.getBytesLoaded();
percent = int((bytesloaded / totalbytes) * 100);
if (percent < 0) {
percent = 0;
}
tellTarget ("_root.loader") {
gotoAndStop ("int(_root.percent / 2)");
};
Frame 2
if (bytesloaded < totalbytes) {
gotoAndPlay (1);
} else {
_root.gotoAndstop("Main", 1);
}
Frame 3
stop();
Frame 4
_root.zahler.d = 1;
maxPlatforms = 9;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
score = 0;
lives = 100;
stop();
Instance of Symbol 32 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = -1;
_root.gotoAndStop("a2");
}
}
Instance of Symbol 34 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 14;
}
}
Instance of Symbol 36 MovieClip "zzzz" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "kkk" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "hklhl" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "uuu" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "6666" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 62 MovieClip "player" in Frame 4
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 0) == "bad") {
if (this.hitTest(_root[i])) {
_root.lives = _root.lives - 1;
if (_root.lives == 0) {
_root.gotoAndStop(2);
}
}
}
}
}
Instance of Symbol 36 MovieClip "zzzz" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "kkk" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "hklhl" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "uuu" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 36 MovieClip "6666" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Frame 13
_root.zahler.d = 1;
Instance of Symbol 32 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = -1;
_root.gotoAndStop("a1");
}
}
Instance of Symbol 136 MovieClip "kkkztztu" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "tuztzu" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "hklhlztzzt" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "ztzutzurtur67rt" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "uuuztzztkkk" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "6666zzz" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "kkkztztu" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "tuztzu" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "hklhlztzzt" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "ztzutzurtur67rt" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "uuuztzztkkk" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Instance of Symbol 136 MovieClip "6666zzz" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.play();
}
}
Frame 27
stop();
Frame 32
stop();
Frame 33
gotoAndStop ("a1");
Symbol 2 MovieClip Frame 1
stop();
Symbol 2 MovieClip Frame 25
stop();
Symbol 2 MovieClip Frame 50
stop();
stop();
Symbol 16 Button
on (release) {
gotoAndStop ("a1");
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
_root.zahler.d = _root.zahler.d + 1;
_root.scorer.nummer = _root.scorer.nummer + 1234;
if (_root.excellent.t != 2) {
if (_root.excellent.t == 1) {
_root.excellent.play();
}
} else {
_root.excellent2.play();
}
Symbol 36 MovieClip Frame 20
stop();
Symbol 36 MovieClip Frame 26
gotoAndPlay (21);
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
_root.scorer.nummer = _root.scorer.nummer + 4378;
Symbol 49 MovieClip Frame 1
var d = 1;
Symbol 49 MovieClip Frame 3
if (d != 7) {
if (d <= 6) {
gotoAndPlay (2);
}
} else {
gotoAndPlay (5);
}
Symbol 49 MovieClip Frame 22
_root.zahler.fun.gotoAndPlay(2);
Symbol 63 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 8
gotoAndPlay (2);
Symbol 63 MovieClip Frame 12
gotoAndStop (2);
Symbol 63 MovieClip Frame 16
gotoAndStop (3);
Symbol 63 MovieClip Frame 20
gotoAndStop (3);
Symbol 62 MovieClip Frame 1
function hitPlatforms() {
var i;
var y;
var x;
i = 0;
while (i < _root.maxPlatforms) {
platform = eval ("_root.platform" + i);
y = _y + vertical;
x = _x + horizontal;
if (((_y < platform._y) && (y >= platform._y)) && (platform.hitTest(x, platform._y) == true)) {
_y = platform._y;
setProperty("", _y, platform._y);
falling = false;
vertical = 0;
return(undefined);
}
i++;
}
platform = null;
return(undefined);
}
function render() {
var _loc1 = _root;
var _loc2;
var y;
_loc2 = (y = 0);
if (Key.isDown(39) == true) {
_loc2 = hforce;
_loc1.player.player2.gotoAndPlay("run");
}
if (Key.isDown(37) == true) {
_loc2 = hforce * -1;
_loc1.player.player2.gotoAndPlay("runleft");
}
if (Key.isDown(40) == true) {
_loc1.platform11.play();
_loc1.platform12.play();
_loc1.platform3.play();
_loc1.platform17.play();
_loc1.platform6.play();
_loc1.platform2.play();
_loc1.platform0.play();
_loc1.platform5.play();
_loc1.platform9.play();
_loc1.platform10.play();
}
if (Math.abs(horizontal) >= Math.abs(_loc2)) {
horizontal = horizontal * friction;
if (Math.abs(horizontal) < 1) {
horizontal = 0;
}
} else {
horizontal = _loc2;
}
if ((vertical == 0) && (Key.isDown(38) == true)) {
vertical = vforce * -1;
horizontal = horizontal + platform.velocity;
platform = null;
rising = true;
_loc1.player.player2.gotoAndPlay("jump");
}
if (rising == true) {
vertical = vertical * gravity;
if (Math.abs(vertical) < 1) {
vertical = Math.abs(vertical);
falling = true;
rising = false;
}
}
if (falling == true) {
vertical = vertical * accel;
hitPlatforms();
}
lastX = _x;
lastY = _y;
_y = (_y + vertical);
setProperty("", _y, _y + vertical);
_x = ((_x + horizontal) + platform.velocity);
setProperty("", _x, (_x + horizontal) + platform.velocity);
if ((platform != null) && (platform.hitTest(_x, platform._y, true) == false)) {
vertical = 2;
falling = true;
}
}
stop();
vforce = 80;
horizontal = 0;
vertical = 5;
friction = 0.800000011920929;
gravity = 0.699999988079071;
accel = 1.70000004768372;
rising = false;
falling = true;
lastX = _x;
lastY = _y;
platform = null;
stop();
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.power.gotoAndPlay(1);
_root.oil.g.gotoAndStop(2);
}
}
Symbol 105 MovieClip Frame 2
_root.freak.play();
Symbol 104 MovieClip Frame 1
zufall = Math.floor((Math.random() * 6) + 1);
if (zufall != 1) {
if (zufall != 2) {
if (zufall != 3) {
if (zufall != 4) {
if (zufall != 5) {
if (zufall == 6) {
gotoAndStop ("f");
}
} else {
gotoAndStop ("e");
}
} else {
gotoAndStop ("d");
}
} else {
gotoAndStop ("c");
}
} else {
gotoAndStop ("b");
}
} else {
gotoAndStop ("a");
}
Symbol 109 MovieClip Frame 1
_root.player.hforce = 14;
stop();
Symbol 109 MovieClip Frame 2
_root.player.hforce = 34;
Symbol 109 MovieClip Frame 5
gotoAndStop (1);
Symbol 109 MovieClip Frame 6
_root.player.hforce = 60;
Symbol 110 MovieClip Frame 1
var t = 1;
stop();
Symbol 110 MovieClip Frame 2
t = 2;
Symbol 112 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 113
_root.go.gotoAndPlay("yea");
Symbol 114 MovieClip Frame 152
_root.gotoAndStop("formular");
stop();
Symbol 125 MovieClip Frame 139
gotoAndPlay ("yea");
Symbol 131 MovieClip Frame 1
var nummer = 0;
Symbol 131 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
_root.zahler.d = _root.zahler.d + 1;
_root.scorer.nummer = _root.scorer.nummer + 1234;
Symbol 136 MovieClip Frame 3
if (_root.excellent.t != 2) {
if (_root.excellent.t == 1) {
_root.excellent.play();
}
} else {
_root.excellent2.play();
}
Symbol 136 MovieClip Frame 34
gotoAndPlay (21);
Symbol 146 Button
on (release) {
_root.gotoAndPlay("restart");
}
Symbol 151 Button
on (release) {
var gname = "mega64";
var gscore = _root.scorer.nummer;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
}
Symbol 155 Button
on (release) {
var gname = "mega64";
var gscore = _root.scorer.nummer;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
}
Symbol 156 Button
on (release) {
var gname = "mega64";
var gscore = _root.scorer.nummer;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
}