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);
}
mochi.as2.MochiAd.showPreGameAd({id:"07dc6692a7234319", res:"800x440"});
__com_mochibot__("819063c4", this, 10301, true);
_root.lavr = 13;
_root.gore = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
_root.tuto = 1;
_root.part_1 = 1;
_root.part_2 = 10;
_root.part_3 = 10;
_root.part_4 = 10;
_root.rank = 1;
_root.rankb = 1;
_root.orbs = 0;
_root.muz = 5;
_root.muzb = _root.muz;
_root.pts = 0;
_root.pts_best = 0;
stop();
_root.user = SharedObject.getLocal("user_ora_1");
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 == "gamesfree.ca") {
_root.gore = 2;
} else {
_root.gore = 1;
}
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
stop();
Mouse.show();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (51);
}
};
Instance of Symbol 129 MovieClip in Frame 20
onClipEvent (load) {
if (_root.load_error_2 == 2) {
_root.load_error_2 = 1;
gotoAndStop (279);
}
}
Instance of Symbol 134 MovieClip in Frame 20
onClipEvent (load) {
if (_root.load_error_1 == 2) {
_root.load_error_1 = 1;
stop();
}
}
Instance of Symbol 391 MovieClip in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
stop();
Mouse.show();
_root.canmove = 1;
_root.canshot = 1;
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
stopAllSounds();
gotoAndStop (51);
}
};
Frame 22
stop();
Mouse.show();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (51);
}
};
Instance of Symbol 129 MovieClip in Frame 22
onClipEvent (load) {
gotoAndPlay (287);
}
Frame 23
stop();
Mouse.show();
Frame 24
Mouse.show();
_root.pts_best = _root.pts_best + _root.pts;
_root.user.data.orbs = _root.orbs;
_root.user.data.pts_best = _root.pts_best;
_root.user.data.part_1 = _root.part_1;
_root.user.data.part_2 = _root.part_2;
_root.user.data.part_3 = _root.part_3;
_root.user.data.part_4 = _root.part_4;
_root.user.data.rankb = _root.rankb;
_root.user.data.muz = _root.muz;
_root.user.flush();
aa = 50;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndStop (21);
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 25
Mouse.show();
stop();
Frame 26
Mouse.show();
stop();
_root.pts = 0;
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (51);
}
};
Frame 39
stop();
Frame 40
stop();
Frame 51
_root.e_1 = 1;
_root.e_2 = 1;
_root.e_3 = 1;
_root.e_4 = 1;
_root.e_5 = 1;
_root.e_6 = 1;
_root.e_7 = 1;
_root.e_8 = 1;
_root.e_9 = 1;
_root.e_10 = 1;
_root.e_11 = 1;
_root.e_12 = 1;
_root.e_13 = 1;
_root.e_14 = 1;
_root.e_15 = 1;
_root.e_16 = 1;
_root.e_17 = 1;
_root.e_18 = 1;
_root.e_19 = 1;
_root.e_20 = 1;
_root.e_21 = 1;
_root.e_22 = 1;
_root.e_23 = 1;
_root.e_24 = 1;
_root.e_25 = 1;
_root.e_26 = 1;
_root.e_27 = 1;
_root.e_28 = 1;
_root.e_29 = 1;
_root.e_30 = 1;
_root.e_31 = 1;
_root.e_32 = 1;
_root.e_33 = 1;
_root.e_34 = 1;
_root.e_35 = 1;
_root.e_36 = 1;
_root.e_37 = 1;
_root.e_38 = 1;
_root.e_39 = 1;
_root.e_40 = 1;
_root.e_41 = 1;
_root.e_42 = 1;
_root.e_43 = 1;
_root.e_44 = 1;
_root.e_45 = 1;
_root.e_46 = 1;
_root.e_47 = 1;
_root.e_48 = 1;
_root.e_49 = 1;
_root.e_50 = 1;
_root.e_51 = 1;
_root.e_52 = 1;
_root.e_53 = 1;
_root.e_54 = 1;
_root.e_55 = 1;
_root.e_56 = 1;
_root.e_57 = 1;
_root.e_58 = 1;
_root.e_59 = 1;
_root.e_60 = 1;
_root.e_61 = 1;
_root.e_62 = 1;
_root.e_63 = 1;
_root.e_64 = 1;
_root.e_65 = 1;
_root.e_66 = 1;
_root.e_67 = 1;
_root.e_68 = 1;
_root.e_69 = 1;
_root.e_70 = 1;
_root.e_71 = 1;
_root.e_72 = 1;
_root.e_73 = 1;
_root.e_74 = 1;
_root.e_75 = 1;
_root.e_76 = 1;
_root.e_77 = 1;
_root.e_78 = 1;
_root.e_79 = 1;
_root.e_80 = 1;
_root.e_81 = 1;
_root.e_82 = 1;
_root.e_83 = 1;
_root.e_84 = 1;
_root.e_85 = 1;
_root.e_86 = 1;
_root.e_87 = 1;
_root.e_88 = 1;
_root.e_89 = 1;
_root.e_90 = 1;
_root.e_91 = 1;
_root.e_92 = 1;
_root.e_93 = 1;
_root.e_94 = 1;
_root.e_95 = 1;
_root.e_96 = 1;
_root.e_97 = 1;
_root.e_98 = 1;
_root.e_99 = 1;
_root.e_100 = 1;
_root.fb_rendu = 1;
_quality = "medium";
_root.canshot = 1;
_root.canmove = 1;
_root.ammo = 50;
_root.ammob = _root.ammo;
_root.energy = 100;
_root.energyb = _root.energy;
_root.shake = 0;
_root.shaker.y_initial = _root.boxx._y;
_root.munition = 1;
_root.pts_rendu = 1;
_root.fb_rendu = 1;
_root.orbs_rendu = 1;
_root.buckler = 100;
_root.speed = 7 + (_root.part_4 / 10);
_root.orbsb = _root.orbs;
_root.orbs_howmany = 0;
_root.block = 1;
_root.lvl = _root.rank;
trace(_root.lvl);
_root.timee = 60;
_root.pts = 0;
var isMouseDown = false;
onMouseDown = function () {
isMouseDown = true;
};
onMouseUp = function () {
isMouseDown = false;
};
stop();
onEnterFrame = function () {
if (((isMouseDown && (_root.ammo != 0)) && (_root.canmove == 2)) && (_root.canshot == 2)) {
_root.canshot = 1;
_root.shot = 2;
_root.firing = 2;
} else {
_root.firing = 1;
}
_root.power = _root.part_3;
if (!Key.isDown(83)) {
_root.buckler = _root.buckler + 0.1;
if (_root.buckler > 100) {
_root.buckler = 100;
}
}
if (_root.cheat_1 == 2) {
_root.boxx.ora._xscale = 150;
_root.boxx.ora._yscale = 150;
}
if (_root.cheat_1 == 3) {
_root.boxx.ora._xscale = 25;
_root.boxx.ora._yscale = 25;
}
if (_root.cheat_2 == 2) {
_root.energy = 100;
}
if (_root.canmove == 2) {
if (!Key.isDown(83)) {
if (Key.isDown(65)) {
boxx.ora._x = boxx.ora._x - _root.speed;
boxx.ora.gotoAndStop(2);
}
if (Key.isDown(68)) {
boxx.ora._x = boxx.ora._x + _root.speed;
boxx.ora.gotoAndStop(3);
}
if (Key.isDown(65) && (Key.isDown(68))) {
boxx.ora.gotoAndStop(4);
}
if ((!Key.isDown(65)) && (!Key.isDown(68))) {
boxx.ora.gotoAndStop(4);
}
} else {
boxx.ora.gotoAndStop(5);
}
if (boxx.ora._x > 2015) {
boxx.ora._x = 2015;
}
if (boxx.ora._x < 50) {
boxx.ora._x = 50;
}
}
if (((_root.canshot == 2) && (_root.canmove == 2)) && (Key.isDown(32))) {
_root.recharge = 2;
} else {
_root.recharge = 1;
}
boxx._x = (boxx.ora._x - 400) * -1;
if (boxx._x < -1260) {
boxx._x = -1260;
}
if (boxx._x > 0) {
boxx._x = 0;
}
if (_root.energy < 0) {
_root.energy = 0;
}
if (_root.energy > 100) {
_root.energy = 100;
}
if (_root.hited == 2) {
_root.hited = 1;
if (_root.energy > 0) {
_root.boxx.ora.gotoAndStop(6);
}
}
if (_root.timee == 0) {
if (_root.energy > 0) {
_root.boxx.ora.gotoAndStop(8);
}
}
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (24);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndStop (26);
}
if (_root.got2go == 4) {
_root.got2go = 1;
_root.pass_cause_tuto_ends = 2;
gotoAndStop (21);
}
};
Instance of Symbol 898 MovieClip in Frame 51
onClipEvent (load) {
_root.tuto_part = 0;
}
onClipEvent (enterFrame) {
if (_root.tuto_part != 0) {
gotoAndStop (52);
}
}
Instance of Symbol 391 MovieClip in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Symbol 5 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 5 MovieClip Frame 3
_root.play();
Symbol 901 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
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 _local23 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
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 _local22 = options.color;
delete options.color;
var _local20 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local20);
_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(_local22);
_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, _local24, 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 = _local23;
chk.ad_timeout = _local19;
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;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
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) {
mochi.as2.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) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
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 _local10 = {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, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
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;
mochi.as2.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) {
mochi.as2.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 _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
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);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
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);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 902 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 903 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.8 as2");
}
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 get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function updateCopy(args) {
send("coins_updateCopy", args, null, null);
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 904 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 905 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 906 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 17 MovieClip Frame 20
stop();
Symbol 19 Button
on (release) {
_root.got2go = 2;
}
Symbol 20 MovieClip Frame 150
stop();
Symbol 22 Button
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 27 MovieClip Frame 67
stop();
Symbol 43 MovieClip Frame 12
stop();
Symbol 44 MovieClip Frame 7
stopAllSounds();
Symbol 44 MovieClip Frame 285
_root.got2go = 2;
stop();
Symbol 46 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 89 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.rank + 1);
};
Symbol 93 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 30
gotoAndPlay (16);
Symbol 98 MovieClip Frame 1
stopAllSounds();
Symbol 98 MovieClip Frame 20
_root.got2go = 2;
Symbol 105 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 20
stop();
Symbol 108 MovieClip Frame 40
gotoAndStop (1);
Symbol 108 MovieClip Frame 41
stop();
Symbol 125 MovieClip Frame 1
stop();
time_1 = 3;
time_2 = 1;
time_aff = "";
onEnterFrame = function () {
if (_root.girlmenu == 2) {
_root.girlmenu = 1;
gotoAndStop (2);
}
if (_root.girlmenu == 3) {
stopAllSounds();
_root.girlmenu = 1;
gotoAndStop (3);
}
if (_root.girlmenu == 4) {
_root.girlmenu = 1;
gotoAndStop (5);
}
};
Symbol 125 MovieClip Frame 3
stop();
Instance of Symbol 71 MovieClip in Symbol 125 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(_root.rank + 1);
}
Instance of Symbol 80 MovieClip in Symbol 125 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(random(6) + 1);
}
Instance of Symbol 94 MovieClip in Symbol 125 MovieClip Frame 3
onClipEvent (load) {
boxx.txx = "READY";
boxx2.txx = boxx.txx;
boxx3.boxx.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.play();
_parent.gotoAndStop(4);
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 1;
boxx.txx = "DEFENDER";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 2;
boxx.txx = "SENTINEL";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 3;
boxx.txx = "GUNNER";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 4;
boxx.txx = "LIEUTNANT";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 5;
boxx.txx = "CAPTAIN";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 6;
boxx.txx = "MAJOR";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
nb = 7;
boxx.txx = "MASTER";
if (_root.rankb < nb) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = nb;
_parent.gotoAndStop(3);
}
if (act == 3) {
act = 1;
_parent.stars = nb;
}
}
Instance of Symbol 71 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
_parent.stars = 0;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.stars + 1);
}
Instance of Symbol 117 MovieClip in Symbol 125 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_root.rankb);
}
Symbol 129 MovieClip Frame 279
stop();
Instance of Symbol 94 MovieClip in Symbol 129 MovieClip Frame 279
onClipEvent (load) {
boxx.txx = "START GAME";
boxx2.txx = boxx.txx;
boxx3.boxx.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.rank = 1;
_root.got2go = 2;
_root.tuto = 1;
stopAllSounds();
}
}
Instance of Symbol 94 MovieClip in Symbol 129 MovieClip Frame 279
onClipEvent (load) {
boxx.txx = "HIGH SCORES";
boxx2.txx = boxx.txx;
boxx3.boxx.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/hs/orahs.php", "_blank");
}
}
Instance of Symbol 94 MovieClip in Symbol 129 MovieClip Frame 279
onClipEvent (load) {
boxx.txx = "MORE GAMES";
boxx2.txx = boxx.txx;
boxx3.boxx.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 94 MovieClip in Symbol 129 MovieClip Frame 279
onClipEvent (load) {
boxx.txx = "LOAD GAME";
boxx2.txx = boxx.txx;
boxx3.boxx.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(25);
}
}
Symbol 129 MovieClip Frame 340
if (_root.rank == 0) {
_root.girlmenu = 3;
} else {
_root.girlmenu = 4;
}
stop();
Symbol 129 MovieClip Frame 395
_root.got2go = 2;
Symbol 130 Button
on (keyPress "u") {
gotoAndStop (51);
}
Symbol 134 MovieClip Frame 2
stopAllSounds();
Symbol 134 MovieClip Frame 223
stop();
Instance of Symbol 208 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (300);
}
Instance of Symbol 208 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (300);
}
Symbol 388 MovieClip Frame 1
lavr_link = "http://www.neodelight.com";
shade = 1;
Symbol 388 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 388 MovieClip Frame 3
lavr_link = "http://www.anyad.rulez.org";
shade = 1;
Symbol 388 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 388 MovieClip Frame 5
lavr_link = "http://www.bringler.com";
shade = 1;
Symbol 388 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 388 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 388 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 388 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 388 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 388 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 388 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 388 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 388 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 388 MovieClip Frame 15
lavr_link = "http://www.gamesplz.com";
shade = 0;
Symbol 388 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 388 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 388 MovieClip Frame 18
lavr_link = "http://www.stoneagegames.com";
shade = 1;
Symbol 388 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 388 MovieClip Frame 20
lavr_link = "http://www.gamesgames.com/";
shade = 1;
Symbol 388 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 388 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 388 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 388 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 388 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 388 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 388 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 388 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 388 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 388 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 388 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 388 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 388 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 388 MovieClip Frame 34
lavr_link = "http://www.gamesfree.ca/";
shade = 1;
Symbol 388 MovieClip Frame 35
lavr_link = "http://www.stickpage.com/";
shade = 1;
Symbol 388 MovieClip Frame 36
lavr_link = "http://www.gamespond.net/";
shade = 2;
Symbol 388 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 388 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 388 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 388 MovieClip Frame 40
lavr_link = "http://www.addictinggames.com/";
shade = 1;
Symbol 388 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 388 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 388 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 388 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 388 MovieClip Frame 45
lavr_link = "http://www.komikler.com/index.php";
shade = 2;
Symbol 388 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 388 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 388 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 388 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 388 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 388 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 388 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 388 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 388 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 388 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 388 MovieClip Frame 56
lavr_link = "http://www.gamebusted.com/";
shade = 0;
Symbol 388 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 388 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 388 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 388 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 388 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 388 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 388 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 388 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 388 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 388 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 388 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 388 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 388 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 388 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 2;
Symbol 388 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 388 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 388 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 388 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 388 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 388 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 388 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 388 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 388 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 388 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 388 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 389 MovieClip Frame 1
stop();
Symbol 390 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 20
stop();
Symbol 407 MovieClip Frame 30
stop();
Instance of Symbol 108 MovieClip in Symbol 407 MovieClip Frame 30
onClipEvent (load) {
boxx.txx = "CONTINUE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent._parent.level_pass == 2) {
_parent.play();
} else {
_parent._parent.play();
}
}
}
Instance of Symbol 108 MovieClip in Symbol 407 MovieClip Frame 30
onClipEvent (load) {
boxx.txx = "SUBMIT SCORE";
if (_parent._parent.level_pass != 2) {
_visible = false;
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent._parent.gotoAndStop(23);
}
}
Symbol 407 MovieClip Frame 220
_parent.play();
Symbol 410 MovieClip Frame 1
stopAllSounds();
Symbol 410 MovieClip Frame 3
stop();
Symbol 422 MovieClip Frame 30
stop();
Symbol 438 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.showing_part + 1);
};
Instance of Symbol 423 MovieClip in Symbol 439 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent._currentframe == 67) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 442 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.showing_part_2 == 1) {
if ((_currentframe < 2) || (_currentframe > 40)) {
gotoAndPlay (2);
}
}
if (_root.showing_part_2 == 2) {
if ((_currentframe < 41) || (_currentframe > 80)) {
gotoAndPlay (41);
}
}
if (_root.showing_part_2 == 3) {
if ((_currentframe < 41) || (_currentframe > 80)) {
gotoAndPlay (41);
}
}
if (_root.showing_part_2 == 4) {
if ((_currentframe < 81) || (_currentframe > 120)) {
gotoAndPlay (81);
}
}
if (_root.showing_part_2 == 0) {
if (_currentframe > 1) {
play();
}
}
};
Symbol 442 MovieClip Frame 20
stop();
Symbol 442 MovieClip Frame 40
gotoAndStop (1);
Symbol 442 MovieClip Frame 60
stop();
Symbol 442 MovieClip Frame 80
gotoAndStop (1);
Symbol 442 MovieClip Frame 100
stop();
Symbol 442 MovieClip Frame 120
gotoAndStop (1);
Symbol 450 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 20
stop();
onEnterFrame = function () {
if (_root.showing_part != _root.showing_partb) {
_root.showing_partb = _root.showing_part;
boxx.gotoAndStop(_root.showing_partb + 1);
gotoAndPlay (2);
}
};
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
stopAllSounds();
gotoAndPlay (3);
Symbol 453 MovieClip Frame 4
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 469 Button
on (release) {
if (_parent._currentframe == 1) {
_parent.act = 2;
}
}
Symbol 470 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (eval ("_root.part_" + _root.showing_part_2) == 100) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 482 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(eval ("_root.part_" + _root.showing_part_2) + 1);
boxx.txx = Math.round(eval ("_root.part_" + _root.showing_part_2));
boxx4.boxx.txx = ("upgrade : " + _root.upgrade_cost) + " orbs";
if (_root.showing_part_2 == 1) {
_root.upgrade_cost = _root.part_1 * 10;
}
if (_root.showing_part_2 == 2) {
if (_root.part_2 == 10) {
_root.upgrade_cost = 150;
}
if (_root.part_2 == 20) {
_root.upgrade_cost = 300;
}
if (_root.part_2 == 30) {
_root.upgrade_cost = 600;
}
if (_root.part_2 == 40) {
_root.upgrade_cost = 1000;
}
if (_root.part_2 == 50) {
_root.upgrade_cost = 1250;
}
if (_root.part_2 == 60) {
_root.upgrade_cost = 1600;
}
if (_root.part_2 == 70) {
_root.upgrade_cost = 2000;
}
if (_root.part_2 == 80) {
_root.upgrade_cost = 2500;
}
if (_root.part_2 == 90) {
_root.upgrade_cost = 3500;
}
}
if (_root.showing_part_2 == 3) {
if (_root.part_3 == 10) {
_root.upgrade_cost = 150;
}
if (_root.part_3 == 20) {
_root.upgrade_cost = 300;
}
if (_root.part_3 == 30) {
_root.upgrade_cost = 600;
}
if (_root.part_3 == 40) {
_root.upgrade_cost = 1000;
}
if (_root.part_3 == 50) {
_root.upgrade_cost = 1250;
}
if (_root.part_3 == 60) {
_root.upgrade_cost = 1650;
}
if (_root.part_3 == 70) {
_root.upgrade_cost = 2000;
}
if (_root.part_3 == 80) {
_root.upgrade_cost = 2500;
}
if (_root.part_3 == 90) {
_root.upgrade_cost = 3500;
}
}
if (_root.showing_part_2 == 4) {
if (_root.part_4 == 10) {
_root.upgrade_cost = 150;
}
if (_root.part_4 == 20) {
_root.upgrade_cost = 300;
}
if (_root.part_4 == 30) {
_root.upgrade_cost = 600;
}
if (_root.part_4 == 40) {
_root.upgrade_cost = 1000;
}
if (_root.part_4 == 50) {
_root.upgrade_cost = 1250;
}
if (_root.part_4 == 60) {
_root.upgrade_cost = 1650;
}
if (_root.part_4 == 70) {
_root.upgrade_cost = 2000;
}
if (_root.part_4 == 80) {
_root.upgrade_cost = 2500;
}
if (_root.part_4 == 90) {
_root.upgrade_cost = 3500;
}
}
if (_root.showing_part_2 == 5) {
if (_root.part_5 == 10) {
_root.upgrade_cost = 150;
}
if (_root.part_5 == 20) {
_root.upgrade_cost = 300;
}
if (_root.part_5 == 30) {
_root.upgrade_cost = 600;
}
if (_root.part_5 == 40) {
_root.upgrade_cost = 1000;
}
if (_root.part_5 == 50) {
_root.upgrade_cost = 1250;
}
if (_root.part_5 == 60) {
_root.upgrade_cost = 1650;
}
if (_root.part_5 == 70) {
_root.upgrade_cost = 2000;
}
if (_root.part_5 == 80) {
_root.upgrade_cost = 2500;
}
if (_root.part_5 == 90) {
_root.upgrade_cost = 3500;
}
}
if (act == 2) {
act = 1;
if (_root.orbs < _root.upgrade_cost) {
boxx3.boxx.gotoAndStop(1);
boxx3.gotoAndPlay(2);
} else {
upgrade_2_level = 10;
gotoAndPlay (2);
}
}
};
Instance of Symbol 459 MovieClip "boxx4" in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
if (eval ("_root.part_" + _root.showing_part_2) == 100) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 482 MovieClip Frame 20
stop();
onEnterFrame = function () {
if (_root.upgrade_cost != 0) {
_root.upgrade_cost = _root.upgrade_cost - 10;
_root.orbs = _root.orbs - 10;
}
if (upgrade_2_level != 0) {
upgrade_2_level = upgrade_2_level - 0.25;
aa = eval ("_root.part_" + _root.showing_part_2);
aa = aa + 0.25;
Set("_root.part_" + _root.showing_part_2, aa);
}
boxx.gotoAndStop(eval ("_root.part_" + _root.showing_part_2) + 1);
boxx.txx = Math.round(eval ("_root.part_" + _root.showing_part_2));
if ((upgrade_2_level == 0) && (_root.upgrade_cost == 0)) {
if (_currentframe == 20) {
gotoAndPlay (21);
}
}
};
Symbol 487 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 10
stop();
Symbol 490 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.muz);
};
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 3
stop();
Symbol 501 MovieClip Frame 5
stop();
Symbol 501 MovieClip Frame 7
stop();
Symbol 501 MovieClip Frame 9
stop();
Symbol 501 MovieClip Frame 11
stop();
Symbol 501 MovieClip Frame 13
stop();
Symbol 501 MovieClip Frame 15
stop();
Symbol 501 MovieClip Frame 17
stop();
Symbol 502 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.muzb != _root.muz) {
_root.muzb = _root.muz;
stopAllSounds();
gotoAndPlay (2);
}
};
Symbol 502 MovieClip Frame 3
boxx.gotoAndPlay(_root.muz * 2);
Symbol 508 MovieClip Frame 1
_root.cheatbox = "";
stop();
Instance of Symbol 108 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if ((_root.cheatbox == "ranky") || (_root.cheatbox == "RANKY")) {
_root.rankb = 7;
_root.cheatbox = "OK !";
}
if ((_root.cheatbox == "shieldy") || (_root.cheatbox == "SHIELDY")) {
_root.part_3 = 100;
_root.cheatbox = "OK !";
}
if ((_root.cheatbox == "shooty") || (_root.cheatbox == "SHOOTY")) {
_root.part_4 = 100;
_root.cheatbox = "OK !";
}
if ((_root.cheatbox == "speedy") || (_root.cheatbox == "SPEEDY")) {
_root.part_2 = 100;
_root.cheatbox = "OK !";
}
if ((_root.cheatbox == "bigger") || (_root.cheatbox == "BIGGER")) {
_root.cheat_1 = 2;
_root.cheatbox = "OK !";
}
if ((_root.cheatbox == "smaller") || (_root.cheatbox == "SMALLER")) {
_root.cheat_1 = 3;
_root.cheatbox = "OK !";
}
if ((_root.cheatbox == "energy") || (_root.cheatbox == "ENERGY")) {
_root.cheat_2 = 2;
_root.cheatbox = "OK !";
}
}
}
Instance of Symbol 506 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.cheatbox == "") {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 108 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "TREASURES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/walkthrough/ora.php", "_blank");
}
}
Instance of Symbol 108 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(65);
}
}
Instance of Symbol 108 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "CHEATS PAGE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/walkthrough/ora.php", "_blank");
}
}
Symbol 509 MovieClip Frame 1
if (_root.pass_cause_tuto_ends == 2) {
_root.pass_cause_tuto_ends = 1;
gotoAndPlay (2);
}
if (_root.pts == 0) {
gotoAndPlay (2);
}
_root.rankc = 0;
if (_root.rank == _root.rankb) {
if (_root.rank == 1) {
_root.pts_needed = 3000 * _root.rank;
if (_root.pts_best >= _root.pts_needed) {
_root.rankc = _root.rankb + 1;
}
}
if (_root.rank == 2) {
_root.pts_needed = 5000 * _root.rank;
if (_root.pts_best >= _root.pts_needed) {
_root.rankc = _root.rankb + 1;
}
}
if (_root.rank == 3) {
_root.pts_needed = 28000 * _root.rank;
if (_root.pts_best >= _root.pts_needed) {
_root.rankc = _root.rankb + 1;
}
}
if (_root.rank == 4) {
_root.pts_needed = 40000 * _root.rank;
if (_root.pts_best >= _root.pts_needed) {
_root.rankc = _root.rankb + 1;
}
}
if (_root.rank == 5) {
_root.pts_needed = 56000 * _root.rank;
if (_root.pts_best >= _root.pts_needed) {
_root.rankc = _root.rankb + 1;
}
}
if (_root.rank == 6) {
_root.pts_needed = 90000 * _root.rank;
if (_root.pts_best >= _root.pts_needed) {
_root.rankc = _root.rankb + 1;
}
}
stop();
} else {
gotoAndPlay (2);
}
if (_root.rankc != 0) {
_root.rankb = _root.rankc;
level_pass = 2;
}
Symbol 509 MovieClip Frame 2
stopAllSounds();
play();
Symbol 509 MovieClip Frame 64
_root.pts_last_aff = "LAST RUN : " + _root.pts;
Symbol 509 MovieClip Frame 65
_root.showing_part = 0;
_root.showing_partb = -1;
_root.showing_part_2 = 0;
stop();
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
nb = 4;
boxx.txx = "BOOTS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.showing_part_2 = nb;
_parent.gotoAndStop(66);
}
if (act == 3) {
act = 1;
_root.showing_part = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
nb = 2;
boxx.txx = "ORA SHIELD";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.showing_part_2 = nb;
_parent.gotoAndStop(66);
}
if (act == 3) {
act = 1;
_root.showing_part = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
nb = 3;
boxx.txx = "SHOOTING SYSTEM";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.showing_part_2 = nb;
_parent.gotoAndStop(66);
}
if (act == 3) {
act = 1;
_root.showing_part = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
nb = 1;
boxx.txx = "JUXEBOX";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.showing_part_2 = nb;
_parent.gotoAndStop(67);
}
if (act == 3) {
act = 1;
_root.showing_part = nb;
}
}
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
boxx.txx = "GO";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(22);
}
}
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
boxx.txx = "HIGH SCORES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/hs/orahs.php", "_blank");
}
}
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
boxx.txx = "CHEATS & TREASURES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(68);
}
}
Instance of Symbol 453 MovieClip in Symbol 509 MovieClip Frame 65
onClipEvent (load) {
if (_root.mainmenu_muz_go == 2) {
_root.mainmenu_muz_go = 1;
gotoAndPlay (2);
}
}
Symbol 509 MovieClip Frame 66
_root.showing_part = 0;
stop();
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 66
onClipEvent (load) {
boxx.txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.showing_part_2 = 0;
_parent.gotoAndStop(65);
}
if (_parent.boxx454._currentframe == 1) {
_x = 112;
} else {
_x = 300;
}
}
Instance of Symbol 482 MovieClip "boxx454" in Symbol 509 MovieClip Frame 66
onClipEvent (load) {
part = _root.showing_part_2;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha != 100) {
_alpha = (_alpha + 5);
_alpha = Math.round(_alpha);
}
}
Symbol 509 MovieClip Frame 67
_root.showing_part = 0;
_root.muzb = _root.muzb - 2;
stop();
Instance of Symbol 108 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
boxx.txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.showing_part_2 = 0;
_parent.gotoAndStop(65);
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 1;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 2;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 3;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 4;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 5;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 6;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 7;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Instance of Symbol 489 MovieClip in Symbol 509 MovieClip Frame 67
onClipEvent (load) {
nb = 8;
boxx.txx = ("Ambiance ( " + nb) + " )";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.muz = nb;
}
}
Symbol 516 MovieClip Frame 1
_root.yourname = "";
stop();
Instance of Symbol 108 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "SEND";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndPlay(2);
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.yourname == "") {
_visible = true;
} else {
_visible = false;
}
}
Symbol 516 MovieClip Frame 2
namee = _root.yourname;
scoree = _root.pts;
_root.namee = _root.yourname;
_root.scoree = _root.pts;
if (_root.yourname == "NAME") {
gotoAndStop (80);
}
if (_root.yourname == "") {
gotoAndStop (80);
}
Symbol 516 MovieClip Frame 4
loadVariablesNum ("http://www.gamesfree.ca/hs/ora.php?submit=1", 0, "POST");
Symbol 516 MovieClip Frame 80
_parent.gotoAndStop(21);
stop();
Symbol 521 MovieClip Frame 10
if (_root.user.data.pts_best == undefined) {
load_ok = 1;
} else {
_root.energy = _root.user.data.pts_best;
load_ok = 2;
}
Symbol 521 MovieClip Frame 100
if (load_ok == 1) {
gotoAndPlay (102);
}
Symbol 521 MovieClip Frame 101
_root.tuto = 2;
_root.orbs = _root.user.data.orbs;
_root.pts_best = _root.user.data.pts_best;
_root.part_1 = _root.user.data.part_1;
_root.part_2 = _root.user.data.part_2;
_root.part_3 = _root.user.data.part_3;
_root.part_4 = _root.user.data.part_4;
_root.rankb = _root.user.data.rankb;
_root.muz = _root.user.data.muz;
_parent.gotoAndStop(21);
stop();
Symbol 521 MovieClip Frame 170
_root.load_error_1 = 2;
_root.load_error_2 = 2;
_parent.gotoAndStop(20);
stop();
Symbol 527 MovieClip Frame 11
gotoAndPlay(random(15) + 12);
Symbol 527 MovieClip Frame 30
_rotation = random(360);
_xscale = (random(50) + 50);
_yscale = _xscale;
Symbol 534 MovieClip Frame 1
stopAllSounds();
Symbol 534 MovieClip Frame 60
stop();
Instance of Symbol 108 MovieClip in Symbol 534 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "RETRY";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Instance of Symbol 108 MovieClip in Symbol 534 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "UPGRADES MENU";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(21);
}
}
Instance of Symbol 108 MovieClip in Symbol 534 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "+ GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 108 MovieClip in Symbol 534 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "CHEATS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/walkthrough/ora.php", "_blank");
}
}
Symbol 535 Button
on (keyPress "t") {
_root.hited = 2;
_root.energy = _root.energy - 5;
}
on (keyPress "i") {
gotoAndStop (21);
}
Symbol 562 MovieClip Frame 4
_parent.play();
Symbol 564 MovieClip Frame 1
stop();
_parent._x = ax;
_parent._y = ay;
onEnterFrame = function () {
if (_parent.shake == 2) {
_parent.shake = 1;
gotoAndPlay (2);
}
};
Symbol 564 MovieClip Frame 2
_parent._x = ax + shake_power;
Symbol 564 MovieClip Frame 3
_parent._x = ax - shake_power;
Symbol 564 MovieClip Frame 4
_parent._x = ax + (shake_power / 1.5);
Symbol 564 MovieClip Frame 5
_parent._x = ax - (shake_power / 1.5);
Symbol 564 MovieClip Frame 6
_parent._x = ax + (shake_power / 2);
Symbol 564 MovieClip Frame 7
_parent._x = ax - (shake_power / 2);
Symbol 564 MovieClip Frame 8
_parent._x = ax + (shake_power / 3);
Symbol 564 MovieClip Frame 9
_parent._x = ax - (shake_power / 3);
Symbol 568 MovieClip Frame 10
_parent.timing = _parent.timing + 10;
if (_parent.timing >= 40) {
if (aa != 5) {
aa = aa + 1;
gotoAndPlay (1);
} else {
aa = random(2) + 1;
if (aa == 1) {
_parent.arme.gotoAndPlay(2);
} else {
_parent.arme.gotoAndPlay(101);
}
gotoAndStop (50);
}
} else {
gotoAndPlay(_parent.timing + _currentframe);
}
Symbol 572 MovieClip Frame 5
_x = (random(100) + 42);
_y = ((random(20) - 10) - 2);
Instance of Symbol 563 MovieClip in Symbol 574 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0}, {x:100, y:0}, {x:200, y:0}, {x:300, y:0}, {x:400, y:0}, {x:500, y:0}, {x:600, y:0}, {x:700, y:0}, {x:800, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.boxx.ora.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.block != 2) {
_root.energy_hurt = 3;
_root.hited = 2;
} else if (_root.tuto_part == 3) {
_root.tuto_part_3_block = 2;
}
}
i++;
}
}
Symbol 577 MovieClip Frame 10
_x = ((random(10) - 5) - 23);
_y = ((random(10) - 5) - 3);
_rotation = (random(360) + 1);
Symbol 578 MovieClip Frame 1
stop();
Instance of Symbol 577 MovieClip in Symbol 578 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (6);
}
Symbol 578 MovieClip Frame 100
run = run - 1;
if (run == 0) {
_parent.play();
}
aa = (70 / _root.lvl) - 10;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndPlay (101);
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 577 MovieClip in Symbol 578 MovieClip Frame 101
onClipEvent (load) {
gotoAndPlay (6);
}
Symbol 578 MovieClip Frame 200
run = run - 1;
if (run == 0) {
_parent.play();
}
aa = (70 / _root.lvl) - 10;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndPlay (2);
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 579 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.energy <= 0) {
if (_currentframe == 30) {
gotoAndPlay (32);
}
}
if (eval ("_root.e_" + nb) == 2) {
if (_currentframe == 1) {
ax = _x;
ay = _y;
energy = 100;
timing = 0;
gotoAndPlay (2);
}
}
if (energy <= 0) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
}
};
Instance of Symbol 559 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 564 MovieClip "shaker" in Symbol 579 MovieClip Frame 20
onClipEvent (load) {
shake_power = 6;
ax = _parent._x;
ay = _parent._y;
}
Symbol 579 MovieClip Frame 30
stop();
Instance of Symbol 568 MovieClip in Symbol 579 MovieClip Frame 30
onClipEvent (load) {
aa = 0;
}
Instance of Symbol 578 MovieClip "arme" in Symbol 579 MovieClip Frame 30
onClipEvent (load) {
run = _root.lvl * 4;
if (_parent.rev == 2) {
_yscale = (_yscale * -1);
}
}
Symbol 579 MovieClip Frame 31
_root.go_pts = 2;
_root.orbs_howmany = random(3) + 3;
_root.scaling_orbs = _xscale;
_root.orbs_go = 2;
_root.orbs_posix = _x + 8;
_root.orbs_posiy = _y + 50;
Symbol 579 MovieClip Frame 65
Set("_root.e_" + nb, 1);
_x = ax;
_y = ay;
gotoAndStop (1);
Symbol 581 MovieClip Frame 1
stop();
_parent._x = ax;
_parent._y = ay;
onEnterFrame = function () {
if (_parent.shake == 2) {
_parent.shake = 1;
gotoAndPlay (2);
}
};
Symbol 581 MovieClip Frame 2
_parent._x = ax + shake_power;
Symbol 581 MovieClip Frame 3
_parent._x = ax - shake_power;
Symbol 581 MovieClip Frame 4
_parent._x = ax + (shake_power / 1.5);
Symbol 581 MovieClip Frame 5
_parent._x = ax - (shake_power / 1.5);
Symbol 581 MovieClip Frame 6
_parent._x = ax + (shake_power / 2);
Symbol 581 MovieClip Frame 7
_parent._x = ax - (shake_power / 2);
Symbol 581 MovieClip Frame 8
_parent._x = ax + (shake_power / 3);
Symbol 581 MovieClip Frame 9
_parent._x = ax - (shake_power / 3);
Symbol 582 MovieClip Frame 4
_parent.play();
Symbol 592 MovieClip Frame 100
_parent.attack = 2;
_parent.gotoAndPlay(27);
stop();
Symbol 607 MovieClip Frame 3
stop();
Symbol 607 MovieClip Frame 5
stop();
Symbol 607 MovieClip Frame 7
stop();
Instance of Symbol 607 MovieClip in Symbol 608 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay((random(3) + 1) * 2);
}
Symbol 608 MovieClip Frame 50
stop();
Symbol 612 MovieClip Frame 1
_root.shake = 15;
Symbol 612 MovieClip Frame 6
if (_root.block != 2) {
_root.energy_hurt = 10;
_root.hited = 2;
}
Symbol 612 MovieClip Frame 27
stop();
Symbol 613 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (eval ("_root.e_" + _parent.nb) == 2) {
if (_parent._currentframe == 1) {
_parent.gotoAndPlay(2);
}
if (_parent._x < (_root.boxx.ora._x - 150)) {
_parent._x = _parent._x + speed;
_parent._rotation = _parent._rotation + speed;
if (speed < 8) {
speed = speed * 1.18;
}
if (speed < 1) {
speed = 1;
}
}
if (_parent._x > (_root.boxx.ora._x + 150)) {
_parent._x = _parent._x + speed;
_parent._rotation = _parent._rotation + speed;
if (speed > -8) {
speed = speed * 1.18;
}
if (speed > -1) {
speed = -1;
}
}
if ((_parent._x >= (_root.boxx.ora._x - 150)) && (_parent._x <= (_root.boxx.ora._x + 150))) {
if ((speed < -1) || (speed > 1)) {
speed = speed * 0.8;
_parent._x = _parent._x + speed;
}
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else if (_currentframe == 10) {
gotoAndPlay (11);
}
if (_parent._y < limit) {
_parent._y = _parent._y + 4;
}
if (_parent._y > limit) {
_parent._y = limit;
}
if (_parent.energy <= 0) {
Set("_root.e_" + _parent.nb, 3);
gotoAndPlay (26);
}
if (_root.energy <= 0) {
if (_currentframe == 10) {
gotoAndPlay (11);
}
_parent._y = _parent._y - 8;
}
} else if (eval ("_root.e_" + _parent.nb) != 3) {
if (_parent._y > -50) {
_parent.energy = 50;
speed = 1;
vspeed = 1;
vspeed2 = 3;
limit = random(150) + 50;
_parent._x = random(2000);
_parent._y = -100;
}
}
};
Instance of Symbol 581 MovieClip "shaker" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
shake_power = 6;
ax = _parent._x;
ay = _parent._y;
}
Symbol 613 MovieClip Frame 10
stop();
Instance of Symbol 592 MovieClip in Symbol 613 MovieClip Frame 10
onClipEvent (load) {
gotoAndPlay((4 * _root.lvl) - 3);
}
Symbol 613 MovieClip Frame 25
gotoAndStop (1);
Symbol 613 MovieClip Frame 26
_parent.gotoAndStop(1);
_root.go_pts = 2;
_root.orbs_howmany = random(3) + 1;
_root.scaling_orbs = _parent._xscale;
_root.orbs_go = 2;
_root.orbs_posix = _parent._x;
_root.orbs_posiy = _parent._y;
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip Frame 26
onClipEvent (load) {
if (_parent.attack != 2) {
gotoAndStop (27);
} else {
_parent.attack = 1;
gotoAndPlay (1);
}
}
Symbol 613 MovieClip Frame 50
Set("_root.e_" + _parent.nb, 1);
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 80
gotoAndPlay (2);
Instance of Symbol 563 MovieClip in Symbol 624 MovieClip Frame 31
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.boxx.ora.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.hited = 2;
_root.energy_hurt = 5;
} else {
_root.pts = _root.pts + 5;
}
i++;
}
}
Symbol 624 MovieClip Frame 59
_parent.play();
stop();
Symbol 625 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (eval ("_root.e_" + nb) == 2) {
if (touch == 2) {
if (_currentframe == 1) {
touch = 1;
gotoAndPlay (2);
}
}
}
};
Instance of Symbol 563 MovieClip in Symbol 625 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.boxx.ora.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.touch = 2;
} else {
_parent.touch = 1;
}
i++;
}
}
Symbol 625 MovieClip Frame 2
gotoAndPlay(2 + (_root.lvl * 2));
Symbol 625 MovieClip Frame 20
stop();
Instance of Symbol 624 MovieClip in Symbol 625 MovieClip Frame 20
onClipEvent (load) {
gotoAndPlay(3 * _root.lvl);
}
Symbol 625 MovieClip Frame 40
Set("_root.e_" + nb, 1);
if (_root.energy <= 0) {
stop();
}
Instance of Symbol 536 MovieClip "hitt_9" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 9;
}
Instance of Symbol 539 MovieClip "hitt_1_2" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 1;
}
Instance of Symbol 541 MovieClip "hitt_2" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 2;
}
Instance of Symbol 543 MovieClip "hitt_4_2" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 4;
}
Instance of Symbol 545 MovieClip "hitt_5_2" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 5;
}
Instance of Symbol 547 MovieClip "hitt_5" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 5;
}
Instance of Symbol 550 MovieClip "hitt_4" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 4;
}
Instance of Symbol 553 MovieClip "hitt_3" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 3;
}
Instance of Symbol 556 MovieClip "hitt_1" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
size = 1;
}
Instance of Symbol 579 MovieClip "en_1" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 579 MovieClip "en_2" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 579 MovieClip "en_3" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
rev = 2;
}
Instance of Symbol 579 MovieClip "en_4" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
rev = 2;
}
Instance of Symbol 579 MovieClip "en_5" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
rev = 2;
}
Instance of Symbol 579 MovieClip "en_6" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
rev = 2;
}
Instance of Symbol 614 MovieClip "en_11" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 614 MovieClip "en_12" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 614 MovieClip "en_13" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 614 MovieClip "en_14" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 614 MovieClip "en_15" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 614 MovieClip "en_16" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 614 MovieClip "en_17" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 614 MovieClip "en_18" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 625 MovieClip "en_21" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 21;
}
Instance of Symbol 625 MovieClip "en_22" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 22;
}
Instance of Symbol 625 MovieClip "en_23" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 23;
}
Instance of Symbol 625 MovieClip "en_24" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 24;
}
Instance of Symbol 625 MovieClip "en_25" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 25;
}
Instance of Symbol 625 MovieClip "en_26" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
}
Instance of Symbol 625 MovieClip "en_27" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
}
Instance of Symbol 625 MovieClip "en_28" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
}
Instance of Symbol 625 MovieClip "en_29" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
}
Instance of Symbol 625 MovieClip "en_30" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
}
Instance of Symbol 625 MovieClip "en_31" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 31;
}
Instance of Symbol 625 MovieClip "en_32" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 32;
}
Instance of Symbol 625 MovieClip "en_33" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 33;
}
Instance of Symbol 625 MovieClip "en_34" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 34;
}
Instance of Symbol 625 MovieClip "en_35" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 35;
}
Instance of Symbol 625 MovieClip "en_36" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 36;
}
Instance of Symbol 625 MovieClip "en_37" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
nb = 37;
}
Symbol 631 MovieClip Frame 20
stop();
Symbol 632 MovieClip Frame 1
stop();
Instance of Symbol 563 MovieClip in Symbol 632 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.boxx.boxx["en_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.boxx.boxx["en_" + nb].shake = 2;
_root.boxx.boxx["en_" + nb].energy = _root.boxx.boxx["en_" + nb].energy - _root.power;
_parent._xscale = 100;
_parent._yscale = 100;
_parent.gotoAndPlay(31);
}
if (_root.boxx.boxx["en_" + nb].boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.boxx.boxx["en_" + nb].boxx.shake = 2;
_root.boxx.boxx["en_" + nb].energy = _root.boxx.boxx["en_" + nb].energy - _root.power;
_parent._xscale = 100;
_parent._yscale = 100;
_parent.gotoAndPlay(31);
}
nb++;
}
if (_root.boxx.boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 100;
_parent._yscale = 100;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_1_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 100;
_parent._yscale = 100;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 80;
_parent._yscale = 80;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_2_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 80;
_parent._yscale = 80;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_3.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 60;
_parent._yscale = 60;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_3_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 60;
_parent._yscale = 60;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_4.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 30;
_parent._yscale = 30;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_4_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 30;
_parent._yscale = 30;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_5.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 15;
_parent._yscale = 15;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_5_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._xscale = 15;
_parent._yscale = 15;
_parent.gotoAndPlay(4);
}
if (_root.boxx.boxx.hitt_9.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(1);
}
i++;
}
}
Instance of Symbol 631 MovieClip in Symbol 632 MovieClip Frame 4
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Instance of Symbol 631 MovieClip in Symbol 632 MovieClip Frame 4
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 632 MovieClip Frame 30
gotoAndStop (1);
Symbol 636 MovieClip Frame 1
stop();
speed = 2;
onEnterFrame = function () {
if (_currentframe >= 84) {
speed = speed * 1.5;
if (_x < (_root.boxx.ora._x - speed)) {
_x = (_x + speed);
}
if (_x > (_root.boxx.ora._x + speed)) {
_x = (_x - speed);
}
if (_y < ((_root.boxx.ora._y - 150) - speed)) {
_y = (_y + speed);
}
if (_y > ((_root.boxx.ora._y - 150) + speed)) {
_y = (_y - speed);
}
}
};
Symbol 636 MovieClip Frame 2
_xscale = _root.scaling_orbs;
_yscale = _root.scaling_orbs;
_rotation = (random(360) + 1);
Symbol 636 MovieClip Frame 95
_root.boxx.ora.orb_collect.gotoAndPlay(2);
_root.orbs = _root.orbs + 10;
Symbol 637 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 7
_root.orbs_go = 2;
Symbol 667 MovieClip Frame 33
stop();
Symbol 668 MovieClip Frame 1
stop();
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.wack);
}
Symbol 674 MovieClip Frame 3
stop();
Symbol 674 MovieClip Frame 5
stop();
Symbol 674 MovieClip Frame 7
stop();
Symbol 674 MovieClip Frame 9
stop();
Symbol 675 MovieClip Frame 1
stop();
Instance of Symbol 674 MovieClip in Symbol 675 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay(2 * _root.wack);
if (_root.wack != 4) {
_root.pts = _root.pts + (150 * _root.wack);
} else {
_root.pts = _root.pts + 1500;
}
}
Symbol 677 MovieClip Frame 1
stop();
_root.wack = 0;
onEnterFrame = function () {
if (_root.wack_go == 2) {
_root.wack_go = 1;
if (_root.wack != 4) {
_root.wack = _root.wack + 1;
}
gotoAndPlay (2);
}
};
Symbol 680 MovieClip Frame 1
stop();
Symbol 687 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = _parent._xmouse;
_y = _parent._ymouse;
if (_root.shot == 3) {
_root.shot = 1;
gotoAndPlay (2);
}
if (_root.recharge == 2) {
if ((_currentframe < 21) || (_currentframe > 30)) {
gotoAndPlay (21);
}
} else if ((_currentframe > 20) && (_currentframe < 31)) {
gotoAndPlay (31);
}
};
Symbol 687 MovieClip Frame 20
gotoAndStop (1);
Symbol 687 MovieClip Frame 30
stop();
Symbol 687 MovieClip Frame 40
gotoAndStop (1);
Symbol 696 MovieClip Frame 64
if (_root.tuto != 2) {
_root.gotuto = 2;
_root.tuto = 2;
}
stop();
Symbol 697 MovieClip Frame 50
_root.shake = 10;
Symbol 697 MovieClip Frame 80
stop();
Symbol 698 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 5
_root.canshot = 2;
stop();
Symbol 709 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.part_3 / 10);
};
Symbol 715 MovieClip Frame 10
if (_root.ammo == 50) {
stop();
}
Symbol 716 MovieClip Frame 1
stop();
_root.recharge = 1;
onEnterFrame = function () {
if (_root.shot == 2) {
_root.shot = 3;
_root.go_munitions = 2;
_root.shake = 2;
_root.ammo = _root.ammo - 1;
if (_parent._parent._parent._currentframe == 4) {
_parent._parent.gotoAndPlay(2);
}
gotoAndPlay (2);
}
if (_root.recharge == 2) {
if (_parent._rotation > 10) {
_parent._rotation = _parent._rotation - 5;
}
if (_parent._rotation < -10) {
_parent._rotation = _parent._rotation + 5;
}
if ((_currentframe < 17) || (_currentframe > 25)) {
gotoAndPlay (17);
}
}
if (_root.recharge == 1) {
if ((_currentframe > 16) && (_currentframe < 26)) {
gotoAndPlay (26);
}
}
if (_currentframe == 25) {
if (_root.ammo != 50) {
_root.ammo = _root.ammo + 1;
}
}
};
Symbol 716 MovieClip Frame 5
_root.canshot = 2;
Symbol 716 MovieClip Frame 16
gotoAndStop (1);
Symbol 716 MovieClip Frame 25
stop();
Symbol 716 MovieClip Frame 30
_root.canshot = 2;
Symbol 716 MovieClip Frame 33
gotoAndStop (1);
Instance of Symbol 716 MovieClip "boxx" in Symbol 717 MovieClip Frame 1
onClipEvent (load) {
_parent.myRadians = Math.atan2(_root.boxx.ora.boxx._ymouse - _parent._y, _root.boxx.ora.boxx._xmouse - _parent._x);
_parent.myDegrees = Math.round((_parent.myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.boxx.ora.boxx._ymouse - _parent._y);
_root.xChange = Math.round(_root.boxx.ora.boxx._xmouse - _parent._x);
_parent._rotation = _parent.myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.recharge == 2) {
if (_parent._rotation > 10) {
_parent._rotation = _parent._rotation - 5;
}
if (_parent._rotation < -10) {
_parent._rotation = _parent._rotation + 5;
}
} else {
_parent.myRadians = Math.atan2(_root.boxx.ora.boxx._ymouse - this._y, _root.boxx.ora.boxx._xmouse - _parent._x);
_parent.myDegrees = Math.round((_parent.myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.boxx.ora.boxx._ymouse - _parent._y);
_root.xChange = Math.round(_root.boxx.ora.boxx._xmouse - _parent._x);
_parent._rotation = _parent.myDegrees + 90;
}
}
Symbol 728 MovieClip Frame 3
stop();
Symbol 728 MovieClip Frame 5
stop();
Instance of Symbol 563 MovieClip in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 728 MovieClip in Symbol 729 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay((random(2) + 1) * 2);
}
Instance of Symbol 563 MovieClip in Symbol 729 MovieClip Frame 6
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 729 MovieClip Frame 11
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 729 MovieClip Frame 16
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 729 MovieClip Frame 21
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 728 MovieClip in Symbol 729 MovieClip Frame 21
onClipEvent (load) {
gotoAndPlay((random(2) + 1) * 2);
}
Instance of Symbol 563 MovieClip in Symbol 729 MovieClip Frame 26
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 728 MovieClip in Symbol 732 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay((random(2) + 1) * 2);
}
Instance of Symbol 563 MovieClip in Symbol 732 MovieClip Frame 6
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 732 MovieClip Frame 11
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 732 MovieClip Frame 16
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 728 MovieClip in Symbol 732 MovieClip Frame 19
onClipEvent (load) {
gotoAndPlay((random(2) + 1) * 2);
}
Instance of Symbol 563 MovieClip in Symbol 732 MovieClip Frame 21
onClipEvent (load) {
_root.fb_go = 2;
}
Instance of Symbol 563 MovieClip in Symbol 732 MovieClip Frame 26
onClipEvent (load) {
_root.fb_go = 2;
}
Symbol 737 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 3
stop();
Symbol 753 MovieClip Frame 2
if (nb == 1) {
_parent._parent.snd_shield.gotoAndPlay(2);
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
gotoAndPlay (2);
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Instance of Symbol 753 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
if (_root.part_2 >= (nb * 10)) {
gotoAndPlay(nb * 2);
}
}
Symbol 761 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.buckler_aff = Math.round(_root.buckler) + "%";
gotoAndStop(Math.round(_root.buckler) + 1);
};
Symbol 764 MovieClip Frame 20
stop();
Symbol 768 MovieClip Frame 1
onEnterFrame = function () {
if (!Key.isDown(83)) {
if ((_currentframe >= 10) && (_currentframe <= 41)) {
gotoAndPlay (42);
}
}
if (_root.buckler <= 0) {
if ((_currentframe >= 10) && (_currentframe <= 40)) {
gotoAndStop (41);
}
}
if ((_currentframe > 10) && (_currentframe <= 40)) {
_root.block = 2;
} else {
_root.block = 1;
}
if ((_currentframe >= 20) && (_currentframe <= 40)) {
_root.buckler = _root.buckler - (0.55 - (_root.part_2 / 200));
}
};
Symbol 768 MovieClip Frame 5
_root.shake = 6;
Symbol 768 MovieClip Frame 6
_root.canmove = 1;
Symbol 768 MovieClip Frame 40
stop();
Symbol 768 MovieClip Frame 45
_root.canmove = 2;
Symbol 773 MovieClip Frame 3
stop();
Symbol 773 MovieClip Frame 5
stop();
Instance of Symbol 773 MovieClip in Symbol 778 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay((random(2) + 1) * 2);
}
Symbol 778 MovieClip Frame 20
_root.canmove = 2;
_root.canshot = 2;
stop();
Instance of Symbol 773 MovieClip in Symbol 778 MovieClip Frame 22
onClipEvent (load) {
gotoAndPlay((random(2) + 1) * 2);
}
Symbol 778 MovieClip Frame 40
_root.canmove = 2;
_root.canshot = 2;
stop();
Symbol 786 MovieClip Frame 1
_root.shake = 4;
_root.boxx.miree._visible = false;
_root.interr._visible = false;
Symbol 786 MovieClip Frame 21
_root.shake = 8;
Symbol 786 MovieClip Frame 245
_root.got2go = 3;
stop();
Symbol 789 MovieClip Frame 1
stopAllSounds();
Symbol 789 MovieClip Frame 50
_root.got2go = 2;
stop();
Symbol 790 MovieClip Frame 1
stop();
Instance of Symbol 689 MovieClip in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 729 MovieClip "boxx" in Symbol 790 MovieClip Frame 2
onClipEvent (load) {
aa = 1;
}
onClipEvent (enterFrame) {
aa = aa + Math.round(1 + (_root.speed / 30));
if (aa > 32) {
aa = aa - 32;
}
gotoAndStop(aa);
}
Instance of Symbol 732 MovieClip "boxx" in Symbol 790 MovieClip Frame 3
onClipEvent (load) {
aa = 1;
}
onClipEvent (enterFrame) {
aa = aa + Math.round(1 + (_root.speed / 30));
if (aa > 32) {
aa = aa - 32;
}
gotoAndStop(aa);
}
Instance of Symbol 778 MovieClip "boxx" in Symbol 790 MovieClip Frame 6
onClipEvent (load) {
_root.energy = _root.energy - _root.energy_hurt;
_root.shake = 8;
_root.canmove = 1;
_root.canshot = 1;
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (21);
}
if (_root.energy <= 0) {
stopAllSounds();
_parent.gotoAndStop(7);
}
}
Instance of Symbol 786 MovieClip "boxx" in Symbol 790 MovieClip Frame 7
onClipEvent (load) {
_root.canmove = 1;
_root.canshot = 1;
}
Instance of Symbol 789 MovieClip in Symbol 790 MovieClip Frame 8
onClipEvent (load) {
_root.canmove = 1;
_root.canshot = 1;
}
Symbol 791 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.go_munitions == 2) {
_root.go_munitions = 1;
ax = _xmouse;
ay = _ymouse;
Set(("m_" + _root.munition) + "._x", ax);
Set(("m_" + _root.munition) + "._y", ay);
eval ("m_" + _root.munition).gotoAndPlay(2);
_root.munition = _root.munition + 1;
if (_root.munition == 10) {
_root.munition = 1;
}
}
if (_root.go_pts == 2) {
_root.go_pts = 1;
_root.wack_go = 2;
ax2 = _xmouse;
ay2 = _ymouse;
Set(("pts_" + _root.pts_rendu) + "._x", ax2);
Set(("pts_" + _root.pts_rendu) + "._y", ay2);
eval ("pts_" + _root.pts_rendu).gotoAndPlay(2);
_root.pts_rendu = _root.pts_rendu + 1;
if (_root.pts_rendu == 2) {
_root.pts_rendu = 1;
}
}
if (_root.fb_go == 2) {
_root.fb_go = 1;
ax3 = ora._x;
ay3 = (ora._y - random(35)) - 25;
Set(("fb_" + _root.fb_rendu) + "._alpha", _root.part_4);
Set(("fb_" + _root.fb_rendu) + "._x", ax3);
Set(("fb_" + _root.fb_rendu) + "._y", ay3);
eval ("fb_" + _root.fb_rendu).gotoAndPlay(2);
_root.fb_rendu = _root.fb_rendu + 1;
if (_root.fb_rendu == 11) {
_root.fb_rendu = 1;
}
}
if (_root.orbs_go == 2) {
_root.orbs_go = 1;
_root.orbs_howmany = _root.orbs_howmany - 1;
if (_root.orbs_howmany != 0) {
orbs_prog.gotoAndPlay(2);
}
Set(("orb_" + _root.orbs_rendu) + "._xscale", _root.scaling_orbs);
Set(("orb_" + _root.orbs_rendu) + "._yscale", _root.scaling_orbs);
Set(("orb_" + _root.orbs_rendu) + "._x", _root.orbs_posix);
Set(("orb_" + _root.orbs_rendu) + "._y", _root.orbs_posiy);
eval ("orb_" + _root.orbs_rendu).gotoAndPlay(2);
_root.orbs_rendu = _root.orbs_rendu + 1;
if (_root.orbs_rendu == 11) {
_root.orbs_rendu = 1;
}
}
};
Instance of Symbol 687 MovieClip "miree" in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 798 MovieClip Frame 1
stop();
gotoAndStop(_root.energy);
onEnterFrame = function () {
if (_root.energyb < _root.energy) {
_root.energyb = _root.energy;
gotoAndStop(_root.energy + 1);
}
if (_root.energyb > _root.energy) {
_root.energyb = _root.energy;
_parent.gotoAndPlay(2);
aa = 20;
}
if (aa != 0) {
aa = aa - 1;
} else if ((_currentframe - 1) > _root.energy) {
gotoAndStop(_currentframe - 1);
}
};
Symbol 799 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round(_root.energy) + 1);
};
Symbol 801 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.powerup > 0) {
powerup = _root.powerup;
_root.powerup = 0;
gotoAndPlay (2);
}
};
Symbol 801 MovieClip Frame 5
_root.energy = _root.energy + powerup;
Symbol 806 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.ammo == 50) && (_currentframe == 1)) {
gotoAndPlay (2);
}
if (_root.ammo != 50) {
gotoAndStop (1);
}
};
Symbol 806 MovieClip Frame 20
stop();
Symbol 807 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.recharge);
};
Symbol 808 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop((_root.ammo * 2) + 1);
};
Symbol 810 MovieClip Frame 30
stop();
onEnterFrame = function () {
if (_root.ammob != _root.ammo) {
_root.ammob = _root.ammo;
gotoAndPlay (2);
}
};
Symbol 819 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.ruready == 2) {
_root.ruready = 1;
gotoAndPlay (2);
}
};
Symbol 819 MovieClip Frame 22
Mouse.hide();
_root.boxx.miree._visible = true;
Symbol 819 MovieClip Frame 70
_root.gamego = 3;
_root.canshot = 2;
_root.canmove = 2;
Symbol 819 MovieClip Frame 86
_root.cnt_go = 2;
stop();
Symbol 823 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.orbsb != _root.orbs) {
_root.orbsb = _root.orbs;
gotoAndPlay (2);
}
};
Symbol 849 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 5
_root.canshot = 2;
_root.canmove = 2;
_root.tuto_part_1_go = 2;
_root.tuto_part = 1;
_parent.gotoAndStop(1);
stop();
Symbol 850 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gotuto == 2) {
_root.gotuto = 1;
gotoAndPlay (2);
}
};
Symbol 850 MovieClip Frame 50
stop();
Instance of Symbol 94 MovieClip in Symbol 850 MovieClip Frame 50
onClipEvent (load) {
boxx.txx = "NEXT";
boxx2.txx = boxx.txx;
boxx3.boxx.txx = boxx.txx;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.boxx.nextFrame();
}
}
Symbol 850 MovieClip Frame 51
gotoAndPlay (52);
Symbol 850 MovieClip Frame 130
_root.ruready = 2;
stop();
Symbol 866 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.tuto_part);
if (_root.energy <= 20) {
_root.energy = 100;
}
};
Symbol 867 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part_1_go == 2) {
_root.tuto_part_1_go = 1;
gotoAndPlay (2);
}
};
Symbol 867 MovieClip Frame 30
stop();
Symbol 876 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.timee == 5) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
};
Symbol 876 MovieClip Frame 49
gotoAndPlay (2);
Symbol 877 MovieClip Frame 49
_root.timee = _root.timee - 1;
if (_root.energy <= 0) {
gotoAndStop (1);
}
if (_root.timee == 0) {
_root.boxx.ora.gotoAndStop(8);
stop();
} else {
gotoAndPlay (2);
}
Symbol 878 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.time_go == 2) {
_root.time_go = 1;
gotoAndPlay (2);
}
};
Symbol 878 MovieClip Frame 50
stop();
Instance of Symbol 810 MovieClip in Symbol 879 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (30);
}
Instance of Symbol 850 MovieClip in Symbol 879 MovieClip Frame 1
onClipEvent (load) {
if (_root.tuto == 2) {
gotoAndPlay (51);
}
}
Symbol 881 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.shake != 0) {
_root.shake_power = _root.shake;
_root.shake = 0;
gotoAndPlay (2);
}
};
Symbol 881 MovieClip Frame 2
_root.boxx._y = y_initial + _root.shake_power;
Symbol 881 MovieClip Frame 3
_root.boxx._y = y_initial - _root.shake_power;
Symbol 881 MovieClip Frame 4
_root.boxx._y = y_initial + (_root.shake_power / 1.5);
Symbol 881 MovieClip Frame 5
_root.boxx._y = y_initial - (_root.shake_power / 1.5);
Symbol 881 MovieClip Frame 6
_root.boxx._y = y_initial + (_root.shake_power / 2);
Symbol 881 MovieClip Frame 7
_root.boxx._y = y_initial - (_root.shake_power / 2);
Symbol 881 MovieClip Frame 8
_root.boxx._y = y_initial + (_root.shake_power / 3);
Symbol 881 MovieClip Frame 9
_root.boxx._y = y_initial - (_root.shake_power / 3);
Symbol 881 MovieClip Frame 10
_root.boxx._y = y_initial + (_root.shake_power / 4);
Symbol 881 MovieClip Frame 11
_root.boxx._y = y_initial - (_root.shake_power / 4);
Symbol 881 MovieClip Frame 12
_root.boxx._y = y_initial;
Symbol 884 MovieClip Frame 1
gotoAndPlay(random(250) + 2);
Symbol 884 MovieClip Frame 300
aa = random(6) + 1;
if (eval ("_root.e_" + aa) == 2) {
gotoAndPlay (299);
} else {
Set("_root.e_" + aa, 2);
_root.stat_1 = _root.stat_1 + 1;
gotoAndPlay(_root.lvl * 30);
}
Symbol 886 MovieClip Frame 1
gotoAndPlay(random(250) + 2);
Symbol 886 MovieClip Frame 281
how_many = random(_root.lvl) + 1;
Symbol 886 MovieClip Frame 300
aa = random(10) + 11;
if (eval ("_root.e_" + aa) == 2) {
gotoAndPlay (299);
} else {
Set("_root.e_" + aa, 2);
_root.stat_2 = _root.stat_2 + 1;
how_many = how_many - 1;
if (how_many != 0) {
gotoAndPlay(random(17) + 281);
} else {
gotoAndPlay(_root.lvl * 30);
}
}
Symbol 888 MovieClip Frame 1
gotoAndPlay(random(250) + 2);
Symbol 888 MovieClip Frame 281
how_many = random(Math.round(_root.lvl / 2)) + 1;
Symbol 888 MovieClip Frame 300
aa = random(17) + 21;
if (eval ("_root.e_" + aa) == 2) {
gotoAndPlay (299);
} else {
Set("_root.e_" + aa, 2);
_root.stat_3 = _root.stat_3 + 1;
how_many = how_many - 1;
if (how_many != 0) {
gotoAndPlay (299);
} else {
gotoAndPlay(_root.lvl * 30);
}
}
Symbol 889 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.cnt_go == 2) {
_root.cnt_go = 1;
_root.time_go = 2;
gotoAndStop (2);
}
};
Symbol 891 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 1) {
if (_currentframe == 1) {
_root.boxx.miree._visible = true;
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 891 MovieClip Frame 150
_root.e_1 = 2;
stop();
onEnterFrame = function () {
if (_root.e_1 == 1) {
_root.tuto_part = 2;
_root.tuto_part_1_go = 2;
gotoAndStop (1);
}
};
Symbol 892 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 2) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 892 MovieClip Frame 2
if (_root.ammo == 50) {
_root.ammo = 25;
}
stop();
onEnterFrame = function () {
if (_root.ammo == 50) {
_root.tuto_part = 3;
_root.tuto_part_1_go = 2;
gotoAndStop (1);
}
};
Symbol 893 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 4) {
if (_currentframe == 1) {
_root.energy = 100;
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 893 MovieClip Frame 150
_root.e_11 = 2;
stop();
onEnterFrame = function () {
if (_root.e_11 == 1) {
if (_root.energy == 100) {
_root.tuto_part = 5;
_root.tuto_part_1_go = 2;
gotoAndStop (1);
} else {
_root.energy = 100;
_root.e_11 = 2;
}
}
};
Symbol 894 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 3) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 894 MovieClip Frame 150
_root.e_1 = 2;
stop();
onEnterFrame = function () {
if (_root.tuto_part_3_block == 2) {
_root.boxx.boxx.en_1.gotoAndPlay(_root.boxx.boxx.en_1._currentframe + 2);
_root.e_1 = 1;
_root.tuto_part = 4;
_root.tuto_part_1_go = 2;
gotoAndStop (1);
} else if (_root.boxx.boxx.en_1._currentframe == 1) {
_root.boxx.boxx.en_1.gotoAndPlay(2);
}
if (_root.boxx.boxx.en_1.energy != 100) {
_root.boxx.boxx.en_1.energy = 100;
}
};
Symbol 895 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 5) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 895 MovieClip Frame 150
_root.e_27 = 2;
_root.e_28 = 2;
_root.e_29 = 2;
_root.e_30 = 2;
_root.e_31 = 2;
stop();
onEnterFrame = function () {
if (((((_root.e_27 == 1) && (_root.e_28 == 1)) && (_root.e_29 == 1)) && (_root.e_30 == 1)) && (_root.e_31 == 1)) {
_root.tuto_part = 6;
_root.tuto_part_1_go = 2;
gotoAndStop (1);
}
};
Symbol 896 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 6) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 896 MovieClip Frame 300
_root.tuto_part = 7;
gotoAndStop (1);
Symbol 897 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tuto_part == 7) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 897 MovieClip Frame 200
_root.got2go = 4;
_root.rankb = 1;
_root.rank = 1;
stop();
Symbol 898 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 2
stop();
Symbol 900 MovieClip Frame 1
Symbol 900 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (_root.gamego == 3) {
_root.gamego = 1;
gotoAndPlay (4);
}
};
Instance of Symbol 501 MovieClip "boxx" in Symbol 900 MovieClip Frame 6
onClipEvent (load) {
gotoAndPlay(_root.muz * 2);
}
Symbol 900 MovieClip Frame 11
stop();