Frame 1
gotoAndPlay (10);
back_mc.zielX = 0;
back_mc.zielY = 0;
back_mc.onEnterFrame = function () {
this._x = this._x + ((this.zielX - this._x) / 10);
this._y = this._y + ((this.zielY - this._y) / 10);
};
level = 1;
markArray = [];
levelJump = 0;
airbrakes = 5;
leben = 5;
comboCount = 0;
punkte = 0;
_parent.punkte_txt.text = punkte;
_parent.airbrakes_txt.text = airbrakes;
_parent.level_txt.text = level;
attachMovie("mann_mc", "mann_mc", 1000000);
mann_mc.gotoAndPlay("land");
BonusTextClass = function () {
this.zielY = 100;
this.kill = false;
this.go = false;
this.ping = true;
this.onEnterFrame = function () {
if ((this.index == 0) || (this.go)) {
this._y = this._y + ((this.zielY - this._y) / 5);
if (this._y < 150) {
this._parent["text_mc" + (this.index + 1)].go = true;
this.kill = true;
}
if (this.kill) {
if (this.ping) {
_parent.getPoints.start(0, 1);
this.ping = false;
}
this.zielY = Stage.height / 2;
this._alpha = this._alpha - 5;
this._xscale = this._xscale + 4;
this._yscale = this._yscale + 4;
}
if (this._alpha <= 0) {
removeMovieClip(this);
}
}
};
};
Object.registerClass("text_mc", BonusTextClass);
PfeilClass = function () {
this.onEnterFrame = function () {
this._x = mann_mc._x;
if (mann_mc._y < 0) {
this.text_txt.text = -Math.round(mann_mc._y / 10);
this._visible = true;
} else {
this.text_txt.text = " ";
this._visible = false;
}
};
};
Object.registerClass("pfeil_mc", PfeilClass);
attachMovie("pfeil_mc", "pfeil_mc", 0);
level1 = [(p1 = [50, 350, "normal"]), (p2 = [170, 350, "normal"])];
level2 = [(p1 = [50, 350, "normal"]), (p2 = [200, 250, "normal"])];
level3 = [(p1 = [50, 350, "normal"]), (p2 = [550, 350, "normal"]), (p3 = [300, 300, "normal"])];
level4 = [(p1 = [50, 350, "normal"]), (p2 = [450, 150, "normal"]), (p3 = [100, 200, "normal"]), (p4 = [300, 100, "normal"])];
level5 = [(p1 = [50, 350, "normal"]), (p2 = [300, 150, "normal"]), (p3 = [400, 300, "wackel"]), (p4 = [100, 100, "normal"])];
level6 = [(p1 = [50, 350, "normal"]), (p2 = [320, 300, "wackel"]), (p3 = [200, 300, "wackel"]), (p4 = [300, 380, "normal"])];
level7 = [(p1 = [50, 350, "normal"]), (p2 = [200, 350, "feuer"]), (p3 = [550, 350, "normal"])];
level8 = [(p1 = [50, 350, "normal"]), (p2 = [500, 200, "normal"]), (p3 = [200, 100, "feuer"]), (p4 = [300, 300, "feuer"]), (p5 = [300, 200, "normal"])];
level9 = [(p1 = [50, 350, "normal"]), (p2 = [190, 100, "wackel"]), (p3 = [300, 50, "normal"]), (p4 = [300, 100, "feuer"]), (p5 = [300, 150, "wackel"]), (p6 = [350, 200, "normal"]), (p7 = [300, 250, "normal"])];
level10 = [(p1 = [50, 350, "normal"]), (p2 = [550, 50, "normal"]), (p3 = [550, 350, "feuer"]), (p4 = [50, 50, "normal"]), (p5 = [300, 350, "wackel"]), (p6 = [300, 100, "feuer"])];
level11 = [(p1 = [50, 350, "feuer"]), (p2 = [290, 320, "normal"]), (p3 = [570, 80, "feuer"]), (p4 = [50, 50, "normal"]), (p5 = [550, 350, "wackel"]), (p6 = [50, 300, "feuer"])];
level12 = [(p1 = [50, 350, "feuer"]), (p2 = [390, 150, "wackel"]), (p3 = [565, 390, "normal"]), (p4 = [50, 350, "feuer"]), (p5 = [390, 150, "wackel"]), (p6 = [300, 200, "normal"])];
level13 = [(p1 = [50, 350, "feuer"]), (p2 = [100, 300, "feuer"]), (p3 = [150, 250, "feuer"]), (p4 = [200, 200, "feuer"]), (p5 = [250, 150, "feuer"]), (p6 = [300, 100, "normal"]), (p7 = [350, 150, "wackel"]), (p8 = [400, 200, "wackel"]), (p9 = [450, 250, "wackel"]), (p10 = [500, 300, "wackel"]), (p11 = [550, 350, "normal"])];
level14 = [(p1 = [50, 350, "normal"]), (p2 = [150, 350, "wackel"]), (p3 = [150, 300, "feuer"]), (p4 = [150, 250, "wackel"]), (p5 = [150, 200, "feuer"]), (p6 = [150, 150, "wackel"]), (p7 = [150, 100, "feuer"]), (p8 = [250, 100, "wackel"]), (p9 = [350, 150, "feuer"]), (p10 = [250, 200, "wackel"]), (p11 = [350, 250, "feuer"])];
level15 = [(p1 = [50, 350, "normal"]), (p2 = [200, 80, "wackel"]), (p3 = [350, 120, "wackel"]), (p4 = [50, 50, "wackel"]), (p5 = [350, 350, "feuer"]), (p6 = [150, 150, "wackel"]), (p7 = [160, 100, "feuer"]), (p8 = [340, 50, "wackel"]), (p9 = [240, 50, "feuer"]), (p10 = [350, 140, "wackel"]), (p11 = [300, 250, "normal"])];
CollectClass = function () {
this.onEnterFrame = function () {
this._rotation = this._rotation + 5;
if (mann_mc.hitTest(this._x, this._y)) {
_parent.getPoints.start(0, 1);
bonusArray.push("Extra Points +25");
bonus = bonus + 25;
removeMovieClip(this);
}
if (collectKill) {
removeMovieClip(this);
}
};
};
Object.registerClass("item_mc", CollectClass);
collectLevel1 = [(jump1 = [(collect1 = [112, 240]), (collect2 = [75, 270]), (collect3 = [149, 270])])];
collectLevel2 = [(jump1 = [(collect1 = [86, 180]), (collect2 = [66, 273]), (collect3 = [178, 172]), (collect4 = [128, 111])])];
collectLevel3 = [(jump1 = [(collect1 = [126, 148]), (collect2 = [224, 4]), (collect3 = [530, 272]), (collect4 = [479, 169])]), (jump2 = [(collect1 = [430, 209])])];
collectLevel4 = [(jump1 = [(collect1 = [427, 101]), (collect2 = [397, 53])]), (jump2 = [(collect1 = [297, 119]), (collect2 = [560, 105]), (collect3 = [116, 163])]), (jump3 = [(collect1 = [37, 36]), (collect2 = [297, 56]), (collect3 = [78, 131]), (collect4 = [273, 11])])];
collectLevel5 = [(jump1 = []), (jump2 = [(collect1 = [495, 200]), (collect2 = [498, 110])]), (jump3 = [(collect1 = [33, 44])])];
collectLevel6 = [(jump1 = [(collect1 = [12, 193])]), (jump2 = [(collect1 = [256, 36])]), (jump3 = [(collect1 = [53, 153]), (collect2 = [425, 200])])];
collectLevel7 = [(jump1 = []), (jump2 = [(collect1 = [324, 312]), (collect2 = [398, 300]), (collect3 = [473, 295]), (collect4 = [547, 298]), (collect5 = [593, 316]), (collect6 = [548, 337])])];
collectLevel8 = [(jump1 = [(collect1 = [554, 163]), (collect2 = [554, 121])]), (jump2 = []), (jump3 = [(collect1 = [107, 155]), (collect2 = [178, 196])]), (jump4 = [(collect1 = [300, 58]), (collect2 = [300, 94]), (collect3 = [300, 136]), (collect4 = [300, 21])])];
collectLevel9 = [(jump1 = []), (jump2 = [(collect1 = [201, 3]), (collect2 = [104, 56]), (collect3 = [42, 30]), (collect4 = [276, 29])]), (jump3 = []), (jump4 = []), (jump5 = []), (jump6 = [])];
collectLevel10 = [(jump1 = []), (jump2 = [(collect1 = [582.95, 146]), (collect2 = [590, 204]), (collect3 = [580, 260]), (collect4 = [570, 95]), (collect5 = [567, 310])]), (jump3 = []), (jump4 = [(collect1 = [294, 145]), (collect2 = [299, 214]), (collect3 = [287, 86]), (collect4 = [302, 279])]), (jump5 = [(collect1 = [243, 15]), (collect2 = [185, 203]), (collect3 = [285, 53]), (collect4 = [248, 268])])];
collectLevel11 = [(jump1 = []), (jump2 = []), (jump3 = []), (jump4 = []), (jump5 = [])];
collectLevel12 = [(jump1 = []), (jump2 = [(collect1 = [577, 294]), (collect2 = [555, 240])]), (jump3 = []), (jump4 = [(collect1 = [210, 80]), (collect2 = [153, 157])]), (jump5 = [])];
collectLevel13 = [(jump1 = []), (jump2 = []), (jump3 = []), (jump4 = []), (jump5 = []), (jump6 = []), (jump7 = []), (jump8 = []), (jump9 = []), (jump10 = [])];
collectLevel14 = [(jump1 = [(collect1 = [101, 34])]), (jump2 = []), (jump3 = [(collect1 = [46, 195])]), (jump4 = []), (jump5 = [(collect1 = [52, 40])]), (jump6 = []), (jump7 = [(collect1 = [54, 50])]), (jump8 = []), (jump9 = []), (jump10 = [(collect1 = [443, 41])])];
collectLevel15 = [(jump1 = []), (jump2 = []), (jump3 = []), (jump4 = []), (jump5 = []), (jump6 = []), (jump7 = []), (jump8 = []), (jump9 = []), (jump10 = [(collect1 = [285, 206]), (collect2 = [283, 186]), (collect3 = [312, 186]), (collect4 = [311, 207]), (collect5 = [297, 228])])];
Frame 10
ebene = 0;
plattformIndex = 2;
removeMovieClip(startArea_mc);
removeMovieClip(ziel_mc);
attachMovie(this["level" + level][0][2], "startArea_mc", ++ebene);
startArea_mc._x = this["level" + level][0][0];
startArea_mc._y = this["level" + level][0][1];
attachMovie(this["level" + level][1][2], "ziel_mc", ++ebene);
ziel_mc._x = this["level" + level][1][0];
ziel_mc._y = this["level" + level][1][1];
mann_mc.onEnterFrame = function () {
linieUnten_mc._alpha = linieUnten_mc._alpha - 10;
if (linieUnten_mc._alpha <= 0) {
removeMovieClip(linieUnten_mc);
}
};
Frame 20
stop();
function jump() {
mann_mc.vy = mann_mc.vy + mann_mc.fallSpeed;
mann_mc._y = mann_mc._y + (mann_mc.vy / 15);
if (mann_mc.vy < 0) {
mann_mc.gotoAndPlay("jump");
} else {
mann_mc.gotoAndPlay("land");
}
t++;
if (((t >= buchstabenAbstand) && (textTic < jumpText.length)) && (!mann_mc.burn)) {
attachMovie("traceBall_mc", "tracer" + ebene, ++ebene);
nMc = this["tracer" + ebene];
nMc._x = mann_mc._x;
nMc._y = mann_mc._y - 30;
nMc.tracer_txt.textFormat = new TextFormat();
nMc.tracer_txt.textFormat.size = txtSize;
nMc.tracer_txt.textFormat.color = txtColor;
txtSize = txtSize - txtKleiner;
nMc.tracer_txt.text_txt.text = jumpText.charAt(textTic);
nMc.tracer_txt.text_txt.setTextFormat(nMc.tracer_txt.textFormat);
textTic++;
t = 0;
}
if ((((mann_mc.vy > 0) && (mann_mc._y > ziel_mc._y)) && (txtKleiner != 0)) && (!mann_mc.burn)) {
buchstabenAbstand = 2;
jumpText = "UUAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!";
textTic = 0;
txtSize = 16;
txtColor = "0xff0000";
txtKleiner = 0;
}
if (mann_mc.burn) {
attachMovie("ball_mc", "ball_mc" + ebene, ++ebene);
nMc = this["ball_mc" + ebene];
nMc._x = mann_mc._x + (random(10) * (1 - (random(2) * 2)));
nMc._y = mann_mc._y + (random(10) * (1 - (random(2) * 2)));
}
}
mann_mc.vy = -40;
mann_mc.fallSpeed = 4;
mann_mc.speedX = 3;
mann_mc._y = 300;
mann_mc._x = -44;
mann_mc._rotation = 0;
mann_mc._xscale = 100;
mann_mc.enter = true;
mann_mc.gotoAndStop("land");
mann_mc.onEnterFrame = function () {
this.vy = this.vy + this.fallSpeed;
this._y = this._y + (this.vy / 15);
this._x = this._x + this.speedX;
if (this.hitTest(startArea_mc)) {
this.gotoAndPlay("landed");
this._y = startArea_mc._y;
gotoAndPlay (30);
}
};
this.onMouseDown = function () {
};
stop();
Frame 30
stop();
winkelundKreisAlpha = 60;
mann_mc.enter = false;
mann_mc.onEnterFrame = function () {
};
collectKill = false;
power_mc._x = mann_mc._x;
power_mc._y = mann_mc._y;
mann_mc.speedX = 0;
i = 0;
while (i < this["collectLevel" + level][levelJump].length) {
attachMovie("item_mc", "item_mc" + i, ++ebene);
nMc = this["item_mc" + i];
nMc._x = this["collectLevel" + level][levelJump][i][0];
nMc._y = this["collectLevel" + level][levelJump][i][1];
i++;
}
this.onMouseDown = function () {
};
bonusArray = [];
bonus = 0;
Instance of Symbol 101 MovieClip [power_mc] "power_mc" in Frame 30
onClipEvent (load) {
winkel_mc._alpha = _parent.winkelundKreisAlpha;
kreis_mc._alpha = _parent.winkelundKreisAlpha;
}
Frame 40
stop();
airbrake = false;
jumpLength = 0;
mann_mc.burn = false;
jumpText = "YEEEHAAAAAA!!!!!!!";
textTic = 0;
txtSize = 24;
txtKleiner = 1;
buchstabenAbstand = 2;
txtColor = "0xffff00";
createEmptyMovieClip("linieUnten_mc", ++ebene);
linieUnten_mc.lineStyle(2, 13421772, 100);
linieUnten_mc.moveTo(mann_mc._x, mann_mc._y);
createEmptyMovieClip("linieOben_mc", ++ebene);
linieOben_mc.lineStyle(2, 16776960, 100);
linieOben_mc.moveTo(mann_mc._x, mann_mc._y);
linieOben_mc.onEnterFrame = function () {
this._alpha = this._alpha - 0.5;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
attachMovie("hammerfall_mc", "hammerfall_mc", ++ebene);
if (mann_mc.xSpeed < 0) {
hammerfall_mc._xscale = -100;
}
hammerfall_mc.vy = mann_mc.vy / 2;
hammerfall_mc.speedX = mann_mc.speedX / 5;
hammerfall_mc._x = mann_mc._x;
hammerfall_mc._y = mann_mc._y;
hammerfall_mc.onEnterFrame = function () {
this.vy = this.vy + 8;
this._y = this._y + (this.vy / 10);
this._x = this._x + this.speedX;
if (this._y >= Stage.height) {
removeMovieClip(this);
}
};
mann_mc.onEnterFrame = function () {
linieUnten_mc.lineTo(this._x, this._y);
linieOben_mc.lineTo(this._x, this._y);
this.tics++;
this._x = this._x + this.speedX;
if (this._x > Stage.width) {
_parent.bounceSnd.start(0, 1);
this._x = Stage.width;
this.speedX = this.speedX * -1;
bonusArray.push("Bounce +40");
bonus = bonus + 40;
}
if (this._x < 0) {
_parent.bounceSnd.start(0, 1);
this._x = 0;
this.speedX = this.speedX * -1;
bonusArray.push("Bounce +40");
bonus = bonus + 40;
}
if (this.speedX < 0) {
this._xscale = -100;
}
if (this.speedX > 0) {
this._xscale = 100;
}
jump();
if (this.burn) {
this.gotoAndPlay("burn");
this._rotation = this._rotation + (this.speedX / 2);
}
if ((this.vy > 0) && (ziel_mc.hitTest(this._x, this._y))) {
comboCount++;
if (comboCount > 2) {
bonusArray.push((("Combo " + comboCount) + "x +") + (comboCount * 10));
bonus = bonus + (comboCount * 10);
}
collectKill = true;
if (Math.abs(ziel_mc._x - this._x) < 10) {
bonusArray.push("Perfect Jump +60");
bonus = bonus + 60;
}
if (jumpLength >= 10) {
bonusArray.push("Long Jump +40");
bonus = bonus + 40;
}
if (airbrake) {
markArray[levelJump][markArray[levelJump].length - 1][2] = "markBrake";
} else if (!airbrake) {
markArray[levelJump][markArray[levelJump].length - 1][2] = "markHit";
}
airbrake = true;
if (ziel_mc.burning) {
this.burn = true;
} else if (!this.burn) {
ziel_mc.tics = -1;
this._y = ziel_mc._y;
gotoAndPlay (50);
}
}
if (this._y > (Stage.height + 50)) {
removeMovieClip(ziel_mc.nMc);
comboCount = 0;
markArray[levelJump][markArray[levelJump].length - 1][2] = "markMiss";
levelJump = 0;
this._parent._parent[("bobAnz" + leben) + "_mc"].gotoAndPlay("kill");
leben--;
if (leben == -1) {
leben = 0;
loose_mc.gotoAndPlay(1);
this.onEnterFrame = function () {
linieUnten_mc.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
linieOben_mc.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
};
} else {
collectKill = true;
linieUnten_mc.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
linieOben_mc.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
gotoAndPlay (10);
}
}
};
this.onMouseDown = function () {
if ((!airbrake) && (airbrakes > 0)) {
_parent.airbrakeSnd.start(0, 1);
if (!ziel_mc.hitTest(mann_mc._x, ziel_mc._y)) {
buchstabenAbstand = 2;
jumpText = " UUAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!";
textTic = 0;
txtSize = 24;
txtColor = "0x990000";
txtKleiner = 0;
}
airbrake = true;
airbrakes--;
_parent.airbrakes_txt.text = airbrakes;
mann_mc.speedX = 0;
mann_mc.vy = 0;
bonusArray.push("Airbrake +50");
bonus = bonus + 50;
}
};
Frame 50
stop();
this["collectLevel" + level][levelJump] = "";
levelJump++;
mann_mc.gotoAndPlay("landed");
mann_mc.onEnterFrame = function () {
};
linieUnten_mc.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
linieOben_mc.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
};
startArea_mc.gotoAndPlay("kill");
startArea_mc._name = "weg";
ziel_mc._name = "startArea_mc";
if (this["level" + level].length > plattformIndex) {
attachMovie(this["level" + level][plattformIndex][2], "ziel_mc", ++ebene);
ziel_mc._x = this["level" + level][plattformIndex][0];
ziel_mc._y = this["level" + level][plattformIndex][1];
plattformIndex++;
ziel = "aim";
gotoAndPlay (60);
} else {
bonusArray.push("Level Up +30");
bonus = bonus + 30;
level++;
_parent.level_txt.text = level;
i = 5;
while (i > leben) {
this._parent[("bobAnz" + i) + "_mc"].gotoAndPlay("build");
i--;
}
leben = 5;
_parent.leben_txt.text = "bobs: " + leben;
airbrakesAdd++;
if (airbrakesAdd == 3) {
airbrakesAdd = 0;
airbrakes++;
_parent.airbrakes_txt.text = airbrakes;
}
attachMovie(this["level" + level][1][2], "ziel_mc", ++ebene);
ziel_mc._x = (startArea_mc._x - this["level" + level][0][0]) + this["level" + level][1][0];
ziel_mc._y = this["level" + level][1][1] - (this["level" + level][0][1] - startArea_mc._y);
if (level == 16) {
ziel = "stageOut";
} else {
ziel = "level";
}
plattformIndex = 2;
gotoAndPlay (60);
}
Frame 60
stop();
if (levelJump >= markArray.length) {
i = 0;
while (i < bonusArray.length) {
attachMovie("text_mc", "text_mc" + i, ++ebene);
nMc = this["text_mc" + i];
nMc.text_txt.autoSize = true;
nMc.text_txt.text = bonusArray[i];
nMc.index = i;
nMc._x = Stage.width / 2;
nMc._y = (Stage.height + 100) + (i * 50);
i++;
}
punkte = punkte + bonus;
_parent.punkte_txt.text = punkte;
}
Frame 70
stop();
back_mc.zielX = back_mc.zielX - 20;
back_mc.zielY = back_mc.zielY + ((350 - mann_mc._y) / 15);
startArea_mc.zielX = this["level" + level][0][0];
startArea_mc.zielY = this["level" + level][0][1];
startArea_mc.scrolling = true;
levelJump = 0;
markArray = [];
stop();
Frame 80
stop();
mann_mc.vy = -400;
mann_mc.speedX = 2;
jumpText = "";
removeMovieClip("pfeil_mc");
startArea_mc.gotoAndPlay("kill");
mann_mc.onEnterFrame = function () {
jump();
if (this._y < -200) {
_parent.stageNum++;
_parent.balken_mc.ziel = "outro";
_parent.balken_mc.gotoAndPlay(2);
removeMovieClip(this);
}
};
Frame 91
stop();
Symbol 20 MovieClip [mann_mc] Frame 1
jumpSnd = true;
ichFliege = true;
ichFalle = true;
if (ichWarte) {
_parent._parent.hammer.start(0, 9999);
_parent._parent.hammer.setVolume(40);
ichWarte = false;
}
i = 100;
Symbol 20 MovieClip [mann_mc] Frame 28
gotoAndPlay (1);
Symbol 20 MovieClip [mann_mc] Frame 29
if (jumpSnd) {
jumpSnd = false;
}
_parent.gotoAndPlay("jump");
Symbol 20 MovieClip [mann_mc] Frame 33
if (ichFliege & (!enter)) {
_parent._parent.hammer.stop("hammer");
_parent._parent.flyUp.start(0, 1);
ichFliege = false;
}
stop();
Symbol 20 MovieClip [mann_mc] Frame 38
if (ichFalle & (!enter)) {
_parent._parent.fallDown.start(0, 1);
ichFalle = false;
}
stop();
Symbol 20 MovieClip [mann_mc] Frame 43
_parent._parent.jumpLand.start(0, 1);
Symbol 20 MovieClip [mann_mc] Frame 56
ichWarte = true;
gotoAndPlay (1);
Symbol 20 MovieClip [mann_mc] Frame 57
stop();
Symbol 23 MovieClip [ball_mc] Frame 25
removeMovieClip(this);
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 17
stop();
Symbol 29 MovieClip [wackel] Frame 1
stop();
init = true;
this.onEnterFrame = function () {
if ((this._name == "startArea_mc") && (this._y == _parent.mann_mc._y)) {
if (tics == -200) {
_parent.power_mc._x = -200;
_parent.power_mc._y = -200;
this._name = "breakaway";
this.gotoAndPlay("breakDown");
} else {
tics--;
}
}
if (scrolling && (this._name == "startArea_mc")) {
if (init) {
this.mannAbstand = _parent.mann_mc._x - this._x;
this.abstandX = _parent.ziel_mc._x - this._x;
this.abstandY = _parent.ziel_mc._y - this._y;
init = false;
}
this._x = this._x + ((this.zielX - this._x) / 10);
this._y = this._y + ((this.zielY - this._y) / 10);
_parent.mann_mc._x = this._x + this.mannAbstand;
_parent.mann_mc._y = this._y;
_parent.ziel_mc._x = this._x + this.abstandX;
_parent.ziel_mc._y = this._y + this.abstandY;
if ((Math.round(this._x) == this.zielX) && (Math.round(this._y) == this.zielY)) {
_parent.mann_mc._y = this._y;
this.scrolling = false;
_parent.ziel_mc.scrolling = false;
_parent.gotoAndPlay("aim");
}
}
};
Symbol 29 MovieClip [wackel] Frame 2
wPlattfAni.gotoAndPlay(2);
Symbol 29 MovieClip [wackel] Frame 15
_parent.gotoAndPlay(_parent.ziel);
removeMovieClip(this);
Symbol 29 MovieClip [wackel] Frame 16
wPlattfAni.gotoAndPlay(2);
Symbol 29 MovieClip [wackel] Frame 19
_parent.mann_mc.ySpeed = 10;
_parent.mann_mc.gotoAndPlay("land");
_parent.attachMovie("hammerfall_mc", "hammerfall_mc", ++_parent.ebene);
_parent.hammerfall_mc._x = _parent.mann_mc._x + 10;
_parent.hammerfall_mc._y = _parent.mann_mc._y;
_parent.mann_mc.onEnterFrame = function () {
this._y = this._y + this.ySpeed;
this.ySpeed = this.ySpeed * 1.05;
_parent.hammerfall_mc._y = _parent.hammerfall_mc._y + this.ySpeed;
_parent.hammerfall_mc._rotation = _parent.hammerfall_mc._rotation + 1;
if (this._y > (Stage.height + 50)) {
removeMovieClip(_parent.ziel_mc.nMc);
removeMovieClip(_parent.hammerfall_mc);
_parent.comboCount = 0;
_parent.markArray[_parent.levelJump][_parent.markArray[_parent.levelJump].length - 1][2] = "markMiss";
_parent.levelJump = 0;
_parent._parent[("bobAnz" + _parent.leben) + "_mc"].gotoAndPlay("kill");
_parent.leben--;
if (_parent.leben == -1) {
_parent.leben = 0;
i = 5;
while (i > _parent.leben) {
_parent._parent[("bobAnz" + i) + "_mc"].gotoAndPlay("build");
i--;
}
_parent.gotoAndPlay("start");
}
_parent.collectKill = true;
_parent.gotoAndPlay("levelStart");
}
};
Symbol 29 MovieClip [wackel] Frame 29
stop();
removeMovieClip(this);
Symbol 32 MovieClip [normal] Frame 1
stop();
tics = 100;
init = true;
this.onEnterFrame = function () {
if (scrolling && (this._name == "startArea_mc")) {
if (init) {
this.mannAbstand = _parent.mann_mc._x - this._x;
this.abstandX = _parent.ziel_mc._x - this._x;
this.abstandY = _parent.ziel_mc._y - this._y;
init = false;
}
this._x = this._x + ((this.zielX - this._x) / 10);
this._y = this._y + ((this.zielY - this._y) / 10);
_parent.mann_mc._x = this._x + this.mannAbstand;
_parent.mann_mc._y = this._y;
_parent.ziel_mc._x = this._x + this.abstandX;
_parent.ziel_mc._y = this._y + this.abstandY;
if ((Math.round(this._x) == this.zielX) && (Math.round(this._y) == this.zielY)) {
_parent.mann_mc._y = this._y;
this.scrolling = false;
_parent.ziel_mc.scrolling = false;
_parent.gotoAndPlay("aim");
}
}
};
Symbol 32 MovieClip [normal] Frame 15
_parent.gotoAndPlay(_parent.ziel);
removeMovieClip(this);
Symbol 35 MovieClip [feuer] Frame 1
stop();
tics = 100;
init = true;
if (this._name == "ziel_mc") {
_parent.attachMovie("buddel_mc", "buddel_mc" + _parent.ebene, ++_parent.ebene);
nMc = this._parent["buddel_mc" + _parent.ebene];
nMc._x = this._x + 20;
nMc._y = this._y - (nMc._height / 2);
}
_parent.ziel_mc.swapDepths(nMc);
this.onEnterFrame = function () {
if (this._name == "ziel_mc") {
nMc._x = this._x + 20;
nMc._y = this._y - (nMc._height / 2);
} else {
_parent.ziel_mc.swapDepths(nMc);
nMc.kicked = true;
}
if (scrolling && (this._name == "startArea_mc")) {
if (init) {
this.mannAbstand = _parent.mann_mc._x - this._x;
this.abstandX = _parent.ziel_mc._x - this._x;
this.abstandY = _parent.ziel_mc._y - this._y;
init = false;
}
this._x = this._x + ((this.zielX - this._x) / 10);
this._y = this._y + ((this.zielY - this._y) / 10);
_parent.mann_mc._x = this._x + this.mannAbstand;
_parent.mann_mc._y = this._y;
_parent.ziel_mc._x = this._x + this.abstandX;
_parent.ziel_mc._y = this._y + this.abstandY;
if ((Math.round(this._x) == this.zielX) && (Math.round(this._y) == this.zielY)) {
_parent.mann_mc._y = this._y;
this.scrolling = false;
_parent.ziel_mc.scrolling = false;
_parent.gotoAndPlay("aim");
}
}
tics--;
if ((tics == 0) && (this._name == "ziel_mc")) {
this.burning = true;
attachMovie("fire_mc", "fire_mc", 1);
fire_mc._y = -30;
}
};
Symbol 35 MovieClip [feuer] Frame 15
_parent.gotoAndPlay(_parent.ziel);
removeMovieClip(this);
Symbol 79 MovieClip [fire_mc] Frame 26
if (t > 3) {
_parent.tics = 150;
_parent.burning = false;
removeMovieClip(this);
} else {
t++;
gotoAndPlay (1);
}
Symbol 87 MovieClip [traceBall_mc] Frame 41
removeMovieClip(this);
Symbol 92 MovieClip [buddel_mc] Frame 1
this.vy = -20;
this.onEnterFrame = function () {
if (this.kicked) {
this.vy = this.vy + 8;
this._y = this._y + (this.vy / 10);
this._x = this._x + 2;
this._rotation = this._rotation + 2;
if (this._y >= (Stage.height + 50)) {
removeMovieClip(this);
}
}
};
Symbol 101 MovieClip [power_mc] Frame 1
MarkerClass = function () {
this.onEnterFrame = function () {
if ((rechts && (this._x > 0)) || (links && (this._x < 0))) {
this._visible = true;
} else {
this._visible = false;
}
};
};
Object.registerClass("markMiss_mc", MarkerClass);
Object.registerClass("markHit_mc", MarkerClass);
Object.registerClass("markBrake_mc", MarkerClass);
winkel_mc._width = 220;
rechts = true;
links = false;
this.onEnterFrame = function () {
winkel_mc._rotation = (Math.atan2(_ymouse, _xmouse) * 180) / Math.PI;
winkel_mc._width = _xmouse - 2;
kreis_mc._x = _xmouse;
kreis_mc._y = _ymouse;
if (_xmouse < 0) {
gotoAndStop (2);
}
};
i = 0;
while (i < _parent.markArray[_parent.levelJump].length) {
attachMovie(_parent.markArray[_parent.levelJump][i][2] + "_mc", "marker" + i, i);
nMc = this["marker" + i];
nMc._x = _parent.markArray[_parent.levelJump][i][0];
nMc._y = _parent.markArray[_parent.levelJump][i][1];
i++;
}
hitArea_mc.onPress = function () {
if (Math.sqrt(Math.pow(_xmouse, 2) + Math.pow(_ymouse, 2)) > 75) {
_parent.bonusArray.push("Full Speed +30");
_parent.bonus = _parent.bonus + 30;
}
if (_parent.markArray.length < (_parent.levelJump + 1)) {
jump = [];
_parent.markArray.push(jump);
}
attemp = [_xmouse, _ymouse];
_parent.markArray[_parent.levelJump].push(attemp);
_parent.mann_mc.speedX = _xmouse / 4;
_parent.mann_mc.vy = _ymouse * 3;
_parent.mann_mc.gotoAndPlay("down");
};
stop();
Symbol 101 MovieClip [power_mc] Frame 2
winkel_mc._width = 200;
links = true;
rechts = false;
this.onEnterFrame = function () {
winkel_mc._rotation = (Math.atan2(_ymouse, _xmouse) * 180) / Math.PI;
winkel_mc._width = (-_xmouse) - 2;
kreis_mc._x = _xmouse;
kreis_mc._y = _ymouse;
if (_xmouse > 0) {
gotoAndStop (1);
}
};
i = 0;
while (i < _parent.markArray[_parent.levelJump].length) {
attachMovie(_parent.markArray[_parent.levelJump][i][2] + "_mc", "marker" + i, i);
nMc = this["marker" + i];
nMc._x = _parent.markArray[_parent.levelJump][i][0];
nMc._y = _parent.markArray[_parent.levelJump][i][1];
i++;
}
hitArea_mc.onPress = function () {
if (Math.sqrt(Math.pow(_xmouse, 2) + Math.pow(_ymouse, 2)) > 75) {
_parent.bonusArray.push("Full Speed +30");
_parent.bonus = _parent.bonus + 30;
}
if (_parent.markArray.length < (_parent.levelJump + 1)) {
jump = [];
_parent.markArray.push(jump);
}
attemp = [_xmouse, _ymouse];
_parent.markArray[_parent.levelJump].push(attemp);
_parent.mann_mc.speedX = _xmouse / 4;
_parent.mann_mc.vy = _ymouse * 3;
_parent.mann_mc.gotoAndPlay("down");
};
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 13
stop();
_parent.onMouseDown = function () {
_parent._parent.balken_mc.ziel = "intro";
_parent._parent.balken_mc.gotoAndPlay(2);
};