Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("f75dd09b", this, 10301, true);
MochiAd.showPreGameAd({id:"bc1f17a08051dcab", res:"640x480"});
Frame 2
stop();
_root.kongregateServices.connect();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var mySiteLink = new ContextMenuItem("A game by Max Stein, AGAF Studios", gotoMySite);
myMenu.customItems.push(mySiteLink, copyrightNotice);
_root.menu = myMenu;
Instance of Symbol 12 MovieClip [agaf_logo_frame] in Frame 2
onClipEvent (enterFrame) {
if (this._currentframe == 145) {
_root.gotoAndStop(3);
}
}
Frame 3
stop();
kirupaSound3.stop();
_root.pos = SharedObject.getLocal("game");
if (_root.pos.data.guyx != undefined) {
_root.hyper = _root.pos.data.guyx;
} else {
_root.pos.data.guyx = _root.hyper;
}
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);
onEnterFrame = function () {
_root.playBut.onRelease = function () {
_root.anim.gotoAndPlay(2);
_root.anim._visible = true;
_root.playBut.enabled = false;
_root.instruction = 2;
};
};
Instance of Symbol 53 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.hyper != true) {
this._visible = true;
this.enabled = true;
} else {
this._visible = false;
this.enabled = false;
}
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
_root.anim.gotoAndPlay(2);
_root.anim._visible = true;
_root.instruction = 3;
_root.playBut.enabled = false;
};
}
Instance of Symbol 80 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.hyper != true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 164 MovieClip "anim" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 165 MovieClip "alphaClip" in Frame 3
onClipEvent (load) {
this._alpha = 0;
_root.alphaClip.go = false;
}
onClipEvent (enterFrame) {
if (_root.alphaClip.go == true) {
this._alpha = this._alpha + 3;
if (this._alpha >= 100) {
_root.gotoAndStop(4);
}
}
}
Frame 4
stop();
timer = 0;
nextOne = true;
uniTimer = 0;
ship.timer = 0;
shipb.timer = 0;
if (_root._quality == "HIGH") {
press.Quality = "Quality: High";
} else if (_root._quality == "MEDIUM") {
press.Quality = "Quality: Medium";
} else {
press.Quality = "Quality: Easy";
}
_root.mute = false;
joey = 2000;
alphaDrop = 7;
if (_root.hyperOn == true) {
speed = 3;
} else {
speed = 0;
}
timerUp = 0;
_root.health.healthy._width = 210;
bad = 0;
kirupaSound3 = new Sound(soundClip);
kirupaSound3.attachSound("soft");
kirupaSound3.start(0, 99);
kirupaSound4 = new Sound(this);
kirupaSound4.attachSound("shot");
kirupaSound5.setVolume(45);
kirupaSound5 = new Sound(this);
kirupaSound5.attachSound("boom");
kirupaSound5.setVolume(45);
kirupaSound6 = new Sound(this);
kirupaSound6.attachSound("zap");
kirupaSound6.setVolume(100);
xvar = 1;
terrain.gotoAndStop(1);
_root.score = 0;
_root.scoreTxt = "Score: " + _root.score;
if (_root.difficulty == 1) {
_root.lives = 7;
} else if ((_root.difficulty == 2) || (_root.difficulty == 3)) {
_root.lives = 5;
} else {
_root.lives = 4;
}
_root.liveTxt = "Lives: " + _root.lives;
onEnterFrame = function () {
if (_root.alphaClipB._alpha >= 100) {
_root.alphaClipB.go = true;
}
if (_root.mute == true) {
kirupaSound6.setVolume(0);
kirupaSound5.setVolume(0);
kirupaSound4.setVolume(0);
kirupaSound3.setVolume(0);
} else {
kirupaSound6.setVolume(100);
kirupaSound5.setVolume(45);
kirupaSound4.setVolume(45);
kirupaSound3.setVolume(100);
}
if ((_root.txt._currentframe != 11) && (_root.alphaClipB.go == false)) {
if (_root.difficulty == 1) {
terrain._x = terrain._x - (4.5 + speed);
} else if (_root.difficulty == 2) {
terrain._x = terrain._x - (4.5 + speed);
} else if (_root.difficulty == 3) {
terrain._x = terrain._x - (5 + speed);
} else if (_root.difficulty == 4) {
terrain._x = terrain._x - (5.5 + speed);
}
if (terrain._x < -2700) {
terrain._alpha = terrain._alpha - 1;
}
if (_root.health.healthy._width < 20) {
_root.health.healthy._width = 210;
_root.lives = _root.lives - 1;
_root.liveTxt = "Lives: " + _root.lives;
_root.ship.invul = true;
_root.shipb.invul = true;
txt.gotoAndStop(10);
}
if (terrain._alpha <= 0) {
if ((xvar < 9) && (start != true)) {
xvar = xvar + 1;
if (xvar != 8) {
txt.gotoAndStop(xvar);
} else {
txt.gotoAndStop(12);
}
if (bad > 2000) {
bad = 2000;
}
txt.levBonus = "Health and Accuracy Bonus: " + (joey - bad);
terrain.gotoAndStop(xvar);
_root.score = _root.score + (joey - bad);
scoreTxt = "Score: " + _root.score;
bad = 0;
if (_root.difficulty == 1) {
if (_root.health.healthy._width < 105) {
_root.health.healthy._width = _root.health.healthy._width + 100;
} else {
_root.health.healthy._width = 210;
}
} else if (_root.difficulty == 2) {
if (_root.health.healthy._width < 175) {
_root.health.healthy._width = _root.health.healthy._width + 30;
} else {
_root.health.healthy._width = 210;
}
} else if ((_root.difficulty == 3) || (_root.difficulty == 4)) {
}
terrain._alpha = 100;
terrain._x = 760;
} else {
xvar = xvar + 1;
}
}
if (xvar >= 9) {
if (start != true) {
txt.gotoAndStop(13);
if (bad > 2000) {
bad = 2000;
}
txt.levBonus = "Final Bonus: " + ((joey * 2) - bad);
_root.score = _root.score + ((joey * 2) - bad);
terrain._alpha = 0;
terrain._x = 4000;
scoreTxt = "Score: " + _root.score;
start = true;
}
}
if (start == true) {
_root.ship._alpha = _root.ship._alpha - 0.4;
_root.shipb._alpha = _root.shipb._alpha - 0.4;
if (_root.ship._alpha <= 0) {
_root.gotoAndStop(5);
start = false;
}
}
if (_root.lives <= 0) {
_root.ship._alpha = _root.ship._alpha - 1;
_root.shipb._alpha = _root.shipb._alpha - 1;
_root.terrain._alpha = _root.terrain._alpha - 1;
_root.newScore = _root.score;
if (_root.ship._alpha <= 0) {
_root.gotoAndStop(6);
}
}
if ((!Key.isDown(32)) && (timer > 0)) {
timer = 0;
nextOne = true;
}
if (Key.isDown(32)) {
timer = timer + 1;
ship.gun.gotoAndStop(2);
shipb.gun.gotoAndStop(2);
if (timer > 8) {
timer = 0;
nextOne = true;
}
if (nextOne == true) {
start_ball_x = ship._x + 25;
start_ball_y = ship._y + 5;
start_ball3_x = shipb._x + 25;
start_ball3_y = shipb._y + 5;
tuner = random(700) + 1100;
cannonball_fired = attachMovie("cannonball", "cannonball_" + tuner, tuner, {_x:start_ball_x, _y:start_ball_y});
cannonball_firedb = attachMovie("cannonball", ("cannonball_" + tuner) + 2000, tuner + 2000, {_x:start_ball3_x, _y:start_ball3_y});
kirupaSound4.start(0, 1);
_root.bad = _root.bad + 20;
timer = 0;
nextOne = false;
cannonball_fired.onEnterFrame = function () {
this._x = this._x + alphaDrop;
if (this.hitTest(terrain.jelly2)) {
terrain.jelly2.ouch = true;
}
if (this.hitTest(terrain.jelly4)) {
terrain.jelly4.ouch = true;
}
if (this.hitTest(terrain.jelly5)) {
terrain.jelly5.ouch = true;
}
if (this.hitTest(terrain.jelly8)) {
terrain.jelly8.ouch = true;
}
if (this.hitTest(terrain.jelly9)) {
terrain.jelly9.ouch = true;
}
if (this.hitTest(terrain.jelly12)) {
terrain.jelly12.ouch = true;
}
if (this.hitTest(terrain.jelly13)) {
terrain.jelly13.ouch = true;
}
if (this.hitTest(terrain.jelly16)) {
terrain.jelly16.ouch = true;
}
if (this.hitTest(terrain.jelly17)) {
terrain.jelly17.ouch = true;
}
if (this.hitTest(terrain.jelly20)) {
terrain.jelly20.ouch = true;
}
if (this.hitTest(terrain.mine1)) {
terrain.mine1.gotoAndStop(2);
terrain.mine1.hit = true;
}
if (this.hitTest(terrain.mine3)) {
terrain.mine3.gotoAndStop(2);
terrain.mine3.hit = true;
}
if (this.hitTest(terrain.mine9)) {
terrain.mine9.gotoAndStop(2);
terrain.mine9.hit = true;
}
if (this.hitTest(terrain.mine10)) {
terrain.mine10.gotoAndStop(2);
terrain.mine10.hit = true;
}
if (this.hitTest(terrain.mine11)) {
terrain.mine11.gotoAndStop(2);
terrain.mine11.hit = true;
}
if (this.hitTest(terrain.mine17)) {
terrain.mine17.gotoAndStop(2);
terrain.mine17.hit = true;
}
if (this.hitTest(terrain.mine18)) {
terrain.mine18.gotoAndStop(2);
terrain.mine18.hit = true;
}
if (this.hitTest(terrain.mine19)) {
terrain.mine19.gotoAndStop(2);
terrain.mine19.hit = true;
}
if (this.hitTest(terrain.mine20)) {
terrain.mine20.gotoAndStop(2);
terrain.mine20.hit = true;
}
if (this.hitTest(terrain.mine26)) {
terrain.mine26.gotoAndStop(2);
terrain.mine26.hit = true;
}
if (this.hitTest(terrain.mine27)) {
terrain.mine27.gotoAndStop(2);
terrain.mine27.hit = true;
}
if (this.hitTest(terrain.mine28)) {
terrain.mine28.gotoAndStop(2);
terrain.mine28.hit = true;
}
if (this.hitTest(terrain.mine29)) {
terrain.mine29.gotoAndStop(2);
terrain.mine29.hit = true;
}
if (this.hitTest(terrain.mine30)) {
terrain.mine30.gotoAndStop(2);
terrain.mine30.hit = true;
}
if (this.hitTest(terrain.mine36)) {
terrain.mine36.gotoAndStop(2);
terrain.mine36.hit = true;
}
if (this.hitTest(terrain.mine37)) {
terrain.mine37.gotoAndStop(2);
terrain.mine37.hit = true;
}
if (this.hitTest(terrain.mine38)) {
terrain.mine38.gotoAndStop(2);
terrain.mine38.hit = true;
}
if (this.hitTest(terrain.mine39)) {
terrain.mine39.gotoAndStop(2);
terrain.mine39.hit = true;
}
if (this.hitTest(terrain.mine40)) {
terrain.mine40.gotoAndStop(2);
terrain.mine40.hit = true;
}
if (this.hitTest(terrain.mine41)) {
terrain.mine41.gotoAndStop(2);
terrain.mine41.hit = true;
}
if (this.hitTest(terrain.mine43)) {
terrain.mine43.gotoAndStop(2);
terrain.mine43.hit = true;
}
if (this.hitTest(terrain.mine44)) {
terrain.mine44.gotoAndStop(2);
terrain.mine44.hit = true;
}
if (this.hitTest(terrain.mine45)) {
terrain.mine45.gotoAndStop(2);
terrain.mine45.hit = true;
}
if (this.hitTest(terrain.mine47)) {
terrain.mine47.gotoAndStop(2);
terrain.mine47.hit = true;
}
if (this.hitTest(terrain.mine55)) {
terrain.mine55.gotoAndStop(2);
terrain.mine55.hit = true;
}
if (this.hitTest(terrain.mine56)) {
terrain.mine56.gotoAndStop(2);
terrain.mine56.hit = true;
}
if (this.hitTest(terrain.mine57)) {
terrain.mine57.gotoAndStop(2);
terrain.mine57.hit = true;
}
if (this.hitTest(terrain.mine58)) {
terrain.mine58.gotoAndStop(2);
terrain.mine58.hit = true;
}
if (this.hitTest(terrain.mine59)) {
terrain.mine59.gotoAndStop(2);
terrain.mine59.hit = true;
}
if (this.hitTest(terrain.mine60)) {
terrain.mine60.gotoAndStop(2);
terrain.mine60.hit = true;
}
if (this.hitTest(terrain.mine61)) {
terrain.mine61.gotoAndStop(2);
terrain.mine61.hit = true;
}
if (this.hitTest(terrain.mine67)) {
terrain.mine67.gotoAndStop(2);
terrain.mine67.hit = true;
}
if (this.hitTest(terrain.mine68)) {
terrain.mine68.gotoAndStop(2);
terrain.mine68.hit = true;
}
if (this.hitTest(terrain.mine69)) {
terrain.mine69.gotoAndStop(2);
terrain.mine69.hit = true;
}
if (this.hitTest(terrain.mine70)) {
terrain.mine70.gotoAndStop(2);
terrain.mine70.hit = true;
}
if (this.hitTest(terrain.mine71)) {
terrain.mine71.gotoAndStop(2);
terrain.mine71.hit = true;
}
if (this.hitTest(terrain.mine77)) {
terrain.mine77.gotoAndStop(2);
terrain.mine77.hit = true;
}
if (this.hitTest(terrain.mine78)) {
terrain.mine78.gotoAndStop(2);
terrain.mine78.hit = true;
}
if (this.hitTest(terrain.mine79)) {
terrain.mine79.gotoAndStop(2);
terrain.mine79.hit = true;
}
if ((this._x >= (600 - _x)) || (terrain.hitTest(this._x + 40, this._y, true))) {
removeMovieClip(this);
}
};
cannonball_firedb.onEnterFrame = function () {
this._x = this._x + alphaDrop;
if (this.hitTest(terrain.jelly1)) {
terrain.jelly1.ouch = true;
}
if (this.hitTest(terrain.jelly4)) {
terrain.jelly4.ouch = true;
}
if (this.hitTest(terrain.jelly3)) {
terrain.jelly3.ouch = true;
}
if (this.hitTest(terrain.jelly6)) {
terrain.jelly6.ouch = true;
}
if (this.hitTest(terrain.jelly7)) {
terrain.jelly7.ouch = true;
}
if (this.hitTest(terrain.jelly10)) {
terrain.jelly10.ouch = true;
}
if (this.hitTest(terrain.jelly11)) {
terrain.jelly11.ouch = true;
}
if (this.hitTest(terrain.jelly14)) {
terrain.jelly14.ouch = true;
}
if (this.hitTest(terrain.jelly15)) {
terrain.jelly15.ouch = true;
}
if (this.hitTest(terrain.jelly18)) {
terrain.jelly18.ouch = true;
}
if (this.hitTest(terrain.jelly19)) {
terrain.jelly19.ouch = true;
}
if (this.hitTest(terrain.mine2)) {
terrain.mine2.gotoAndStop(2);
terrain.mine2.hit = true;
}
if (this.hitTest(terrain.mine4)) {
terrain.mine4.gotoAndStop(2);
terrain.mine4.hit = true;
}
if (this.hitTest(terrain.mine6)) {
terrain.mine6.gotoAndStop(2);
terrain.mine6.hit = true;
}
if (this.hitTest(terrain.mine7)) {
terrain.mine7.gotoAndStop(2);
terrain.mine7.hit = true;
}
if (this.hitTest(terrain.mine8)) {
terrain.mine8.gotoAndStop(2);
terrain.mine8.hit = true;
}
if (this.hitTest(terrain.mine12)) {
terrain.mine12.gotoAndStop(2);
terrain.mine12.hit = true;
}
if (this.hitTest(terrain.mine13)) {
terrain.mine13.gotoAndStop(2);
terrain.mine13.hit = true;
}
if (this.hitTest(terrain.mine14)) {
terrain.mine14.gotoAndStop(2);
terrain.mine14.hit = true;
}
if (this.hitTest(terrain.mine15)) {
terrain.mine15.gotoAndStop(2);
terrain.mine15.hit = true;
}
if (this.hitTest(terrain.mine16)) {
terrain.mine16.gotoAndStop(2);
terrain.mine16.hit = true;
}
if (this.hitTest(terrain.mine21)) {
terrain.mine21.gotoAndStop(2);
terrain.mine21.hit = true;
}
if (this.hitTest(terrain.mine22)) {
terrain.mine22.gotoAndStop(2);
terrain.mine22.hit = true;
}
if (this.hitTest(terrain.mine23)) {
terrain.mine23.gotoAndStop(2);
terrain.mine23.hit = true;
}
if (this.hitTest(terrain.mine24)) {
terrain.mine24.gotoAndStop(2);
terrain.mine24.hit = true;
}
if (this.hitTest(terrain.mine25)) {
terrain.mine25.gotoAndStop(2);
terrain.mine25.hit = true;
}
if (this.hitTest(terrain.mine31)) {
terrain.mine31.gotoAndStop(2);
terrain.mine31.hit = true;
}
if (this.hitTest(terrain.mine32)) {
terrain.mine32.gotoAndStop(2);
terrain.mine32.hit = true;
}
if (this.hitTest(terrain.mine33)) {
terrain.mine33.gotoAndStop(2);
terrain.mine33.hit = true;
}
if (this.hitTest(terrain.mine34)) {
terrain.mine34.gotoAndStop(2);
terrain.mine34.hit = true;
}
if (this.hitTest(terrain.mine35)) {
terrain.mine35.gotoAndStop(2);
terrain.mine35.hit = true;
}
if (this.hitTest(terrain.mine42)) {
terrain.mine42.gotoAndStop(2);
terrain.mine42.hit = true;
}
if (this.hitTest(terrain.mine46)) {
terrain.mine46.gotoAndStop(2);
terrain.mine46.hit = true;
}
if (this.hitTest(terrain.mine48)) {
terrain.mine48.gotoAndStop(2);
terrain.mine48.hit = true;
}
if (this.hitTest(terrain.mine49)) {
terrain.mine49.gotoAndStop(2);
terrain.mine49.hit = true;
}
if (this.hitTest(terrain.mine50)) {
terrain.mine50.gotoAndStop(2);
terrain.mine50.hit = true;
}
if (this.hitTest(terrain.mine51)) {
terrain.mine51.gotoAndStop(2);
terrain.mine51.hit = true;
}
if (this.hitTest(terrain.mine52)) {
terrain.mine52.gotoAndStop(2);
terrain.mine52.hit = true;
}
if (this.hitTest(terrain.mine53)) {
terrain.mine53.gotoAndStop(2);
terrain.mine53.hit = true;
}
if (this.hitTest(terrain.mine54)) {
terrain.mine54.gotoAndStop(2);
terrain.mine54.hit = true;
}
if (this.hitTest(terrain.mine62)) {
terrain.mine62.gotoAndStop(2);
terrain.mine62.hit = true;
}
if (this.hitTest(terrain.mine63)) {
terrain.mine63.gotoAndStop(2);
terrain.mine63.hit = true;
}
if (this.hitTest(terrain.mine64)) {
terrain.mine64.gotoAndStop(2);
terrain.mine64.hit = true;
}
if (this.hitTest(terrain.mine65)) {
terrain.mine65.gotoAndStop(2);
terrain.mine65.hit = true;
}
if (this.hitTest(terrain.mine66)) {
terrain.mine66.gotoAndStop(2);
terrain.mine66.hit = true;
}
if (this.hitTest(terrain.mine72)) {
terrain.mine72.gotoAndStop(2);
terrain.mine72.hit = true;
}
if (this.hitTest(terrain.mine73)) {
terrain.mine73.gotoAndStop(2);
terrain.mine73.hit = true;
}
if (this.hitTest(terrain.mine74)) {
terrain.mine74.gotoAndStop(2);
terrain.mine74.hit = true;
}
if (this.hitTest(terrain.mine75)) {
terrain.mine75.gotoAndStop(2);
terrain.mine75.hit = true;
}
if (this.hitTest(terrain.mine76)) {
terrain.mine76.gotoAndStop(2);
terrain.mine76.hit = true;
}
if ((this._x >= (600 - _x)) || (terrain.hitTest(this._x + 40, this._y, true))) {
removeMovieClip(this);
}
};
}
} else {
ship.gun.gotoAndStop(1);
shipb.gun.gotoAndStop(1);
}
}
};
Instance of Symbol 197 MovieClip "shipb" in Frame 4
onClipEvent (enterFrame) {
if (_root.txt._currentframe != 11) {
if (_root.lives > 0) {
if (Key.isDown(40) && (this._y < 455)) {
this._y = this._y + (5 + (_root.speed / 2));
}
if (Key.isDown(38) && (this._y > 290)) {
this._y = this._y - (5 + (_root.speed / 2));
}
if (Key.isDown(39) && (this._x < 500)) {
this._x = this._x + (6 + (_root.speed / 2));
this.engine.gotoAndStop(2);
} else if (Key.isDown(37) && (this._x > 70)) {
this._x = this._x - (6 + (_root.speed / 2));
this.engine.gotoAndStop(3);
} else {
this.engine.gotoAndStop(1);
}
if (this._y < 290) {
this._y = 290;
}
if (this._y > 455) {
this._y = 455;
}
if (this._x < 70) {
this._x = 70;
}
if (this.invul == true) {
this._alpha = 60;
if (didit != true) {
if (_root.difficulty == 1) {
_root.health.healthy._width = _root.health.healthy._width - 20;
} else if (_root.difficulty == 2) {
_root.health.healthy._width = _root.health.healthy._width - 23;
} else if (_root.difficulty == 3) {
_root.health.healthy._width = _root.health.healthy._width - 26;
} else if (_root.difficulty == 4) {
_root.health.healthy._width = _root.health.healthy._width - 30;
}
_root.bad = _root.bad + 150;
didit = true;
}
this.timer = this.timer + 1;
}
if (this.timer == 30) {
this._alpha = 100;
this.invul = false;
didit = false;
this.timer = 0;
}
if (this.hitTest(_root.terrain.mine2)) {
_root.terrain.mine2.gotoAndStop(2);
}
}
while (_root.terrain.hitTest(_x, _y + 25, true)) {
_y = (_y - 0.1);
speed = 0;
this.invul = true;
}
while (_root.terrain.hitTest(_x, _y - 25, true)) {
_y = (_y + 0.1);
speed = 0;
this.invul = true;
}
while (_root.terrain.hitTest(_x - 60, _y, true)) {
_x = (_x + 0.1);
speed = 0;
this.invul = true;
}
while (_root.terrain.hitTest(_x + 60, _y, true)) {
_x = (_x - 0.1);
speed = 0;
this.invul = true;
}
}
}
Instance of Symbol 197 MovieClip "ship" in Frame 4
onClipEvent (enterFrame) {
if (_root.txt._currentframe != 11) {
if (_root.lives > 0) {
if (Key.isDown(83) && (this._y < 240)) {
this._y = this._y + (5 + (_root.speed / 2));
}
if (Key.isDown(87) && (this._y > 80)) {
this._y = this._y - (5 + (_root.speed / 2));
}
if (Key.isDown(68) && (this._x < (500 - _root._x))) {
this._x = this._x + (6 + (_root.speed / 2));
this.engine.gotoAndStop(2);
} else if (Key.isDown(65) && (this._x > (70 - _root._x))) {
this._x = this._x - (6 + (_root.speed / 2));
this.engine.gotoAndStop(3);
} else {
this.engine.gotoAndStop(1);
}
if (this._y < 80) {
this._y = 80;
}
if (this._y > 245) {
this._y = 245;
}
if (this._x < 70) {
this._x = 70;
}
if (this.invul == true) {
this._alpha = 60;
if (didit != true) {
if (_root.difficulty == 1) {
_root.health.healthy._width = _root.health.healthy._width - 20;
} else if (_root.difficulty == 2) {
_root.health.healthy._width = _root.health.healthy._width - 23;
} else if (_root.difficulty == 3) {
_root.health.healthy._width = _root.health.healthy._width - 26;
} else if (_root.difficulty == 4) {
_root.health.healthy._width = _root.health.healthy._width - 30;
}
_root.bad = _root.bad + 150;
didit = true;
}
this.timer = this.timer + 1;
}
if (this.hitTest(_root.terrain.mine1)) {
_root.terrain.mine1.gotoAndStop(2);
}
if (this.timer == 30) {
this._alpha = 100;
this.invul = false;
didit = false;
this.timer = 0;
}
}
while (_root.terrain.hitTest(_x, _y + 25, true)) {
_y = (_y - 0.1);
speed = 0;
this.invul = true;
}
while (_root.terrain.hitTest(_x, _y - 25, true)) {
_y = (_y + 0.1);
speed = 0;
this.invul = true;
}
while (_root.terrain.hitTest(_x - 60, _y, true)) {
_x = (_x + 0.1);
speed = 0;
this.invul = true;
}
while (_root.terrain.hitTest(_x + 60, _y, true)) {
_x = (_x - 0.1);
speed = 0;
this.invul = true;
}
}
}
Instance of Symbol 320 MovieClip "txt" in Frame 4
onClipEvent (load) {
this._alpha = 0;
fade = false;
_root.txt.gotoAndStop(8);
}
onClipEvent (enterFrame) {
if (((this._currentframe > 1) && (this._currentframe != 11)) && (_root.alphaClipB.go == false)) {
if ((this._currentframe != 8) && (this._currentframe != 9)) {
if (fade == false) {
this._alpha = this._alpha + 2.5;
} else {
this._alpha = this._alpha - 2.5;
}
} else if (fade == false) {
this._alpha = this._alpha + 1.3;
} else {
this._alpha = this._alpha - 1.3;
}
if (this._alpha >= 100) {
fade = true;
}
if ((this._alpha <= 3) && (fade == true)) {
if (this._currentframe != 8) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(9);
}
fade = false;
}
}
}
Instance of Symbol 165 MovieClip "alphaClipB" in Frame 4
onClipEvent (load) {
this._alpha = 100;
_root.alphaClipB.go = false;
}
onClipEvent (enterFrame) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 3;
}
if ((_root.alphaClipB.go == true) && (_root.lives > 0)) {
if (this._alpha <= 40) {
_root.alphaClipB.go = false;
}
}
}
Frame 5
stop();
kirupaSound3.stop();
if (_root.difficulty == 1) {
textr = "Easy";
_root.kongregateScores.setMode("Easy");
} else if (_root.difficulty == 2) {
textr = "Medium";
_root.kongregateScores.setMode("Medium");
} else if (_root.difficulty == 3) {
textr = "Hard";
_root.kongregateScores.setMode("Hard");
} else if (_root.difficulty == 4) {
textr = "Insane";
}
_root.kongregateScores.submit(_root.score);
if (_root.difficulty == 1) {
if (_root.score < 32000) {
if (hyper != true) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Easy. Beat the game with over 32,000 points next time to unlock Hyper Mode!";
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Easy. Think you can beat it on a harder difficulty?";
}
} else if (hyper != true) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Easy. By winning with over 32,000 points you have unlocked Hyper Mode, you can turn it on from the settings in the Main Menu.";
hyper = true;
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Easy. Think you can beat it on a harder difficulty?";
}
} else if (_root.difficulty == 2) {
if (_root.score < 30000) {
if (hyper != true) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. Beat the game with over 30,000 points next time to unlock Hyper Mode!";
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. Think you can beat it on hard mode?";
}
} else if (hyper != true) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. By winning with over 30,000 points you have unlocked Hyper Mode, turn it on from the settings in the Main Menu.";
hyper = true;
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. Think you can beat the game on hard?";
}
} else if (_root.difficulty == 3) {
if (hyper != true) {
if (_root.score < 28000) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Hard. Beat the game with over 28,000 points next time to unlock Hyper Mode!";
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Hard. By winning with over 28,000 points you have unlocked Hyper Mode, turn it on from the settings in the Main Menu.";
hyper = true;
}
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Hard.";
}
} else if (_root.difficulty == 4) {
if (hyper != true) {
if (_root.score < 28000) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Insane. Beat the game with over 28,000 points next time to unlock Hyper Mode!";
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Insane. By winning with over 28,000 points you have unlocked Hyper Mode, turn it on from the settings in the Main Menu.";
hyper = true;
}
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Insane.";
}
}
scoreText = "You Scored: " + _root.score;
Frame 6
stop();
kirupaSound3.stop();
if (_root.difficulty == 1) {
textr = "Easy";
_root.kongregateScores.setMode("Easy");
} else if (_root.difficulty == 2) {
textr = "Medium";
_root.kongregateScores.setMode("Medium");
} else if (_root.difficulty == 3) {
textr = "Hard";
_root.kongregateScores.setMode("Hard");
} else if (_root.difficulty == 4) {
textr = "Insane";
}
_root.kongregateScores.submit(_root.score);
if (_root.difficulty == 1) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Easy. Think you can handle it on a harder difficulty?";
} else if (_root.difficulty == 2) {
if (_root.score < 30000) {
if (hyper != true) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. Beat the game with over 35000 points next time to unlock Hyper Mode!";
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. Think you can beat it on hard mode?";
}
} else if (hyper != true) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. By winning with over 35000 points you have unlocked Hyper Mode, turn it on from the settings in the main menu.";
hyper = true;
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Medium. Think you can beat the game on hard?";
}
} else if (_root.difficulty == 3) {
if (hyper != true) {
if (_root.score < 30000) {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Hard. Beat the game with over 30000 points next time to unlock Hyper Mode!";
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Hard. By winning with over 30000 points you have unlocked Hyper Mode, turn it on from the settings in the main menu.";
hyper = true;
}
} else {
goodness = "Congratulations Captain! You managed to navigate your ships through each trial successfully on Hard.";
}
}
scoreText = "You Scored: " + _root.newScore;
Symbol 5 MovieClip [cannonball] Frame 1
stop();
Symbol 12 MovieClip [agaf_logo_frame] Frame 145
stop();
Symbol 358 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.5");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] 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) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] 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_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {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("[MochiAd] 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) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 15 Button
on (release) {
getURL ("http://www.allgamesallfree.com", "_blank");
}
Symbol 17 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 1
gotoAndPlay(random(35) + 1);
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 56 Button
on (release) {
_root.anim.gotoAndPlay(2);
_root.anim._visible = true;
_root.playBut.enabled = false;
_root.instruction = 1;
}
Symbol 73 Button
on (release) {
_root.hyperOn = true;
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 78 Button
on (release) {
_root.hyperOn = false;
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Instance of Symbol 74 MovieClip in Symbol 80 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hyperOn == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 79 MovieClip in Symbol 80 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hyperOn == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 83 Button
on (release) {
getURL ("http://www.allgamesallfree.com", "_blank");
}
Symbol 136 Button
on (release) {
gotoAndStop (1);
_visible = false;
_root.playBut.enabled = true;
}
Symbol 142 Button
on (release) {
_root.difficulty = 1;
_root.alphaClip.go = true;
}
Symbol 145 Button
on (release) {
_root.alphaClip.go = true;
_root.difficulty = 2;
}
Symbol 148 Button
on (release) {
_root.alphaClip.go = true;
_root.difficulty = 3;
}
Symbol 154 Button
on (release) {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("1ff39959", this, 10301, true);
getURL ("http://www.allgamesallfree.com/games2098-aqua-bots.html", "_blank");
}
Symbol 157 Button
on (release) {
_root.alphaClip.go = true;
_root.difficulty = 4;
}
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Symbol 163 MovieClip Frame 3
stop();
insaneMode._visible = false;
insaneMode.enabled = false;
insaneMode2._visible = true;
insaneMode2.enabled = true;
Symbol 163 MovieClip Frame 4
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 47
onEnterFrame = function () {
if (_root.instruction == 1) {
selector.gotoAndStop(2);
} else if (_root.instruction == 2) {
selector.gotoAndStop(3);
} else if (_root.instruction == 3) {
selector.gotoAndStop(4);
}
if (_root.alphaClip._alpha > 4) {
easyBut.enabled = false;
mediumBut.enabled = false;
hardBut.enabled = false;
closeBut.enabled = false;
} else {
easyBut.enabled = true;
mediumBut.enabled = true;
hardBut.enabled = true;
closeBut.enabled = true;
}
};
stop();
Symbol 185 MovieClip Frame 9
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 3
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
stop();
Symbol 200 Button
on (keyPress "p") {
if (_root.txt._currentframe == 11) {
_root.txt._alpha = 0;
_root.txt.gotoAndStop(1);
_root.alphaDrop = 7;
} else {
_root.txt._alpha = 100;
_root.txt.gotoAndStop(11);
_root.alphaDrop = 0;
}
}
on (keyPress "m") {
if (_root.mute == true) {
_root.mute = false;
} else {
_root.mute = true;
}
}
Symbol 222 MovieClip Frame 1
onEnterFrame = function () {
if (_root.txt._currentframe == 11) {
stop();
} else if ((_root.txt._currentframe != 11) && (this._currentframe != 21)) {
play();
}
};
Symbol 222 MovieClip Frame 21
stop();
Symbol 223 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.txt._currentframe != 11) {
if (this.hitTest(_root.ship) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root.kirupaSound5.start(0, 1);
}
if (this.hitTest(_root.shipb) && (this._currentframe == 1)) {
this.gotoAndStop(2);
_root.kirupaSound5.start(0, 1);
}
if ((this.hit == true) && (didit != false)) {
_root.kirupaSound5.start(0, 1);
_root.score = _root.score + 200;
_root.scoreTxt = "Score: " + _root.score;
didit = false;
}
}
};
Symbol 223 MovieClip Frame 2
stop();
Symbol 260 MovieClip Frame 1
onEnterFrame = function () {
if (_root.txt._currentframe == 11) {
stop();
} else {
play();
}
};
Symbol 274 MovieClip Frame 1
onEnterFrame = function () {
if (_root.txt._currentframe == 11) {
stop();
} else if ((_root.txt._currentframe != 11) && (this._currentframe != 23)) {
play();
}
};
Symbol 274 MovieClip Frame 23
stop();
Symbol 275 MovieClip Frame 1
function onEnterFrame() {
if (_root.txt._currentframe != 11) {
if (moveRight == false) {
this._x = this._x - 3;
steps = steps + 3;
this._xscale = 100;
} else {
this._x = this._x + 7;
this._xscale = -100;
steps = steps - 3;
}
if (steps > 99) {
moveRight = true;
}
if (steps < 0) {
moveRight = false;
}
if (this.ouch == true) {
this.gotoAndStop(2);
}
if ((this.ouch == true) && (didit != false)) {
_root.kirupaSound6.start(0, 1);
_root.score = _root.score + 500;
_root.scoreTxt = "Score: " + _root.score;
didit = false;
}
if (this._alpha <= 6) {
this.gotoAndStop(2);
}
}
}
stop();
steps = 0;
moveRight = false;
Symbol 275 MovieClip Frame 2
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 2
stop();
Instance of Symbol 223 MovieClip "mine3" in Symbol 298 MovieClip Frame 2
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine4" in Symbol 298 MovieClip Frame 2
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine10" in Symbol 298 MovieClip Frame 2
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine7" in Symbol 298 MovieClip Frame 2
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Symbol 298 MovieClip Frame 3
stop();
Instance of Symbol 223 MovieClip "mine17" in Symbol 298 MovieClip Frame 3
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine19" in Symbol 298 MovieClip Frame 3
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine13" in Symbol 298 MovieClip Frame 3
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine20" in Symbol 298 MovieClip Frame 3
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine18" in Symbol 298 MovieClip Frame 3
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine15" in Symbol 298 MovieClip Frame 3
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Symbol 298 MovieClip Frame 4
stop();
Instance of Symbol 223 MovieClip "mine32" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine33" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine34" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine35" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine38" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine36" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine39" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine41" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine42" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine43" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine44" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine45" in Symbol 298 MovieClip Frame 4
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Symbol 298 MovieClip Frame 5
stop();
Instance of Symbol 223 MovieClip "mine75" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine76" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine79" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 50) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine73" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine74" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine72" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine77" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine78" in Symbol 298 MovieClip Frame 5
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 50) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Symbol 298 MovieClip Frame 6
stop();
Instance of Symbol 223 MovieClip "mine17" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine47" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine21" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 50) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine46" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine26" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 50) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine22" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine29" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine25" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine23" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine27" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine28" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine24" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 50) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine30" in Symbol 298 MovieClip Frame 6
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 90) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Symbol 298 MovieClip Frame 7
stop();
Instance of Symbol 223 MovieClip "mine60" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine54" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine53" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine61" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine52" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine58" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine59" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine57" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 50) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine56" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine51" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine50" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine55" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine49" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y - 1.5;
steps = steps + 1.5;
} else {
this._y = this._y + 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Instance of Symbol 223 MovieClip "mine48" in Symbol 298 MovieClip Frame 7
onClipEvent (load) {
steps = 0;
moveUp = false;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (_root.txt._currentframe != 11)) {
if (moveUp == false) {
this._y = this._y + 1.5;
steps = steps + 1.5;
} else {
this._y = this._y - 1.5;
steps = steps - 1.5;
}
if (steps > 70) {
moveUp = true;
}
if (steps < 0) {
moveUp = false;
}
}
}
Symbol 298 MovieClip Frame 8
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 320 MovieClip Frame 4
stop();
Symbol 320 MovieClip Frame 5
stop();
Symbol 320 MovieClip Frame 6
stop();
Symbol 320 MovieClip Frame 7
stop();
Symbol 320 MovieClip Frame 8
stop();
Symbol 320 MovieClip Frame 9
stop();
Symbol 320 MovieClip Frame 10
stop();
Symbol 320 MovieClip Frame 11
stop();
Symbol 320 MovieClip Frame 12
stop();
Symbol 320 MovieClip Frame 13
stop();
Symbol 333 Button
on (release) {
if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
this.Quality = "Quality: Medium";
} else if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
this.Quality = "Quality: Low";
} else {
_root._quality = "HIGH";
this.Quality = "Quality: High";
}
}
Symbol 337 Button
on (release) {
_root.gotoAndStop(3);
_root.scoresDisabled = false;
}
Symbol 343 Button
on (press) {
if (_root.sentScore != _root.score) {
_root.gamename = "Aqua_Bots_" + _root.textr;
_root.add_pass = "flashapi";
_root.name = _root.name;
_root.score = _root.score;
_root.sentScore = _root.score;
_root.loadVariables("http://www.allgamesallfree.com/new_score.php?game=" + _root.gamename, "POST");
}
}
on (release) {
getURL (("http://www.allgamesallfree.com/scores-" + _root.gamename) + ".html", "_blank");
}
Symbol 349 Button
on (release) {
getURL ("http://www.allgamesallfree.com", "_blank");
}
Symbol 351 Button
on (press) {
if (_root.sentScore != _root.score) {
_root.gamename = "Aqua_Bots_" + _root.textr;
_root.add_pass = "flashapi";
_root.name = _root.name;
_root.score = _root.newScore;
_root.sentScore = _root.newScore;
_root.loadVariables("http://www.allgamesallfree.com/new_score.php?game=" + _root.gamename, "POST");
}
}
on (release) {
getURL (("http://www.allgamesallfree.com/scores-" + _root.gamename) + ".html", "_blank");
}
Symbol 357 Button
on (release) {
_root.gotoAndStop(4);
_root.scoresDisabled = false;
}