Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(undefined);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = (((6 < fv) ? (mc.getNextHighestDepth()) : (g[mb + "level"])) ? (g[mb + "level"] + 1) : (lv));
g[mb + "level"] = lv;
if (fv != 5) {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadmovie(u);
} else {
res = "_level" + lv;
if (!eval (res)) {
getURL (u, lv);
}
}
return(res);
}
fscommand ("showmenu", false);
stop();
time = 3;
__com_mochibot__("cde9ae56", this, 10301, true);
Instance of Symbol 254 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.gotoandstop(3);
}
}
Frame 3
mainsong = new Sound(_root.zx);
mainsong.attachSound("song");
mainsong.setVolume(70);
mainsong.start(0, 99999);
stop();
Frame 4
mainsong.setVolume(100);
_root.mainsong.stop();
stop();
Frame 5
stop();
var lives = 3;
var coins = 0;
mainsong.setVolume(100);
_root.mainsong.stop();
MovieClip.prototype.initbird = function () {
var t = this;
t.xs = r.bgspeed - 6;
t.range = 2;
t.yspeed = 0.12;
t.starty = t._y;
t.ys = t.range;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
if (t.starty >= t._y) {
t.ys = Math.min(t.ys + t.yspeed, t.range);
} else {
t.ys = Math.max(t.ys - t.yspeed, t.range * -1);
}
t._x = t._x + t.xs;
if (t._x < -40) {
t.removemovieclip();
}
t.cekhitp();
};
t.stop();
};
Instance of Symbol 406 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 3;
}
if (Key.isDown(37)) {
this._x = this._x + 3;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 425 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 432 MovieClip in Frame 5
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 440 MovieClip "PLATFORMS" in Frame 5
onClipEvent (enterFrame) {
if (_root.deathTrap.hitTest(_x, _y, true)) {
gotoAndStop(deathFrame);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 444 MovieClip "flo" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 460 MovieClip "turtle" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 482 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 100;
trace("you died !");
_root.gotoandplay("level13");
}
}
Instance of Symbol 484 MovieClip "turtle2" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 505 MovieClip "flo3" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 349 MovieClip "lvl6cashblock" in Frame 5
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 40 MovieClip [bird3] in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 52 MovieClip [bird1] in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 355 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 521 MovieClip "circle" in Frame 5
onClipEvent (load) {
gravity = 10;
scale = _xscale;
walkSpeed = 2;
maxjump = 3;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = _y + gravity;
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = _x - walkSpeed;
_xscale = scale * -1;
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = _x + walkSpeed;
_xscale = scale;
}
if (!_root.platforms.hitTest(_x, _y, true)) {
air = true;
} else {
air = false;
}
if (Key.isDown(32) && (jump == true)) {
_y = _y - jumpSpeed;
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(32)) {
jumpcount = jumpcount + 1;
}
if ((maxjump < jumpcount) && (-2 < jumpSpeed)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) || (air == false)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 1;
}
if (((((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) || (Key.isDown(39))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
_root.masterX = this._x;
_root.masterY = this._y;
_root.difx = this._x - _root.move._x;
_root.targetx = this._x;
_root.dify = this._y - _root.move._y;
_root.targety = this._y;
_root.done = false;
}
Instance of Symbol 562 MovieClip "bar" in Frame 5
onClipEvent (enterFrame) {
_root.bar.lives.text = "= " + _root.lives;
_root.bar.coins.text = "= " + _root.coins;
_root.bar.level.text = "level " + _root.lvl;
if (_root.coins < 250) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate1.gotoandstop(2);
}
}
Instance of Symbol 571 MovieClip "gate1" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Frame 6
stop();
MovieClip.prototype.initbird = function () {
var t = this;
t.xs = r.bgspeed - 6;
t.range = 2;
t.yspeed = 0.12;
t.starty = t._y;
t.ys = t.range;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
if (t.starty >= t._y) {
t.ys = Math.min(t.ys + t.yspeed, t.range);
} else {
t.ys = Math.max(t.ys - t.yspeed, t.range * -1);
}
t._x = t._x + t.xs;
if (t._x < -40) {
t.removemovieclip();
}
t.cekhitp();
};
t.stop();
};
Instance of Symbol 406 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 3;
}
if (Key.isDown(37)) {
this._x = this._x + 3;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 582 MovieClip in Frame 6
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 583 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 505 MovieClip "flo3" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 444 MovieClip "flo" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 355 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 355 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 460 MovieClip "turtle" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 349 MovieClip "lvl6cashblock" in Frame 6
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 585 MovieClip "beet1" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 64 MovieClip [bird2] in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 52 MovieClip [bird1] in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 597 MovieClip "PLATFORMS" in Frame 6
onClipEvent (enterFrame) {
if (_root.deathTrap.hitTest(_x, _y, true)) {
gotoAndStop(deathFrame);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 521 MovieClip "circle" in Frame 6
onClipEvent (load) {
gravity = 10;
scale = _xscale;
walkSpeed = 2;
maxjump = 3;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = _y + gravity;
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = _x - walkSpeed;
_xscale = scale * -1;
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = _x + walkSpeed;
_xscale = scale;
}
if (!_root.platforms.hitTest(_x, _y, true)) {
air = true;
} else {
air = false;
}
if (Key.isDown(32) && (jump == true)) {
_y = _y - jumpSpeed;
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(32)) {
jumpcount = jumpcount + 1;
}
if ((maxjump < jumpcount) && (-2 < jumpSpeed)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) || (air == false)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 1;
}
if (((((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) || (Key.isDown(39))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
_root.masterX = this._x;
_root.masterY = this._y;
_root.difx = this._x - _root.move._x;
_root.targetx = this._x;
_root.dify = this._y - _root.move._y;
_root.targety = this._y;
_root.done = false;
}
Instance of Symbol 602 MovieClip "bar" in Frame 6
onClipEvent (enterFrame) {
_root.bar.lives.text = "= " + _root.lives;
_root.bar.coins.text = "= " + _root.coins;
_root.bar.level.text = "level " + _root.lvl;
if (_root.coins < 500) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate2.gotoandstop(2);
}
}
Instance of Symbol 482 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 100;
trace("you died !");
_root.gotoandplay("level13");
}
}
Instance of Symbol 604 MovieClip "gate2" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Frame 7
stop();
MovieClip.prototype.initbird = function () {
var t = this;
t.xs = r.bgspeed - 6;
t.range = 2;
t.yspeed = 0.12;
t.starty = t._y;
t.ys = t.range;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
if (t.starty >= t._y) {
t.ys = Math.min(t.ys + t.yspeed, t.range);
} else {
t.ys = Math.max(t.ys - t.yspeed, t.range * -1);
}
t._x = t._x + t.xs;
if (t._x < -40) {
t.removemovieclip();
}
t.cekhitp();
};
t.stop();
};
Instance of Symbol 406 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 3;
}
if (Key.isDown(37)) {
this._x = this._x + 3;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 607 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 432 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 505 MovieClip "flo3" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 444 MovieClip "flo" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 355 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 355 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 484 MovieClip "turtle2" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 585 MovieClip "beet1" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 349 MovieClip "lvl6cashblock" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 615 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 621 MovieClip "spider1" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 615 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 624 MovieClip "spider2" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 625 MovieClip "PLATFORMS" in Frame 7
onClipEvent (enterFrame) {
if (_root.deathTrap.hitTest(_x, _y, true)) {
gotoAndStop(deathFrame);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 521 MovieClip "circle" in Frame 7
onClipEvent (load) {
gravity = 10;
scale = _xscale;
walkSpeed = 2;
maxjump = 3;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = _y + gravity;
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = _x - walkSpeed;
_xscale = scale * -1;
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = _x + walkSpeed;
_xscale = scale;
}
if (!_root.platforms.hitTest(_x, _y, true)) {
air = true;
} else {
air = false;
}
if (Key.isDown(32) && (jump == true)) {
_y = _y - jumpSpeed;
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(32)) {
jumpcount = jumpcount + 1;
}
if ((maxjump < jumpcount) && (-2 < jumpSpeed)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) || (air == false)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 1;
}
if (((((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) || (Key.isDown(39))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
_root.masterX = this._x;
_root.masterY = this._y;
_root.difx = this._x - _root.move._x;
_root.targetx = this._x;
_root.dify = this._y - _root.move._y;
_root.targety = this._y;
_root.done = false;
}
Instance of Symbol 52 MovieClip [bird1] in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 40 MovieClip [bird3] in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 630 MovieClip "bar" in Frame 7
onClipEvent (enterFrame) {
_root.bar.lives.text = "= " + _root.lives;
_root.bar.coins.text = "= " + _root.coins;
_root.bar.level.text = "level " + _root.lvl;
if (_root.coins < 750) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate3.gotoandstop(2);
}
}
Instance of Symbol 632 MovieClip "gate3" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 482 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 100;
trace("you died !");
_root.gotoandplay("level13");
}
}
Frame 8
stop();
MovieClip.prototype.initbird = function () {
var t = this;
t.xs = r.bgspeed - 6;
t.range = 2;
t.yspeed = 0.12;
t.starty = t._y;
t.ys = t.range;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
if (t.starty >= t._y) {
t.ys = Math.min(t.ys + t.yspeed, t.range);
} else {
t.ys = Math.max(t.ys - t.yspeed, t.range * -1);
}
t._x = t._x + t.xs;
if (t._x < -40) {
t.removemovieclip();
}
t.cekhitp();
};
t.stop();
};
Instance of Symbol 406 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 3;
}
if (Key.isDown(37)) {
this._x = this._x + 3;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 633 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 636 MovieClip in Frame 8
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 637 MovieClip "PLATFORMS" in Frame 8
onClipEvent (enterFrame) {
if (_root.deathTrap.hitTest(_x, _y, true)) {
gotoAndStop(deathFrame);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 444 MovieClip "flo" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 505 MovieClip "flo3" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 642 MovieClip "jumper" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 585 MovieClip "beet1" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 484 MovieClip "turtle2" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 615 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 621 MovieClip "spider1" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 355 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 349 MovieClip "lvl6cashblock" in Frame 8
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 521 MovieClip "circle" in Frame 8
onClipEvent (load) {
gravity = 10;
scale = _xscale;
walkSpeed = 2;
maxjump = 3;
}
onClipEvent (enterFrame) {
if (air == true) {
_y = _y + gravity;
state = 3;
}
if (Key.isDown(37) && (!_root.leftbound.hitTest(_x, _y, true))) {
_x = _x - walkSpeed;
_xscale = scale * -1;
}
if (Key.isDown(39) && (!_root.rightbound.hitTest(_x, _y, true))) {
_x = _x + walkSpeed;
_xscale = scale;
}
if (!_root.platforms.hitTest(_x, _y, true)) {
air = true;
} else {
air = false;
}
if (Key.isDown(32) && (jump == true)) {
_y = _y - jumpSpeed;
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(32)) {
jumpcount = jumpcount + 1;
}
if ((maxjump < jumpcount) && (-2 < jumpSpeed)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 4)) || (air == false)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 1;
}
if (((((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) || (Key.isDown(39))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 4)) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
}
onClipEvent (enterFrame) {
_root.masterX = this._x;
_root.masterY = this._y;
_root.difx = this._x - _root.move._x;
_root.targetx = this._x;
_root.dify = this._y - _root.move._y;
_root.targety = this._y;
_root.done = false;
}
Instance of Symbol 347 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 40 MovieClip [bird3] in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 650 MovieClip "bar" in Frame 8
onClipEvent (enterFrame) {
_root.bar.lives.text = "= " + _root.lives;
_root.bar.coins.text = "= " + _root.coins;
_root.bar.level.text = "level " + _root.lvl;
if (_root.coins < 1000) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate4.gotoandstop(2);
}
}
Instance of Symbol 482 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 100;
trace("you died !");
_root.gotoandplay("level13");
}
}
Instance of Symbol 652 MovieClip "gate4" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Symbol 24 MovieClip Frame 1
function playsound(sound) {
eval (sound).setVolume(75 + (_parent._y / 25));
eval (sound).setPan(_parent._x / 4.5);
eval (sound).start(0, 1);
}
function stopsound(sound) {
this.stop(eval (sound));
}
beat1 = new Sound(this);
beat1.attachSound("Sbeat1");
electro = new Sound(this);
electro.attachSound("Selectro");
music2 = new Sound(this);
music2.attachSound("Smusic2");
music3 = new Sound(this);
music3.attachSound("Smusic3");
cow1 = new Sound(this);
cow1.attachSound("Scow1");
cow2 = new Sound(this);
cow2.attachSound("Scow2");
pig1 = new Sound(this);
pig1.attachSound("Spig1");
pig2 = new Sound(this);
pig2.attachSound("Spig2");
pig3 = new Sound(this);
pig3.attachSound("Spig3");
sheep1 = new Sound(this);
sheep1.attachSound("Ssheep1");
sheep2 = new Sound(this);
sheep2.attachSound("Ssheep2");
hen1 = new Sound(this);
hen1.attachSound("Shen1");
hen2 = new Sound(this);
hen2.attachSound("Shen2");
hen3 = new Sound(this);
hen3.attachSound("Shen3");
ch1 = new Sound(this);
ch1.attachSound("Sch1");
ch2 = new Sound(this);
ch2.attachSound("Sch2");
elexp1 = new Sound(this);
elexp1.attachSound("Selexp1");
elexp2 = new Sound(this);
elexp2.attachSound("Selexp2");
exp1 = new Sound(this);
exp1.attachSound("Sexp1");
exp2 = new Sound(this);
exp2.attachSound("Sexp2");
exp3 = new Sound(this);
exp3.attachSound("Sexp3");
exp4 = new Sound(this);
exp4.attachSound("Sexp4");
exp5 = new Sound(this);
exp5.attachSound("Sexp5");
flak = new Sound(this);
flak.attachSound("Sflak");
gatling1 = new Sound(this);
gatling1.attachSound("Sgatling1");
gatlingmotor1 = new Sound(this);
gatlingmotor1.attachSound("Sgatlingmotor1");
gatling2 = new Sound(this);
gatling2.attachSound("Sgatling2");
gatlingmotor2 = new Sound(this);
gatlingmotor2.attachSound("Sgatlingmotor2");
gatling3 = new Sound(this);
gatling3.attachSound("Sgatling3");
gatlingmotor3 = new Sound(this);
gatlingmotor3.attachSound("Sgatlingmotor3");
gatling4 = new Sound(this);
gatling4.attachSound("Sgatling4");
gatlingmotor4 = new Sound(this);
gatlingmotor4.attachSound("Sgatlingmotor4");
gun1 = new Sound(this);
gun1.attachSound("Sgun1");
gun2 = new Sound(this);
gun2.attachSound("Sgun2");
gun3 = new Sound(this);
gun3.attachSound("Sgun3");
gun5 = new Sound(this);
gun5.attachSound("Sgun5");
hyper = new Sound(this);
hyper.attachSound("Shyper");
jet1 = new Sound(this);
jet1.attachSound("Sjet1");
airforce1 = new Sound(this);
airforce1.attachSound("Sairforce1");
missile1 = new Sound(this);
missile1.attachSound("Smissile1");
missile2 = new Sound(this);
missile2.attachSound("Smissile2");
missile3 = new Sound(this);
missile3.attachSound("Smissile3");
missile4 = new Sound(this);
missile4.attachSound("Smissile4");
spark1 = new Sound(this);
spark1.attachSound("Sspark1");
spark2 = new Sound(this);
spark2.attachSound("Sspark2");
spark3 = new Sound(this);
spark3.attachSound("Sspark3");
ship = new Sound(this);
ship.attachSound("Sship");
Instance of Symbol 23 MovieClip in Symbol 19 MovieClip [Sshockballspawn] Frame 1
onClipEvent (enterFrame) {
if (_root.pause != 1) {
_parent.flymissileF();
}
}
Symbol 19 MovieClip [Sshockballspawn] Frame 16
removeMovieClip(this);
Symbol 19 MovieClip [Sshockballspawn] Frame 17
stop();
Instance of Symbol 23 MovieClip in Symbol 38 MovieClip [Sshockballspawn] Frame 1
onClipEvent (enterFrame) {
if (_root.pause != 1) {
_parent.flymissileF();
}
}
Symbol 38 MovieClip [Sshockballspawn] Frame 16
removeMovieClip(this);
Symbol 38 MovieClip [Sshockballspawn] Frame 17
stop();
Symbol 40 MovieClip [bird3] Frame 1
initbird();
Symbol 52 MovieClip [bird1] Frame 1
initbird();
Symbol 64 MovieClip [bird2] Frame 1
initbird();
Symbol 81 MovieClip Frame 1
function playsound(sound) {
eval (sound).setVolume(75 + (_parent._y / 25));
eval (sound).setPan(_parent._x / 4.5);
eval (sound).start(0, 1);
}
function stopsound(sound) {
this.stop(eval (sound));
}
beat1 = new Sound(this);
beat1.attachSound("Sbeat1");
electro = new Sound(this);
electro.attachSound("Selectro");
music2 = new Sound(this);
music2.attachSound("Smusic2");
music3 = new Sound(this);
music3.attachSound("Smusic3");
cow1 = new Sound(this);
cow1.attachSound("Scow1");
cow2 = new Sound(this);
cow2.attachSound("Scow2");
pig1 = new Sound(this);
pig1.attachSound("Spig1");
pig2 = new Sound(this);
pig2.attachSound("Spig2");
pig3 = new Sound(this);
pig3.attachSound("Spig3");
sheep1 = new Sound(this);
sheep1.attachSound("Ssheep1");
sheep2 = new Sound(this);
sheep2.attachSound("Ssheep2");
hen1 = new Sound(this);
hen1.attachSound("Shen1");
hen2 = new Sound(this);
hen2.attachSound("Shen2");
hen3 = new Sound(this);
hen3.attachSound("Shen3");
ch1 = new Sound(this);
ch1.attachSound("Sch1");
ch2 = new Sound(this);
ch2.attachSound("Sch2");
elexp1 = new Sound(this);
elexp1.attachSound("Selexp1");
elexp2 = new Sound(this);
elexp2.attachSound("Selexp2");
exp1 = new Sound(this);
exp1.attachSound("Sexp1");
exp2 = new Sound(this);
exp2.attachSound("Sexp2");
exp3 = new Sound(this);
exp3.attachSound("Sexp3");
exp4 = new Sound(this);
exp4.attachSound("Sexp4");
exp5 = new Sound(this);
exp5.attachSound("Sexp5");
flak = new Sound(this);
flak.attachSound("Sflak");
gatling1 = new Sound(this);
gatling1.attachSound("Sgatling1");
gatlingmotor1 = new Sound(this);
gatlingmotor1.attachSound("Sgatlingmotor1");
gatling2 = new Sound(this);
gatling2.attachSound("Sgatling2");
gatlingmotor2 = new Sound(this);
gatlingmotor2.attachSound("Sgatlingmotor2");
gatling3 = new Sound(this);
gatling3.attachSound("Sgatling3");
gatlingmotor3 = new Sound(this);
gatlingmotor3.attachSound("Sgatlingmotor3");
gatling4 = new Sound(this);
gatling4.attachSound("Sgatling4");
gatlingmotor4 = new Sound(this);
gatlingmotor4.attachSound("Sgatlingmotor4");
gun1 = new Sound(this);
gun1.attachSound("Sgun1");
gun2 = new Sound(this);
gun2.attachSound("Sgun2");
gun3 = new Sound(this);
gun3.attachSound("Sgun3");
gun5 = new Sound(this);
gun5.attachSound("Sgun5");
hyper = new Sound(this);
hyper.attachSound("Shyper");
jet1 = new Sound(this);
jet1.attachSound("Sjet1");
airforce1 = new Sound(this);
airforce1.attachSound("Sairforce1");
missile1 = new Sound(this);
missile1.attachSound("Smissile1");
missile2 = new Sound(this);
missile2.attachSound("Smissile2");
missile3 = new Sound(this);
missile3.attachSound("Smissile3");
missile4 = new Sound(this);
missile4.attachSound("Smissile4");
spark1 = new Sound(this);
spark1.attachSound("Sspark1");
spark2 = new Sound(this);
spark2.attachSound("Sspark2");
spark3 = new Sound(this);
spark3.attachSound("Sspark3");
ship = new Sound(this);
ship.attachSound("Sship");
Instance of Symbol 80 MovieClip in Symbol 76 MovieClip [Sshockballspawn] Frame 1
onClipEvent (enterFrame) {
if (_root.pause != 1) {
_parent.flymissileF();
}
}
Symbol 76 MovieClip [Sshockballspawn] Frame 16
removeMovieClip(this);
Symbol 76 MovieClip [Sshockballspawn] Frame 17
stop();
Symbol 108 Button
on (release) {
_root.gotoandplay(4);
}
Symbol 115 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 90 MovieClip [mc_fx_glow02] Frame 8
stop();
Symbol 120 MovieClip [bird2] Frame 1
initbird();
Symbol 125 MovieClip [mc_fx_glow02] Frame 51
stop();
Symbol 161 MovieClip Frame 1
_visible = false;
Symbol 160 MovieClip Frame 3
stop();
Instance of Symbol 161 MovieClip in Symbol 160 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Symbol 163 MovieClip Frame 7
stop();
Symbol 166 MovieClip Frame 5
stop();
Symbol 144 MovieClip [Spider] Frame 1
Symbol 144 MovieClip [Spider] Frame 27
gotoAndPlay (1);
Symbol 144 MovieClip [Spider] Frame 32
stop();
Symbol 167 MovieClip [Spider] Frame 1
Symbol 167 MovieClip [Spider] Frame 39
gotoAndPlay (1);
Symbol 167 MovieClip [Spider] Frame 44
stop();
Symbol 168 MovieClip [mc_fx_glow02] Frame 51
stop();
Symbol 178 MovieClip [mc_fx_glow02] Frame 51
stop();
Symbol 186 MovieClip [mc_fx_glow02] Frame 51
stop();
Symbol 204 Button
on (release) {
_root.gotoandplay(4);
}
Symbol 210 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 195 MovieClip [mc_fx_glow02] Frame 8
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
_root.stop();
movieSize = _root.getBytesTotal();
Symbol 243 MovieClip Frame 2
movieLoaded = _root.getBytesLoaded();
percent = Math.round((movieLoaded / movieSize) * 100);
loadbar.gotoAndStop(percent);
Symbol 243 MovieClip Frame 3
if (movieLoaded < movieSize) {
gotoAndPlay(_currentframe - 1);
}
Symbol 243 MovieClip Frame 4
_root.play();
Symbol 251 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 253 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 254 MovieClip Frame 24
_root.time--;
Symbol 257 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 258 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 273 Button
on (release) {
gotoAndPlay (4);
}
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 2
stop();
_root.coins = _root.coins + 10;
_root.totalCoins++;
Symbol 349 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.circle.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 352 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.lvl6cashblock.gotoAndPlay(2);
}
}
Symbol 349 MovieClip Frame 2
_root.coins = _root.coins + 50;
stop();
Symbol 355 MovieClip Frame 1
stop();
Instance of Symbol 356 MovieClip in Symbol 355 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoAndPlay(2);
}
}
Symbol 355 MovieClip Frame 2
stop();
_root.lives = _root.lives + 1;
Symbol 382 Button
on (release) {
gotoAndPlay (4);
}
Symbol 390 Button
on (release) {
gotoAndPlay (5);
}
Symbol 395 Button
on (release) {
gotoAndPlay (3);
}
Symbol 400 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 401 Button
on (release) {
gotoAndPlay (5);
}
Symbol 402 Button
on (release) {
gotoAndPlay (3);
}
Symbol 403 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
swing(a, 1.5, 0.7);
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
swing(a, 1.5, 0.7);
var i = 1;
while (i <= 6) {
swing(a["l" + i], 3, 1.2 + (0.3 * i));
i++;
}
var i = 0;
while (i < 10) {
ska = 70 + (random(10) * 3);
this.attachMovie("leaf", "leaf" + i, i, {_rotation:-90 + random(180), _xscale:ska, _yscale:ska});
i++;
}
stop();
Symbol 440 MovieClip Frame 1
_visible = false;
Symbol 444 MovieClip Frame 1
gotoAndPlay(random(64) + 1);
Instance of Symbol 453 MovieClip in Symbol 444 MovieClip Frame 61
onClipEvent (load) {
this._visible = false;
delay = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle) && (delay == 0)) {
_root.lives = _root.lives - 100;
_root.flo.gotoandstop(68);
_root.circle._visible = false;
stop();
_root.grunt1.start();
Set("_root:meter", _root:meter - 25);
delay = 1;
}
if (delay >= 10) {
delay = 0;
} else {
delay++;
}
}
Symbol 444 MovieClip Frame 85
gotoAndPlay (2);
Symbol 477 MovieClip Frame 1
_visible = false;
Symbol 479 MovieClip Frame 1
_visible = false;
Instance of Symbol 477 MovieClip in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 479 MovieClip in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.turtle.gotoandstop(65);
_root.circle._y = _root.circle._y - 50;
}
}
Symbol 460 MovieClip Frame 1
_xscale = _xscale * -1;
Symbol 460 MovieClip Frame 64
gotoAndPlay (1);
Symbol 460 MovieClip Frame 65
stop();
_root.coins = _root.coins + 20;
Symbol 501 MovieClip Frame 1
_visible = false;
Symbol 503 MovieClip Frame 1
_visible = false;
Instance of Symbol 501 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 503 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.turtle2.gotoandstop(65);
_root.circle._y = _root.circle._y - 50;
}
}
Symbol 484 MovieClip Frame 64
gotoAndPlay (1);
Symbol 484 MovieClip Frame 65
stop();
_root.coins = _root.coins + 20;
Symbol 505 MovieClip Frame 1
gotoAndPlay(random(64) + 1);
Instance of Symbol 514 MovieClip in Symbol 505 MovieClip Frame 61
onClipEvent (load) {
this._visible = false;
delay = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle) && (delay == 0)) {
_root.lives = _root.lives - 100;
_root.flo3.gotoandstop(68);
_root.circle._visible = false;
stop();
_root.grunt1.start();
Set("_root:meter", _root:meter - 25);
delay = 1;
}
if (delay >= 10) {
delay = 0;
} else {
delay++;
}
}
Symbol 505 MovieClip Frame 85
gotoAndPlay (2);
Symbol 555 MovieClip Frame 5
stop();
Symbol 568 MovieClip Frame 1
_visible = false;
Instance of Symbol 568 MovieClip "hpbar" in Symbol 562 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.lives;
if (0 >= _root.lives) {
_root.lives = 0;
_root.circle._visible = false;
_root.over._visible = true;
_root.over.gotoandstop(2);
_root.gotoandstop("gameover");
}
}
Symbol 572 MovieClip Frame 1
_visible = false;
Symbol 575 MovieClip Frame 1
_visible = false;
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 2
stop();
Instance of Symbol 575 MovieClip in Symbol 571 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay(6);
}
}
Symbol 577 MovieClip Frame 1
this._visible = false;
stop();
Symbol 577 MovieClip Frame 2
stop();
Symbol 592 MovieClip Frame 1
_visible = false;
Symbol 594 MovieClip Frame 1
_visible = false;
Instance of Symbol 592 MovieClip in Symbol 591 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 594 MovieClip in Symbol 591 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.beet1.gotoandstop(65);
_root.circle._y = _root.circle._y - 50;
}
}
Symbol 585 MovieClip Frame 64
gotoAndPlay (1);
Symbol 585 MovieClip Frame 65
stop();
_root.coins = _root.coins + 20;
Symbol 597 MovieClip Frame 1
_visible = false;
Instance of Symbol 120 MovieClip [bird2] in Symbol 597 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.lives = _root.lives - 1;
_root.circle._y = _root.circle._y + 50;
}
}
Instance of Symbol 568 MovieClip "hpbar" in Symbol 602 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.lives;
if (0 >= _root.lives) {
_root.lives = 0;
_root.circle._visible = false;
_root.over._visible = true;
_root.over.gotoandstop(2);
_root.gotoandstop("gameover");
}
}
Symbol 604 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 2
stop();
Instance of Symbol 575 MovieClip in Symbol 604 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay(7);
}
}
Symbol 622 MovieClip Frame 1
_visible = false;
Symbol 621 MovieClip Frame 1
stop();
Instance of Symbol 622 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.spider1.gotoandstop(2);
_root.circle._y = _root.circle._y - 50;
}
}
Symbol 621 MovieClip Frame 2
stop();
_root.coins = _root.coins + 20;
Symbol 624 MovieClip Frame 1
stop();
Instance of Symbol 622 MovieClip in Symbol 624 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.spider2.gotoandstop(2);
_root.circle._y = _root.circle._y - 50;
}
}
Symbol 624 MovieClip Frame 2
stop();
_root.coins = _root.coins + 20;
Symbol 625 MovieClip Frame 1
_visible = false;
Instance of Symbol 568 MovieClip "hpbar" in Symbol 630 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.lives;
if (0 >= _root.lives) {
_root.lives = 0;
_root.circle._visible = false;
_root.over._visible = true;
_root.over.gotoandstop(2);
_root.gotoandstop("gameover");
}
}
Symbol 632 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 2
stop();
Instance of Symbol 575 MovieClip in Symbol 632 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay(8);
}
}
Symbol 637 MovieClip Frame 1
_visible = false;
Symbol 642 MovieClip Frame 1
stop();
Instance of Symbol 645 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._y = (_root.circle._y - jumpSpeed) - 200;
_root.jumper.gotoandplay(2);
}
}
Instance of Symbol 568 MovieClip "hpbar" in Symbol 650 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.lives;
if (0 >= _root.lives) {
_root.lives = 0;
_root.circle._visible = false;
_root.over._visible = true;
_root.over.gotoandstop(2);
_root.gotoandstop("gameover");
}
}
Symbol 652 MovieClip Frame 1
stop();
Symbol 652 MovieClip Frame 2
stop();
Instance of Symbol 575 MovieClip in Symbol 652 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gate4._visible = false;
_root.circle._visible = false;
_root.over.gotoandstop(1);
_root.win.gotoandstop(2);
}
}
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 2
stop();