Frame 1
function itemHandler1(obj, item) {
getURL ("http://www.newgrounds.com/portal/viewer.php?id=406274&key=NcFxFaXzJtOzNxbStiNGY4OTkxMWYzQjk5NjIrNV9xOWIzMjE7Qjk1QlYxOzJWODFiMzIwZjErVnFfOTQxbTk5NDgzODc3OQ%3D%3D");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Bored?", itemHandler1));
_root.menu = myMenu;
var lives = 8;
MochiAd.showPreGameAd({id:"3feeeca5683383ed", res:"800x600"});
stop();
Frame 2
Instance of Symbol 24 MovieClip in Frame 2
on (release) {
_root.gotoAndPlay(1);
}
Instance of Symbol 33 MovieClip "hero" in Frame 2
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right1)) {
xspeed = 25;
yspeed = 0;
}
}
Frame 30
attachMovie("newmouse", "newmouse", _root.getNextHighestDepth());
attachMovie("circle", "circle", _root.getNextHighestDepth(), {_x:250, _y:200});
attachMovie("crosshair", "crosshair", _root.getNextHighestDepth());
attachMovie("ball", "ball", _root.getNextHighestDepth());
Mouse.hide();
friction = 0.2;
speed_scale = 0.8;
xspeed = 0;
yspeed = 0;
newmouse.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
crosshair.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
dist_x = this._x - circle._x;
dist_y = this._y - circle._y;
distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y));
if (distance > 45) {
angle = Math.atan2(dist_y, dist_x);
this._x = 250 + (45 * Math.cos(angle));
this._y = 200 + (45 * Math.sin(angle));
}
};
ball.onEnterFrame = function () {
dist_x = (crosshair._x - this._x) * speed_scale;
dist_y = (crosshair._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
};
stop();
Instance of Symbol 38 MovieClip in Frame 30
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndPlay(68);
}
Instance of Symbol 40 MovieClip in Frame 30
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndPlay(51);
}
Instance of Symbol 42 MovieClip in Frame 30
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndPlay(31);
}
Instance of Symbol 44 MovieClip in Frame 30
on (press) {
_root.levedit1.gotoAndStop(2);
}
Instance of Symbol 9 MovieClip "ball" in Frame 30
/* no clip actions */
Instance of Symbol 42 MovieClip in Frame 31
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndPlay(31);
}
Instance of Symbol 42 MovieClip in Frame 49
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndStop(31);
}
Frame 50
stop();
Instance of Symbol 58 MovieClip in Frame 50
on (release) {
_root.gotoAndPlay(16);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 40 MovieClip in Frame 51
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndPlay(51);
}
Instance of Symbol 40 MovieClip in Frame 65
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
gotoAndPlay (51);
}
Frame 66
stop();
Instance of Symbol 58 MovieClip in Frame 66
on (release) {
_root.gotoAndPlay(16);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 81 MovieClip in Frame 66
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
instructions.gotoAndPlay(1);
}
Instance of Symbol 85 MovieClip in Frame 66
on (release) {
_root.gotoAndPlay(66);
}
Instance of Symbol 87 MovieClip in Frame 66
on (release) {
_root.gotoAndPlay(67);
}
Frame 67
stop();
Instance of Symbol 91 MovieClip "switch1" in Frame 67
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.switch1))) {
touched = true;
_root.switchwall1.gotoAndPlay(2);
_root.switch1.gotoAndStop(2);
}
}
Instance of Symbol 58 MovieClip in Frame 67
on (release) {
_root.gotoAndPlay(16);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 87 MovieClip in Frame 67
on (release) {
_root.gotoAndStop(67);
}
Instance of Symbol 38 MovieClip in Frame 68
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
Frame 82
stop();
Instance of Symbol 130 MovieClip in Frame 82
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (release) {
_root.gotoAndStop(83);
}
Frame 83
stop();
Instance of Symbol 139 MovieClip in Frame 83
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 84
stop();
Instance of Symbol 33 MovieClip "hero" in Frame 84
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 84
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Frame 85
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 85
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 86
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 33 MovieClip "hero" in Frame 86
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 86
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Frame 87
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 87
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 88
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 116 MovieClip "portal1" in Frame 88
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.startpoint._x;
_y = _root.startpoint._y;
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 88
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 33 MovieClip "hero" in Frame 88
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
Frame 89
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 89
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 90
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 67 MovieClip "endlevel1" in Frame 90
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 91 MovieClip "switch1" in Frame 90
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.switch1))) {
touched = true;
_root.switchwall1.gotoAndPlay(2);
_root.switch1.gotoAndStop(2);
}
}
Instance of Symbol 33 MovieClip "hero" in Frame 90
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
Frame 91
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 91
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 92
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 33 MovieClip "hero" in Frame 92
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right4)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right5)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 92
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Frame 93
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 93
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 94
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 33 MovieClip "hero" in Frame 94
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 94
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Frame 95
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 24 MovieClip in Frame 95
on (release) {
_root.gotoAndPlay(1);
}
Instance of Symbol 139 MovieClip in Frame 95
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 96
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 67 MovieClip "endlevel1" in Frame 96
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 33 MovieClip "hero" in Frame 96
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy6)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy7)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy7)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy8)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy9)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy10)) {
this.gotoAndPlay(2);
}
}
Frame 97
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 97
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 98
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 160 MovieClip in Frame 98
onClipEvent (enterFrame) {
_y = (_y + ((_root.hero._y - _y) / 36));
_x = (_x + ((_root.hero._x - _x) / 36));
}
Instance of Symbol 33 MovieClip "hero" in Frame 98
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(x, y, eval (true)(_root.enemy3))) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster4)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 98
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 325 MovieClip in Frame 98
onClipEvent (enterFrame) {
_y = (_y + ((_root.hero._y - _y) / 4));
_x = (_x + ((_root.hero._x - _x) / 4));
}
Frame 99
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 99
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 100
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 33 MovieClip "hero" in Frame 100
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (Key.isDown(40)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(38)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 100
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Frame 101
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 101
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 102
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
onEnterFrame = function () {
if (_root.nam == 0) {
_root.gotoAndStop(103);
}
};
var nam = 4;
Instance of Symbol 33 MovieClip "hero" in Frame 102
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
Instance of Symbol 33 MovieClip "hero2" in Frame 102
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
xspeed = xspeed - power;
}
if (Key.isDown(40)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(39)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero2.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
Instance of Symbol 33 MovieClip "hero3" in Frame 102
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (Key.isDown(40)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(38)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero3.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
Instance of Symbol 33 MovieClip "hero4" in Frame 102
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.99;
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
xspeed = xspeed - power;
}
if (Key.isDown(38)) {
xspeed = xspeed + power;
}
if (Key.isDown(39)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(37)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero4.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
Instance of Symbol 67 MovieClip "endmul" in Frame 102
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Frame 103
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 103
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.gotoAndStop(104);
}
Frame 104
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
var nam = 4;
stop();
Instance of Symbol 67 MovieClip "endlevel1" in Frame 104
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 33 MovieClip "hero" in Frame 104
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.09;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upab)) {
xspeed = 0;
yspeed = -random(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movinga)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingb)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingc)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingd)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movinge)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingf)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingg)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving2)) {
_root.movingb.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving1)) {
_root.movinga.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving3)) {
_root.movingc.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving4)) {
_root.movingd.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving5)) {
_root.movinge.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving6)) {
_root.movingf.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving7)) {
_root.movingg.gotoAndStop(2);
}
}
Frame 105
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 139 MovieClip in Frame 105
on (rollOver) {
this.gotoAndPlay(1);
}
on (rollOut) {
this.gotoAndPlay(2);
}
on (release) {
_root.nextFrame();
}
Frame 106
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 33 MovieClip "hero" in Frame 106
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.09;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upab)) {
xspeed = 0;
yspeed = -random(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movinga)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingb)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingc)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingd)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movinge)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingf)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingg)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving2)) {
_root.movingb.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving1)) {
_root.movinga.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving3)) {
_root.movingc.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving4)) {
_root.movingd.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving5)) {
_root.movinge.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving6)) {
_root.movingf.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving7)) {
_root.movingg.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall5)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall5)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall5)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall5)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport6)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport7)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport8)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster3m.monster3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster4m.monster4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster6m.monster6)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 364 MovieClip "pill" in Frame 106
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.pill))) {
touched = true;
_root.hero.hero1.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 67 MovieClip "endlevel1" in Frame 106
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 312 MovieClip "monster4m" in Frame 106
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 366 MovieClip "monster3m" in Frame 106
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 377 MovieClip "monster1m" in Frame 106
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 378 MovieClip "monster6m" in Frame 106
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 325 MovieClip in Frame 106
onClipEvent (enterFrame) {
_y = (_y + ((_root.hero._y - _y) / 4));
_x = (_x + ((_root.hero._x - _x) / 4));
}
Frame 107
stop();
onEnterFrame = function () {
if (_root.lives == 0) {
_root.gotoAndStop(108);
}
};
Instance of Symbol 382 MovieClip in Frame 107
on (release) {
_root.gotoAndStop(30);
}
Frame 108
var lives = 8;
Instance of Symbol 390 MovieClip in Frame 108
on (release) {
_root.gotoAndStop(30);
}
Frame 109
stop();
var lives = 8;
Instance of Symbol 396 MovieClip in Frame 109
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop(110);
}
Frame 110
stop();
Instance of Symbol 364 MovieClip "pill" in Frame 110
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.pill))) {
touched = true;
_root.hero.hero1.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 63 MovieClip "leftwall" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 63 MovieClip "rightwall" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 63 MovieClip "upwall" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 63 MovieClip "downwall" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 399 MovieClip "portal4a" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 399 MovieClip "portal4b" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 399 MovieClip "portal3a" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 399 MovieClip "portal3b" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 376 MovieClip "monster2" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy2" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy5" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 452 MovieClip "endlevel1" in Frame 110
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.endlevel1))) {
touched = true;
this.gotoAndPlay(2);
}
}
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 312 MovieClip "monster4m" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 366 MovieClip "monster3m" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 376 MovieClip "monster5" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 377 MovieClip "monster1m" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 378 MovieClip "monster6m" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy3" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy4" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy6" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy7" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy11" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy10" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy9" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 450 MovieClip "enemy8" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 455 MovieClip in Frame 110
onClipEvent (load) {
Mouse.show();
}
Instance of Symbol 167 MovieClip "switchwall1" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 91 MovieClip "switch1" in Frame 110
onClipEvent (enterFrame) {
if ((!touched) && (_root.hero.hitTest(_root.switch1))) {
touched = true;
_root.switchwall1.gotoAndPlay(2);
_root.switch1.gotoAndStop(2);
}
}
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy13" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy14" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy16" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy15" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy12" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy19" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy18" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 251 MovieClip "enemy17" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 174 MovieClip "powerup" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 463 MovieClip "lright1" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 464 MovieClip "lright2" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 465 MovieClip "lright3" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 466 MovieClip "lright4" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 467 MovieClip "updown1" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 468 MovieClip "updown2" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 469 MovieClip "updown3" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 470 MovieClip "updown4" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 472 MovieClip in Frame 110
on (release) {
_root.gotoAndStop(111);
}
Instance of Symbol 474 MovieClip "startpoint1" in Frame 110
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 476 MovieClip in Frame 110
on (release) {
_root.gotoAndStop(30);
}
Frame 111
stop();
Instance of Symbol 33 MovieClip "hero" in Frame 111
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 0.65;
gravity = 0.09;
upconstant = 0.75;
friction = 0.09;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - (power * upconstant);
}
if (Key.isDown(40)) {
yspeed = yspeed + (power * upconstant);
}
yspeed = yspeed + gravity;
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = (_rotation + xspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -5;
yspeed = 0;
if (_root.wall2.hitTest(_x, _y, true)) {
xspeed = 5;
yspeed = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.switchwall1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.wall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.righta)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right2)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.right3)) {
xspeed = 25;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.portal1.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2._x;
_y = _root.portal2._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal2a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal2b._x;
_y = _root.portal2b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal3a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal3b._x;
_y = _root.portal3b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal5a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal5b._x;
_y = _root.portal5b._y;
}
}
onClipEvent (enterFrame) {
if (_root.portal4a.hitTest(this)) {
xspeed = 0;
yspeed = 0;
_x = _root.portal4b._x;
_y = _root.portal4b._y;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.powerup)) {
this.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.funky)) {
xspeed = xspeed * 0.8;
yspeed = yspeed * 0.8;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.endmul)) {
this.gotoAndPlay(26);
_root.nam--;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upab)) {
xspeed = 0;
yspeed = -random(25);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movinga)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingb)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingc)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingd)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movinge)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingf)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.movingg)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving2)) {
_root.movingb.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving1)) {
_root.movinga.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving3)) {
_root.movingc.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving4)) {
_root.movingd.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving5)) {
_root.movinge.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving6)) {
_root.movingf.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.moving7)) {
_root.movingg.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.upwall5)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.downwall5)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.rightwall5)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.leftwall5)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport6)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport7)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.fakeport8)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy6)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy7)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy8)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy9)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy10)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy11)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy12)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy13)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy14)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy15)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy16)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy17)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy18)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.enemy19)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown1.upplatform1)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown2.upplatform2)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown3.upplatform3)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown4.upplatform4)) {
xspeed = 0;
yspeed = 5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown1.downplatform1)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown2.downplatform2)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown3.downplatform3)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.updown4.downplatform4)) {
xspeed = 0;
yspeed = -5;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright1.rightplatform1)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright2.rightplatform2)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright3.rightplatform3)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright4.rightplatform4)) {
xspeed = -5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright1.leftplatform1)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright2.leftplatform2)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright3.leftplatform3)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.lright4.leftplatform4)) {
xspeed = 5;
yspeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster1m.monster1)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster2)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster3m.monster3)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster4m.monster4)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster5)) {
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.monster6m.monster6)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 325 MovieClip in Frame 111
onClipEvent (enterFrame) {
_y = (_y + ((_root.hero._y - _y) / 4));
_x = (_x + ((_root.hero._x - _x) / 4));
}
Frame 112
stop();
var lives = 8;
Instance of Symbol 480 MovieClip in Frame 112
on (release) {
_root.gotoAndStop(109);
}
Instance of Symbol 482 MovieClip in Frame 112
on (release) {
_root.gotoAndStop(30);
}
Symbol 3 MovieClip [splode] Frame 23
stop();
this.unloadMovie();
Symbol 483 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.1");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 9
gotoAndPlay (2);
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 24
_root.lives--;
_x = _root.startpoint1._x;
_y = _root.startpoint1._y;
xspeed = 0;
yspeed = 0;
gotoAndStop (1);
Symbol 33 MovieClip Frame 25
stop();
Symbol 33 MovieClip Frame 26
_root.gotoAndStop(nextFrame);
Symbol 33 MovieClip Frame 27
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
stop();
Symbol 50 MovieClip Frame 1
stop();
Instance of Symbol 48 MovieClip "levedit" in Symbol 50 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 50 MovieClip Frame 2
stop();
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip Frame 2
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop(109);
}
Symbol 53 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 15
_root.nextFrame();
Symbol 79 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip in Symbol 127 MovieClip Frame 1
on (release) {
_root.music5.gotoAndPlay(2);
}
Symbol 127 MovieClip Frame 2
gotoAndPlay (2);
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 2
on (release) {
_root.music5.gotoAndPlay(4750);
}
Symbol 127 MovieClip Frame 4750
gotoAndPlay (4750);
Instance of Symbol 126 MovieClip in Symbol 127 MovieClip Frame 4750
on (release) {
_root.music5.gotoAndStop(1);
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Symbol 135 Button
on (press) {
if (password1.text == "metalstorm") {
_root.gotoAndStop(86);
}
}
on (press) {
if (password1.text == "superflonic") {
_root.gotoAndStop(88);
}
}
on (press) {
if (password1.text == "mechabloby") {
_root.gotoAndStop(90);
}
}
on (press) {
if (password1.text == "rozner") {
_root.gotoAndStop(92);
}
}
on (press) {
if (password1.text == "phoenixxx") {
_root.gotoAndStop(94);
}
}
on (press) {
if (password1.text == "lostchances") {
_root.gotoAndStop(96);
}
}
on (press) {
if (password1.text == "gagsy") {
_root.gotoAndStop(98);
}
}
on (press) {
if (password1.text == "rummy") {
_root.gotoAndStop(100);
}
}
on (press) {
if (password1.text == "anlzingus") {
_root.gotoAndStop(102);
}
}
on (press) {
if (password1.text == "sbb") {
_root.gotoAndStop(104);
}
}
on (press) {
if (password1.text == "rfaction") {
_root.gotoAndStop(106);
}
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 29
stop();
Symbol 312 MovieClip Frame 200
this.gotoAndPlay(1);
Symbol 325 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 355 MovieClip Frame 13
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 2
stop();
Symbol 366 MovieClip Frame 201
gotoAndPlay (1);
Instance of Symbol 376 MovieClip "monster1" in Symbol 377 MovieClip Frame 1
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 376 MovieClip "monster5" in Symbol 377 MovieClip Frame 99
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 376 MovieClip "monster1" in Symbol 377 MovieClip Frame 100
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Instance of Symbol 376 MovieClip "monster6" in Symbol 378 MovieClip Frame 1
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 15
_root.nextFrame();