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__("69bd36fb", this, 10301, true);
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if ((((((domain != "armorgames.com") && (domain != "addictinggames.com")) && (domain != "shockwave.com")) && (domain != "flashgamelicense.com")) && (domain != "newgrounds.com/portal/")) && (domain != "mochiads.com")) {
}
};
myListener = new Object();
myListener.onKeyDown = function () {
if (Key.getCode() == 81) {
if ((abc++) >= 2) {
abc = 0;
}
_quality = ["HIGH", "MEDIUM", "LOW"][abc];
}
};
Key.addListener(myListener);
levelunlocked = new Array(2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.specialgo = false;
_root.score = 0;
_root.clicked_sponsors_logo = false;
_root.guypicked = 1;
var savefile = SharedObject.getLocal("sd");
if (savefile.data.notfirsttime_played) {
_root.levelunlocked[0] = savefile.data.level0;
_root.levelunlocked[1] = savefile.data.level1;
_root.levelunlocked[2] = savefile.data.level2;
_root.levelunlocked[3] = savefile.data.level3;
_root.levelunlocked[4] = savefile.data.level4;
_root.levelunlocked[5] = savefile.data.level5;
_root.levelunlocked[6] = savefile.data.level6;
_root.levelunlocked[7] = savefile.data.level7;
_root.levelunlocked[8] = savefile.data.level8;
_root.levelunlocked[9] = savefile.data.level9;
_root.levelunlocked[10] = savefile.data.level10;
_root.levelunlocked[11] = savefile.data.level11;
_root.levelunlocked[12] = savefile.data.level12;
_root.levelunlocked[13] = savefile.data.level13;
_root.levelunlocked[14] = savefile.data.level14;
}
Frame 2
gotoAndStop (21);
Instance of Symbol 30 MovieClip "inside" in Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.guypicked);
}
Frame 3
stop();
Instance of Symbol 46 MovieClip in Frame 3
onClipEvent (load) {
if (_root.savefile.data.notfirsttime_played) {
this.gotoAndStop(2);
}
}
Frame 4
_root.score = 0;
savefile.data.level0 = _root.levelunlocked[0];
savefile.data.level1 = _root.levelunlocked[1];
savefile.data.level2 = _root.levelunlocked[2];
savefile.data.level3 = _root.levelunlocked[3];
savefile.data.level4 = _root.levelunlocked[4];
savefile.data.level5 = _root.levelunlocked[5];
savefile.data.level6 = _root.levelunlocked[6];
savefile.data.level7 = _root.levelunlocked[7];
savefile.data.level8 = _root.levelunlocked[8];
savefile.data.level9 = _root.levelunlocked[9];
savefile.data.level10 = _root.levelunlocked[10];
savefile.data.level11 = _root.levelunlocked[11];
savefile.data.level12 = _root.levelunlocked[12];
savefile.data.level13 = _root.levelunlocked[13];
savefile.data.level14 = _root.levelunlocked[14];
savefile.data.notfirsttime_played = true;
savefile.flush();
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 0;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 1;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 2;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 3;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 4;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 5;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 6;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 7;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 8;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 9;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 10;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 11;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 12;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 13;
if (_root.levelunlocked[level] == 2) {
this.gotoAndStop(2);
} else if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 4
onClipEvent (load) {
level = 14;
y = 0;
x = 0;
while (x <= 14) {
if (_root.levelunlocked[x] == 3) {
y++;
}
x++;
}
if (y >= 14) {
this.gotoAndStop(2);
}
if (_root.levelunlocked[level] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 123 MovieClip "one" in Frame 4
onClipEvent (load) {
if (_root.guypicked == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 130 MovieClip "three" in Frame 4
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.savefile.data.level14 == 3) {
this.gotoAndStop(1);
if (_root.guypicked == 2) {
this.gotoAndStop(2);
}
}
}
Instance of Symbol 153 MovieClip "bkg1" in Frame 5
/* no clip actions */
Instance of Symbol 183 MovieClip "hero" in Frame 5
onClipEvent (load) {
background_frame = 1;
upsidedown_gravity = false;
if (((_root.lastgame_frame == 8) || (_root.lastgame_frame == 15)) || (_root.lastgame_frame == 17)) {
upsidedown_gravity = true;
background_frame = 9;
_root.bkg1.gotoAndStop(background_frame);
_root.bkg2.gotoAndStop(background_frame + 1);
}
_root.arrow_mc.gotoAndStop(1);
spaceok = false;
y_boundry = 250;
finished_level = false;
b = background_frame + 1;
as = true;
hitting = false;
firstx = this._x;
speed = 20;
if (upsidedown_gravity) {
gravity = 0;
} else {
gravity = -25;
}
x = this._x;
y = this._y;
dead = false;
c = true;
d = true;
k = true;
as = false;
firststart = true;
bkg_firsty = _root.bkg._y;
deadnow = false;
jetpackgo = false;
specialgo = false;
arrowkeypressed = true;
cango = true;
barrelnum = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
}
onClipEvent (enterFrame) {
if (_root.special0.hitTest(_x, _y, true)) {
if (m != true) {
barrelnum[j] = 1;
this._x = _root.special0._x;
this._y = _root.special0._y;
cango = false;
arrowkeypressed = false;
gravity = 0;
specialgo = true;
m = true;
this._rotation = 0;
jetpackgo = true;
this.gotoAndStop(4);
_root.special0.gotoAndStop(2);
}
}
if ((jetpackgo && (deadnow == false)) && (dead == false)) {
xmovement = 0;
if (upsidedown_gravity) {
if (((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.jet_pack.gotoAndStop(11);
}
} else if (((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) {
this.jet_pack.gotoAndStop(11);
}
if (Key.isDown(37)) {
xmovement = -9;
arrowkeypressed = true;
this.jet_pack.gotoAndStop(4);
this.arrowkeys.gotoAndStop(2);
}
if (Key.isDown(39)) {
xmovement = 9;
arrowkeypressed = true;
this.jet_pack.gotoAndStop(3);
this.arrowkeys.gotoAndStop(2);
}
if (upsidedown_gravity) {
if (Key.isDown(40)) {
if (Key.isDown(39)) {
this.jet_pack.gotoAndStop(8);
} else if (Key.isDown(37)) {
this.jet_pack.gotoAndStop(9);
} else {
this.jet_pack.gotoAndStop(10);
}
gravity = 5;
arrowkeypressed = true;
this.arrowkeys.gotoAndStop(2);
}
} else if (Key.isDown(38)) {
if (Key.isDown(39)) {
this.jet_pack.gotoAndStop(6);
} else if (Key.isDown(37)) {
this.jet_pack.gotoAndStop(7);
} else {
this.jet_pack.gotoAndStop(5);
}
gravity = -5;
arrowkeypressed = true;
this.arrowkeys.gotoAndStop(2);
}
}
if (this._y <= -30) {
if (upsidedown_gravity) {
_root.beat_level.gotoAndStop(10);
deadnow = true;
}
}
if (this._y <= -30) {
if (upsidedown_gravity == false) {
_root.arrow_mc.gotoAndStop(2);
_root.arrow_mc._x = this._x;
}
} else {
_root.arrow_mc.gotoAndStop(1);
}
if (this._y >= 550) {
if (upsidedown_gravity) {
_root.arrow_mc2.gotoAndStop(2);
_root.arrow_mc2._x = this._x;
}
} else {
_root.arrow_mc2.gotoAndStop(1);
}
if (this._x <= -10) {
this._y = 9999;
deadnow = true;
_root.beat_level.gotoAndStop(10);
}
if (upsidedown_gravity == false) {
if (this._y >= 550) {
this._y = 9999;
_root.beat_level.gotoAndStop(10);
deadnow = true;
}
}
if (deadnow) {
this.gotoAndStop(3);
}
if (finished_level == false) {
if (dead) {
deadnow = true;
if (arrowkeypressed) {
if (upsidedown_gravity) {
this._y = this._y + (gravity--);
} else {
this._y = this._y + (gravity++);
}
}
} else {
if (_root.finish.hitTest(_x, _y, true)) {
_root.go = false;
_root.finish.gotoAndStop(2);
finished_level = true;
_root.beat_level.play();
this._x = _root.finish._x;
this._y = _root.finish._y;
}
if (firststart) {
if (Key.isDown(32)) {
if (spaceok) {
go = true;
firststart = false;
this.gotoAndStop(2);
}
}
}
if (go) {
if (arrowkeypressed) {
if (upsidedown_gravity) {
this._y = this._y + (gravity--);
} else {
this._y = this._y + (gravity++);
}
}
if (specialgo == false) {
if (cango) {
xmovement = (-1.5 * speed) * Math.sin(this._rotation * (Math.PI/180));
}
}
if ((xmovement > 0) && (this._x >= firstx)) {
if (deadnow == false) {
_root.bkg1._x = _root.bkg1._x - xmovement;
_root.bkg2._x = _root.bkg2._x - xmovement;
_root.finish._x = _root.finish._x - xmovement;
i = 0;
while (i <= 30) {
if ((xmovement > 0) && (this._x >= firstx)) {
_root["cloud" + i]._x = _root["cloud" + i]._x - xmovement;
_root["special" + i]._x = _root["special" + i]._x - xmovement;
_root["coin" + i]._x = _root["coin" + i]._x - xmovement;
_root["barrel" + i]._x = _root["barrel" + i]._x - xmovement;
_root["baddie" + i]._x = _root["baddie" + i]._x - xmovement;
}
i++;
}
}
}
if ((this._x < firstx) || (xmovement < 0)) {
this._x = this._x + xmovement;
}
if (specialgo == false) {
if (cango) {
this._y = this._y + (speed * Math.cos(this._rotation * (Math.PI/180)));
}
}
if (upsidedown_gravity) {
if (gravity <= -10) {
barrelnum[j] = 1;
}
} else if (gravity >= 10) {
barrelnum[j] = 1;
}
hitting = false;
i = 0;
while (i <= 30) {
if (_root["cloud" + i].hitTest(_x, _y, true)) {
_root["cloud" + i].gotoAndStop(2);
}
if (_root["baddie" + i].hitter.hitTest(_x, _y, true)) {
_root.die.gotoAndStop(2);
if (jetpackgo) {
this.gotoAndStop(2);
jetpackgo = false;
specialgo = false;
}
cango = true;
_root["baddie" + i].dead = true;
dead = true;
go = false;
gravity = -15;
if (upsidedown_gravity) {
gravity = 15;
}
this.gotoAndStop(3);
}
if (_root["barrel" + i].hitTest(_x, _y, true)) {
if (jetpackgo) {
this.gotoAndStop(2);
jetpackgo = false;
specialgo = false;
}
cango = true;
k = i;
hitting = true;
if (barrelnum[i] == 1) {
_root["barrel" + i].gotoAndStop(2);
gravity = 0;
speed = 0;
this._y = _root["barrel" + i]._y;
this._x = _root["barrel" + i]._x;
this._rotation = _root["barrel" + i]._rotation;
if (_root["barrel" + i].gonow) {
shootnow = true;
}
if (Key.isDown(32)) {
if (as) {
shootnow = true;
}
} else {
as = true;
}
if (shootnow) {
_root.explode.play();
as = false;
shootnow = false;
breakthis = false;
_root["barrel" + i].gotoAndStop(1);
speed = 20;
barrelnum[j] = 1;
barrelnum[i] = 2;
j = i;
if (_root["barrel" + i].gonow) {
_root["barrel" + i].gotoAndPlay(4);
}
}
}
}
i++;
}
if (specialgo == false) {
if (hitting == false) {
if (this._x < firstx) {
this._x++;
}
if (this._x > (firstx + 6)) {
this._x = this._x - 3;
}
}
}
if ((_root.bkg1._x + (_root.bkg1._width / 2)) < 0) {
if (doonce != true) {
doonce = true;
background_frame++;
}
background_frame++;
a = background_frame;
}
if ((_root.bkg2._x + (_root.bkg2._width / 2)) < 0) {
background_frame++;
b = background_frame;
}
_root.bkg2.gotoAndStop(b);
_root.bkg1.gotoAndStop(a);
if ((_root.bkg1._x + (_root.bkg1._width / 2)) < 0) {
_root.bkg1._x = _root.bkg2._x + _root.bkg2._width;
_root.bkg1._x = _root.bkg1._x - 1;
}
if ((_root.bkg2._x + (_root.bkg2._width / 2)) < 0) {
_root.bkg2._x = _root.bkg1._x + _root.bkg1._width;
_root.bkg1._x = _root.bkg1._x + 1;
}
}
}
}
if (!Key.isDown(32)) {
spaceok = true;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 5
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 5
onClipEvent (load) {
x = 10;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + ((x = x + 0.5));
} else {
this._y = this._y + ((x = x - 0.5));
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 5
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 36 MovieClip "coin0" in Frame 5
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 5
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin2" in Frame 5
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 225 MovieClip "beat_level" in Frame 5
onClipEvent (load) {
this.gotoAndPlay(13);
this.levelnumber = ["Level " + (_root.lastgame_frame - 4)];
if (_root.lastgame_frame == 5) {
this.levelname = "EASIER THAN PIE";
} else if (_root.lastgame_frame == 6) {
this.levelname = "PIE";
} else if (_root.lastgame_frame == 7) {
this.levelname = "ZOMG BADDIES!";
} else if (_root.lastgame_frame == 8) {
this.levelname = "UPSIDE DOWN?";
} else if (_root.lastgame_frame == 9) {
this.levelname = "JET PACKS ARE FUN";
} else if (_root.lastgame_frame == 10) {
this.levelname = "PERFECT SHOOTING";
} else if (_root.lastgame_frame == 11) {
this.levelname = "CLOUDS ARE DECEIVING";
} else if (_root.lastgame_frame == 12) {
this.levelname = "CHOOSE ONE";
} else if (_root.lastgame_frame == 13) {
this.levelname = "FOLLOW YOUR NOSE";
} else if (_root.lastgame_frame == 14) {
this.levelname = "BOMBS CAN BE FUN";
} else if (_root.lastgame_frame == 15) {
this.levelname = "I WISH THIS WAS PIE";
} else if (_root.lastgame_frame == 16) {
this.levelname = "HARD";
} else if (_root.lastgame_frame == 17) {
this.levelname = "BADDIE CITY";
} else if (_root.lastgame_frame == 18) {
this.levelname = "WHERE DO I GO";
} else if (_root.lastgame_frame == 19) {
this.levelname = "IMPOSSIBLE LEVEL";
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 6
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 6
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 6
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin0" in Frame 7
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie0" in Frame 7
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 7
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel6" in Frame 7
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 900) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel9" in Frame 7
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel10" in Frame 7
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 900) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin3" in Frame 7
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin4" in Frame 7
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie1" in Frame 7
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin5" in Frame 7
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 8
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 8
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 8
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 36 MovieClip "coin0" in Frame 8
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel3" in Frame 8
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 8
onClipEvent (enterFrame) {
this._rotation = this._rotation - 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie1" in Frame 8
onClipEvent (load) {
x = 17;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie0" in Frame 8
onClipEvent (load) {
x = 17;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 8
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 9
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 173 MovieClip "special0" in Frame 9
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie1" in Frame 9
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin0" in Frame 9
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 9
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin2" in Frame 9
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin3" in Frame 9
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 9
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 9
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 9
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin6" in Frame 9
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie1" in Frame 10
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin3" in Frame 10
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 10
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel3" in Frame 10
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie3" in Frame 10
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie2" in Frame 10
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie4" in Frame 10
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie6" in Frame 10
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin4" in Frame 10
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin7" in Frame 10
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin6" in Frame 10
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 11
onClipEvent (enterFrame) {
this._rotation = this._rotation - 8;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud1" in Frame 11
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 11
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud0" in Frame 11
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel3" in Frame 11
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud2" in Frame 11
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 11
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel5" in Frame 11
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud4" in Frame 11
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud5" in Frame 11
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel6" in Frame 11
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud3" in Frame 11
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 173 MovieClip "special0" in Frame 12
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud0" in Frame 12
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 12
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie1" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie0" in Frame 12
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud2" in Frame 12
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie2" in Frame 12
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel5" in Frame 12
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 12
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 234 MovieClip "baddie3" in Frame 12
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 12
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin2" in Frame 12
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin0" in Frame 12
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin3" in Frame 12
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 12
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 13
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 36 MovieClip "coin0" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin2" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin3" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 13
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin6" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin8" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin7" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie1" in Frame 13
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie3" in Frame 13
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie2" in Frame 13
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie5" in Frame 13
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie6" in Frame 13
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin9" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin10" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin13" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin14" in Frame 13
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie9" in Frame 13
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie10" in Frame 13
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie8" in Frame 13
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie5" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin0" in Frame 14
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 14
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin3" in Frame 14
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie0" in Frame 14
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie1" in Frame 14
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie3" in Frame 14
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie4" in Frame 14
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 36 MovieClip "coin4" in Frame 14
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel3" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie6" in Frame 14
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie7" in Frame 14
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel5" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin7" in Frame 14
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin6" in Frame 14
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel6" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel8" in Frame 14
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitting) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 15
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 173 MovieClip "special0" in Frame 15
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 15
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie10" in Frame 15
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie9" in Frame 15
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 15
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud0" in Frame 15
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud2" in Frame 15
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud1" in Frame 15
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud4" in Frame 15
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud3" in Frame 15
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 15
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel6" in Frame 15
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie8" in Frame 15
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 15
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 36 MovieClip "coin3" in Frame 15
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel15" in Frame 15
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel17" in Frame 15
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie5" in Frame 15
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie3" in Frame 15
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie4" in Frame 15
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie6" in Frame 15
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie7" in Frame 15
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin4" in Frame 15
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin2" in Frame 15
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie15" in Frame 15
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie18" in Frame 15
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie0" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 173 MovieClip "special0" in Frame 16
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie1" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie3" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie5" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie6" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 16
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 16
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud3" in Frame 16
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud2" in Frame 16
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud0" in Frame 16
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 16
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin9" in Frame 16
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin14" in Frame 16
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin1" in Frame 16
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie12" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie9" in Frame 16
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 17
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie0" in Frame 17
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin8" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin9" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin10" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin11" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin12" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin13" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin14" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 17
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie3" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie5" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie7" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 17
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin21" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin20" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin22" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin23" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin24" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 36 MovieClip "coin25" in Frame 17
onClipEvent (load) {
_root.score++;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (done != true) {
_root.score--;
done = true;
this.gotoAndStop(3);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
if (done != true) {
this.gotoAndStop(1);
}
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie9" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie11" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie16" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie18" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 234 MovieClip "baddie20" in Frame 17
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie21" in Frame 17
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel19" in Frame 17
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel10" in Frame 17
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie27" in Frame 17
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie28" in Frame 17
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie26" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie29" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 18
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie0" in Frame 18
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel3" in Frame 18
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 18
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel2" in Frame 18
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 18
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie7" in Frame 18
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel5" in Frame 18
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie4" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 189 MovieClip "barrel6" in Frame 18
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel7" in Frame 18
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie7" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie8" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 173 MovieClip "special0" in Frame 18
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie10" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie14" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie12" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie11" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 189 MovieClip "barrel8" in Frame 18
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie14" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie17" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie16" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie19" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie22" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie20" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie23" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie25" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie26" in Frame 18
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 18
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 189 MovieClip "barrel9" in Frame 18
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel14" in Frame 18
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel1" in Frame 19
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel0" in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel4" in Frame 19
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel5" in Frame 19
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel7" in Frame 19
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel8" in Frame 19
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_x, _y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 173 MovieClip "special0" in Frame 19
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie0" in Frame 19
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else if (_root.hero.hitTest(_root.barrel8._x, _root.barrel8._y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie1" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie2" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie3" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie5" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 234 MovieClip "baddie9" in Frame 19
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie8" in Frame 19
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel10" in Frame 19
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel11" in Frame 19
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud0" in Frame 19
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud2" in Frame 19
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud1" in Frame 19
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 237 MovieClip "cloud3" in Frame 19
onClipEvent (enterFrame) {
if ((this._x >= 1000) || (this._x <= -300)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel12" in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation - 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 193 MovieClip "finish" in Frame 19
onClipEvent (enterFrame) {
this._rotation--;
}
Instance of Symbol 189 MovieClip "barrel13" in Frame 19
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 234 MovieClip "baddie18" in Frame 19
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel19" in Frame 19
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 189 MovieClip "barrel21" in Frame 19
onClipEvent (load) {
gonow = true;
this.barrel.gotoAndStop(2);
this._alpha = 100;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(12);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
}
Instance of Symbol 239 MovieClip "baddie23" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie21" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie24" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 239 MovieClip "baddie27" in Frame 19
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 800) || (this._x <= -200)) {
this.gotoAndStop(2);
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Frame 20
_root.score = 0;
gotoAndStop(_root.lastgame_frame);
savefile.data.level0 = _root.levelunlocked[0];
savefile.data.level1 = _root.levelunlocked[1];
savefile.data.level2 = _root.levelunlocked[2];
savefile.data.level3 = _root.levelunlocked[3];
savefile.data.level4 = _root.levelunlocked[4];
savefile.data.level5 = _root.levelunlocked[5];
savefile.data.level6 = _root.levelunlocked[6];
savefile.data.level7 = _root.levelunlocked[7];
savefile.data.level8 = _root.levelunlocked[8];
savefile.data.level9 = _root.levelunlocked[9];
savefile.data.level10 = _root.levelunlocked[10];
savefile.data.level11 = _root.levelunlocked[11];
savefile.data.level12 = _root.levelunlocked[12];
savefile.data.level13 = _root.levelunlocked[13];
savefile.data.level14 = _root.levelunlocked[14];
Frame 21
var MochiAd = {getVersion:function () {
return("2.3");
}, showPreGameAd:function (options) {
var DEFAULTS = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var ad_msec = 11000;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = MochiAd._getRes(options);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = w * -0.5;
chk._y = h * -0.5;
var bar = chk.createEmptyMovieClip("_mochiad_bar", 4);
bar._x = 10;
bar._y = h - 20;
var bar_color = options.color;
delete options.color;
var bar_background = options.background;
delete options.background;
var bar_outline = options.outline;
delete options.outline;
var backing = bar.createEmptyMovieClip("_outline", 1);
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo(w - 20, 0);
backing.lineTo(w - 20, 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
var inside = bar.createEmptyMovieClip("_inside", 2);
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo(w - 20, 0);
inside.lineTo(w - 20, 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside._xscale = 0;
var outline = bar.createEmptyMovieClip("_outline", 3);
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo(w - 20, 0);
outline.lineTo(w - 20, 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0) {
this._parent._alpha = p;
} else {
var _clip = this._parent._parent;
MochiAd.unload(_clip);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _clip = this._parent._parent;
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = false;
var clip_total = _clip.getBytesTotal();
var clip_loaded = _clip.getBytesLoaded();
var clip_pcnt = ((100 * clip_loaded) / clip_total);
var ad_pcnt = ((100 * elapsed) / chk.ad_msec);
var _inside = this._mochiad_bar._inside;
var pcnt = Math.min(100, Math.min(clip_pcnt || 0, ad_pcnt));
pcnt = Math.max(this.last_pcnt, pcnt);
this.last_pcnt = pcnt;
_inside._xscale = pcnt;
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if ((total > 0) || (typeof(total) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
options.ad_failed();
finished = true;
}
}
if (elapsed > chk.ad_msec) {
finished = true;
}
if (((clip_total > 0) && (clip_loaded >= clip_total)) && (finished)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}, showInterLevelAd:function (options) {
var DEFAULTS = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = MochiAd._parseOptions(options, DEFAULTS);
var clip = options.clip;
var ad_msec = 11000;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = MochiAd._getRes(options);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0) {
this._parent._alpha = p;
} else {
var _clip = this._parent._parent;
MochiAd.unload(_clip);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = false;
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if ((total > 0) || (typeof(total) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
options.ad_failed();
finished = true;
}
}
if (elapsed > chk.ad_msec) {
finished = true;
}
if (finished) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}, showTimedAd:function (options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
MochiAd.showInterLevelAd(options);
}, showPreloaderAd:function (options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
MochiAd.showPreGameAd(options);
}, _allowDomains:function (server) {
var hostname = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(hostname);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(hostname);
}
}
return(hostname);
}, _loadCommunicator:function (options) {
var DEFAULTS = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var clip = options.clip;
var clipname = ("_mochiad_com_" + options.id);
if (!MochiAd._isNetworkAvailable()) {
return(null);
}
if (clip[clipname]) {
return(clip[clipname].lc);
}
var server = (options.com_server + options.id);
MochiAd._allowDomains(server);
delete options.id;
delete options.com_server;
var depth = options.depth;
delete options.depth;
var mc = clip.createEmptyMovieClip(clipname, depth);
var lv = mc.createEmptyMovieClip("_mochiad_com", 1);
for (var k in options) {
lv[k] = options[k];
}
var lc = new LocalConnection();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
lc.mc = mc;
lc.name = name;
lc.allowDomain = function (d) {
return(true);
};
lc.allowInsecureDomain = lc.allowDomain;
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lc._id = 0;
lc._queue = [];
lc.rpcResult = function (cb_arg) {
var cb = parseInt(cb_arg);
var cblst = this._callbacks[cb];
if (!cblst) {
return(undefined);
}
delete this._callbacks[cb];
var args = [];
var i = 2;
while (i < cblst.length) {
args.push(cblst[i]);
i++;
}
var i = 1;
while (i < arguments.length) {
args.push(arguments[i]);
i++;
}
var method = cblst[1];
var obj = cblst[0];
if (obj && (typeof(method) == "string")) {
method = obj[method];
}
if (method) {
method.apply(obj, args);
}
};
lc._didConnect = function (endpoint) {
this._endpoint = endpoint;
var q = this._queue;
delete this._queue;
var ds = this.doSend;
var i = 0;
while (i < q.length) {
var item = q[i];
ds.apply(this, item);
i++;
}
};
lc.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var qargs = [];
var i = 0;
while (i < arguments.length) {
qargs.push(arguments[i]);
i++;
}
this._queue.push(qargs);
return(undefined);
}
this._id = this._id + 1;
var id = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[id] = [cbobj, cbfn];
var slc = new LocalConnection();
var ss = slc.send(this._endpoint, "rpc", id, args);
};
lc._callbacks = {};
lc._callbacks[0] = [lc, "_didConnect"];
lv.st = getTimer();
lv.loadMovie(server + ".swf", "POST");
return(lc);
}, fetchHighScores:function (options, callbackObj, callbackMethod) {
var lc = MochiAd._loadCommunicator({id:options.id});
if (!lc) {
return(false);
}
var fncall = ["fetchHighScores", options];
lc.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}, sendHighScore:function (options, callbackObj, callbackMethod) {
var lc = MochiAd._loadCommunicator({id:options.id});
if (!lc) {
return(false);
}
var fncall = ["sendHighScore", options];
lc.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}, load:function (options) {
var DEFAULTS = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var clip = options.clip;
if (!MochiAd._isNetworkAvailable()) {
return(null);
}
if (clip._mochiad_loaded) {
return(null);
}
var depth = options.depth;
delete options.depth;
var mc = clip.createEmptyMovieClip("_mochiad", depth);
var wh = MochiAd._getRes(options);
options.res = (wh[0] + "x") + wh[1];
options.server = options.server + options.id;
delete options.id;
clip._mochiad_loaded = true;
var lv = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var k in options) {
lv[k] = options[k];
}
var server = lv.server;
delete lv.server;
var hostname = MochiAd._allowDomains(server);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var lc = new LocalConnection();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
lc.mc = mc;
lc.name = name;
lc.hostname = hostname;
lc.allowDomain = function (d) {
return(true);
};
lc.allowInsecureDomain = lc.allowDomain;
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lv.st = getTimer();
lv.loadMovie(server + ".swf", "POST");
return(mc);
}, unload:function (clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}, _isNetworkAvailable:function () {
if (System.security) {
var o = System.security;
if (o.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}, _getRes:function (options) {
var b = options.clip.getBounds();
var w = 0;
var h = 0;
if (typeof(options.res) != "undefined") {
var xy = options.res.split("x");
w = parseFloat(xy[0]);
h = parseFloat(xy[1]);
} else {
w = b.xMax - b.xMin;
h = b.yMax - b.yMin;
}
if ((w == 0) || (h == 0)) {
w = Stage.width;
h = Stage.height;
}
return([w, h]);
}, _parseOptions:function (options, defaults) {
var optcopy = {};
for (var k in defaults) {
optcopy[k] = defaults[k];
}
if (options) {
for (var k in options) {
optcopy[k] = options[k];
}
}
if (_root.mochiad_options) {
var pairs = _root.mochiad_options.split("&");
var i = 0;
while (i < pairs.length) {
var kv = pairs[i].split("=");
optcopy[unescape(kv[0])] = unescape(kv[1]);
i++;
}
}
if (optcopy.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(optcopy);
}, _:null};
MochiAd.showPreGameAd({id:"cfe98ee7be1a3edd", res:"735x500", background:16777215, color:4491949, outline:3626927, no_bg:true});
Instance of Symbol 30 MovieClip "inside" in Frame 21
onClipEvent (load) {
this.gotoAndStop(_root.guypicked);
}
Frame 22
gotoAndStop (3);
Symbol 12 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay (5);
}
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 12 MovieClip Frame 40
_root.play();
Symbol 17 Button
on (press) {
gotoAndStop (2);
}
Symbol 22 Button
on (press) {
gotoAndStop (1);
}
Symbol 23 MovieClip Frame 1
stop();
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 100;
myLoop.setVolume(myLoopVolume);
Symbol 23 MovieClip Frame 2
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 0;
myLoop.setVolume(myLoopVolume);
Symbol 30 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 7
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 41 Button
on (press) {
if (savefile.data.notfirsttime_played) {
gotoAndStop (4);
}
}
Symbol 42 Button
on (press) {
if (savefile.data.notfirsttime_played) {
_root.erase.gotoAndStop(2);
} else {
_root.gotoAndStop(4);
}
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 52 Button
on (press) {
savefile.data.clickedsponsor = false;
_root.clicked_sponsors_logo = false;
_root.levelunlocked[0] = 2;
_root.levelunlocked[1] = 1;
_root.levelunlocked[2] = 1;
_root.levelunlocked[3] = 1;
_root.levelunlocked[4] = 1;
_root.levelunlocked[5] = 1;
_root.levelunlocked[6] = 1;
_root.levelunlocked[7] = 1;
_root.levelunlocked[8] = 1;
_root.levelunlocked[9] = 1;
_root.levelunlocked[10] = 1;
_root.levelunlocked[11] = 1;
_root.levelunlocked[12] = 1;
_root.levelunlocked[13] = 1;
_root.levelunlocked[14] = 1;
savefile.data.level0 = 2;
savefile.data.level1 = 1;
savefile.data.level2 = 1;
savefile.data.level3 = 1;
savefile.data.level4 = 1;
savefile.data.level5 = 1;
savefile.data.level6 = 1;
savefile.data.level7 = 1;
savefile.data.level8 = 1;
savefile.data.level9 = 1;
savefile.data.level10 = 1;
savefile.data.level11 = 1;
savefile.data.level12 = 1;
savefile.data.level13 = 1;
savefile.data.level14 = 1;
savefile.flush();
_root.gotoAndStop(4);
}
Symbol 54 Button
on (press) {
gotoAndStop (1);
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 64 Button
on (press) {
_root.lastgame_frame = 5;
gotoAndStop (20);
}
Symbol 65 Button
on (press) {
_root.lastgame_frame = 6;
gotoAndStop (20);
}
Symbol 66 Button
on (press) {
_root.lastgame_frame = 7;
gotoAndStop (20);
}
Symbol 67 Button
on (press) {
_root.lastgame_frame = 8;
gotoAndStop (20);
}
Symbol 68 Button
on (press) {
_root.lastgame_frame = 9;
gotoAndStop (20);
}
Symbol 69 Button
on (press) {
_root.lastgame_frame = 10;
gotoAndStop (20);
}
Symbol 70 Button
on (press) {
_root.lastgame_frame = 11;
gotoAndStop (20);
}
Symbol 71 Button
on (press) {
_root.lastgame_frame = 12;
gotoAndStop (20);
}
Symbol 72 Button
on (press) {
_root.lastgame_frame = 13;
gotoAndStop (20);
}
Symbol 73 Button
on (press) {
_root.lastgame_frame = 14;
gotoAndStop (20);
}
Symbol 74 Button
on (press) {
_root.lastgame_frame = 15;
gotoAndStop (20);
}
Symbol 75 Button
on (press) {
_root.lastgame_frame = 16;
gotoAndStop (20);
}
Symbol 76 Button
on (press) {
_root.lastgame_frame = 17;
gotoAndStop (20);
}
Symbol 77 Button
on (press) {
_root.lastgame_frame = 18;
gotoAndStop (20);
}
Symbol 78 Button
on (press) {
_root.lastgame_frame = 19;
gotoAndStop (20);
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 119 Button
on (press) {
if (_root.savefile.data.level14 == 3) {
_root.three.gotoAndStop(1);
}
_root.guypicked = 1;
gotoAndStop (2);
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 124 Button
on (press) {
_root.one.gotoAndStop(1);
_root.guypicked = 2;
gotoAndStop (2);
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 132 Button
on (press) {
_root.gotoAndStop(3);
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 3
stop();
Symbol 160 MovieClip Frame 4
stop();
Symbol 164 MovieClip Frame 1
stop();
Instance of Symbol 164 MovieClip in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guypicked);
}
Symbol 173 MovieClip Frame 1
stop();
Instance of Symbol 176 MovieClip "bar" in Symbol 178 MovieClip Frame 1
onClipEvent (load) {
speed = 1;
firstx = this._x;
endx = -108;
}
onClipEvent (enterFrame) {
if (_root.hero.arrowkeypressed) {
if (_root.hero.specialgo) {
if (this._x >= endx) {
this._x = this._x - speed;
} else {
_root.hero.jetpackgo = false;
_root.hero.arrowkeypressed = true;
_root.hero.specialgo = false;
_root.hero.gotoAndStop(2);
}
}
}
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
stop();
Instance of Symbol 30 MovieClip "inside" in Symbol 183 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.guypicked);
}
Instance of Symbol 30 MovieClip "inside" in Symbol 183 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(_root.guypicked);
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 4
play();
Symbol 189 MovieClip Frame 11
gotoAndStop (1);
Symbol 193 MovieClip Frame 1
stop();
Symbol 200 Button
on (press) {
_root.lastgame_frame++;
_root.gotoAndStop("changelevel");
}
Symbol 202 Button
on (press) {
_root.gotoAndStop("changelevel");
}
Symbol 204 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 8
if (_root.lastgame_frame == 19) {
gotoAndStop (12);
}
if (_root.lastgame_frame == 18) {
gotoAndStop (11);
}
Symbol 225 MovieClip Frame 9
function onEnterFrame() {
if (_root.levelunlocked[(_root.lastgame_frame + 1) - 5] == 1) {
_root.levelunlocked[(_root.lastgame_frame + 1) - 5] = 2;
}
if (Key.isDown(32)) {
if (spaceok) {
_root.lastgame_frame++;
_root.gotoAndStop("changelevel");
}
} else {
spaceok = true;
}
}
spaceok = false;
stop();
if (_root.score <= 0) {
allcoins.gotoAndStop(2);
_root.levelunlocked[_root.lastgame_frame - 5] = 3;
}
Symbol 225 MovieClip Frame 10
function onEnterFrame() {
if (Key.isDown(32)) {
if (spaceok) {
_root.gotoAndStop("changelevel");
}
} else {
spaceok = true;
}
}
spaceok = false;
_root.die.play();
Symbol 225 MovieClip Frame 11
if (_root.score == 0) {
_root.levelunlocked[_root.lastgame_frame - 5] = 3;
}
Symbol 225 MovieClip Frame 12
_root.levelunlocked[_root.lastgame_frame - 5] = 3;
Symbol 225 MovieClip Frame 13
play();
Instance of Symbol 221 MovieClip in Symbol 225 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.hero.spaceok = false;
}
Symbol 226 MovieClip Frame 9
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 8
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();