Frame 1
stop();
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(undefined);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = (((6 < fv) ? (mc.getNextHighestDepth()) : (g[mb + "level"])) ? (g[mb + "level"] + 1) : (lv));
g[mb + "level"] = lv;
if (fv != 5) {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadmovie(u);
} else {
res = "_level" + lv;
if (!eval (res)) {
getURL (u, lv);
}
}
return(res);
}
fscommand ("showmenu", false);
stop();
time = 3;
__com_mochibot__("426a0415", this, 10301, true);
Instance of Symbol 37 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.gotoandstop(3);
}
}
Frame 3
stop();
Frame 4
stop();
var lives = 100;
var coins = 0;
var lvl = 1;
var totalCoins = 0;
_root.hp = 30;
Instance of Symbol 119 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 129 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 132 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 136 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 141 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 141 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 141 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 141 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 149 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 155 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 156 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 156 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 156 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 157 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 157 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 141 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 164 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 < 20) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate1.gotoandstop(2);
}
}
Instance of Symbol 178 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 178 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 178 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 178 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 181 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 184 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 187 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 187 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 187 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 190 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 209 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 209 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 209 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 216 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 226 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 228 MovieClip "gate1" 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 246 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)) {
}
}
Frame 5
stop();
Instance of Symbol 254 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 129 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 132 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 259 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 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 156 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 156 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 155 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 141 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 141 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 141 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 157 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 157 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 157 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 141 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 156 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 178 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 178 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 178 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 178 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 178 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 209 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 209 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 209 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 181 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 264 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 187 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 187 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 187 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 149 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 265 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 158 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 164 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 < 40) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate2.gotoandstop(2);
}
}
Instance of Symbol 265 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 226 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 301 MovieClip "gate2" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Frame 6
stop();
Instance of Symbol 302 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 129 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 132 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 308 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 226 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 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 156 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 157 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 157 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 157 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 141 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 141 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 141 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 313 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 313 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 157 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 155 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 149 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 141 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 181 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 314 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 216 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 315 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 265 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 158 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 209 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 209 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 187 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 187 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 187 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 178 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 178 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 178 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 178 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 209 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 164 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 < 60) {
if (0 >= _root.lives) {
_root.gotoandstop("gameover");
}
} else {
_root.gate3.gotoandstop(2);
}
}
Instance of Symbol 317 MovieClip "gate3" 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 158 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 321 MovieClip in Frame 7
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 129 MovieClip in Frame 7
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 326 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 3;
}
if (Key.isDown(37)) {
this._x = this._x + 3;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 136 MovieClip in Frame 7
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 146 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 141 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 141 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 141 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 141 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 330 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 313 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 313 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((xMin < _root.circle.xMax) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if (yMin < (_root.circle.yMax - (_root.circle.jump * 2))) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(yMin) < Math.round(_root.circle.yMax)) {
if (hitTest(_root.circle) && (_root.circle.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.circle) && (xmax < _root.circle.xmin)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.circle) && (ymax < _root.circle.ymin)) && (-1 < _root.circle.jump)) {
_root.circle.jump = -1 * _root.circle.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == eval("undefined"))) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (ymin < _root.circle.ymax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
if (((((ymin < (_root.circle.ymax - _root.circle.jump)) && (_root.circle.xMin < xMax)) && (xMin < _root.circle.xMax)) && (_root.circle.jump != eval("undefined"))) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = eval("undefined");
_root.circle.fall = false;
activated = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 149 MovieClip "circle" in Frame 7
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 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 181 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 332 MovieClip in Frame 7
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 190 MovieClip in Frame 7
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 190 MovieClip in Frame 7
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 187 MovieClip in Frame 7
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 187 MovieClip in Frame 7
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 209 MovieClip in Frame 7
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 209 MovieClip in Frame 7
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 178 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 178 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 164 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.gate4.gotoandstop(2);
}
}
Instance of Symbol 337 MovieClip "gate4" in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Instance of Symbol 226 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (!this.hitTest(_root.circle)) {
if (0 >= _root.lives) {
_root.gotoandplay("gameover");
}
} else {
_root.lives = _root.lives - 100;
trace("you died !");
_root.gotoandplay("level13");
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
this.gotoandstop("got");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = this._x - 5;
}
if (Key.isDown(37)) {
this._x = this._x + 5;
}
if (Key.isDown(38)) {
}
if (Key.isDown(40)) {
}
}
Frame 8
stop();
Instance of Symbol 344 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();
Instance of Symbol 344 MovieClip "bar" in Frame 9
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 10
stop();
Symbol 1 MovieClip [marioIcon] Frame 20
gotoAndPlay (1);
Symbol 30 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
_root.stop();
movieSize = _root.getBytesTotal();
Symbol 29 MovieClip Frame 2
movieLoaded = _root.getBytesLoaded();
percent = Math.round((movieLoaded / movieSize) * 100);
loadbar.gotoAndStop(percent);
Symbol 29 MovieClip Frame 3
if (movieLoaded < movieSize) {
gotoAndPlay(_currentframe - 1);
}
Symbol 29 MovieClip Frame 4
_root.play();
Symbol 34 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 36 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 37 MovieClip Frame 24
_root.time--;
Symbol 40 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 41 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 44 MovieClip Frame 6
stop();
Symbol 78 Button
on (release) {
gotoAndPlay (3);
}
Symbol 85 Button
on (release) {
gotoAndPlay (9);
}
Symbol 90 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 98 MovieClip Frame 1
_parent._parent.bStopSound = false;
stop();
Instance of Symbol 99 MovieClip "hitZoneSound" in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 98 MovieClip Frame 2
_parent._parent.bStopSound = true;
stop();
Instance of Symbol 98 MovieClip in Symbol 97 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 116 Button
on (release) {
gotoAndPlay (3);
}
Symbol 117 Button
on (release) {
gotoAndPlay (9);
}
Symbol 118 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Instance of Symbol 143 MovieClip "mov51" in Symbol 142 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 143 MovieClip "mov51" in Symbol 142 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 143 MovieClip "mov51" in Symbol 142 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 143 MovieClip "mov51" in Symbol 157 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 143 MovieClip "mov51" in Symbol 157 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 143 MovieClip "mov51" in Symbol 157 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 143 MovieClip "mov51" in Symbol 157 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 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
_root.coins++;
_root.totalCoins++;
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
stop();
_root.coins++;
_root.totalCoins++;
Instance of Symbol 176 MovieClip "hpbar" in Symbol 164 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.lives;
if (0 >= _root.lives) {
_root.lives = 0;
_root.gotoandstop("gameover");
}
}
Instance of Symbol 179 MovieClip in Symbol 178 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 185 MovieClip in Symbol 184 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 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 2
stop();
_root.lives = _root.lives + 5;
Instance of Symbol 191 MovieClip in Symbol 190 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 216 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 216 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 216 MovieClip Frame 24
_root.player.gotoAndStop(1);
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Instance of Symbol 230 MovieClip in Symbol 228 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("level2");
}
}
Symbol 243 MovieClip Frame 54
stop();
Instance of Symbol 247 MovieClip in Symbol 246 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 185 MovieClip in Symbol 264 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 274 MovieClip in Symbol 273 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 265 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 273 MovieClip in Symbol 265 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 265 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 265 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 273 MovieClip in Symbol 265 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 265 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 265 MovieClip Frame 48
_root.player.gotoAndStop(1);
Symbol 298 MovieClip Frame 54
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
stop();
Instance of Symbol 230 MovieClip in Symbol 301 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("level3");
}
}
Symbol 313 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 313 MovieClip Frame 2
fun();
Symbol 313 MovieClip Frame 3
again();
Instance of Symbol 185 MovieClip in Symbol 314 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 247 MovieClip in Symbol 315 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 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
stop();
Instance of Symbol 230 MovieClip in Symbol 317 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("level4");
}
}
Symbol 318 MovieClip Frame 54
stop();
Instance of Symbol 185 MovieClip in Symbol 332 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 334 MovieClip Frame 54
stop();
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
stop();
Instance of Symbol 230 MovieClip in Symbol 337 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.circle.hitTest(this)) {
_root.gotoandplay("win");
}
}
Symbol 341 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 341 MovieClip Frame 2
fun();
Symbol 341 MovieClip Frame 3
again();
Symbol 345 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 2
stop();
_root.coins++;
_root.totalCoins++;
Symbol 354 Button
on (release) {
gotoAndPlay (2);
}
Symbol 360 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 365 Button
on (release) {
gotoAndPlay (2);
}
Symbol 366 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 369 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 369 MovieClip Frame 2
fun();
Symbol 369 MovieClip Frame 3
again();
Symbol 372 Button
on (release) {
gotoAndPlay (2);
}
Symbol 373 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 374 Button
on (release) {
gotoAndPlay (2);
}
Symbol 375 Button
on (press) {
getURL ("http://www.onlinezgames.com", "_blank");
}
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 2
stop();
_root.lives = _root.lives + 5;
Symbol 396 Button
on (release) {
gotoAndPlay (2);
}