Frame 1
if (_root._framesloaded >= _root._totalframes) {
gotoAndStop (3);
} else {
downloaded = math.floor((_root.getbytesLoaded() / _root.getbytestotal()) * 100) add "%";
download_bar.gotoandstop(downloaded);
bytesloaded = math.floor(_root.getbytesloaded() / 1000);
bytestotal = math.floor(_root.getbytestotal() / 1000);
message = ((bytesloaded add "kB von ") add bytestotal) add "kB Total";
}
Frame 2
gotoAndPlay (1);
Frame 3
play();
_highquality = 3;
Frame 92
play();
_highquality = 3;
Frame 117
gotoAndPlay (118);
Frame 118
_highquality = 3;
_root.zulevel = 1;
Frame 151
stop();
Frame 152
stop();
Frame 153
stop();
Frame 154
stop();
Frame 155
stop();
Frame 156
stop();
Frame 157
stop();
Set("m\u00FCnzen", 0);
score = 0;
_root.energy = 100;
Instance of Symbol 292 MovieClip "man" in Frame 157
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.exit)) {
_root.gotoAndPlay("gallien2");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Instance of Symbol 331 MovieClip "over" in Frame 157
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.aus == 0) {
this._visible = false;
}
if (_root.man.hitTest(_root.fall)) {
_root.aus = 1;
}
if (_root.aus == 1) {
this._visible = true;
}
}
Frame 158
Frame 159
stop();
Instance of Symbol 292 MovieClip "man" in Frame 159
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
if (Key.isDown(77)) {
_root.man.gotoAndPlay("rechtshau");
}
if (Key.isDown(78)) {
_root.man.gotoAndPlay("linkshau");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.exit)) {
_root.gotoAndPlay("gallien3");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 161
stop();
Instance of Symbol 292 MovieClip "man" in Frame 161
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer)) {
_root["r\u00F6mer2"].speerwerfer.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer)) {
_root["r\u00F6mer2"].speerwerfer.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("gallien4");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 163
stop();
Instance of Symbol 292 MovieClip "man" in Frame 163
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.block.hitTest(this._x, this._y - 10, true)) {
this._y = this._y + downspeed;
upspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].kontakt)) {
_root["r\u00F6mer1"].gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].kontakt)) {
_root["r\u00F6mer1"].gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (this.hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.haudraufrechts.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("gallien5");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 165
stop();
Instance of Symbol 292 MovieClip "man" in Frame 165
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (this.hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.haudraufrechts.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.haudraufrechts.hitTest(_root["r\u00F6mer1"])) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.kessel.kontakt)) {
_root.kessel.gotoAndPlay("weg");
_root.leiste.energybar.gotoAndPlay(1);
_root.energy = 100;
}
if (_root.man.haudraufrechts.hitTest(_root["r\u00F6mer2"])) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("bonum1");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 167
stop();
Instance of Symbol 292 MovieClip "man" in Frame 167
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("bonum2");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 169
stop();
Instance of Symbol 470 MovieClip "formation" in Frame 169
onClipEvent (load) {
velocity = 7;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 650) || (x < 20)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 292 MovieClip "man" in Frame 169
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.formation.speere) {
if (_root.man.kontaktman.hitTest(_root.formation.speere[eachObj])) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.formation.kontakt)) {
_root.formation.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.formation.kontakt)) {
_root.formation.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("bonum3");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 171
stop();
Instance of Symbol 292 MovieClip "man" in Frame 171
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer3"].kontakt)) {
_root["r\u00F6mer3"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer3"].kontakt)) {
_root["r\u00F6mer3"].gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer3"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("bonum4");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 173
stop();
Instance of Symbol 292 MovieClip "man" in Frame 173
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer3"].kontakt)) {
_root["r\u00F6mer3"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer3"].kontakt)) {
_root["r\u00F6mer3"].gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.zenturio.bewegung.kontakt)) {
_root.zenturio.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.zenturio.bewegung.kontakt)) {
_root.zenturio.bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.zenturio.bewegung.kontakt)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("bonum5");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 175
stop();
Instance of Symbol 292 MovieClip "man" in Frame 175
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (this.hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.haudraufrechts.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.haudraufrechts.hitTest(_root["r\u00F6mer1"])) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.kessel.kontakt)) {
_root.kessel.gotoAndPlay("weg");
_root.leiste.energybar.gotoAndPlay(1);
_root.energy = 100;
}
if (_root.man.haudraufrechts.hitTest(_root["r\u00F6mer2"])) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("nachl1");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 177
stop();
Instance of Symbol 292 MovieClip "man" in Frame 177
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00E4uber1"].bewegung.kontakt)) {
_root["r\u00E4uber1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00E4uber1"].bewegung.kontakt)) {
_root["r\u00E4uber1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (this.hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.haudraufrechts.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00E4uber1"].bewegung.keule)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.actionkontakt)) {
_root["r\u00E4uber1"].gotoAndPlay("sprung");
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("nachl2");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 179
stop();
Instance of Symbol 292 MovieClip "man" in Frame 179
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.zenturio.bewegung.kontakt)) {
_root.zenturio.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.zenturio.bewegung.kontakt)) {
_root.zenturio.bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.zenturio.bewegung.kontakt)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("nachl3");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 181
stop();
Instance of Symbol 292 MovieClip "man" in Frame 181
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.zenturio.bewegung.kontakt)) {
_root.zenturio.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.zenturio.bewegung.kontakt)) {
_root.zenturio.bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.steinwerfer.steindown.stein)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root.zenturio.bewegung.kontakt)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("nachl4");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Instance of Symbol 653 MovieClip "steinwerfer" in Frame 181
onClipEvent (load) {
div = 1;
speed = 1;
}
onClipEvent (enterFrame) {
if (this._x == 200) {
this._x = 210;
}
if ((_root.man._x > 230) && (_root.man._x < 430)) {
_x = (_x + velocity);
diffx = _x - _root.man._x;
_rotation = ((Math.atan2(diffx) * 57.2957795130823) - 90);
_x = (_x - ((diffx / speed) * 0.1));
}
}
Frame 183
stop();
Instance of Symbol 292 MovieClip "man" in Frame 183
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("nachl5");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 185
stop();
Instance of Symbol 292 MovieClip "man" in Frame 185
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.kessel.kontakt)) {
_root.kessel.gotoAndPlay("weg");
_root.leiste.energybar.gotoAndPlay(1);
_root.energy = 100;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("lutetia1");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 187
stop();
Instance of Symbol 292 MovieClip "man" in Frame 187
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("lutetia2");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 189
stop();
Instance of Symbol 292 MovieClip "man" in Frame 189
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("lutetia3");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 191
stop();
Instance of Symbol 292 MovieClip "man" in Frame 191
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].bewegung.kontakt)) {
_root["r\u00F6mer2"].bewegung.gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("lutetia4");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 193
stop();
Instance of Symbol 292 MovieClip "man" in Frame 193
onClipEvent (load) {
_root.geschlagen = 1;
grav = 1.15;
downspeed = 0.5;
upspeed = 0;
fall = true;
leftspeed = 0;
rightspeed = 0;
speedup = 1.2;
maxspeed = 6;
maxdownspeed = 12;
_root.aus = 0;
}
onClipEvent (enterFrame) {
if ((downspeed < maxdownspeed) && (fall == true)) {
downspeed = downspeed * grav;
}
if (Key.isDown(32)) {
_root.geschlagen = -1;
}
if (!Key.isDown(32)) {
_root.geschlagen = 1;
}
if (Key.isDown(37)) {
this._xscale = -140.9;
if (leftspeed == 0) {
leftspeed = 0.5;
}
if (leftspeed < maxspeed) {
leftspeed = leftspeed * speedup;
}
}
if (Key.isDown(38)) {
if (fall == false) {
s = new Sound();
s.attachSound("jumpsound");
s.setVolume(100);
s.start();
upspeed = 12;
}
}
if (Key.isDown(39)) {
this._xscale = 140.9;
if (rightspeed == 0) {
rightspeed = 0.5;
}
if (rightspeed < maxspeed) {
rightspeed = rightspeed * speedup;
}
}
if (!Key.isDown(37)) {
if (leftspeed > 0) {
leftspeed = leftspeed - 0.2;
}
if (leftspeed < 0) {
leftspeed = 0;
}
}
if (!Key.isDown(39)) {
if (rightspeed > 0) {
rightspeed = rightspeed - 0.2;
}
if (rightspeed < 0) {
rightspeed = 0;
}
}
if (upspeed > 0) {
upspeed = upspeed * 0.95;
if (upspeed < 0) {
upspeed = 0;
}
}
this._x = this._x - leftspeed;
this._x = this._x + rightspeed;
this._y = this._y - upspeed;
if (fall) {
this._y = this._y + downspeed;
}
if (_root.platforms.hitTest(this._x, this._y, true) || (_root.obstacles.hitTest(this._x, this._y, true))) {
if (_root.platforms.hitTest(this._x, this._y - 3, true)) {
this._y = this._y - 2;
}
fall = false;
upspeed = 0;
downspeed = 0.5;
} else {
fall = true;
}
if (_root.obstacles.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.obstacles.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.baum.hitTest(this._x + 15, this._y - 10, true)) {
this._x = this._x - rightspeed;
rightspeed = 0;
}
if (_root.baum.hitTest(this._x - 15, this._y - 10, true)) {
this._x = this._x + leftspeed;
leftspeed = 0;
}
if (_root.ickywater.hitTest(this)) {
if (leftspeed > 1) {
leftspeed = leftspeed * 0.5;
}
if (rightspeed > 1) {
rightspeed = rightspeed * 0.5;
}
if (rightspeed > 1) {
downspeed = downspeed * 0.5;
}
if (upspeed > 1) {
upspeed = upspeed * 0.5;
}
}
if ((fall == false) && ((leftspeed > 0) || (rightspeed > 0))) {
this.gotoAndStop("rechts");
} else if (fall == false) {
if (_root.geschlagen == 1) {
this.gotoAndStop("stehen");
}
if (_root.geschlagen == -1) {
this.steh.gotoAndPlay(2);
}
} else if ((fall == true) && (downspeed < upspeed)) {
this.gotoAndStop("sprung");
} else if ((fall == true) && (upspeed < downspeed)) {
this.gotoAndStop("fallen");
}
if (_root.geschlagen == -1) {
this.lauf.gotoAndPlay(19);
}
for (eachObj in _root.coins) {
if (_root.man.hitTest(_root.coins[eachObj].kontakt)) {
_root.coins[eachObj].gotoAndPlay("hit");
}
}
for (eachObj in _root.stachelsperre) {
if (_root.man.kontaktman.hitTest(_root.stachelsperre[eachObj].kontakt)) {
_root.energy = _root.energy - 10;
}
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root.schwein.bewegung.kontaktgut)) {
_root.schwein.bewegung.gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer1"].bewegung.kontakt)) {
_root["r\u00F6mer1"].bewegung.gotoAndPlay("weg");
}
if (_root.man.lauf["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.steh["schl\u00E4ger"].hitTest(_root["r\u00F6mer2"].speerwerfer.kontakt)) {
_root["r\u00F6mer2"].gotoAndPlay("weg");
}
if (_root.man.kontaktman.hitTest(_root.schwein.bewegung.kontaktschlecht)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer1"].bewegung.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.absturz)) {
_root.aus = 1;
}
if (_root.man.kontaktman.hitTest(_root["r\u00F6mer2"].speerwerfer.speer)) {
_root.energy = _root.energy - 10;
}
if (_root.man.kontaktman.hitTest(_root.ausgang)) {
_root.gotoAndPlay("lutetia5");
}
if (_root.energy < 0) {
_root.aus = 1;
}
}
Frame 194
_highquality = 3;
Frame 195
stop();
Frame 196
_highquality = 3;
_root.scoretable.filename = "scores/highscores.sco";
_root.scoretable.scoresize = 100;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = name;
_root.scoretable.winscore = score;
_root.scoretable.loadVariables("http://mitglied.lycos.de/bonorix/flashgames/scores.php", "GET");
Frame 197
stop();
Frame 198
_root.scoretable.filename = "scores/highscores.sco";
_root.scoretable.scoresize = 100;
_root.scoretable.action = "INSERT";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = name;
_root.scoretable.winscore = score;
_root.scoretable.loadVariables("http://mitglied.lycos.de/bonorix/flashgames/scores.php", "POST");
Frame 199
gotoAndPlay (200);
Frame 200
_root.scoretable.filename = "scores/highscores.sco";
_root.scoretable.scoresize = 100;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = name;
_root.scoretable.winscore = score;
_root.scoretable.loadVariables("http://mitglied.lycos.de/bonorix/flashgames/scores.php", "GET");
stop();
Frame 201
stop();
_root.scoretable.filename = "scores/highscores.sco";
_root.scoretable.scoresize = 100;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = name;
_root.scoretable.winscore = score;
_root.scoretable.loadVariables("http://mitglied.lycos.de/bonorix/flashgames/scores.php", "GET");
Symbol 72 Button
on (press) {
gotoAndPlay (154);
}
Symbol 79 Button
on (release) {
gotoAndPlay (152);
}
Symbol 84 Button
on (release) {
gotoAndPlay (200);
}
Symbol 88 Button
on (release) {
gotoAndPlay (153);
}
Symbol 92 Button
on (press) {
_root.choice = 2;
gotoAndPlay (155);
}
Symbol 97 Button
on (press) {
_root.choice = 1;
gotoAndPlay (156);
}
Symbol 107 Button
on (press) {
gotoAndPlay (154);
}
Symbol 108 Button
on (release) {
gotoAndPlay (151);
}
Symbol 112 Button
on (release) {
gotoAndPlay (152);
}
Symbol 115 Button
on (release) {
gotoAndPlay (200);
}
Symbol 116 Button
on (release) {
gotoAndPlay (153);
}
Symbol 117 Button
on (press) {
_root.choice = 2;
gotoAndPlay (155);
}
Symbol 118 Button
on (press) {
_root.choice = 1;
gotoAndPlay (156);
}
Symbol 123 Button
on (release) {
gotoAndPlay (151);
}
Symbol 124 Button
on (press) {
stopAllSounds();
if (_root.passwort1 == 5) {
if (_root.passwortzwei == 3) {
if (_root.passwort3 == 2) {
if (_root.passwort4 == 5) {
gotoAndPlay (166);
_root.zulevel = 2;
_root.energy = 100;
_root["m\u00FCnzen"] = (_root.score = (_root.aus = 0));
}
}
}
}
if (_root.passwort1 == 1) {
if (_root.passwortzwei == 2) {
if (_root.passwort3 == 3) {
if (_root.passwort4 == 3) {
gotoAndPlay (176);
_root.zulevel = 2;
_root.energy = 100;
_root["m\u00FCnzen"] = (_root.score = (_root.aus = 0));
}
}
}
}
if (_root.passwort1 == 4) {
if (_root.passwortzwei == 5) {
if (_root.passwort3 == 1) {
if (_root.passwort4 == 2) {
gotoAndPlay (186);
_root.zulevel = 2;
_root.energy = 100;
_root["m\u00FCnzen"] = (_root.score = (_root.aus = 0));
}
}
}
}
if (_root.zulevel != 2) {
gotoAndPlay (157);
}
}
Symbol 135 Button
on (press) {
gotoAndStop (2);
}
Symbol 137 Button
on (press) {
gotoAndStop (2);
}
Symbol 138 Button
on (press) {
gotoAndStop (3);
}
Symbol 140 Button
on (press) {
gotoAndStop (3);
}
Symbol 141 Button
on (press) {
gotoAndStop (4);
}
Symbol 143 Button
on (press) {
gotoAndStop (4);
}
Symbol 144 Button
on (press) {
gotoAndStop (5);
}
Symbol 146 Button
on (press) {
gotoAndStop (5);
}
Symbol 147 Button
on (press) {
gotoAndStop (1);
}
Symbol 149 Button
on (press) {
gotoAndStop (1);
}
Symbol 134 MovieClip Frame 1
_root.passwort1 = 1;
stop();
Symbol 134 MovieClip Frame 2
_root.passwort1 = 2;
stop();
Symbol 134 MovieClip Frame 3
_root.passwort1 = 3;
stop();
Symbol 134 MovieClip Frame 4
_root.passwort1 = 4;
stop();
Symbol 134 MovieClip Frame 5
_root.passwort1 = 5;
stop();
Symbol 151 Button
on (press) {
gotoAndStop (2);
}
Symbol 152 Button
on (press) {
gotoAndStop (2);
}
Symbol 153 Button
on (press) {
gotoAndStop (3);
}
Symbol 155 Button
on (press) {
gotoAndStop (3);
}
Symbol 156 Button
on (press) {
gotoAndStop (4);
}
Symbol 157 Button
on (press) {
gotoAndStop (4);
}
Symbol 158 Button
on (press) {
gotoAndStop (5);
}
Symbol 159 Button
on (press) {
gotoAndStop (5);
}
Symbol 160 Button
on (press) {
gotoAndStop (1);
}
Symbol 161 Button
on (press) {
gotoAndStop (1);
}
Symbol 150 MovieClip Frame 1
_root.passwortzwei = 1;
stop();
Symbol 150 MovieClip Frame 2
_root.passwortzwei = 2;
stop();
Symbol 150 MovieClip Frame 3
_root.passwortzwei = 3;
stop();
Symbol 150 MovieClip Frame 4
_root.passwortzwei = 4;
stop();
Symbol 150 MovieClip Frame 5
_root.passwortzwei = 5;
stop();
Symbol 163 Button
on (press) {
gotoAndStop (2);
}
Symbol 164 Button
on (press) {
gotoAndStop (2);
}
Symbol 165 Button
on (press) {
gotoAndStop (3);
}
Symbol 167 Button
on (press) {
gotoAndStop (3);
}
Symbol 168 Button
on (press) {
gotoAndStop (4);
}
Symbol 169 Button
on (press) {
gotoAndStop (4);
}
Symbol 170 Button
on (press) {
gotoAndStop (5);
}
Symbol 171 Button
on (press) {
gotoAndStop (5);
}
Symbol 172 Button
on (press) {
gotoAndStop (1);
}
Symbol 173 Button
on (press) {
gotoAndStop (1);
}
Symbol 162 MovieClip Frame 1
_root.passwort3 = 1;
stop();
Symbol 162 MovieClip Frame 2
_root.passwort3 = 2;
stop();
Symbol 162 MovieClip Frame 3
_root.passwort3 = 3;
stop();
Symbol 162 MovieClip Frame 4
_root.passwort3 = 4;
stop();
Symbol 162 MovieClip Frame 5
_root.passwort3 = 5;
stop();
Symbol 175 Button
on (press) {
gotoAndStop (2);
}
Symbol 176 Button
on (press) {
gotoAndStop (2);
}
Symbol 177 Button
on (press) {
gotoAndStop (3);
}
Symbol 179 Button
on (press) {
gotoAndStop (3);
}
Symbol 180 Button
on (press) {
gotoAndStop (4);
}
Symbol 181 Button
on (press) {
gotoAndStop (4);
}
Symbol 182 Button
on (press) {
gotoAndStop (5);
}
Symbol 183 Button
on (press) {
gotoAndStop (5);
}
Symbol 184 Button
on (press) {
gotoAndStop (1);
}
Symbol 185 Button
on (press) {
gotoAndStop (1);
}
Symbol 174 MovieClip Frame 1
_root.passwort4 = 1;
stop();
Symbol 174 MovieClip Frame 2
_root.passwort4 = 2;
stop();
Symbol 174 MovieClip Frame 3
_root.passwort4 = 3;
stop();
Symbol 174 MovieClip Frame 4
_root.passwort4 = 4;
stop();
Symbol 174 MovieClip Frame 5
_root.passwort4 = 5;
stop();
Symbol 193 Button
on (press) {
stopAllSounds();
if (_root.passwort1 == 5) {
if (_root.passwortzwei == 3) {
if (_root.passwort3 == 2) {
if (_root.passwort4 == 5) {
gotoAndPlay (166);
_root.zulevel = 2;
_root.energy = 100;
_root["m\u00FCnzen"] = (_root.score = (_root.aus = 0));
}
}
}
}
if (_root.passwort1 == 1) {
if (_root.passwortzwei == 2) {
if (_root.passwort3 == 3) {
if (_root.passwort4 == 3) {
gotoAndPlay (176);
_root.zulevel = 2;
_root.energy = 100;
_root["m\u00FCnzen"] = (_root.score = (_root.aus = 0));
}
}
}
}
if (_root.passwort1 == 4) {
if (_root.passwortzwei == 5) {
if (_root.passwort3 == 1) {
if (_root.passwort4 == 2) {
gotoAndPlay (186);
_root.zulevel = 2;
_root.energy = 100;
_root["m\u00FCnzen"] = (_root.score = (_root.aus = 0));
}
}
}
}
if (_root.zulevel != 2) {
gotoAndPlay (157);
}
}
Symbol 194 Button
on (press) {
_root.choice = 1;
gotoAndPlay (156);
}
Symbol 195 Button
on (press) {
gotoAndPlay (154);
}
Symbol 196 Button
on (release) {
gotoAndPlay (152);
}
Symbol 197 Button
on (release) {
gotoAndPlay (200);
}
Symbol 198 Button
on (release) {
gotoAndPlay (153);
}
Symbol 200 Button
on (press) {
_root.choice = 1;
gotoAndPlay (156);
}
Symbol 201 Button
on (press) {
_root.choice = 2;
gotoAndPlay (155);
}
Symbol 207 Button
on (press) {
gotoAndPlay (154);
}
Symbol 217 Button
on (release) {
gotoAndPlay (152);
}
Symbol 218 Button
on (release) {
gotoAndPlay (200);
}
Symbol 219 Button
on (release) {
gotoAndPlay (153);
}
Symbol 220 Button
on (press) {
_root.choice = 2;
gotoAndPlay (155);
}
Symbol 222 MovieClip Frame 1
stop();
Instance of Symbol 222 MovieClip "energybar" in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.energy < 100) {
tellTarget (_root.energybar) {
gotoAndStop((10 - int(_root.energy / 10)) + 1);
};
}
}
Symbol 242 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 242 MovieClip Frame 13
_root.score = _root.score + 25;
Symbol 242 MovieClip Frame 14
stop();
Symbol 260 MovieClip Frame 1
play();
Symbol 260 MovieClip Frame 8
gotoAndPlay (1);
Symbol 260 MovieClip Frame 29
_root.score = _root.score + 15;
Symbol 260 MovieClip Frame 30
stop();
Symbol 269 Button
on (press) {
gotoAndPlay (192);
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
Symbol 273 MovieClip Frame 13
stop();
_root["m\u00FCnzen"] = _root["m\u00FCnzen"] + 1;
_root.score = _root.score + 5;
Symbol 295 MovieClip Frame 1
play();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
play();
Symbol 293 MovieClip Frame 6
gotoAndPlay (1);
Symbol 304 MovieClip Frame 1
play();
Symbol 304 MovieClip Frame 18
gotoAndPlay (1);
Symbol 304 MovieClip Frame 19
play();
Symbol 304 MovieClip Frame 23
gotoAndPlay (1);
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 2
stop();
Symbol 292 MovieClip Frame 3
stop();
Symbol 292 MovieClip Frame 4
stop();
Symbol 292 MovieClip Frame 5
stop();
Symbol 321 Button
on (press) {
_highquality = 3;
}
Symbol 326 Button
on (press) {
_highquality = 0;
}
Symbol 334 Button
on (release) {
sendscore = new LoadVars();
sendscore.gname = "asterix";
sendscore.gscore = _root.score;
sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
stop();
}
Symbol 346 Button
on (press) {
gotoAndPlay (192);
}
Symbol 372 MovieClip Frame 1
play();
Symbol 372 MovieClip Frame 64
gotoAndPlay (1);
gotoAndPlay (1);
Symbol 372 MovieClip Frame 71
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 2
Symbol 371 MovieClip Frame 8
_root.score = _root.score + 25;
Symbol 371 MovieClip Frame 9
stop();
Symbol 387 MovieClip Frame 70
gotoAndPlay (1);
Symbol 387 MovieClip Frame 75
_root.score = _root.score + 25;
Symbol 387 MovieClip Frame 76
stop();
Symbol 404 MovieClip Frame 6
gotoAndPlay (1);
Symbol 404 MovieClip Frame 11
_root.score = _root.score + 25;
Symbol 404 MovieClip Frame 12
stop();
Symbol 420 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 420 MovieClip Frame 9
_root.score = _root.score - 100;
Symbol 420 MovieClip Frame 10
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 6
_root.score = _root.score + 50;
Symbol 470 MovieClip Frame 7
stop();
Symbol 519 MovieClip Frame 7
this.gotoAndPlay(1);
Symbol 519 MovieClip Frame 13
_root.score = _root.score + 100;
Symbol 519 MovieClip Frame 14
stop();
Symbol 566 MovieClip Frame 14
gotoAndPlay (1);
Symbol 566 MovieClip Frame 20
_root.score = _root.score + 25;
Symbol 566 MovieClip Frame 21
stop();
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 79
this.gotoAndPlay("l\u00E4uft");
Symbol 590 MovieClip Frame 6
gotoAndPlay (1);
Symbol 590 MovieClip Frame 11
_root.score = _root.score + 25;
Symbol 590 MovieClip Frame 12
stop();
Instance of Symbol 631 MovieClip in Symbol 630 MovieClip Frame 1
onClipEvent (load) {
yvelocity = 4;
}
onClipEvent (enterFrame) {
var y;
y = _y + yvelocity;
if ((y < -50) || (y > 130)) {
yvelocity = yvelocity * -1;
}
_y = (_y + yvelocity);
if (this.hitTest(_root.man.platkon)) {
if (yvelocity < 0) {
_root.man.upspeed = yvelocity * -1;
}
}
}
Instance of Symbol 631 MovieClip "platte" in Symbol 630 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x < -190) || (x > -20)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
if (this.hitTest(_root.man.platkon)) {
if (velocity > 0) {
_root.man.rightspeed = velocity;
}
if (velocity < 0) {
_root.man.leftspeed = velocity * -1;
}
}
}
Instance of Symbol 631 MovieClip "platte2" in Symbol 630 MovieClip Frame 1
onClipEvent (load) {
neuvelocity = 4;
}
onClipEvent (enterFrame) {
var a;
a = _x + neuvelocity;
if ((a < -200) || (a > 30)) {
neuvelocity = neuvelocity * -1;
}
_x = (_x + neuvelocity);
if (this.hitTest(_root.man.platkon)) {
if (neuvelocity > 0) {
_root.man.rightspeed = neuvelocity;
}
if (neuvelocity < 0) {
_root.man.leftspeed = neuvelocity * -1;
}
}
}
Symbol 660 MovieClip Frame 36
stop();
Symbol 653 MovieClip Frame 14
_root.speerdown.gotoAndPlay(1);
Symbol 653 MovieClip Frame 95
gotoAndPlay (1);
Instance of Symbol 631 MovieClip in Symbol 672 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x < -190) || (x > 0)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
if (this.hitTest(_root.man.platkon)) {
if (velocity > 0) {
_root.man.rightspeed = velocity;
}
if (velocity < 0) {
_root.man.leftspeed = velocity * -1;
}
}
}
Instance of Symbol 631 MovieClip in Symbol 735 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x < -190) || (x > 0)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
if (this.hitTest(_root.man.platkon)) {
if (velocity > 0) {
_root.man.rightspeed = velocity;
}
if (velocity < 0) {
_root.man.leftspeed = velocity * -1;
}
}
}
Instance of Symbol 631 MovieClip in Symbol 795 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x < -170) || (x > 190)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
if (this.hitTest(_root.man.platkon)) {
if (velocity > 0) {
_root.man.rightspeed = velocity;
}
if (velocity < 0) {
_root.man.leftspeed = velocity * -1;
}
}
}
Instance of Symbol 631 MovieClip in Symbol 795 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x < -170) || (x > 190)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
if (this.hitTest(_root.man.platkon)) {
if (velocity > 0) {
_root.man.rightspeed = velocity;
}
if (velocity < 0) {
_root.man.leftspeed = velocity * -1;
}
}
}
Instance of Symbol 631 MovieClip in Symbol 795 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x < -170) || (x > 190)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
if (this.hitTest(_root.man.platkon)) {
if (velocity > 0) {
_root.man.rightspeed = velocity;
}
if (velocity < 0) {
_root.man.leftspeed = velocity * -1;
}
}
}
Symbol 856 Button
on (release) {
gotoAndPlay (196);
}
Symbol 877 Button
on (release) {
sendscore = new LoadVars();
sendscore.gname = "asterix";
sendscore.gscore = _root.score;
sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
stop();
}
Symbol 931 Button
on (release) {
gotoAndPlay (196);
}
Symbol 932 Button
on (release) {
gotoAndPlay (151);
}
Symbol 935 Button
on (press) {
_highquality = 3;
}
Symbol 936 Button
on (press) {
_highquality = 0;
}
Symbol 938 Button
on (release) {
sendscore = new LoadVars();
sendscore.gname = "asterix";
sendscore.gscore = _root.score;
sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
stop();
}
Symbol 939 Button
on (press) {
gotoAndStop (201);
}
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 2
mask_y = getProperty("_root.mask", _y);
mask_h = getProperty("_root.mask", _height);
roller_y = getProperty("_root.scoretable", _y);
roller_h = getProperty("_root.scoretable", _height);
if ((roller_y + roller_h) <= (mask_y + mask_h)) {
gotoAndStop (1);
} else {
setProperty("_root.scoretable", _y , getProperty("_root.scoretable", _y) - 10);
}
Symbol 1145 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1146 Button
on (press) {
tellTarget ("_level0.down") {
gotoAndPlay ("go");
};
}
on (release) {
tellTarget ("_level0.down") {
gotoAndStop ("no");
};
}
Symbol 1147 Button
on (press) {
gotoAndStop (200);
}
Symbol 1149 Button
on (release) {
gotoAndPlay (151);
}
Symbol 1150 Button
on (press) {
gotoAndStop (201);
}
Symbol 1151 Button
on (release) {
gotoAndPlay (151);
}