Frame 1
function deadClick() {
}
function sponsor() {
getURL ("http://gamegecko.com", "_blank");
}
var held = false;
onEnterFrame = function () {
if (Key.isDown(81) && (!held)) {
held = true;
if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root._quality = "HIGH";
}
}
if (!Key.isDown(81)) {
held = false;
}
};
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("Created by Joe Willmott", deadClick);
var sponsorSite = new ContextMenuItem("GameGecko.com - Click here to play more games", sponsor);
myMenu.customItems.push(copyrightNotice, sponsorSite);
_root.menu = myMenu;
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(null);
}
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 = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("fdd9c33e", this, 10301, true);
_root.currentlevel = 1;
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 1
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Frame 2
_root.currentlevel = 2;
Frame 3
_root.currentlevel = 3;
Frame 4
_root.score1 = 0;
_root.score2 = 0;
_root.score3 = 0;
_root.score4 = 0;
_root.score5 = 0;
_root.score6 = 0;
_root.score7 = 0;
_root.score8 = 0;
_root.score9 = 0;
_root.score10 = 0;
_root.score11 = 0;
_root.score12 = 0;
_root.score13 = 0;
_root.score14 = 0;
_root.score15 = 0;
_root.score16 = 0;
_root.score17 = 0;
_root.score18 = 0;
_root.score19 = 0;
_root.score20 = 0;
var sound = 1;
var muteMC = _root.attachMovie("mute", "mute1", 99);
mute1._visible = false;
muteMC._y = snd._y;
muteMC._x = snd._x;
var s = new Sound();
s.attachSound("loop");
s.start(1, 999);
snd.onPress = function () {
if (sound == 1) {
s.setVolume(0);
mute1._visible = true;
sound = 0;
} else if (sound == 0) {
sound = 1;
mute1._visible = false;
s.setVolume(100);
}
};
_root.currentlevel = 4;
stop();
Frame 5
_root.score1 = 100;
var wee = false;
var poop = true;
onEnterFrame = function () {
if (poop == true) {
if (Key.isDown(82) && (!wee)) {
wee = true;
gotoAndStop(_root.currentlevel);
}
if (!Key.isDown(82)) {
wee = false;
}
}
};
var held = false;
var check = true;
onEnterFrame = function () {
if (check == true) {
if (Key.isDown(77) && (!held)) {
held = true;
gotoAndStop (4);
}
if (!Key.isDown(77)) {
held = false;
}
}
};
_root.currentlevel = 5;
stop();
Instance of Symbol 19 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 5
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
}
Instance of Symbol 115 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 7
_root.score2 = 100;
stop();
_root.currentlevel = 7;
Instance of Symbol 130 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 130 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 133 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 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 (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 7
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
}
Instance of Symbol 115 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 9
_root.score3 = 100;
stop();
_root.currentlevel = 9;
Instance of Symbol 147 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 150 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 151 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 9
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 9
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 11
_root.score4 = 100;
stop();
_root.currentlevel = 11;
Instance of Symbol 165 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 150 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 150 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 151 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 151 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 151 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 150 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 151 MovieClip in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 11
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 13
_root.score5 = 100;
stop();
_root.currentlevel = 13;
Instance of Symbol 179 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 179 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 181 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.nextFrame();
}
}
Instance of Symbol 182 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 182 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 182 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 184 MovieClip "fadehit" in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 13
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 13
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 15
_root.score6 = 100;
stop();
_root.currentlevel = 15;
Instance of Symbol 179 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 179 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 165 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 179 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 165 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 19 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 15
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 15
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 17
_root.score7 = 100;
stop();
_root.currentlevel = 17;
Instance of Symbol 165 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 210 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 212 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 92 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 210 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 212 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 210 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 212 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 210 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 212 MovieClip in Frame 17
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 17
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 19
_root.score8 = 100;
stop();
_root.currentlevel = 19;
Instance of Symbol 165 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 179 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 179 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 227 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 229 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 230 MovieClip "appear" in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 231 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 229 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 230 MovieClip "appear2" in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 232 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 229 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 230 MovieClip "appear3" in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 233 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 229 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 230 MovieClip "appear4" in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 19
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 19
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 21
_root.score9 = 100;
stop();
_root.currentlevel = 21;
Instance of Symbol 252 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 181 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.nextFrame();
}
}
Instance of Symbol 184 MovieClip "fadehit" in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 19 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 225 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 21
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 21
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
}
Instance of Symbol 115 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 23
_root.score10 = 100;
stop();
_root.currentlevel = 23;
Instance of Symbol 165 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 19 MovieClip in Frame 23
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 269 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 269 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.health.nextFrame();
}
}
Instance of Symbol 92 MovieClip in Frame 23
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip in Frame 23
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 93 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
this.play();
}
}
Instance of Symbol 28 MovieClip "chart" in Frame 23
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 3;
jumpheight = 10;
maxfall = -9;
var rebound = 6;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(38) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
speed = 3;
stop();
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this.hitTest(_root.leftwall)) {
_x = 10;
}
if (this.hitTest(_root.rightwall)) {
_x = 590;
}
if (this.hitTest(_root.bottomwall)) {
_y = -10;
}
if (this.hitTest(_root.leftwall2)) {
_x = (_x - 5);
}
if (this.hitTest(_root.rightwall2)) {
_x = (_x + 5);
}
if (this.hitTest(_root.leftwall3)) {
_x = (_x - 5);
}
if (this.hitTest(_root.rightwall3)) {
_x = (_x + 5);
}
}
Frame 24
var poop = false;
var check = false;
var wee = false;
var held = false;
Instance of Symbol 115 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
Frame 25
_root.totalscore = ((((((((score1 + score2) + score3) + score4) + score5) + score6) + score7) + score8) + score9) + score10;
_root.name = "ENTER NAME";
stop();
var poop = false;
var check = false;
var wee = false;
var held = false;
Frame 26
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = totalscore;
__rankz_send__("Mjk3M2olZSVhJW4lcw==", "Y1pMbVVHZ1U=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
var poop = false;
var check = false;
var wee = false;
var held = false;
Frame 27
var poop = false;
var check = false;
var wee = false;
var held = false;
Frame 49
rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
rankz_t10_send.SU0249 = "Mjk3M2olZSVhJW4lcw==";
rankz_t10_send.flashkey = "Y1pMbVVHZ1U=";
rankz_t10_receive.onLoad = function (success) {
if (success) {
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
i = 0;
while (i < _rankz_ar_.length) {
tempv = _rankz_ar_[i].split("</*/>");
_root["rankz_n" + (i + 1)].text = tempv[0];
_root["rankz_v" + (i + 1)].text = tempv[1];
i++;
}
} else {
trace("ERROR");
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST");
Instance of Symbol 361 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(_root.currentlevel);
}
}
Symbol 11 Button
on (release) {
getURL ("http://www.gamegecko.com", "blank");
}
Symbol 16 Button
on (release) {
_root.play();
}
Symbol 17 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
bar2._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 11
stop();
Symbol 27 MovieClip Frame 1
play();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 28 MovieClip Frame 3
stop();
Symbol 36 Button
on (release) {
getURL ("http://www.gamegecko.com", "blank");
}
Symbol 37 Button
on (release) {
getURL ("http://rankz.armorbot.com/oran/", "blank");
}
Symbol 38 Button
on (release) {
nextFrame();
}
Symbol 39 Button
on (release) {
gotoAndStop (49);
}
Symbol 56 Button
on (release) {
getURL ("http://www.gamegecko.com", "blank");
}
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 11
play();
Symbol 89 MovieClip Frame 56
stop();
Instance of Symbol 88 MovieClip in Symbol 89 MovieClip Frame 56
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.nextFrame();
}
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 51
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
_root.door.nextFrame();
Symbol 93 MovieClip Frame 11
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 11
_root.gotoAndStop(50);
Symbol 109 MovieClip Frame 25
_root.score1 = _root.score1 - 1;
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._x = _root.circle._x + 3;
}
}
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 100
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._x = _root.circle._x - 3;
}
}
Symbol 135 MovieClip Frame 25
_root.score2 = _root.score2 - 1;
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._x = _root.circle._x - 3;
}
}
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 150
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._x = _root.circle._x + 3;
}
}
Instance of Symbol 149 MovieClip in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._x = _root.circle._x + 3;
}
}
Instance of Symbol 149 MovieClip in Symbol 151 MovieClip Frame 150
onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.circle._x = _root.circle._x - 3;
}
}
Symbol 153 MovieClip Frame 25
_root.score3 = _root.score3 - 1;
Symbol 167 MovieClip Frame 25
_root.score4 = _root.score4 - 1;
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
_root.fade.nextFrame();
_root.fadehit.nextFrame();
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 25
_root.score5 = _root.score5 - 1;
Symbol 198 MovieClip Frame 25
_root.score6 = _root.score6 - 1;
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 127
stop();
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 211 MovieClip in Symbol 212 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.circle._y = _root.circle._y - 3;
}
}
Symbol 212 MovieClip Frame 126
stop();
Symbol 214 MovieClip Frame 25
_root.score7 = _root.score7 - 1;
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 51
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 15
_root.appear.play();
Symbol 227 MovieClip Frame 41
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 4
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 26
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 15
_root.appear2.play();
Symbol 231 MovieClip Frame 41
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 15
_root.appear3.play();
Symbol 232 MovieClip Frame 41
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 15
_root.appear4.play();
Symbol 233 MovieClip Frame 41
stop();
Symbol 239 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.spring.play();
}
}
Symbol 239 MovieClip Frame 2
_root.circle.jump = 25;
Symbol 239 MovieClip Frame 15
_root.circle.jump = 0;
Symbol 241 MovieClip Frame 25
_root.score8 = _root.score8 - 1;
Symbol 254 MovieClip Frame 25
_root.score9 = _root.score9 - 1;
Symbol 265 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.spring3.play();
}
}
Symbol 265 MovieClip Frame 2
_root.circle.jump = 32;
Symbol 265 MovieClip Frame 15
_root.circle.jump = 0;
Symbol 266 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 266 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.spring2.play();
}
}
Symbol 266 MovieClip Frame 2
_root.circle.jump = 32;
Symbol 266 MovieClip Frame 15
_root.circle.jump = 0;
Symbol 267 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.circle)) {
_root.spring.play();
}
}
Symbol 267 MovieClip Frame 2
_root.circle.jump = 32;
Symbol 267 MovieClip Frame 15
_root.circle.jump = 0;
Symbol 271 MovieClip Frame 25
_root.score10 = _root.score10 - 1;
Symbol 298 Button
on (release) {
nextFrame();
}
Symbol 304 Button
on (release) {
gotoAndStop (4);
}
Symbol 356 Button
on (release) {
gotoAndStop (4);
}
Symbol 359 Button
on (release) {
getURL ("http://rankz.armorbot.com/oran/", "blank");
}