Frame 2
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_Sound7", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.Sound7 = new Sound(this._parent.BS_Sound7);
} else {
this.createEmptyMovieClip("_Sound7_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.Sound7 = new Sound(this.BS_Sound7);
}
_global.Behaviors.Sound.Sound7.onSoundComplete = function () {
_global.Behaviors.Sound.Sound7.start();
};
_global.Behaviors.Sound.Sound7.attachSound("Sound 7");
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_Electronic", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.Electronic = new Sound(this._parent.BS_Electronic);
} else {
this.createEmptyMovieClip("_Electronic_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.Electronic = new Sound(this.BS_Electronic);
}
_global.Behaviors.Sound.Electronic.setVolume(30);
_global.Behaviors.Sound.Electronic.onSoundComplete = function () {
_global.Behaviors.Sound.Electronic.start();
};
_global.Behaviors.Sound.Electronic.attachSound("Electronic.mp3");
_global.Behaviors.Sound.Electronic.start();
_global.bgsound = "Electronic";
Frame 60
gravity = 0.5;
Frame 61
stop();
Frame 62
stop();
egghit1 = 0;
egghit2 = 0;
egghit3 = 0;
egghit4 = 0;
var eggshit:Number = 0;
hit = 0;
Frame 63
stop();
Instance of Symbol 69 MovieClip "player" in Frame 64
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 65
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 500;
Frame 66
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (68);
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (429);
}
if (egg.hittest(player._x, y, true)) {
var eggshit:Number = hit;
hit = hit + 1;
var eggshit:Number = hit;
gotoAndPlay (225);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 67
prevFrame();
play();
Frame 68
play();
Frame 95
stop();
Instance of Symbol 69 MovieClip "player" in Frame 96
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 97
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 500;
Frame 98
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (100);
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (430);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 99
prevFrame();
play();
Frame 100
play();
Frame 127
stop();
Instance of Symbol 69 MovieClip "player" in Frame 128
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 129
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 220;
eubx = 320;
Frame 130
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (132);
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (431);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 131
prevFrame();
play();
Frame 132
play();
Frame 159
stop();
Instance of Symbol 69 MovieClip "player" in Frame 160
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 161
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 110;
eubx = 500;
Frame 162
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (164);
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (432);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 163
prevFrame();
play();
Frame 164
play();
Frame 191
stop();
Instance of Symbol 69 MovieClip "player" in Frame 192
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 193
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 500;
Frame 194
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (196);
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (224);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 195
prevFrame();
play();
Frame 196
play();
if (hit > 6) {
hit = 6;
}
Frame 222
Frame 223
prevFrame();
play();
Frame 224
stop();
Frame 225
stop();
Instance of Symbol 69 MovieClip "player" in Frame 226
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 227
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 500;
Frame 228
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (230);
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (258);
}
if (egg.hittest(player._x, y, true)) {
var eggshit:Number = hit;
hit = hit + 1;
var eggshit:Number = hit;
gotoAndPlay (259);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 229
prevFrame();
play();
Frame 230
play();
Frame 257
stop();
Frame 258
stop();
Frame 259
stop();
Instance of Symbol 69 MovieClip "player" in Frame 260
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 261
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 160;
eubx = 315;
Frame 262
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else {
player._y = y;
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (264);
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (258);
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 263
prevFrame();
play();
Frame 264
play();
Frame 291
stop();
Frame 292
stop();
Instance of Symbol 69 MovieClip "player" in Frame 293
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 294
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 85;
eubx = 230;
platform._x = 111;
platform._y = 265;
platform2._x = 111;
platform2._y = 135;
platform.sx = 90;
platform.ex = 230;
platform.sy = 266;
platform.direct = "right";
platform2.direct = "right";
Frame 295
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, true) || (platform2.hittest(x, player._y, true))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, true) || (platform2.hittest(x, player._y, true))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else if (platform.hittest(player._x, y, true) || (platform2.hittest(player._x, y, true))) {
player.jump = true;
if (platform.hittest(player._x, y, true)) {
if (platform.direct == "right") {
player._x = player._x + 2;
}
if (platform.direct == "left") {
player._x = player._x - 2;
}
player.yspeed = 0;
}
if (platform2.hittest(player._x, y, true)) {
if (platform2.direct == "right") {
player._x = player._x + 2;
}
if (platform2.direct == "left") {
player._x = player._x - 2;
}
player.yspeed = 0;
}
} else {
player._y = y;
}
if (platform.hittest(x, player._y, true)) {
player.xspeed = 0;
}
if (platform2.hittest(x, player._y, true)) {
player.xspeed = 0;
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (297);
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (325);
}
if (egg.hittest(player._x, y, true)) {
var eggshit:Number = hit;
hit = hit + 1;
var eggshit:Number = hit;
gotoAndPlay (326);
}
if (platform.direct == "right") {
if (platform._x < 270) {
platform._x = platform._x + 2;
} else {
platform._x = platform._x - 2;
platform.direct = "left";
}
}
if (platform.direct == "left") {
if (platform._x > 110) {
platform._x = platform._x - 2;
} else {
platform._x = platform._x + 2;
platform.direct = "right";
}
}
if (platform2.direct == "right") {
if (platform2._x < 230) {
platform2._x = platform2._x + 2;
} else {
platform2._x = platform2._x - 2;
platform2.direct = "left";
}
}
if (platform2.direct == "left") {
if (platform2._x > 130) {
platform2._x = platform2._x - 2;
} else {
platform2._x = platform2._x + 2;
platform2.direct = "right";
}
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 296
prevFrame();
play();
Frame 297
play();
Frame 324
stop();
Frame 325
stop();
Frame 326
stop();
Instance of Symbol 69 MovieClip "player" in Frame 327
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 328
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 500;
platform._x = 30;
platform._y = 275;
platform2._x = 140;
platform2._y = 55;
platform.sx = 90;
platform.ex = 230;
platform.sy = 266;
platform.direct = "up";
platform2.direct = "right";
Frame 329
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, true) || (platform2.hittest(x, player._y, true))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, true) || (platform2.hittest(x, player._y, true))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else if (platform.hittest(player._x, y, true) || (platform2.hittest(player._x, y, true))) {
player.jump = true;
if (platform.hittest(player._x, y, true)) {
if (platform.direct == "down") {
player._y = player._y + 1;
}
if (platform.direct == "up") {
player._y = player._y - 2;
}
player.yspeed = 0;
}
if (platform2.hittest(player._x, y, true)) {
if (platform2.direct == "right") {
player._x = player._x + 2;
}
if (platform2.direct == "left") {
player._x = player._x - 2;
}
player.yspeed = 0;
}
} else {
player._y = y;
}
if (platform.hittest(x, player._y, true)) {
player.xspeed = 0;
}
if (platform2.hittest(x, player._y, true)) {
player.xspeed = 0;
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (331);
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (359);
}
if (egg.hittest(player._x, y, true)) {
var eggshit:Number = hit;
hit = hit + 1;
var eggshit:Number = hit;
gotoAndPlay (360);
}
if (platform.direct == "down") {
if (platform._y < 280) {
platform._y = platform._y + 2;
} else {
platform._y = platform._y - 2;
platform.direct = "up";
}
}
if (platform.direct == "up") {
if (platform._y > 50) {
platform._y = platform._y - 2;
} else {
platform._y = platform._y + 2;
platform.direct = "down";
}
}
if (platform2.direct == "right") {
if (platform2._x < 300) {
platform2._x = platform2._x + 2;
} else {
platform2._x = platform2._x - 2;
platform2.direct = "left";
}
}
if (platform2.direct == "left") {
if (platform2._x > 145) {
platform2._x = platform2._x - 2;
} else {
platform2._x = platform2._x + 2;
platform2.direct = "right";
}
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 330
prevFrame();
play();
Frame 331
play();
Frame 358
stop();
Frame 359
stop();
Frame 360
stop();
Instance of Symbol 69 MovieClip "player" in Frame 361
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 362
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 500;
platform._x = 15;
platform._y = 125;
platform2._x = 75;
platform2._y = 275;
platform.sx = 90;
platform.ex = 230;
platform.sy = 266;
platform.direct = "down";
platform2.direct = "right";
Frame 363
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, false) || (platform2.hittest(x, player._y, false))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, false) || (platform2.hittest(x, player._y, false))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else if (platform.hittest(player._x, y, true) || (platform2.hittest(player._x, y, true))) {
player.jump = true;
if (platform.hittest(player._x, y, true)) {
if (platform.direct == "down") {
player._y = player._y + 1;
}
if (platform.direct == "up") {
player._y = player._y - 2;
}
player.yspeed = 0;
}
if (platform2.hittest(player._x, y, true)) {
if (platform2.direct == "right") {
player._x = player._x + 2;
}
if (platform2.direct == "left") {
player._x = player._x - 2;
}
player.yspeed = 0;
}
} else {
player._y = y;
}
if (platform.hittest(x, player._y, true)) {
player.xspeed = 0;
}
if (platform2.hittest(x, player._y, true)) {
player.xspeed = 0;
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (365);
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (393);
}
if (egg.hittest(player._x, y, true)) {
var eggshit:Number = hit;
hit = hit + 1;
var eggshit:Number = hit;
gotoAndPlay (394);
}
if (platform.direct == "down") {
if (platform._y < 265) {
platform._y = platform._y + 2;
} else {
platform._y = platform._y - 2;
platform.direct = "up";
}
}
if (platform.direct == "up") {
if (platform._y > 125) {
platform._y = platform._y - 2;
} else {
platform._y = platform._y + 2;
platform.direct = "down";
}
}
if (platform2.direct == "right") {
if (platform2._x < 220) {
platform2._x = platform2._x + 2;
} else {
platform2._x = platform2._x - 2;
platform2.direct = "left";
}
}
if (platform2.direct == "left") {
if (platform2._x > 75) {
platform2._x = platform2._x - 2;
} else {
platform2._x = platform2._x + 2;
platform2.direct = "right";
}
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 364
prevFrame();
play();
Frame 365
play();
Frame 392
stop();
Frame 393
stop();
Frame 394
stop();
Instance of Symbol 69 MovieClip "player" in Frame 395
onClipEvent (enterFrame) {
if (end.hitTest) {
gotoAndPlay (224);
}
}
Frame 396
player.xspeed = 0;
player.yspeed = 0;
player.jump = true;
player.jumpHeight = 8;
enemy.direct = "left";
elbx = 0;
eubx = 315;
platform._x = 40;
platform._y = 45;
platform2._x = 335;
platform2._y = 45;
platform.sx = 90;
platform.ex = 230;
platform.sy = 266;
platform.direct = "down";
platform2.direct = "down";
Frame 397
if (Key.isDown(Key.left)) {
player.xspeed = player.xspeed - 0.25;
player.direct = "left";
} else if (Key.isDown(Key.right)) {
player.xspeed = player.xspeed + 0.25;
player.direct = "right";
} else {
player.xspeed = player.xspeed * 0.9;
}
if (Key.isDown(Key.up)) {
if (player.jump) {
player.yspeed = player.yspeed - player.jumpHeight;
player.jump = false;
}
}
player.yspeed = player.yspeed + gravity;
x = player._x + player.xspeed;
y = player._y + player.yspeed;
maxx = _root.player.getBounds(_root).xMax + player.xspeed;
minx = _root.player.getBounds(_root).xMin + player.xspeed;
if (player.direct == "left") {
if (bkg.hittest(minx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, false) || (platform2.hittest(x, player._y, false))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (player.direct == "right") {
if (bkg.hittest(maxx, player._y, true)) {
player.xspeed = 0;
} else if (platform.hittest(x, player._y, false) || (platform2.hittest(x, player._y, false))) {
player.xspeed = 0;
} else {
player._x = x;
}
}
if (bkg.hittest(player._x, y, true)) {
if (player.yspeed < 0) {
} else {
player.jump = true;
}
player.yspeed = 0;
} else if (platform.hittest(player._x, y, true) || (platform2.hittest(player._x, y, true))) {
player.jump = true;
if (platform.hittest(player._x, y, true)) {
if (platform.direct == "down") {
player._y = player._y + 1;
}
if (platform.direct == "up") {
player._y = player._y - 2;
}
player.yspeed = 0;
}
if (platform2.hittest(player._x, y, true)) {
if (platform2.direct == "down") {
player._y = player._y + 2;
}
if (platform2.direct == "up") {
player._y = player._y - 2;
}
player.yspeed = 0;
}
} else {
player._y = y;
}
if (end.hittest(player._x, y, true)) {
gotoAndPlay (399);
}
if (ground.hittest(player._x, y, true) || (enemy.hittest(player._x, y, true))) {
gotoAndPlay (427);
}
if (egg.hittest(player._x, y, true)) {
var eggshit:Number = hit;
hit = hit + 1;
var eggshit:Number = hit;
gotoAndPlay (428);
}
if (platform.direct == "down") {
if (platform._y < 270) {
platform._y = platform._y + 2;
} else {
platform._y = platform._y - 2;
platform.direct = "up";
}
}
if (platform.direct == "up") {
if (platform._y > 40) {
platform._y = platform._y - 2;
} else {
platform._y = platform._y + 2;
platform.direct = "down";
}
}
if (platform2.direct == "down") {
if (platform2._y < 270) {
platform2._y = platform2._y + 2;
} else {
platform2._y = platform2._y - 2;
platform2.direct = "up";
}
}
if (platform2.direct == "up") {
if (platform2._y > 40) {
platform2._y = platform2._y - 2;
} else {
platform2._y = platform2._y + 2;
platform2.direct = "down";
}
}
if (player._x < 0) {
player._x = 2;
}
if (player._x > 400) {
player._x = 398;
}
if (enemy.direct == "left") {
enemy.xspeed = -0.8;
}
if (enemy.direct == "right") {
enemy.xspeed = 0.8;
}
ex = enemy._x + enemy.xspeed;
emaxx = _root.enemy.getBounds(_root).xMax + enemy.xspeed;
eminx = _root.enemy.getBounds(_root).xMin + enemy.xspeed;
if (enemy.direct == "left") {
if (bkg.hittest(eminx, enemy._y, true) || (eminx <= elbx)) {
enemy.xspeed = 0;
enemy.direct = "right";
} else {
enemy._x = ex;
}
}
if (enemy.direct == "right") {
if (bkg.hittest(emaxx, enemy._y, true) || (emaxx >= eubx)) {
enemy.xspeed = 0;
enemy.direct = "left";
} else {
enemy._x = ex;
}
}
Frame 398
prevFrame();
play();
Frame 399
play();
Frame 426
stop();
Frame 427
stop();
Frame 428
stop();
Frame 429
stop();
Frame 430
stop();
Frame 431
stop();
Frame 432
stop();
Frame 433
if (gravity == 0.5) {
gravtext = "Regular";
} else if (gravity == 0.37) {
gravtext = "Medium";
} else if (gravity == 0.25) {
gravtext = "Low";
} else {
gravtext = "None, please set one";
}
if (bgsound == "Electronic") {
cursound = 1;
}
if (bgsound == "Sound7") {
cursound = 2;
}
stop();
Frame 434
stopAllSounds();
if (bgsound == "Electronic") {
_global.Behaviors.Sound.Electronic.start(0, 1);
_global.Behaviors.Sound.Electronic.setVolume(30);
}
if (bgsound == "Sound7") {
_global.Behaviors.Sound.Sound7.start(0, 1);
_global.Behaviors.Sound.Sound7.setVolume(100);
}
prevFrame();
Symbol 14 Button
on (release) {
_root.play();
}
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Instance of Symbol 9 MovieClip in Symbol 15 MovieClip Frame 1
on (release) {
getURL ("http://www.flashblab.com/", "blank");
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 19 Button
on (release) {
getURL ("http://www.flashblab.com/", "blank");
}
Symbol 29 Button
on (release) {
getURL ("http://flashblab.com/", "_blank");
}
Symbol 46 Button
on (release) {
gotoAndPlay (62);
}
Symbol 48 Button
on (release) {
gotoAndPlay (395);
}
Symbol 56 Button
on (release) {
gotoAndStop (63);
}
Symbol 61 Button
on (release) {
gotoAndStop (433);
}
Symbol 66 Button
on (release) {
gotoAndPlay (64);
}
Symbol 77 Button
on (release) {
getURL ("http://www.neo-zero.net", "_blank");
}
Symbol 113 Button
on (release) {
stopAllSounds();
gotoAndStop ("go");
}
Symbol 117 Button
on (release) {
stopAllSounds();
bgsound = "Electronic";
_global.Behaviors.Sound.Electronic.start(0, 1);
_global.Behaviors.Sound.Electronic.setVolume(30);
}
Symbol 121 Button
on (release) {
stopAllSounds();
bgsound = "Sound7";
_global.Behaviors.Sound.Sound7.start(0, 1);
_global.Behaviors.Sound.Sound7.setVolume(100);
}
Symbol 126 Button
on (release) {
if (bgsound == "Electronic") {
_global.Behaviors.Sound.Electronic.start(0, 1);
}
if (bgsound == "Sound7") {
_global.Behaviors.Sound.Sound7.start(0, 1);
}
gotoAndPlay (3);
}
Symbol 127 Button
on (press) {
stopAllSounds();
gotoAndStop ("go");
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 3
gotoAndStop ("stop");
Symbol 133 Button
on (release) {
gotoAndPlay (96);
}
Symbol 138 Button
on (release) {
gotoAndStop (62);
}
Symbol 152 Button
on (release) {
gotoAndPlay (128);
}
Symbol 157 Button
on (release) {
gotoAndPlay (160);
}
Symbol 159 Button
on (release) {
gotoAndPlay (226);
}
Symbol 169 Button
on (release) {
gotoAndPlay (192);
}
Symbol 171 Button
on (release) {
gotoAndPlay (65);
}
Symbol 175 Button
on (release) {
gotoAndPlay (260);
}
Symbol 177 Button
on (release) {
gotoAndPlay (226);
}
Symbol 180 Button
on (release) {
gotoAndPlay (293);
}
Symbol 184 Button
on (release) {
gotoAndPlay (327);
}
Symbol 186 Button
on (release) {
gotoAndPlay (293);
}
Symbol 189 Button
on (release) {
gotoAndPlay (361);
}
Symbol 191 Button
on (release) {
gotoAndPlay (328);
}
Symbol 194 Button
on (release) {
gotoAndPlay (395);
}
Symbol 196 Button
on (release) {
gotoAndPlay (362);
}
Symbol 199 Button
on (release) {
gotoAndPlay (192);
}
Symbol 201 Button
on (release) {
gotoAndPlay (395);
}
Symbol 204 Button
on (release) {
gotoAndPlay (64);
}
Symbol 206 Button
on (release) {
gotoAndPlay (97);
}
Symbol 208 Button
on (release) {
gotoAndPlay (129);
}
Symbol 210 Button
on (release) {
gotoAndPlay (160);
}
Symbol 216 Button
on (release) {
gravity = 0.25;
play();
}
Symbol 221 Button
on (release) {
gravity = 0.37;
play();
}
Symbol 226 Button
on (release) {
gravity = 0.5;
play();
}
Symbol 227 Button
on (release) {
gotoAndPlay (62);
}
Symbol 228 Button
on (release) {
stopAllSounds();
_global.bgsound = "Sound7";
play();
}
Symbol 229 Button
on (release) {
stopAllSounds();
_global.bgsound = "Electronic";
play();
}