Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
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);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&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__("4fa7d486", this, 10301, true);
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;
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);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&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__("c00939ac", this, 10301, true);
function itemHandler1(obj, item) {
getURL ("http://www.dragongamez.com");
}
function itemHandler2(obj, item) {
getURL ("http://www.psychostudios.co.uk/");
}
var s = new Sound();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.builtInItems.quality = true;
myMenu.customItems.push(new ContextMenuItem("Dragon Gamez - Play More Games!", itemHandler1));
myMenu.customItems.push(new ContextMenuItem("Psycho Studios - Developers Site", itemHandler2));
_root.menu = myMenu;
NewgroundsAPI.connectMovie(80);
NewgroundsAPI.addCustomEvent(1, "complete");
var savefile = SharedObject.getLocal("Jetbot2");
_root.lvl = savefile.data.lvl;
_root.fac = savefile.data.fac;
_root.hc = savefile.data.hc;
if (savefile.data.lvl == undefined) {
_root.lvl = 1;
}
if (savefile.data.fac == undefined) {
_root.fac = 1;
}
if (savefile.data.hc == undefined) {
_root.hc = 1;
}
onEnterFrame = function () {
_quality = "AUTO";
};
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (load) {
if (_root.lvl == 31) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 2
stop();
Frame 3
stop();
savefile.data.lvl = _root.lvl;
savefile.data.fac = _root.fac;
savefile.data.hc = _root.hc;
savefile.flush();
Instance of Symbol 159 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.dmc == 2) {
_root.dmc = 1;
_root.gotoAndPlay(_root.lvld);
}
}
Instance of Symbol 267 MovieClip in Frame 3
onClipEvent (enterFrame) {
if ((Key.isDown(17) && (Key.isDown(38))) && (Key.isDown(1))) {
_root.lvl = 30;
}
}
Instance of Symbol 274 MovieClip "mouse" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
this._y = _root._ymouse;
this._x = _root._xmouse;
this._visible = false;
}
}
Frame 4
stop();
_root.energy = 100;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 279 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (asd == 2) {
this.stop();
} else {
this.play();
}
}
onClipEvent (mouseDown) {
if (asd == 2) {
asd = 1;
} else if (asd == 1) {
asd = 2;
}
}
Instance of Symbol 296 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 304 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 311 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.stars == 3) {
if (_root.lvl < 2) {
_root.lvl = 2;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 313 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 4
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 5
stop();
_root.energy = 20;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.stars == 4) {
if (_root.lvl < 3) {
_root.lvl = 3;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 313 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 5
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 5
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 5
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 5
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 6
stop();
_root.energy = 5;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 304 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 6
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 311 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.stars == 3) {
if (_root.lvl < 4) {
_root.lvl = 4;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 383 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Frame 7
stop();
_root.energy = 50;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.stars == 6) {
if (_root.lvl < 5) {
_root.lvl = 5;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 383 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 313 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 7
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 383 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 8
stop();
energy = 25;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.stars == 5) {
if (_root.lvl < 6) {
_root.lvl = 6;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 388 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 8
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 388 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 8
onClipEvent (load) {
val = 25;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 9
stop();
stop();
energy = 50;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 304 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 311 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.stars == 3) {
if (_root.lvl < 7) {
_root.lvl = 7;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 313 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 9
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 10
stop();
stop();
energy = 25;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 296 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 311 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.stars == 8) {
if (_root.lvl < 8) {
_root.lvl = 8;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 10
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 11
stop();
energy = 30;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.stars == 3) {
if (_root.lvl < 9) {
_root.lvl = 9;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 313 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 12
stop();
stop();
energy = 100;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 296 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 311 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.stars == 6) {
if (_root.lvl < 10) {
_root.lvl = 10;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 12
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 313 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Frame 13
stop();
energy = 100;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.stars == 10) {
if (_root.lvl < 11) {
_root.lvl = 11;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 313 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 13
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 1;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 1;
} else {
if (spd > 0) {
spd = spd - 1;
}
if (spd < 0) {
spd = spd + 1;
}
}
if (spd > 10) {
spd = 10;
}
if (spd < -10) {
spd = -10;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 291 MovieClip "yay" in Frame 13
onClipEvent (enterFrame) {
if ((this._currentframe == 1) == false) {
_root.w1.stop();
_root.w2.stop();
_root.w3.stop();
}
}
Frame 14
stop();
energy = 30;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.stars == 7) {
if (_root.lvl < 12) {
_root.lvl = 12;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 14
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 14
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 14
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 14
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 14
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 15
stop();
energy = 50;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 393 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 311 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.stars == 7) {
if (_root.lvl < 13) {
_root.lvl = 13;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 313 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 15
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 424 MovieClip "w1" in Frame 15
onClipEvent (load) {
this.stop();
_root.w2.stop();
_root.w3.stop();
_root.ground.stop();
}
onClipEvent (enterFrame) {
if (_root.guy._y < 350) {
if (this._currentframe == 96) {
} else {
this.play();
_root.w2.play();
_root.w3.play();
_root.ground.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 15
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 15
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 15
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 15
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -25) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 16
stop();
energy = 10;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.stars == 4) {
if (_root.lvl < 14) {
_root.lvl = 14;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 313 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 16
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 16
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 296 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 304 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 16
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 16
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 16
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 17
stop();
energy = 0;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.stars == 6) {
if (_root.lvl < 15) {
_root.lvl = 15;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 435 MovieClip "w1" in Frame 17
onClipEvent (load) {
this.stop();
_root.w2.stop();
}
onClipEvent (enterFrame) {
if (((_root.star._currentframe > 1) && (_root.stars < 5)) && (this._currentframe < 16)) {
this.play();
_root.w2.play();
}
}
Instance of Symbol 304 MovieClip "star" in Frame 17
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 296 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 304 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 17
onClipEvent (load) {
val = 40;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 17
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -25) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 18
stop();
energy = 20;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.stars == 37) {
if (_root.lvl < 16) {
_root.lvl = 16;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 371 MovieClip in Frame 18
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 18
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 18
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 18
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 18
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 25;
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 18
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -25) {
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 19
stop();
stop();
energy = 50;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.stars == 21) {
if (_root.lvl < 17) {
_root.lvl = 17;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 296 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 430 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 30;
}
}
Instance of Symbol 430 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 25;
}
}
Instance of Symbol 430 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 25;
}
}
Instance of Symbol 430 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 25;
}
}
Instance of Symbol 304 MovieClip "star2" in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w4._currentframe == 1) {
_root.w4.play();
}
}
}
Instance of Symbol 304 MovieClip "star4" in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w1._currentframe == 1) {
_root.w1.play();
}
if (_root.w2._currentframe == 1) {
_root.w2.play();
}
}
}
Instance of Symbol 304 MovieClip "star1" in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w3._currentframe == 1) {
_root.w3.play();
}
}
}
Instance of Symbol 430 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 12;
}
}
Instance of Symbol 304 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
if (_root.w6._currentframe == 1) {
_root.w6.play();
}
}
}
Instance of Symbol 441 MovieClip "w3" in Frame 19
onClipEvent (load) {
this.stop();
_root.w2.stop();
}
onClipEvent (enterFrame) {
if (((_root.star._currentframe > 1) && (_root.stars < 5)) && (this._currentframe < 16)) {
this.play();
_root.w2.play();
}
}
Frame 20
stop();
energy = 30;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.stars == 4) {
if (_root.lvl < 18) {
_root.lvl = 18;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 20
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 450 MovieClip in Frame 20
onClipEvent (enterFrame) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 20
onClipEvent (enterFrame) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 20
onClipEvent (enterFrame) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 20
onClipEvent (enterFrame) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 20
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 20
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 20
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 21
stop();
energy = 100;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.stars == 6) {
if (_root.lvl < 19) {
_root.lvl = 19;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 21
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 21
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 21
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._x < (this._x + 20)) && (_root.guy._x > (this._x - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._x < (this._x + 20)) && (_root.guy._x > (this._x - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 450 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Frame 22
stop();
energy = 50;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.stars == 6) {
if (_root.lvl < 20) {
_root.lvl = 20;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 296 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 304 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 22
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 22
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 22
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 22
onClipEvent (load) {
val = 100;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 23
stop();
energy = 0;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 30;
_root.guy.spd = -30;
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 30;
_root.guy.spd = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 30;
_root.guy.spd = -30;
}
}
Instance of Symbol 311 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.stars == 18) {
if (_root.lvl < 21) {
_root.lvl = 21;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 23
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
_root.guy.spd = 0;
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
_root.guy.spd = -15;
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 30;
_root.guy.spd = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -30;
_root.guy.spd = 0;
}
}
Instance of Symbol 430 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 0;
asd = 2;
_root.guy.spd = 50;
}
if (asd == 2) {
_root.guy.grav = 0;
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 24
stop();
energy = 10;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.stars == 7) {
if (_root.lvl < 22) {
_root.lvl = 22;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip "starz" in Frame 24
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.bl.play();
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 24
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 24
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 24
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 24
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 24
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -10) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 25
stop();
energy = 10;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.stars == 8) {
if (_root.lvl < 23) {
_root.lvl = 23;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 296 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 371 MovieClip in Frame 25
onClipEvent (load) {
val = 75;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.spd = -15;
_root.guy.grav = 5;
this.play();
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 25
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (this._y > 150) {
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -10) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 26
stop();
energy = 0;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.stars == 19) {
if (_root.lvl < 24) {
_root.lvl = 24;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 26
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 26
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 26
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 26
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip "f1" in Frame 26
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 15;
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 26
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (this._y > 150) {
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -10) {
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 27
stop();
energy = 0;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.stars == 15) {
if (_root.lvl < 25) {
_root.lvl = 25;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 371 MovieClip in Frame 27
onClipEvent (load) {
val = 75;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip "f1" in Frame 27
onClipEvent (load) {
val = 75;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.w1.play();
_root.w2.play();
}
}
Instance of Symbol 371 MovieClip "f2" in Frame 27
onClipEvent (load) {
val = 75;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.w3.play();
_root.w4.play();
}
}
Frame 28
stop();
energy = 10;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.stars == 10) {
if (_root.lvl < 26) {
_root.lvl = 26;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 28
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 28
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 28
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip "f1" in Frame 28
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.w1.play();
_root.w2.play();
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip "f2" in Frame 28
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip "f3" in Frame 28
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.w3.play();
}
}
Instance of Symbol 371 MovieClip "f4" in Frame 28
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 28
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (this._y > 150) {
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -10) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 29
stop();
energy = 50;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.stars == 18) {
if (_root.lvl < 27) {
_root.lvl = 27;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w1._currentframe == 1) {
_root.w1.play();
}
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 40;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w4._currentframe == 1) {
_root.w4.play();
}
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 20;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 393 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w2._currentframe == 1) {
_root.w2.play();
}
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w3._currentframe == 1) {
_root.w3.play();
}
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 29
onClipEvent (load) {
val = 30;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 29
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (this._y > 150) {
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -10) {
this.gotoAndStop(2);
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 30
stop();
energy = 0;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 313 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy._x < -60) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._x > 700) {
_root.guy.gotoAndStop(2);
}
if (_root.guy._y > 550) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 296 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.energy < 0) {
_root.energy = 0;
this.gotoAndStop(1);
}
this.gotoAndPlay(_root.energy);
}
Instance of Symbol 430 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 7;
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 311 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.stars == 13) {
if (_root.lvl < 28) {
_root.lvl = 28;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 12;
}
}
Instance of Symbol 430 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 0;
_root.guy.spd = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -5;
_root.guy.spd = 0;
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 100;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 450 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy._y > this._y) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy._y > this._y) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy._y > this._y) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 30
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (this._y > 150) {
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 30
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Frame 31
stop();
energy = 0;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 311 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.stars == 22) {
if (_root.lvl < 29) {
_root.lvl = 29;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
if (_root.w5._currentframe == 1) {
_root.w5.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = -20;
}
}
Instance of Symbol 430 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 31
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (this._y > 150) {
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 32
stop();
energy = 10;
_root.stars = 0;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 311 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.stars == 32) {
if (_root.lvl < 30) {
_root.lvl = 30;
}
if (_root.yay._currentframe == 1) {
_root.yay.play();
}
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 32
onClipEvent (load) {
val = 100;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 304 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 32
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 32
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 32
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 32
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 430 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 15;
if (_root.w1._currentframe == 1) {
_root.w1.play();
}
}
}
Instance of Symbol 430 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 15;
if (_root.w3._currentframe == 1) {
_root.w3.play();
}
}
}
Instance of Symbol 430 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 15;
if (_root.w3._currentframe == 1) {
_root.w3.play();
}
}
}
Instance of Symbol 430 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 15;
if (_root.w2._currentframe == 1) {
_root.w2.play();
}
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 32
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.5;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.5;
} else {
if (spd > 0) {
spd = spd - 0.5;
}
if (spd < 0) {
spd = spd + 0.5;
}
}
if (spd > 5) {
spd = 5;
}
if (spd < -5) {
spd = -5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.5;
} else {
if (grav < -10) {
}
this._y = this._y - 1;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 33
stop();
Frame 34
stop();
energy = 10;
savefile.data.lvl = _root.lvl;
savefile.flush();
Instance of Symbol 371 MovieClip in Frame 34
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 34
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 34
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 34
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 371 MovieClip in Frame 34
onClipEvent (load) {
val = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
}
}
Instance of Symbol 450 MovieClip "s1" in Frame 34
onClipEvent (enterFrame) {
if (_root.guy._y > this._y) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip "s2" in Frame 34
onClipEvent (enterFrame) {
if (_root.guy._y > this._y) {
if ((_root.guy._x < (this._x + 40)) && (_root.guy._x > (this._x - 20))) {
this.play();
}
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 430 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 430 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Instance of Symbol 450 MovieClip in Frame 34
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 40)) && (_root.guy._y > (this._y - 20))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 450 MovieClip in Frame 34
onClipEvent (enterFrame) {
if ((_root.guy._y < (this._y + 20)) && (_root.guy._y > (this._y - 40))) {
this.play();
}
if (this.sfs.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 593 MovieClip in Frame 34
onClipEvent (load) {
spd = 4;
dr = 1;
spdz = 0;
kkk = 1;
}
onClipEvent (enterFrame) {
if (((this._currentframe == 2) || (this.fac.eyes.ec1._currentframe < 8)) || (this.fac.eyes.ec2._currentframe < 8)) {
spdz = 0;
}
if (this.hitr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
this.fac.eyes.gotoAndStop(4);
}
if (spdz < spd) {
spdz = spdz + 0.5;
}
if (dr == 1) {
this._x = this._x - spdz;
} else if (dr == 2) {
this._x = this._x + spdz;
}
if (this._x > _root.line2._x) {
dr = 1;
} else if (this._x < _root.line1._x) {
dr = 2;
}
if (dr == 1) {
this._xscale = 39.4;
}
if (dr == 2) {
this._xscale = -39.4;
}
if (_root.guy._currentframe == 1) {
if (_root.s1.sfs.hitTest(this) || (_root.s2.sfs.hitTest(this))) {
if (kkk == 1) {
if (this.fac.eyes._currentframe < 3) {
kkk = 2;
this.fac.eyes.gotoAndStop(this.fac.eyes._currentframe + 1);
this.fac.head.gotoAndStop(this.fac.head._currentframe + 1);
} else {
this.gotoAndStop(2);
spdz = 0;
}
}
}
if (kkk == 2) {
spd = 0;
if (this.fac.eyes.ec1._currentframe == 8) {
kkk = 1;
spd = 7;
} else if (this.fac.eyes.ec2._currentframe == 8) {
kkk = 1;
spd = 10;
}
}
}
}
Instance of Symbol 361 MovieClip "guy" in Frame 34
onClipEvent (load) {
spd = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._rotation = spd * 2;
} else if (this._currentframe == 2) {
this._rotation = 0;
}
if (Key.isDown(37) || (Key.isDown(65))) {
spd = spd - 0.75;
} else if (Key.isDown(39) || (Key.isDown(68))) {
spd = spd + 0.75;
} else {
if (spd > 0) {
spd = spd - 0.75;
}
if (spd < 0) {
spd = spd + 0.75;
}
}
if (spd > 7.5) {
spd = 7.5;
}
if (spd < -7.5) {
spd = -7.5;
}
if ((this._currentframe == 1) && (_root.yay._currentframe == 1)) {
this._x = this._x + spd;
this._y = this._y - grav;
}
if (_root.ground.hitTest(_x, _y, true) == false) {
grav = grav - 0.75;
} else {
if (grav < -15) {
this.gotoAndStop(2);
}
this._y = this._y - 1.25;
grav = 0;
}
if (Key.isDown(13)) {
this.gotoAndStop(2);
}
}
Frame 35
stop();
NewgroundsAPI.logCustomEvent("complete");
_root.lvl = 31;
savefile.data.lvl = _root.lvl;
savefile.flush();
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 40
stop();
Symbol 40 Button
on (press) {
tellTarget (_root) {
nextFrame();
};
}
Symbol 41 Button
on (press) {
gotoAndStop ("end");
_root.play();
}
Instance of Symbol 16 MovieClip in Symbol 42 MovieClip Frame 1
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("lastframe");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 42 MovieClip Frame 101
play();
Symbol 42 MovieClip Frame 165
stop();
Symbol 48 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 54 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 56 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 650 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds() {
SendLink(NEWGROUNDS);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id) {
SendStat(id, true);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local8 = new XML();
_local8.ignoreWhite = true;
_local8.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local8.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 89 MovieClip Frame 454
_parent.play();
Symbol 95 Button
on (release) {
play();
}
Symbol 98 Button
on (release) {
gotoAndPlay (98);
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 118
_root.play();
Symbol 106 Button
on (release) {
getURL ("http://www.dragongamez.com", "_blank");
}
Symbol 116 Button
on (release) {
if (_root.lvl > (_parent.lvl - 1)) {
_root.lvld = _parent.lvl;
_parent._parent.play();
}
}
Instance of Symbol 117 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
lvl = _parent.lvl;
_parent.lfl.gotoAndStop(lvl);
}
onClipEvent (enterFrame) {
if (_root.lvl > (this.lvl - 1)) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Symbol 157 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 1;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 2;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 3;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 4;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 5;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 6;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 7;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 8;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 9;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 10;
dif = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 11;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 12;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 13;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 14;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 15;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 16;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 17;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 18;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 19;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 20;
dif = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 21;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 22;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 23;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 24;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 25;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 26;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 27;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 28;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 29;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
lvl = 30;
dif = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 1;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 2;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 3;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 4;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 5;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 6;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 7;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 8;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 9;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 10;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 11;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 12;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 13;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 14;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 15;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 16;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 17;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 18;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 19;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 20;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 21;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 22;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 23;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 24;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 25;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 26;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 27;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 28;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 29;
}
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
lvl = 30;
}
Symbol 157 MovieClip Frame 50
_root.gotoAndPlay(_root.lvld + 3);
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 46
stop();
Symbol 210 MovieClip Frame 47
gotoAndPlay (46);
Symbol 246 MovieClip Frame 32
stop();
Symbol 260 Button
on (release) {
NewgroundsAPI.loadMySite();
}
Instance of Symbol 210 MovieClip in Symbol 261 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouse.hitTest(_root.moar.mo)) {
this.play();
} else {
this.prevFrame();
}
}
Symbol 265 Button
on (release) {
getURL ("http://www.admanonline.co.uk", "_blank");
}
Symbol 267 MovieClip Frame 2
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
stop();
Instance of Symbol 271 MovieClip in Symbol 272 MovieClip Frame 1
on (release) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 290 MovieClip in Symbol 291 MovieClip Frame 2
onClipEvent (load) {
rot = _root.guy._rotation;
}
onClipEvent (enterFrame) {
_root.guy._rotation = rot;
}
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.gotoAndPlay(3);
}
if (Key.isDown(32)) {
_root.lvld = _root._currentframe + 1;
_root.dmc = 2;
_root.gotoAndPlay(3);
_parent.gotoAndPlay(1);
}
if (Key.isDown(16)) {
_root.lvld = _root._currentframe;
_root.dmc = 2;
_root.gotoAndPlay(3);
_parent.gotoAndPlay(1);
}
}
Symbol 291 MovieClip Frame 10
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 24
stop();
Symbol 304 MovieClip Frame 1
stop();
Instance of Symbol 298 MovieClip in Symbol 304 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy._currentframe == 2) {
_parent.gotoAndStop(1);
}
}
Symbol 304 MovieClip Frame 2
starr = new Sound();
starr.attachSound("starr");
starr.start();
Instance of Symbol 303 MovieClip in Symbol 304 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.guy._currentframe == 2) {
_parent.gotoAndStop(1);
}
}
Symbol 304 MovieClip Frame 3
if ((_root.guy._currentframe == 2) == false) {
_root.stars = _root.stars + 1;
}
Symbol 304 MovieClip Frame 25
stop();
Symbol 322 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 322 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.yay._currentframe > 1) {
_parent.gotoAndPlay(1);
}
if (Key.isDown(13)) {
gotoAndPlay (1);
_root.gotoAndPlay(3);
}
if (Key.isDown(32)) {
_root.lvld = _root._currentframe;
_root.dmc = 2;
_root.gotoAndPlay(3);
}
if (Key.isDown(16)) {
if ((kzx == 2) == false) {
getURL ("http://www.dragongamez.com", "_blank");
kzx = 2;
}
}
}
Symbol 322 MovieClip Frame 10
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
stop();
Symbol 338 MovieClip Frame 3
stop();
Symbol 338 MovieClip Frame 4
stop();
Symbol 338 MovieClip Frame 5
stop();
Symbol 338 MovieClip Frame 6
stop();
Symbol 340 Button
on (release) {
_root.hc = _root.hc + 1;
if (_root.hc > 6) {
_root.hc = 1;
}
}
Symbol 343 MovieClip Frame 1
stop();
Instance of Symbol 338 MovieClip "ez" in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.hc);
}
Symbol 343 MovieClip Frame 2
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 2
stop();
Instance of Symbol 347 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.fac);
}
Symbol 357 MovieClip Frame 8
stop();
Symbol 360 MovieClip Frame 1
explode = new Sound();
explode.attachSound("explode");
explode.start();
Symbol 360 MovieClip Frame 59
stop();
_root.dm.play();
Symbol 361 MovieClip Frame 1
stop();
Instance of Symbol 333 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.energy > 0)) {
_parent.grav = _parent.grav + 1;
this._alpha = this._alpha + 20;
_root.energy = _root.energy - 1;
} else {
this._alpha = this._alpha - 10;
}
if (this._alpha > 100) {
this._alpha = 100;
}
if (this._alpha < 0) {
this._alpha = 0;
}
}
Instance of Symbol 343 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.fac);
}
Symbol 361 MovieClip Frame 2
stop();
Symbol 366 Button
on (release) {
getURL ("http://www.dragongamez.com", "_blank");
}
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 2
_root.energy = _root.energy + val;
Symbol 371 MovieClip Frame 10
stop();
Symbol 392 MovieClip Frame 120
stop();
Instance of Symbol 388 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 400 MovieClip Frame 120
stop();
Symbol 408 MovieClip Frame 448
stop();
Instance of Symbol 388 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 388 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 424 MovieClip Frame 96
stop();
Symbol 430 MovieClip Frame 1
stop();
Instance of Symbol 430 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 25;
}
}
Instance of Symbol 391 MovieClip in Symbol 433 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
Symbol 435 MovieClip Frame 16
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 9
stop();
Instance of Symbol 430 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 15;
}
}
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 66
gotoAndStop (1);
Instance of Symbol 380 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 380 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 430 MovieClip "tr" in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 25;
}
}
Instance of Symbol 430 MovieClip in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 20;
}
}
Symbol 467 MovieClip Frame 1
gotoAndPlay(random(4) + 1);
Symbol 467 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 3
stop();
Symbol 467 MovieClip Frame 4
stop();
Instance of Symbol 470 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 472 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 200
stop();
Instance of Symbol 430 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 10;
}
}
Instance of Symbol 430 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 10;
}
}
Instance of Symbol 430 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 10;
}
}
Instance of Symbol 393 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 393 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 482 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 430 MovieClip in Symbol 491 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 10;
}
}
Instance of Symbol 495 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 498 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 16
stop();
Instance of Symbol 430 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
this.play();
_root.guy.grav = 10;
}
}
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 112
stop();
Symbol 510 MovieClip Frame 1
stop();
Instance of Symbol 393 MovieClip in Symbol 510 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 510 MovieClip Frame 11
stop();
Instance of Symbol 393 MovieClip in Symbol 510 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 511 MovieClip Frame 1
stop();
Instance of Symbol 393 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 511 MovieClip Frame 30
stop();
Instance of Symbol 393 MovieClip in Symbol 511 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 512 MovieClip Frame 1
stop();
Instance of Symbol 393 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 512 MovieClip Frame 30
stop();
Instance of Symbol 393 MovieClip in Symbol 512 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 2, true)) {
if (_root.guy._x < this._x) {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x - 1;
} else {
_root.guy.spd = 0;
_root.guy._x = _root.guy._x + 1;
}
}
}
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 30
stop();
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (this._currentframe == 1) {
this.play();
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (this._currentframe == 1) {
this.play();
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (this._currentframe == 1) {
this.play();
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (this._currentframe == 1) {
this.play();
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (this._currentframe == 1) {
this.play();
}
}
}
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 30
stop();
Instance of Symbol 519 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy._x > 50) {
if (this._currentframe == 1) {
this.play();
}
}
}
Instance of Symbol 388 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 388 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 388 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Instance of Symbol 388 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.htr.hitTest(_root.guy)) {
_root.guy.gotoAndStop(2);
}
}
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 586
stop();
Symbol 558 MovieClip Frame 100
_root.play();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
stop();
Symbol 574 MovieClip Frame 3
stop();
Symbol 577 MovieClip Frame 1
explode2 = new Sound();
explode2.attachSound("explode2");
explode2.start();
Symbol 577 MovieClip Frame 8
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 2
stop();
Symbol 580 MovieClip Frame 3
stop();
Symbol 580 MovieClip Frame 4
stop();
Symbol 591 MovieClip Frame 8
stop();
Symbol 592 MovieClip Frame 1
explode = new Sound();
explode.attachSound("explode");
explode.start();
Symbol 592 MovieClip Frame 31
stop();
_root.yay.play();
Symbol 593 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 2
stop();
Symbol 601 Button
on (release) {
if (_root.endm._alpha < 100) {
_root.gotoAndPlay(3);
}
}
Symbol 607 Button
on (release) {
if (_root.endm._alpha < 100) {
getURL ("http://www.dragongamez.com", "_blank");
}
}
Symbol 613 Button
on (release) {
if (_root.endm._alpha < 100) {
NewgroundsAPI.loadMySite();
}
}
Symbol 648 Button
on (release) {
_root.lsd = 2;
}
Instance of Symbol 643 MovieClip in Symbol 649 MovieClip Frame 365
onClipEvent (enterFrame) {
if (_root.lsd == 2) {
_root.endm._alpha = _root.endm._alpha - 1;
}
}
Instance of Symbol 643 MovieClip in Symbol 649 MovieClip Frame 1001
onClipEvent (enterFrame) {
if (_root.lsd == 2) {
_root.endm._alpha = _root.endm._alpha - 0.5;
}
}
Symbol 649 MovieClip Frame 1050
stop();
_root.lsd = 2;
_root.fac = 2;