Frame 1
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 = 5;
__com_mochibot__("426a0415", this, 10301, true);
Instance of Symbol 28 MovieClip in Frame 1
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(2);
}
}
Frame 2
stop();
Frame 3
stop();
var lives = 100;
var coins = 0;
var lvl = 1;
var totalCoins = 0;
_root.hp = 30;
Instance of Symbol 108 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 1;
}
if (Key.isDown(37)) {
this._x = this._x + 1;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 118 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 2;
}
if (Key.isDown(37)) {
this._x = this._x + 2;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 121 MovieClip in Frame 3
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 125 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 4;
}
if (Key.isDown(37)) {
this._x = this._x + 4;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 130 MovieClip in Frame 3
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 130 MovieClip in Frame 3
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 130 MovieClip in Frame 3
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 130 MovieClip in Frame 3
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 135 MovieClip in Frame 3
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 138 MovieClip "circle" in Frame 3
onClipEvent (load) {
kd = false;
j = new Sound(this);
j.attachSound("smb3_jump.wav");
fall = false;
_name = "circle";
jump = 0;
speed = 1.5;
jumpheight = 12;
maxfall = -54;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
kd = false;
}
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((Key.isDown(32) && (fall == false)) && (jump == eval("undefined"))) && (kd == false)) {
kd = true;
j.start();
fall = true;
jump = jumpheight;
}
if (jump != eval("undefined")) {
if (maxfall < jump) {
jump--;
}
_y = _y - jump;
}
}
onClipEvent (enterFrame) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
walk = false;
} else {
walk = true;
_x = _x + speed;
if (_xscale == -100) {
_xscale = 100;
}
}
} else {
walk = true;
_x = _x - speed;
if (_xscale == 100) {
_xscale = -100;
}
}
if (fall != true) {
if (walk != true) {
this.gotoandstop("stand");
} else {
this.gotoandstop("walk");
}
} else {
this.gotoandstop("jump");
}
}
Instance of Symbol 144 MovieClip in Frame 3
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 145 MovieClip in Frame 3
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 145 MovieClip in Frame 3
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 145 MovieClip in Frame 3
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 146 MovieClip in Frame 3
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 146 MovieClip in Frame 3
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 130 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 147 MovieClip in Frame 3
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 153 MovieClip "bar" in Frame 3
onClipEvent (enterFrame) {
_root.bar.lives.text = "= " + _root.lives;
_root.bar.coins.text = "= " + _root.coins;
_root.bar.level.text = "level " + _root.lvl;
if (_root.coins < 20) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate1.gotoandstop(2);
}
}
Instance of Symbol 167 MovieClip in Frame 3
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 167 MovieClip in Frame 3
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 167 MovieClip in Frame 3
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 167 MovieClip in Frame 3
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 170 MovieClip in Frame 3
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 173 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 176 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 179 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 205 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 215 MovieClip in Frame 3
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 217 MovieClip "gate1" in Frame 3
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 235 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 4
stop();
Instance of Symbol 243 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 1;
}
if (Key.isDown(37)) {
this._x = this._x + 1;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 118 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 2;
}
if (Key.isDown(37)) {
this._x = this._x + 2;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 121 MovieClip in Frame 4
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 248 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 4;
}
if (Key.isDown(37)) {
this._x = this._x + 4;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 135 MovieClip in Frame 4
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 145 MovieClip in Frame 4
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 145 MovieClip in Frame 4
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 144 MovieClip in Frame 4
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 130 MovieClip in Frame 4
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 130 MovieClip in Frame 4
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 130 MovieClip in Frame 4
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 146 MovieClip in Frame 4
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 146 MovieClip in Frame 4
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 146 MovieClip in Frame 4
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 130 MovieClip in Frame 4
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 145 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 167 MovieClip in Frame 4
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 167 MovieClip in Frame 4
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 167 MovieClip in Frame 4
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 167 MovieClip in Frame 4
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 167 MovieClip in Frame 4
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 198 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 170 MovieClip in Frame 4
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 253 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 176 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 138 MovieClip "circle" in Frame 4
onClipEvent (load) {
kd = false;
j = new Sound(this);
j.attachSound("smb3_jump.wav");
fall = false;
_name = "circle";
jump = 0;
speed = 1.5;
jumpheight = 12;
maxfall = -54;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
kd = false;
}
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((Key.isDown(32) && (fall == false)) && (jump == eval("undefined"))) && (kd == false)) {
kd = true;
j.start();
fall = true;
jump = jumpheight;
}
if (jump != eval("undefined")) {
if (maxfall < jump) {
jump--;
}
_y = _y - jump;
}
}
onClipEvent (enterFrame) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
walk = false;
} else {
walk = true;
_x = _x + speed;
if (_xscale == -100) {
_xscale = 100;
}
}
} else {
walk = true;
_x = _x - speed;
if (_xscale == 100) {
_xscale = -100;
}
}
if (fall != true) {
if (walk != true) {
this.gotoandstop("stand");
} else {
this.gotoandstop("walk");
}
} else {
this.gotoandstop("jump");
}
}
Instance of Symbol 254 MovieClip in Frame 4
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 147 MovieClip in Frame 4
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 153 MovieClip "bar" in Frame 4
onClipEvent (enterFrame) {
_root.bar.lives.text = "= " + _root.lives;
_root.bar.coins.text = "= " + _root.coins;
_root.bar.level.text = "level " + _root.lvl;
if (_root.coins < 40) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate2.gotoandstop(2);
}
}
Instance of Symbol 254 MovieClip in Frame 4
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 215 MovieClip in Frame 4
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 290 MovieClip "gate2" in Frame 4
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 5
stop();
Instance of Symbol 291 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 1;
}
if (Key.isDown(37)) {
this._x = this._x + 1;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 118 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 2;
}
if (Key.isDown(37)) {
this._x = this._x + 2;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 121 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 297 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 4;
}
if (Key.isDown(37)) {
this._x = this._x + 4;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 215 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 135 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 145 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 146 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 146 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 146 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 130 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 130 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 130 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 302 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 302 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 146 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 144 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 138 MovieClip "circle" in Frame 5
onClipEvent (load) {
kd = false;
j = new Sound(this);
j.attachSound("smb3_jump.wav");
fall = false;
_name = "circle";
jump = 0;
speed = 1.5;
jumpheight = 12;
maxfall = -54;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
kd = false;
}
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((Key.isDown(32) && (fall == false)) && (jump == eval("undefined"))) && (kd == false)) {
kd = true;
j.start();
fall = true;
jump = jumpheight;
}
if (jump != eval("undefined")) {
if (maxfall < jump) {
jump--;
}
_y = _y - jump;
}
}
onClipEvent (enterFrame) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
walk = false;
} else {
walk = true;
_x = _x + speed;
if (_xscale == -100) {
_xscale = 100;
}
}
} else {
walk = true;
_x = _x - speed;
if (_xscale == 100) {
_xscale = -100;
}
}
if (fall != true) {
if (walk != true) {
this.gotoandstop("stand");
} else {
this.gotoandstop("walk");
}
} else {
this.gotoandstop("jump");
}
}
Instance of Symbol 130 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 170 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 303 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 205 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 304 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 254 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 198 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 176 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 167 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 167 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 167 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 167 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 198 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 153 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 < 60) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate3.gotoandstop(2);
}
}
Instance of Symbol 306 MovieClip "gate3" 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 147 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)) {
}
}
Frame 6
stop();
Instance of Symbol 310 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 1;
}
if (Key.isDown(37)) {
this._x = this._x + 1;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 118 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 2;
}
if (Key.isDown(37)) {
this._x = this._x + 2;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 315 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 125 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 4;
}
if (Key.isDown(37)) {
this._x = this._x + 4;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 135 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 146 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 146 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 146 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 146 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 130 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 130 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 130 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 130 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 319 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 302 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 302 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 138 MovieClip "circle" in Frame 6
onClipEvent (load) {
kd = false;
j = new Sound(this);
j.attachSound("smb3_jump.wav");
fall = false;
_name = "circle";
jump = 0;
speed = 1.5;
jumpheight = 12;
maxfall = -54;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
kd = false;
}
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((Key.isDown(32) && (fall == false)) && (jump == eval("undefined"))) && (kd == false)) {
kd = true;
j.start();
fall = true;
jump = jumpheight;
}
if (jump != eval("undefined")) {
if (maxfall < jump) {
jump--;
}
_y = _y - jump;
}
}
onClipEvent (enterFrame) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
walk = false;
} else {
walk = true;
_x = _x + speed;
if (_xscale == -100) {
_xscale = 100;
}
}
} else {
walk = true;
_x = _x - speed;
if (_xscale == 100) {
_xscale = -100;
}
}
if (fall != true) {
if (walk != true) {
this.gotoandstop("stand");
} else {
this.gotoandstop("walk");
}
} else {
this.gotoandstop("jump");
}
}
Instance of Symbol 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 147 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 170 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 321 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 179 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 179 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 176 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 176 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandplay(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 198 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 198 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
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 167 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 167 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 147 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 147 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 147 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 147 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 147 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 153 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 < 80) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate4.gotoandstop(2);
}
}
Instance of Symbol 326 MovieClip "gate4" 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 215 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 147 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)) {
}
}
Frame 7
stop();
Instance of Symbol 333 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 < 80) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.keyd.gotoandstop(2);
}
}
Frame 8
stop();
Instance of Symbol 333 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 < 80) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.keyd.gotoandstop(2);
}
}
Frame 9
stop();
Symbol 1 MovieClip [marioIcon] Frame 20
gotoAndPlay (1);
Instance of Symbol 21 MovieClip in Symbol 17 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 17 MovieClip Frame 53
_parent.start1.play();
Symbol 17 MovieClip Frame 54
stop();
Symbol 28 MovieClip Frame 24
_root.time--;
Symbol 33 MovieClip Frame 6
stop();
Symbol 67 Button
on (release) {
gotoAndPlay (3);
}
Symbol 74 Button
on (release) {
gotoAndPlay (9);
}
Symbol 79 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 87 MovieClip Frame 1
_parent._parent.bStopSound = false;
stop();
Instance of Symbol 88 MovieClip "hitZoneSound" in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 87 MovieClip Frame 2
_parent._parent.bStopSound = true;
stop();
Instance of Symbol 87 MovieClip in Symbol 86 MovieClip Frame 1
onClipEvent (load) {
meuSom = new Sound();
meuSom.attachSound("sound");
meuSom.setVolume(70);
if (_parent._parent.bStopSound == true) {
gotoAndStop (2);
}
this.hitArea = hitZoneSound;
this.onPress = function () {
play();
};
}
Symbol 105 Button
on (release) {
gotoAndPlay (3);
}
Symbol 106 Button
on (release) {
gotoAndPlay (9);
}
Symbol 107 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Instance of Symbol 132 MovieClip "mov51" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
var nSpd;
var nEndP1;
var nEndP2;
var nDir;
var nID;
}
onClipEvent (enterFrame) {
if (this._name != "mov51") {
if (nDir == 1) {
_y = (_y - nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y <= nEndP1) {
_y = (_y - nSpd);
nDir = 2;
}
}
if (nDir == 2) {
_y = (_y + nSpd);
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
if (_y >= nEndP2) {
nDir = 1;
}
}
if (nDir == 3) {
_x = (_x - nSpd);
if (_x <= nEndP1) {
nDir = 4;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x - nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
if (nDir == 4) {
_x = (_x + nSpd);
if (_x >= nEndP2) {
nDir = 3;
}
if ((((_parent.blnJumpUpTest && (_parent.movA._y > (_y - 25))) && (_parent.movA._y <= (_y - 1))) && (_parent.movA._x >= (_x - (_width / 2)))) && (_parent.movA._x <= (_x + (_width / 2)))) {
_parent.movA._y = _y - 25;
_parent.movA._x = _parent.movA._x + nSpd;
_parent.arrCanJump[nID] = 1;
} else {
_parent.arrCanJump[nID] = 0;
}
}
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
_root.coins++;
_root.totalCoins++;
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
_root.coins++;
_root.totalCoins++;
Instance of Symbol 165 MovieClip "hpbar" in Symbol 153 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.lives;
if (0 >= _root.lives) {
_root.lives = 0;
_root.gotoandstop("gameover");
}
}
Instance of Symbol 168 MovieClip in Symbol 167 MovieClip Frame 21
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 1;
trace("you died !");
_root.gotoandplay("level12");
}
}
Instance of Symbol 174 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x - 10;
if (_x < (xx - 500)) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
_root.lives = _root.lives + 5;
Instance of Symbol 180 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x - 1;
if ((xx + 200) < _x) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Symbol 205 MovieClip Frame 9
var scale = (_root.player._xscale / 100);
var depth = _root.getNextHighestDepth();
var BulletClip = _root.attachMovie("pbullet", "bullet1" + depth, depth);
BulletClip._y = _root.player._y - 30.5;
BulletClip._x = _root.player._x + (40 * scale);
BulletClip.speed = 10 * scale;
BulletClip.onEnterFrame = function () {
this._x = this._x + this.speed;
};
Symbol 205 MovieClip Frame 13
var scale = (_root.player._xscale / 100);
var depth = _root.getNextHighestDepth();
var BulletClip = _root.attachMovie("pbullet", "bullet1" + depth, depth);
BulletClip._y = _root.player._y - 30.5;
BulletClip._x = _root.player._x + (40 * scale);
BulletClip.speed = 10 * scale;
BulletClip.onEnterFrame = function () {
this._x = this._x + this.speed;
};
Symbol 205 MovieClip Frame 24
_root.player.gotoAndStop(1);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
stop();
Instance of Symbol 219 MovieClip in Symbol 217 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("level2");
}
}
Symbol 232 MovieClip Frame 54
stop();
Instance of Symbol 236 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x - 12;
if (_x < (xx - 300)) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Instance of Symbol 174 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x - 17;
if (_x < (xx - 400)) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Instance of Symbol 263 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 5;
trace("you died !");
_root.gotoandplay("level12");
}
}
Symbol 254 MovieClip Frame 15
var scale = (_root.player._xscale / 100);
var depth = _root.getNextHighestDepth();
var BulletClip = _root.attachMovie("pbullet", "bullet1" + depth, depth);
BulletClip._y = _root.player._y - 3.5;
BulletClip._x = _root.player._x + (40 * scale);
BulletClip.speed = 5 * scale;
BulletClip.speed2 = 5;
BulletClip.onEnterFrame = function () {
this._x = this._x + this.speed;
this._y = this._y + this.speed2;
};
Instance of Symbol 262 MovieClip in Symbol 254 MovieClip Frame 15
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 254 MovieClip Frame 19
var scale = (_root.player._xscale / 100);
var depth = _root.getNextHighestDepth();
var BulletClip = _root.attachMovie("pbullet", "bullet1" + depth, depth);
BulletClip._y = _root.player._y - 3.5;
BulletClip._x = _root.player._x + (40 * scale);
BulletClip.speed = 5 * scale;
BulletClip.speed2 = 5;
BulletClip.onEnterFrame = function () {
this._x = this._x + this.speed;
this._y = this._y + this.speed2;
};
Symbol 254 MovieClip Frame 27
var scale = (_root.player._xscale / 100);
var depth = _root.getNextHighestDepth();
var BulletClip = _root.attachMovie("pbullet", "bullet1" + depth, depth);
BulletClip._y = _root.player._y - 3.5;
BulletClip._x = _root.player._x + (25 * scale);
BulletClip.speed = 4 * scale;
BulletClip.speed2 = 6;
BulletClip.onEnterFrame = function () {
this._x = this._x + this.speed;
this._y = this._y + this.speed2;
};
Instance of Symbol 262 MovieClip in Symbol 254 MovieClip Frame 27
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 254 MovieClip Frame 31
var scale = (_root.player._xscale / 100);
var depth = _root.getNextHighestDepth();
var BulletClip = _root.attachMovie("pbullet", "bullet1" + depth, depth);
BulletClip._y = _root.player._y - 3.5;
BulletClip._x = _root.player._x + (25 * scale);
BulletClip.speed = 4 * scale;
BulletClip.speed2 = 6;
BulletClip.onEnterFrame = function () {
this._x = this._x + this.speed;
this._y = this._y + this.speed2;
};
Symbol 254 MovieClip Frame 48
_root.player.gotoAndStop(1);
Symbol 287 MovieClip Frame 54
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Instance of Symbol 219 MovieClip in Symbol 290 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("level3");
}
}
Symbol 302 MovieClip Frame 1
nCharacterCount = 1;
nFrameCount = 3;
nLength = 10;
nCount = 3;
bDirection = 0;
function left() {
nMove = nMove + 3;
if (nLength < nMove) {
nMove = 3;
nWhoMove++;
if (nCharacterCount < nWhoMove) {
nMoveCount++;
if (nMoveCount >= nCount) {
bDirection = true;
nMoveCount = 0;
return(undefined);
}
nWhoMove = 1;
}
}
this["c" + nWhoMove]._x = this["c" + nWhoMove]._x - nMove;
}
function right() {
nMove = nMove + 3;
if (nLength < nMove) {
nMove = 3;
nWhoMove--;
if (nWhoMove < 1) {
nMoveCount++;
if (nMoveCount >= nCount) {
bDirection = false;
nMoveCount = 0;
return(undefined);
}
nWhoMove = nCharacterCount;
}
}
this["c" + nWhoMove]._x = this["c" + nWhoMove]._x + nMove;
}
function again() {
gotoAndPlay (2);
}
function fun() {
if (!bDirection) {
left();
} else {
right();
}
}
nWhoMove = 1;
nMoveCount = 0;
nMove = 0;
if (!bDirection) {
nWhoMove = 1;
} else {
nWhoMove = nCharacterCount;
}
fun();
Symbol 302 MovieClip Frame 2
fun();
Symbol 302 MovieClip Frame 3
again();
Instance of Symbol 174 MovieClip in Symbol 303 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x - 18;
if (_x < (xx - 500)) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Instance of Symbol 236 MovieClip in Symbol 304 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x + 12;
if ((xx + 300) < _x) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
Instance of Symbol 219 MovieClip in Symbol 306 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("level4");
}
}
Symbol 307 MovieClip Frame 54
stop();
Instance of Symbol 174 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
}
onClipEvent (enterFrame) {
_x = _x + 22;
if ((xx + 800) < _x) {
_x = xx;
}
if (0 >= _root.lifes) {
_root.lifes = 0;
}
}
Symbol 323 MovieClip Frame 54
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
stop();
Instance of Symbol 219 MovieClip in Symbol 326 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("win");
}
}
Symbol 330 MovieClip Frame 1
nCharacterCount = 1;
nFrameCount = 3;
nMoveSpeed = 5;
nIntervalTime = 1;
nAlphaSpeed = 5;
nXExcursion = 0;
nYExcursion = 50;
nPosX = (this.c1._x + ((this["c" + nCharacterCount]._x - this.c1._x) / 2)) + nXExcursion;
i = 0;
while (i < nCharacterCount) {
nHeight = nHeight + this["c" + (i + 1)]._y;
i++;
}
nPosY = int(nHeight / nCharacterCount) + nYExcursion;
nOldPosX = new Array(nCharacterCount - 1);
nOldPosY = new Array(nCharacterCount - 1);
nTempTime = nIntervalTime;
nRun = 1;
function init() {
i = 0;
while (i < nCharacterCount) {
nOldPosX[i] = this["c" + (i + 1)]._x;
nOldPosY[i] = this["c" + (i + 1)]._y;
i++;
}
i = 0;
while (i < nCharacterCount) {
this["c" + (i + 1)]._x = nPosX;
this["c" + (i + 1)]._y = nPosY;
this["c" + (i + 1)]._alpha = 0;
i++;
}
}
function fun() {
if (0 >= nTempTime) {
if (nRun < nCharacterCount) {
nRun++;
}
nTempTime = nIntervalTime;
} else {
nTempTime--;
}
i = 0;
while (i < nRun) {
if (this["c" + (i + 1)]._alpha < 100) {
this["c" + (i + 1)]._alpha = this["c" + (i + 1)]._alpha + nAlphaSpeed;
if (100 < this["c" + (i + 1)]._alpha) {
this["c" + (i + 1)]._alpha = 100;
}
}
if (this["c" + (i + 1)]._y != nOldPosY[i]) {
if (nOldPosY[i] >= this["c" + (i + 1)]._y) {
this["c" + (i + 1)]._y = this["c" + (i + 1)]._y + nMoveSpeed;
if (nOldPosY[i] < this["c" + (i + 1)]._y) {
this["c" + (i + 1)]._y = nOldPosY[i];
}
} else {
this["c" + (i + 1)]._y = this["c" + (i + 1)]._y - nMoveSpeed;
if (this["c" + (i + 1)]._y < nOldPosY[i]) {
this["c" + (i + 1)]._y = nOldPosY[i];
}
}
this["c" + (i + 1)]._x = (((nPosX - nOldPosX[i]) / (nPosY - nOldPosY[i])) * (this["c" + (i + 1)]._y - nOldPosY[i])) + nOldPosX[i];
}
i++;
}
}
function again() {
gotoAndPlay (2);
}
init();
fun();
Symbol 330 MovieClip Frame 2
fun();
Symbol 330 MovieClip Frame 3
again();
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
stop();
_root.coins++;
_root.totalCoins++;
Symbol 343 Button
on (release) {
gotoAndPlay (2);
}
Symbol 349 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 354 Button
on (release) {
gotoAndPlay (2);
}
Symbol 355 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 358 MovieClip Frame 1
nCharacterCount = 1;
nFrameCount = 3;
nMoveSpeed = 5;
nIntervalTime = 1;
nAlphaSpeed = 5;
nXExcursion = 0;
nYExcursion = 50;
nPosX = (this.c1._x + ((this["c" + nCharacterCount]._x - this.c1._x) / 2)) + nXExcursion;
i = 0;
while (i < nCharacterCount) {
nHeight = nHeight + this["c" + (i + 1)]._y;
i++;
}
nPosY = int(nHeight / nCharacterCount) + nYExcursion;
nOldPosX = new Array(nCharacterCount - 1);
nOldPosY = new Array(nCharacterCount - 1);
nTempTime = nIntervalTime;
nRun = 1;
function init() {
i = 0;
while (i < nCharacterCount) {
nOldPosX[i] = this["c" + (i + 1)]._x;
nOldPosY[i] = this["c" + (i + 1)]._y;
i++;
}
i = 0;
while (i < nCharacterCount) {
this["c" + (i + 1)]._x = nPosX;
this["c" + (i + 1)]._y = nPosY;
this["c" + (i + 1)]._alpha = 0;
i++;
}
}
function fun() {
if (0 >= nTempTime) {
if (nRun < nCharacterCount) {
nRun++;
}
nTempTime = nIntervalTime;
} else {
nTempTime--;
}
i = 0;
while (i < nRun) {
if (this["c" + (i + 1)]._alpha < 100) {
this["c" + (i + 1)]._alpha = this["c" + (i + 1)]._alpha + nAlphaSpeed;
if (100 < this["c" + (i + 1)]._alpha) {
this["c" + (i + 1)]._alpha = 100;
}
}
if (this["c" + (i + 1)]._y != nOldPosY[i]) {
if (nOldPosY[i] >= this["c" + (i + 1)]._y) {
this["c" + (i + 1)]._y = this["c" + (i + 1)]._y + nMoveSpeed;
if (nOldPosY[i] < this["c" + (i + 1)]._y) {
this["c" + (i + 1)]._y = nOldPosY[i];
}
} else {
this["c" + (i + 1)]._y = this["c" + (i + 1)]._y - nMoveSpeed;
if (this["c" + (i + 1)]._y < nOldPosY[i]) {
this["c" + (i + 1)]._y = nOldPosY[i];
}
}
this["c" + (i + 1)]._x = (((nPosX - nOldPosX[i]) / (nPosY - nOldPosY[i])) * (this["c" + (i + 1)]._y - nOldPosY[i])) + nOldPosX[i];
}
i++;
}
}
function again() {
gotoAndPlay (2);
}
init();
fun();
Symbol 358 MovieClip Frame 2
fun();
Symbol 358 MovieClip Frame 3
again();
Symbol 361 Button
on (release) {
gotoAndPlay (2);
}
Symbol 362 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 363 Button
on (release) {
gotoAndPlay (2);
}
Symbol 364 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
stop();
_root.lives = _root.lives + 5;
Symbol 385 Button
on (release) {
gotoAndPlay (2);
}