Frame 1
stop();
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (load) {
_parent.play_btn._x = -100;
_parent.play_btn._alpha = 0;
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
perc = (loaded / total) * 100;
_xscale = perc;
if (loaded == total) {
_parent.play_btn._x = 350;
fade = true;
_parent.loading.text = "Done.";
}
if (fade) {
_parent.play_btn._alpha = _parent.play_btn._alpha + ((100 - _parent.play_btn._alpha) / 3);
}
}
Frame 2
stop();
shots = 0;
jumps = 0;
seconds = 0;
kills = 0;
stopAllSounds();
stopAllSounds();
Frame 3
stop();
Frame 4
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
score = 0;
lives = 100;
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("cut6");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform5" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform6" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 4
/* no clip actions */
Instance of Symbol 88 MovieClip "platform7" in Frame 4
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 4
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "Mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 5;
}
}
}
}
Frame 6
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 65 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level3");
}
}
Instance of Symbol 65 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level2a");
}
}
Instance of Symbol 65 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level2b");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 6
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 6
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 6
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 6
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 6
onClipEvent (load) {
vertical = true;
horizontal = false;
velocity = 7.2;
}
onClipEvent (enterFrame) {
var y;
y = _y + velocity;
if ((y > 206) || (y < 94)) {
velocity = velocity * -1;
}
_y = (_y + velocity);
}
Instance of Symbol 88 MovieClip "platform5" in Frame 6
/* no clip actions */
Instance of Symbol 88 MovieClip "platform6" in Frame 6
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 6
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 15;
}
}
}
}
Instance of Symbol 180 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.wave.gotoAndStop(2);
}
}
Frame 8
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level3");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 8
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 8
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 5) == "rcoin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + (random(20) + 1);
}
}
}
}
Frame 10
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level3");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 10
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 10
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 10
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 10
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 10
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 10
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "Mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
}
Frame 12
maxPlatforms = 0;
for (i in this) {
if (i.substring(0, 5) == "platf") {
maxPlatforms++;
}
}
stop();
Instance of Symbol 88 MovieClip "platform3" in Frame 12
onClipEvent (load) {
vertical = true;
horizontal = false;
velocity = 5;
}
onClipEvent (enterFrame) {
var y;
y = _y + velocity;
if ((y > 375) || (y < 175)) {
velocity = velocity * -1;
}
_y = (_y + velocity);
}
Instance of Symbol 65 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level3a");
}
}
Instance of Symbol 65 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level4");
}
}
Instance of Symbol 88 MovieClip "platform1" in Frame 12
/* no clip actions */
Instance of Symbol 88 MovieClip "platform0" in Frame 12
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 12
/* no clip actions */
Instance of Symbol 88 MovieClip "platform5" in Frame 12
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 12
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 12
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
Frame 14
maxPlatforms = 0;
for (i in this) {
if (i.substring(0, 5) == "platf") {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 46 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("gameover2");
}
}
Instance of Symbol 65 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level4");
}
}
Instance of Symbol 65 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level3b");
}
}
Instance of Symbol 88 MovieClip "platform1" in Frame 14
/* no clip actions */
Instance of Symbol 88 MovieClip "platform0" in Frame 14
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 14
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 14
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 14
/* no clip actions */
Instance of Symbol 88 MovieClip "platform5" in Frame 14
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 14
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
this._x = this._x - 5;
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 15;
}
}
}
}
Frame 16
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 65 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("cut2");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 16
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 16
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
Frame 18
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 65 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
stopAllSounds();
_root.gotoAndStop("level6");
}
}
Instance of Symbol 65 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level5a");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 18
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 18
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 18
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 18
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 18
/* no clip actions */
Instance of Symbol 88 MovieClip "platform5" in Frame 18
/* no clip actions */
Instance of Symbol 88 MovieClip "platform6" in Frame 18
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 18
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
}
Frame 20
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
stopAllSounds();
_root.gotoAndStop("level6");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 20
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 20
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
}
Frame 22
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 65 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level7");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 22
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 22
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 6) == "health") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.lives = _root.lives + 25;
if (_root.lives >= 100) {
_root.lives = 100;
}
}
}
}
}
Instance of Symbol 266 MovieClip "alarm" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.laser.play();
}
}
Frame 24
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 65 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("cut3");
}
}
Instance of Symbol 281 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverbou");
}
}
}
Instance of Symbol 281 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverbou");
}
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 24
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 24
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 24
onClipEvent (load) {
vertical = true;
horizontal = false;
velocity = 5;
}
onClipEvent (enterFrame) {
var y;
y = _y + velocity;
if ((y > 375) || (y < 175)) {
velocity = velocity * -1;
}
_y = (_y + velocity);
}
Instance of Symbol 88 MovieClip "platform2" in Frame 24
onClipEvent (load) {
vertical = false;
horizontal = true;
velocity = 3;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 585) || (x < 370)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 111 MovieClip "player" in Frame 24
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
}
Instance of Symbol 286 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverbou");
}
}
}
Frame 26
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 65 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level7b");
}
}
Instance of Symbol 65 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level8");
}
}
Instance of Symbol 293 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 5;
}
}
Instance of Symbol 294 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 5;
}
}
Instance of Symbol 295 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 5;
}
}
Instance of Symbol 296 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 5;
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 26
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 26
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 26
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 26
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 26
/* no clip actions */
Instance of Symbol 88 MovieClip "platform5" in Frame 26
/* no clip actions */
Instance of Symbol 88 MovieClip "platform6" in Frame 26
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 26
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
for (i in _root) {
if (i.substring(0, 6) == "health") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.lives = _root.lives + 30;
}
}
}
}
Frame 28
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level8");
}
}
Instance of Symbol 65 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("level8");
}
}
Instance of Symbol 88 MovieClip "platform2" in Frame 28
/* no clip actions */
Instance of Symbol 88 MovieClip "platform3" in Frame 28
/* no clip actions */
Instance of Symbol 88 MovieClip "platform4" in Frame 28
/* no clip actions */
Instance of Symbol 88 MovieClip "platform5" in Frame 28
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 28
/* no clip actions */
Instance of Symbol 88 MovieClip "platform0" in Frame 28
/* no clip actions */
Instance of Symbol 88 MovieClip "platform6" in Frame 28
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 28
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 20;
}
}
}
}
Frame 30
_root.lives = _root.lives + 50;
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
bosshealth = 100;
stop();
Instance of Symbol 308 MovieClip in Frame 30
onClipEvent (enterFrame) {
if ((_root.bosshealth <= 100) and (_root.bosshealth > 75)) {
this.gotoAndStop(1);
}
if ((_root.bosshealth <= 75) and (_root.bosshealth > 50)) {
this.gotoAndStop(2);
}
if ((_root.bosshealth <= 50) and (_root.bosshealth > 25)) {
this.gotoAndStop(3);
}
if ((_root.bosshealth <= 25) and (_root.bosshealth > 1)) {
this.gotoAndStop(4);
}
if (_root.bosshealth <= 0) {
_root.gotoAndPlay("cut4");
}
}
Instance of Symbol 111 MovieClip "player" in Frame 30
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player._x = _root.player._x - Xstep;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 30
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hero.attackhit)) {
_root.bosshealth = _root.bosshealth - 2;
}
if (_root.bosshealth <= 0) {
_root.kills = _root.kills + 1;
}
}
onClipEvent (enterFrame) {
if (_root.lives >= 101) {
_root.lives = 100;
}
}
Instance of Symbol 321 MovieClip "laser" in Frame 30
/* no clip actions */
Instance of Symbol 325 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 2;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverboss");
}
}
}
Instance of Symbol 328 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverboss");
}
}
}
Frame 32
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
stopAllSounds();
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("cut5");
}
}
Instance of Symbol 117 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("level10");
}
}
Instance of Symbol 111 MovieClip "player" in Frame 32
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player._x = _root.player._x - Xstep;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
for (i in _root) {
if (i.substring(0, 5) == "rcoin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + (random(20) + 1);
}
}
}
}
Frame 34
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 60 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("cut5");
}
}
Instance of Symbol 111 MovieClip "player" in Frame 34
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player._x = _root.player._x - Xstep;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "invs") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 10;
}
}
}
for (i in _root) {
if (i.substring(0, 5) == "rcoin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + (random(20) + 1);
}
}
}
}
Frame 36
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("level95");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 36
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 36
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 36
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 36
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 5;
}
}
}
}
Frame 38
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("level4");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 38
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 38
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 38
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 38
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 20;
}
}
}
}
Instance of Symbol 180 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.fall.gotoAndStop(2);
}
}
Frame 40
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("cut7");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 40
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 40
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 40
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 40
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 20;
}
}
}
}
Frame 42
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
_root.level = _root.level + 1;
Instance of Symbol 65 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("level5");
}
}
Instance of Symbol 88 MovieClip "platform0" in Frame 42
/* no clip actions */
Instance of Symbol 88 MovieClip "platform1" in Frame 42
/* no clip actions */
Instance of Symbol 88 MovieClip "platform2" in Frame 42
/* no clip actions */
Instance of Symbol 111 MovieClip "player" in Frame 42
onClipEvent (load) {
move = 0;
attack = false;
Redge = 680;
Ledge = 20;
}
onClipEvent (keyUp) {
if (attack == false) {
this.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
render();
if (move == 0) {
this._x = this._x + Xstep;
Xstep = 0;
if (Key.isDown(37) and (_x > Ledge)) {
this.gotoAndStop("left");
this.hero.play();
Xstep = -10;
} else if (Key.isDown(37) and (_x < Ledge)) {
Xstep == 0;
}
if (Key.isDown(39) and (_x < Redge)) {
this.gotoAndStop("right");
this.hero.play();
Xstep = 10;
} else if (Key.isDown(39) and (this._x < Redge)) {
Xstep = 0;
}
}
if (Key.isDown(32) == true) {
if (_root.player.platform != null) {
this.hero.gotoAndPlay(12);
attack = true;
}
}
for (i in _root) {
if (i.substring(0, 4) == "wall") {
if (this.plathit.hitTest(_root[i])) {
_root.player.Xstep = 0;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "coin") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
for (i in _root) {
if (i.substring(0, 4) == "mega") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 20;
}
}
}
}
Frame 43
stop();
Frame 44
play();
Frame 45
stopAllSounds();
Frame 138
stop();
Frame 139
play();
stopAllSounds();
Frame 233
stop();
Frame 234
play();
stopAllSounds();
Frame 328
stop();
Frame 329
play();
stopAllSounds();
Frame 423
stop();
Frame 426
play();
stopAllSounds();
Instance of Symbol 352 MovieClip in Frame 426
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverbee");
}
}
}
Frame 520
stop();
Frame 523
play();
stopAllSounds();
Frame 617
stop();
Frame 618
play();
stopAllSounds();
Frame 712
stop();
Frame 1010
_root.gotoAndStop("level1");
Frame 1011
stopAllSounds();
Frame 1048
gotoAndStop ("keypad");
Frame 1219
_root.gotoAndStop("level4a");
Frame 1337
_root.gotoAndStop("level7a");
Frame 1438
gotoAndStop ("level9");
Frame 1534
stop();
_root.seconds = _root.jumps / 20;
Instance of Symbol 532 MovieClip in Frame 1534
onClipEvent (enterFrame) {
if (_root.score < 10) {
_root.rank.gotoAndStop(1);
}
if ((_root.score >= 10) and (_root.score < 30)) {
_root.rank.gotoAndStop(2);
}
if ((_root.score >= 30) and (_root.score < 60)) {
_root.rank.gotoAndStop(3);
}
if ((_root.score >= 60) and (_root.score < 100)) {
_root.rank.gotoAndStop(4);
}
if ((_root.score >= 100) and (_root.score < 150)) {
_root.rank.gotoAndStop(5);
}
if ((_root.score >= 150) and (_root.score < 200)) {
_root.rank.gotoAndStop(6);
}
if ((_root.score >= 200) and (_root.score < 250)) {
_root.rank.gotoAndStop(7);
}
if (_root.score >= 250) {
_root.rank.gotoAndStop(8);
}
}
Instance of Symbol 554 MovieClip in Frame 1534
onClipEvent (enterFrame) {
if (_root.lives <= 10) {
this.gotoAndStop(3);
}
}
Instance of Symbol 557 MovieClip in Frame 1534
onClipEvent (enterFrame) {
if (_root.shots >= 50) {
this.gotoAndStop(2);
}
}
Frame 1644
gotoAndStop ("level2");
Frame 1744
_root.gotoAndStop("level5");
Frame 1745
stop();
Frame 1746
stop();
Frame 1747
stop();
Frame 1899
gotoAndPlay ("yabba");
Symbol 11 MovieClip Frame 15
stop();
Symbol 15 Button
on (release) {
_root.play();
}
Symbol 27 Button
on (release) {
_root.gotoAndPlay("insr");
}
Symbol 28 Button
on (release) {
_root.gotoAndPlay("cut1");
}
on (rollOver) {
_root.scrolly.stop();
}
on (rollOut) {
_root.scrolly.play();
}
Symbol 42 Button
on (release) {
_root.gotoAndPlay("level1");
}
Symbol 46 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("gameover2");
}
};
Symbol 51 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 1
stop();
Instance of Symbol 56 MovieClip in Symbol 57 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hero.attackhit)) {
this.gotoAndStop(2);
}
}
Symbol 67 MovieClip Frame 1
this._visible = false;
onEnterFrame = function () {
for (i in _root) {
if (i.substring(0, 5) == "robot") {
if (this.hitTest(_root[i])) {
_root[i].robotnew.flip = _root[i].robotnew.flip * -1;
_root[i].robotnew.movement = _root[i].robotnew.movement * -1;
setProperty(_root[i].robotnew, _xscale , _root[i].robotnew.flip);
}
}
}
for (i in _root) {
if (i.substring(0, 5) == "platf") {
if (this.hitTest(_root[i])) {
_root[i].velocity = _root[i].velocity * -1;
}
}
}
};
Symbol 76 MovieClip Frame 5
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
stop();
_root.kills = _root.kills + 1;
Instance of Symbol 77 MovieClip "robotnew" in Symbol 78 MovieClip Frame 1
onClipEvent (load) {
movement = 4;
alive = 1;
robotlives = 10;
flip = 100;
}
onClipEvent (enterFrame) {
this._x = this._x + movement;
if (this.hitTest(_root.player.hit)) {
if (alive == 1) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameover");
}
}
}
if (this.hitTest(_root.player.hero.attackhit)) {
this.robotlives = this.robotlives - 10;
}
if (this.robotlives <= 0) {
movement = 0;
alive = 0;
this.gotoAndStop("robdead");
}
}
Instance of Symbol 82 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameover4");
}
}
}
Symbol 101 MovieClip Frame 1
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 11
gotoAndPlay (2);
Symbol 109 MovieClip Frame 17
_root.shots = _root.shots + 1;
Symbol 109 MovieClip Frame 20
_root.player.attack = false;
gotoAndPlay (1);
Symbol 109 MovieClip Frame 21
_root.jumps = _root.jumps + 1;
stop();
Symbol 109 MovieClip Frame 22
_root.jumps = _root.jumps + 1;
stop();
Symbol 111 MovieClip Frame 1
function hitPlatforms() {
var i;
var y;
var x;
i = 0;
while (i < _root.maxPlatforms) {
platform = eval ("_root.platform" + i);
y = _y + vertical;
x = _x + horizontal;
if (((_y < platform._y) && (y >= platform._y)) && (platform.hitTest(x, platform._y) == true)) {
_y = platform._y;
falling = false;
if (vertical != 0) {
this.hero.gotoAndPlay(1);
vertical = 0;
}
return(undefined);
}
i++;
}
platform = null;
return(undefined);
}
function render() {
var _local2;
var _local3;
_local3 = 0;
_local2 = _local3;
if (Math.abs(horizontal) < Math.abs(_local2)) {
horizontal = _local2;
} else {
horizontal = horizontal * friction;
if (Math.abs(horizontal) < 1) {
horizontal = 0;
}
}
if ((vertical == 0) && (Key.isDown(38) == true)) {
vertical = vforce * -1;
if (platform.horizontal == true) {
horizontal = horizontal + platform.velocity;
}
platform = null;
rising = true;
}
if (rising == true) {
vertical = vertical * gravity;
this.hero.gotoAndPlay(21);
if (Math.abs(vertical) < 1) {
vertical = Math.abs(vertical);
falling = true;
rising = false;
}
}
if (falling == true) {
vertical = 1 + (vertical * accel);
this.hero.gotoAndPlay(22);
hitPlatforms();
}
if (falling == false) {
this.stand.gotoAndPlay(1);
}
lastX = _x;
lastY = _y;
if (platform.vertical == true) {
_y = (_y + platform.velocity);
} else if (platform.horizontal == true) {
_x = (_x + platform.velocity);
}
_y = (_y + vertical);
_x = (_x + horizontal);
if ((platform != null) && (platform.hitTest(_x, platform._y, true) == false)) {
vertical = 2;
falling = true;
}
}
vforce = 70;
hforce = 10;
horizontal = 0;
vertical = 5;
friction = 0.8;
gravity = 0.55;
accel = 1.1;
rising = false;
falling = true;
lastX = _x;
lastY = _y;
platform = null;
jump = false;
stop();
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 3
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 1
stop();
Instance of Symbol 129 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(healthbar, _xscale , _root.lives);
}
Symbol 132 Button
on (keyPress "a") {
_root.lives = _root.lives + 5;
}
Symbol 136 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root.player)) {
_root.gotoAndStop("gameover3");
}
};
Symbol 140 MovieClip Frame 15
Symbol 142 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 15
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Instance of Symbol 160 MovieClip "robotnew" in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
movement = 20;
alive = 1;
robotlives = 10;
flip = 100;
}
onClipEvent (enterFrame) {
this._x = this._x + movement;
if (this.hitTest(_root.player.hit)) {
if (alive == 1) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndStop("gameover4");
}
}
}
if (this.hitTest(_root.player.hero.attackhit)) {
this.robotlives = this.robotlives - 10;
}
if (this.robotlives <= 0) {
movement = 0;
alive = 0;
this.gotoAndStop("SnakeDIE");
}
}
Symbol 177 MovieClip Frame 44
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
this._visible = false;
Symbol 191 MovieClip Frame 1
stop();
Instance of Symbol 242 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 5;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 41
gotoAndPlay (2);
Symbol 252 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 10
stop();
Symbol 274 MovieClip Frame 1
stop();
Instance of Symbol 274 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hero.attackhit)) {
this.gotoAndStop(2);
}
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
Symbol 308 MovieClip Frame 3
stop();
Symbol 308 MovieClip Frame 4
stop();
Instance of Symbol 313 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(bossbar, _xscale , _root.bosshealth);
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndStop("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.lives = _root.lives - 1;
if (_root.lives <= 0) {
_root.gotoAndPlay("gameoverboss");
}
}
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 9
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 363 Button
on (release) {
gotoAndPlay ("start");
}
Symbol 380 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 436 Button
on (release) {
gotoAndStop ("level1");
}
Symbol 554 MovieClip Frame 1
stop();
Symbol 555 Button
on (release) {
_root.gotoAndPlay("cut1");
}
Symbol 557 MovieClip Frame 1
stop();
Symbol 572 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 574 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 576 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 578 Button
on (release) {
gotoAndStop (1746);
}
Symbol 580 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 582 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 584 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 586 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 588 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 590 MovieClip Frame 1
stop();
Symbol 592 Button
on (release) {
gotoAndStop (1745);
_root.wrong.gotoAndPlay(2);
}
Symbol 593 Button
on (release) {
gotoAndStop (1747);
}
Symbol 595 Button
on (release) {
gotoAndPlay (1748);
}