Combined Code
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) ? /:$version : 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);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
mochi.as2.MochiAd.showPreGameAd({'id': '8b8aea6a98e80a62', 'res': '800x440'});
__com_mochibot__('be5ab2d1', this, 10301, true);
}
frame 1 {
_root.lavr = 13;
}
frame 1 {
function menuChoiceOne() {
getURL('http://www.pyrozen.com', '');
}
_root.volum = 100;
_root.qual = 2;
_quality = 'medium';
_root.cheat_1 = 1;
_root.cheat_2 = 1;
_root.cheat_3 = 1;
_root.cheat_4 = 1;
_root.cheat_5 = 1;
_root.cheat_6 = 1;
_root.ac_1 = 1;
_root.ac_2 = 1;
_root.ac_3 = 1;
_root.ac_4 = 1;
_root.ac_5 = 1;
_root.ac_6 = 1;
_root.ac_7 = 1;
_root.ac_8 = 1;
_root.ac_9 = 1;
_root.ac_10 = 1;
_root.ac_1_t = 'Kill 10 people';
_root.ac_2_t = 'Kill 20 people';
_root.ac_3_t = 'Kill 30 people';
_root.ac_4_t = 'Kill 40 people';
_root.ac_5_t = 'Kill 50 people';
_root.ac_6_t = 'Destroy 4 Objects';
_root.ac_7_t = 'Destroy 8 Objects';
_root.ac_8_t = 'Destroy 12 Objects';
_root.ac_9_t = 'Destroy 16 Objects';
_root.ac_10_t = 'Destroy 20 Objects';
_root.ob_1 = 'Kill 3 people with the rocket';
_root.ob_2 = 'Kill 4 people with the kamikaze bomb';
_root.ob_3 = 'Blow yourself with the church';
_root.ob_4 = 'Blow yourself with the rocket';
_root.ob_5 = 'Drop a mine in Al Qaida\'s Hideout';
_root.ob_6 = 'Exterminate only the Ku-klux-klan';
_root.ob_7 = 'Kill 3 skinheads with the grenade launcher';
_root.ob_8 = 'Kill 1 mafioso with car explosions';
_root.ob_9 = 'Injure 6 people';
_root.ob_10 = 'Destroy a helicopter in the sky';
_root.ob_11 = 'Blow up a satelite';
_root.ob_12 = 'Blow yourself with a mine';
_root.ob_13 = 'Find a way to destroy the tank';
_root.ob_14 = 'Destroy the KKK cross without killing them';
_root.ob_15 = 'Reach space with the jetpack';
_root.ob_16 = 'Burst 3 barrels with mines';
_root.ob_17 = 'Grenade the bikers from the army platform';
_root.ob_18 = 'Kill 8 people with explosives barrels';
_root.ob_19 = 'Kill only the nazis and the KKK';
_root.ob_20 = 'Kill 35 people';
_root.ob_21 = 'Create a combo of 7 explosions';
_root.ob_22 = 'Destroy the train completly';
_root.ob_23 = 'Kill all kamikaze with mines';
_root.ob_24 = 'Destroy 6 vehicules';
_root.ob_25 = 'Kill 5 people on the ground with a plane';
_root.ob_26 = 'Crash a jet on the Us Army';
_root.ob_27 = 'Slice 25 people';
_root.ob_28 = 'Crash an aircraft on another aircraft';
_root.ob_29 = 'Kill 50 people';
_root.ob_30 = 'Exterminate the Us Army';
stop();
_root.user = SharedObject.getLocal('user_massmayhem2');
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;
}
movieClip 3 {
}
movieClip 5 {
frame 1 {
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
eval(bar)._xscale = _root.PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_root.play();
}
}
movieClip 9 {
}
movieClip 10 {
frame 1 {
stop();
onEnterFrame = function () {
gotoAndStop(_root.PercentLoaded);
};
}
}
movieClip 12 {
}
movieClip 17 {
}
movieClip 18 {
frame 1 {
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
play();
}
if (aa != 0) {
aa -= 1;
}
};
}
}
movieClip 19 {
}
// unknown tag 88 length 69
movieClip 1626 __Packages.mochi.as2.MochiAd {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiAd) {
var v1 = function () {};
mochi.as2.MochiAd = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showPreGameAd = function (options) {
var v27 = {'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 = mochi.as2.MochiAd._parseOptions(options, v27);
if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') {
options.ad_started();
options.ad_finished();
return undefined;
}
var clip = options.clip;
var v24 = 11000;
var v19 = options.ad_timeout;
if (options.skip) {
v19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v15 = mochi.as2.MochiAd._getRes(options);
var v5 = v15[0];
var v14 = v15[1];
mc._x = v5 * 0.5;
mc._y = v14 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk._x = v5 * -0.5;
chk._y = v14 * -0.5;
var v7 = chk.createEmptyMovieClip('_mochiad_bar', 4);
if (options.no_progress_bar) {
v7._visible = false;
delete options.no_progress_bar;
} else {
v7._x = 10;
v7._y = v14 - 20;
}
var v23 = options.color;
delete options.color;
var v21 = options.background;
delete options.background;
var v25 = options.outline;
delete options.outline;
var v6 = v7.createEmptyMovieClip('_outline', 1);
v6.beginFill(v21);
v6.moveTo(0, 0);
v6.lineTo(v5 - 20, 0);
v6.lineTo(v5 - 20, 10);
v6.lineTo(0, 10);
v6.lineTo(0, 0);
v6.endFill();
var v4 = v7.createEmptyMovieClip('_inside', 2);
v4.beginFill(v23);
v4.moveTo(0, 0);
v4.lineTo(v5 - 20, 0);
v4.lineTo(v5 - 20, 10);
v4.lineTo(0, 10);
v4.lineTo(0, 0);
v4.endFill();
v4._xscale = 0;
var v8 = v7.createEmptyMovieClip('_outline', 3);
v8.lineStyle(0, v25, 100);
v8.moveTo(0, 0);
v8.lineTo(v5 - 20, 0);
v8.lineTo(v5 - 20, 10);
v8.lineTo(0, 10);
v8.lineTo(0, 0);
chk.ad_msec = v24;
chk.ad_timeout = v19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
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 v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.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 v10 = this._parent._parent;
var v3 = v10;
for (;;) {
if (!(!v3.getBytesTotal() && v3)) break;
v3 = v3._parent;
}
if (!v3) {
v3 = _root;
}
var v13 = this._parent._mochiad_ctr;
var v7 = getTimer() - this.started;
var v5 = false;
var v6 = v3.getBytesTotal();
var v9 = v3.getBytesLoaded();
var v4 = 100 * v9 / v6;
var v12 = 100 * v7 / chk.ad_msec;
var v11 = this._mochiad_bar._inside;
var v15 = Math.min(100, Math.min(v4 || 0, v12));
v15 = Math.max(this.last_pcnt, v15);
this.last_pcnt = v15;
v11._xscale = v15;
options.ad_progress(v15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v4}, clip._mochiad._containerLCName);
if (v4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var v8 = v13.getBytesTotal();
if (v8 > 0 || typeof v8 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v7 > chk.ad_timeout && v4 == 100) {
options.ad_failed();
v5 = true;
}
}
}
if (v7 > chk.ad_msec) {
v5 = true;
}
if (v6 > 0 && v9 >= v6 && v5) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
};
v1.showClickAwayAd = function (options) {
var v10 = {'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 = mochi.as2.MochiAd._parseOptions(options, v10);
var clip = options.clip;
var v9 = options.ad_timeout;
delete options.ad_timeout;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var v3 = clip._mochiad;
v3.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v11 = v5[0];
var v8 = v5[1];
v3._x = v11 * 0.5;
v3._y = v8 * 0.5;
var chk = v3.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_timeout = v9;
chk.started = getTimer();
chk.showing = false;
v3.lc.adLoaded = options.ad_loaded;
v3.lc.adSkipped = options.ad_skipped;
v3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
v3.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
var v21 = false;
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
v2 = true;
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v2) {
delete this.onEnterFrame;
}
};
};
v1.showInterLevelAd = function (options) {
var v13 = {'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 = mochi.as2.MochiAd._parseOptions(options, v13);
var clip = options.clip;
var v10 = 11000;
var v12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v14 = v5[0];
var v11 = v5[1];
mc._x = v14 * 0.5;
mc._y = v11 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_msec = v10;
chk.ad_timeout = v12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.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 v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v4 > chk.ad_msec) {
v2 = true;
}
if (v2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
};
v1.showPreloaderAd = function (options) {
trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0');
mochi.as2.MochiAd.showPreGameAd(options);
};
v1.showTimedAd = function (options) {
trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0');
mochi.as2.MochiAd.showInterLevelAd(options);
};
v1._allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.load = function (options) {
var v12 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'};
options = mochi.as2.MochiAd._parseOptions(options, v12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = mochi.as2.MochiAd.getVersion();
var v6 = options.clip;
if (!mochi.as2.MochiAd._isNetworkAvailable()) {
return null;
}
if (v6._mochiad_loaded) {
return null;
}
var v11 = options.depth;
delete options.depth;
var mc = v6.createEmptyMovieClip('_mochiad', v11);
var v10 = mochi.as2.MochiAd._getRes(options);
options.res = v10[0] + 'x' + v10[1];
options.server += options.id;
delete options.id;
v6._mochiad_loaded = true;
if (v6._url.indexOf('http') != 0) {
trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal');
}
var v4 = mc.createEmptyMovieClip('_mochiad_ctr', 1);
for (var v7 in options) {
v4[v7] = options[v7];
}
var v9 = v4.server;
delete v4.server;
var v13 = mochi.as2.MochiAd._allowDomains(v9);
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 v5 = new Object();
var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_');
v5.mc = mc;
v5.name = v8;
v5.hostname = v13;
v5.allowDomain = function (d) {
return true;
};
v5.allowInsecureDomain = v5.allowDomain;
v5.connect(v8);
mc.lc = v5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
v4.lc = v8;
v4.st = getTimer();
if (!options.skip) {
v4.loadMovie(v9 + '.swf', 'POST');
}
return mc;
};
v1.unload = function (clip) {
if (typeof clip == 'undefined') {
clip = _root;
}
if (clip.clip && clip.clip._mochiad) {
clip = clip.clip;
}
if (!clip._mochiad) {
return false;
}
mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return true;
};
v1._isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1._getRes = function (options) {
var v3 = options.clip.getBounds();
var v2 = 0;
var v1 = 0;
if (typeof options.res != 'undefined') {
var v4 = options.res.split('x');
v2 = parseFloat(v4[0]);
v1 = parseFloat(v4[1]);
} else {
v2 = v3.xMax - v3.xMin;
v1 = v3.yMax - v3.yMin;
}
if (v2 == 0 || v1 == 0) {
v2 = Stage.width;
v1 = Stage.height;
}
return [v2, v1];
};
v1._parseOptions = function (options, defaults) {
var v4 = {};
for (var v8 in defaults) {
v4[v8] = defaults[v8];
}
if (options) {
for (v8 in options) {
v4[v8] = options[v8];
}
}
if (_root.mochiad_options) {
var v5 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v5.length) {
var v3 = v5[v2].split('=');
v4[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
if (v4.id == 'test') {
trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!');
}
return v4;
};
v1.rpc = function (clip, callbackID, arg) {
switch (arg.id) {
case 'setValue':
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case 'getValue':
var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName);
break;
case 'runMethod':
var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName);
break;
default:
trace('[mochiads rpc] unknown rpc id: ' + arg.id);
}
};
v1.setValue = function (base, objectName, value) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
base[v2[v1]] = value;
};
v1.getValue = function (base, objectName) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
return base[v2[v1]];
};
v1.runMethod = function (base, methodName, argsArray) {
var v2 = methodName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
if (typeof base[v2[v1]] == 'function') {
return base[v2[v1]].apply(base, argsArray);
} else {
return undefined;
}
};
v1.containerNotify = function (clip, args, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.notify) {
v1.notify(args);
} else {
(new LocalConnection()).send(lcName, 'notify', args);
}
};
v1.containerRpcResult = function (clip, callbackID, val, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.rpcResult) {
v1.rpcResult(callbackID, val);
} else {
(new LocalConnection()).send(lcName, 'rpcResult', callbackID, val);
}
};
ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1);
}
#endinitclip
}
movieClip 1627 __Packages.mochi.as2.MochiEventDispatcher {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEventDispatcher) {
var v1 = function () {
this.eventTable = {};
};
mochi.as2.MochiEventDispatcher = v1;
var v2 = v1.prototype;
v2.buildDelegate = function (thisObject, thatObject) {
var v2 = {'thisObject': thisObject, 'thatObject': thatObject};
if (thatObject != undefined) {
var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject;
v2.delegate = function (args) {
funct.call(thisObject, args);
};
return v2;
}
v2.delegate = thisObject;
return v2;
};
v2.compareDelegate = function (d_A, d_B) {
if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) {
return false;
}
return true;
};
v2.addEventListener = function (event, thisObject, thatObject) {
this.removeEventListener(event, thisObject, thatObject);
this.eventTable[event].push(this.buildDelegate(thisObject, thatObject));
};
v2.removeEventListener = function (event, thisObject, thatObject) {
var v3 = this.buildDelegate(thisObject, thatObject);
if (this.eventTable[event] == undefined) {
this.eventTable[event] = [];
return undefined;
}
for (var v4 in this.eventTable[event]) {
if (!this.compareDelegate(this.eventTable[event][v4], v3)) {
continue;
}
this.eventTable[event].splice(Number(v4), 1);
}
};
v2.triggerEvent = function (event, args) {
if (this.eventTable[event] == undefined) {
return undefined;
}
for (var v4 in this.eventTable[event]) {
this.eventTable[event][v4].delegate(args);
}
};
ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 1628 __Packages.mochi.as2.MochiServices {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiServices) {
var v1 = function () {};
mochi.as2.MochiServices = v1;
var v2 = v1.prototype;
v1.__get__id = function () {
return mochi.as2.MochiServices._id;
};
v1.__get__clip = function () {
return mochi.as2.MochiServices._container;
};
v1.__get__childClip = function () {
return mochi.as2.MochiServices._clip;
};
v1.getVersion = function () {
return '3.9.2 as2';
};
v1.allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.__get__isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1.__set__comChannelName = function (val) {
if (val != undefined) {
if (val.length > 3) {
mochi.as2.MochiServices._sendChannelName = val + '_fromgame';
mochi.as2.MochiServices.initComChannels();
}
}
return mochi.as2.MochiServices.__get__comChannelName();
};
v1.__get__connected = function () {
return mochi.as2.MochiServices._connected;
};
v1.connect = function (id, clip, onError) {
mochi.as2.MochiServices.warnID(id, false);
if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) {
trace('MochiServices Connecting...');
mochi.as2.MochiServices._connecting = true;
mochi.as2.MochiServices.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);
};
}
}
};
v1.disconnect = function () {
if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected;
mochi.as2.MochiServices.flush(true);
if (mochi.as2.MochiServices._clip != undefined) {
mochi.as2.MochiServices._clip.removeMovieClip();
delete mochi.as2.MochiServices._clip;
}
mochi.as2.MochiServices._listenChannel.close();
}
};
v1.init = function (id, clip) {
mochi.as2.MochiServices._id = id;
if (clip != undefined) {
mochi.as2.MochiServices._container = clip;
} else {
mochi.as2.MochiServices._container = _root;
}
mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container);
};
v1.loadCommunicator = function (id, clip) {
var v6 = '_mochiservices_com_' + id;
var v5 = new MovieClipLoader();
var v3 = {};
if (mochi.as2.MochiServices._clip != null) {
return mochi.as2.MochiServices._clip;
}
if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) {
return null;
}
if ((mochi.as2.MochiServices.urlOptions()).servURL) {
mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL;
}
var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services;
if ((mochi.as2.MochiServices.urlOptions()).servicesURL) {
v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL;
}
mochi.as2.MochiServices.allowDomains(v4);
mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false);
mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999);
mochi.as2.MochiServices.listen();
if (v3.waitInterval != null) {
clearInterval(v3.waitInterval);
}
v3.onLoadError = mochi.as2.MochiServices.loadError;
v3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
v3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
v3.startTime = getTimer();
v3.wait = function () {
if (getTimer() - this.startTime > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
}
clearInterval(this.waitInterval);
}
};
v3.waitInterval = setInterval(v3, 'wait', 1000);
v5.addListener(v3);
v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip);
mochi.as2.MochiServices._sendChannel = new LocalConnection();
mochi.as2.MochiServices._sendChannel._queue = [];
return mochi.as2.MochiServices._clip;
};
v1.loadError = function (target_mc, errorCode, httpStatus) {
trace('MochiServices could not load.');
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
v1.onStatus = function (infoObject) {
if (infoObject.level !== 'error') {
} else {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
}
};
v1.listen = function () {
mochi.as2.MochiServices._listenChannel = new LocalConnection();
mochi.as2.MochiServices._listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
mochi.as2.MochiServices._listenChannel.allowDomain = function (d) {
return true;
};
mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain;
mochi.as2.MochiServices._listenChannel._nextcallbackID = 0;
mochi.as2.MochiServices._listenChannel._callbacks = {};
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
trace('Waiting for MochiAds services to connect...');
};
v1.initComChannels = function () {
if (!mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'});
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()});
mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) {
var v5 = pkg.callbackID;
var v4 = this._callbacks[v5];
if (!v4) {
return undefined;
}
var v2 = v4.callbackMethod;
var v3 = v4.callbackObject;
if (v3 && typeof v2 == 'string') {
v2 = v3[v2];
}
if (v2 != undefined) {
v2.apply(v3, pkg.args);
}
delete this._callbacks[v5];
};
mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case 'services':
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case 'social':
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
mochi.as2.MochiServices._listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
};
trace('[SERVICES_API] connected!');
mochi.as2.MochiServices._connecting = false;
mochi.as2.MochiServices._connected = true;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift());
}
}
};
v1.flush = function (error) {
var v1;
var v2;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
v1 = mochi.as2.MochiServices._sendChannel._queue.shift();
false;
if (v1.callbackID != null) {
v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
}
delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
if (error) {
mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod);
}
}
};
v1.handleError = function (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);
}
}
}
};
v1.send = function (methodName, args, callbackObject, callbackMethod) {
if (mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
} else {
if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) {
trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName);
mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod);
mochi.as2.MochiServices.flush(true);
return undefined;
} else {
mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
}
}
mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod};
++mochi.as2.MochiServices._listenChannel._nextcallbackID;
};
v1.urlOptions = function () {
var v5 = {};
var v6;
if (_root._url.indexOf('mochiad_options') != -1) {
var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1;
v6 = _root._url.substr(v2, _root._url.length);
} else {
if (_root.mochiad_options) {
v6 = _root.mochiad_options;
}
}
if (v6) {
var v4 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v4.length) {
var v3 = v4[v2].split('=');
v5[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
return v5;
};
v1.warnID = function (bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length');
return undefined;
} else {
if (bid == '1e113c7239048b3f') {
if (leaderboard) {
trace('WARNING: Using testing board ID');
} else {
trace('WARNING: Using testing board ID as game ID');
}
return undefined;
} else {
if (bid == '84993a1de4031cd8') {
if (leaderboard) {
trace('WARNING: Using testing game ID as board ID');
} else {
trace('WARNING: Using testing game ID');
}
return undefined;
}
}
}
var v1 = 0;
while (v1 < bid.length) {
switch (bid.charAt(v1)) {
if (bid.charAt(v1) !== 'f') {
} else {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'a':
break;
case 'b':
case 'c':
case 'd':
case 'e':
}
default:
trace('WARNING: Board ID contains illegal characters: ' + bid);
return undefined;
}
++v1;
}
};
v1.addLinkEvent = function (url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var v2 = new Object();
v2.mav = mochi.as2.MochiServices.getVersion();
v2.swfv = btn.getSWFVersion() || 6;
v2.swfurl = btn._url;
v2.fv = System.capabilities.version;
v2.os = System.capabilities.os;
v2.lang = System.capabilities.language;
v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY;
var s = '?';
var v3 = 0;
for (var v6 in v2) {
if (v3 != 0) {
s += '&';
}
++v3;
s = s + v6 + '=' + escape(v2[v6]);
}
if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) {
var ping = btn.createEmptyMovieClip('ping', 777);
var v7 = btn.createEmptyMovieClip('nettest', 778);
mochi.as2.MochiServices.netupAttempted = true;
ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer());
v7.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 v4 = btn.createEmptyMovieClip('clk', 1001);
v4._alpha = 0;
v4.beginFill(1044735);
v4.moveTo(0, 0);
v4.lineTo(0, btn._height);
v4.lineTo(btn._width, btn._height);
v4.lineTo(btn._width, 0);
v4.lineTo(0, 0);
v4.endFill();
v4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL(url + s, '_blank');
} else {
getURL(burl, '_blank');
}
if (onClick != undefined) {
onClick();
}
};
};
v1.setContainer = function (clip) {};
v1.stayOnTop = function (clip) {};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.CONNECTED = 'onConnected';
v1._servURL = 'http://www.mochiads.com/static/lib/services/';
v1._services = 'services.swf';
v1._mochiLC = 'MochiLC.swf';
v1._listenChannelName = '__ms_';
v1._connecting = false;
v1._connected = false;
v1.netup = true;
v1.netupAttempted = false;
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
v1.addProperty('childClip', v1.__get__childClip, function () {});
v1.addProperty('clip', v1.__get__clip, function () {});
v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName);
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('id', v1.__get__id, function () {});
v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {});
ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1);
}
#endinitclip
}
movieClip 1629 __Packages.mochi.as2.MochiEvents {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEvents) {
var v1 = function () {};
mochi.as2.MochiEvents = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.startSession = function (achievementID) {
mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null);
};
v1.setNotifications = function (clip, style) {
var v2 = {};
for (var v3 in style) {
v2[v3] = style[v3];
}
v2.clip = clip;
mochi.as2.MochiServices.send('events_setNotifications', v2, null, null);
};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.startPlay = function (tag) {
if (tag == undefined) {
tag = 'gameplay';
}
mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null);
};
v1.endPlay = function () {
mochi.as2.MochiServices.send('events_clearRoundID', null, null, null);
};
v1.trackEvent = function (tag, value) {
mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null);
};
v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived';
v1.ALIGN_TOP_LEFT = 'ALIGN_TL';
v1.ALIGN_TOP = 'ALIGN_T';
v1.ALIGN_TOP_RIGHT = 'ALIGN_TR';
v1.ALIGN_LEFT = 'ALIGN_L';
v1.ALIGN_CENTER = 'ALIGN_C';
v1.ALIGN_RIGHT = 'ALIGN_R';
v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL';
v1.ALIGN_BOTTOM = 'ALIGN_B';
v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR';
v1.FORMAT_SHORT = 'ShortForm';
v1.FORMAT_LONG = 'LongForm';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1);
}
#endinitclip
}
movieClip 1630 __Packages.mochi.as2.MochiCoins {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiCoins) {
var v1 = function () {};
mochi.as2.MochiCoins = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showStore = function (options) {
mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null);
};
v1.showItem = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showItem call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null);
};
v1.showVideo = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showVideo call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null);
};
v1.getStoreItems = function () {
mochi.as2.MochiServices.send('coins_getStoreItems');
};
v1.requestFunding = function (properties) {
mochi.as2.MochiServices.send('social_requestFunding', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate);
};
v1.STORE_SHOW = 'StoreShow';
v1.STORE_HIDE = 'StoreHide';
v1.ITEM_OWNED = 'ItemOwned';
v1.ITEM_NEW = 'ItemNew';
v1.STORE_ITEMS = 'StoreItems';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1);
}
#endinitclip
}
movieClip 1631 __Packages.mochi.as2.MochiSocial {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSocial) {
var v1 = function () {};
mochi.as2.MochiSocial = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('social_hideLoginWidget');
};
v1.requestLogin = function (properties) {
mochi.as2.MochiServices.send('social_requestLogin', properties);
};
v1.getFriendsList = function (properties) {
mochi.as2.MochiServices.send('social_getFriendsList', properties);
};
v1.postToStream = function (properties) {
mochi.as2.MochiServices.send('social_postToStream', properties);
};
v1.inviteFriends = function (properties) {
mochi.as2.MochiServices.send('social_inviteFriends', properties);
};
v1.requestFan = function (properties) {
mochi.as2.MochiServices.send('social_requestFan', properties);
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('social_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.LOGIN_SHOWN = 'LoginShown';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.FRIEND_LIST = 'FriendsList';
v1.PROFILE_DATA = 'ProfileData';
v1.GAMEPLAY_DATA = 'GameplayData';
v1.ACTION_CANCELED = 'onCancel';
v1.ACTION_COMPLETE = 'onComplete';
v1.USER_INFO = 'UserInfo';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1.PROPERTIES_SIZE = 'PropertiesSize';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1);
}
#endinitclip
}
frame 3 {
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay(4);
}
};
}
// unknown tag 88 length 73
button 28 {
on (release) {
_parent.play();
}
}
movieClip 29 {
frame 150 {
stop();
}
}
frame 18 {
stop();
mySound = new Sound();
mySound.setVolume(100);
mySound.start(0, 1000);
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop(20);
stopAllSounds();
}
};
}
movieClip 34 {
}
movieClip 35 {
}
movieClip 36 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 41 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 45 {
}
movieClip 47 {
frame 67 {
stop();
}
}
button 49 {
on (release) {
getURL('http://www.pyrozen.com/', '_blank');
}
on (keyPress '<Space>') {
_root.got2go = 2;
}
}
movieClip 53 {
}
movieClip 54 {
frame 9 {
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay(1);
}
}
frame 30 {
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay(11);
}
}
}
movieClip 55 {
instance of movieClip 54 {
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing -= 1;
}
if (timing == 0) {
timing -= 1;
_visible = true;
}
if (timing == -1) {
_x = _x + (random(7) - 3);
_y = _y - speed;
_alpha = Math.round(alphaa);
alphaa -= alphaas;
}
}
}
}
movieClip 68 {
frame 12 {
stop();
}
}
movieClip 69 {
frame 1 {
stopAllSounds();
}
frame 236 {
_root.got2go = 2;
stop();
}
}
frame 19 {
_root.fromintro = 2;
stop();
}
movieClip 73 {
}
movieClip 74 {
frame 1 {
aa = random(7) + 1;
if (aa == 2) {
gotoAndPlay(16);
}
if (aa == 3) {
gotoAndPlay(31);
}
if (aa == 4) {
gotoAndPlay(66);
}
if (aa == 5) {
gotoAndPlay(91);
}
if (aa == 6) {
gotoAndPlay(116);
}
if (aa == 7) {
gotoAndPlay(173);
}
}
frame 15 {
gotoAndPlay(1);
}
frame 30 {
gotoAndPlay(1);
}
frame 65 {
gotoAndPlay(1);
}
frame 90 {
gotoAndPlay(1);
}
frame 115 {
gotoAndPlay(1);
}
frame 172 {
gotoAndPlay(1);
}
}
movieClip 76 {
}
movieClip 77 {
frame 1 {
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
play();
}
if (aa != 0) {
aa -= 1;
}
};
}
instance of movieClip 76 {
onClipEvent (load) {
aa = random(50) + 100;
_parent._xscale = aa;
_parent._yscale = aa;
}
}
frame 5 {
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
play();
}
if (aa != 0) {
aa -= 1;
}
};
}
}
movieClip 78 {
}
button 80 {
on (keyPress '<Space>') {
_parent.play();
_root.fromintro = 1;
}
}
movieClip 85 {
}
movieClip 87 {
frame 16 {
stop();
}
}
movieClip 88 {
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
instance of movieClip 87 {
onClipEvent (load) {
_rotation = _rotation + (random(40) - 20);
}
}
}
movieClip 90 {
frame 1 {
stopAllSounds();
}
instance of movieClip 88 {
onClipEvent (load) {
boxx.gotoAndStop(1);
gotoAndPlay(2);
}
}
instance of movieClip 88 {
onClipEvent (load) {
boxx.gotoAndStop(2);
gotoAndPlay(2);
}
}
instance of movieClip 88 {
onClipEvent (load) {
boxx.gotoAndStop(3);
gotoAndPlay(2);
}
}
frame 659 {
_parent.gotoAndStop(20);
}
}
movieClip 92 {
}
movieClip 93 {
}
button 95 {
on (release) {
_root.fromintro = 1;
_parent.gotoAndStop(20);
}
}
movieClip 96 {
}
frame 20 {
if (_root.user.data.lvl == undefined) {
bt_load._alpha = 40;
bt_load.gotoAndStop(21);
}
_root.muzalreadyplayed = 3;
_root.tuto = 1;
_root.cash = 0;
_root.tot_victims = 0;
_root.tot_ob_destroyed = 0;
_root.tot_injured = 0;
_root.tot_biggest_combo = 0;
_root.tot_time_played = 0;
_root.tot_nb_death = 0;
_root.tot_explosions = 0;
_root.tot_vehicules_explosions = 0;
_root.tot_rocket_distance = 0;
_root.tot_achievements = 0;
_root.tot_round = 0;
_root.tot_cash_spent = 0;
_root.tot_cash_win = 0;
_root.rocket_handling = 4;
_root.rocket_speed = 15;
_root.lvl = 1;
_root.wp_1 = 1;
_root.wp_2 = 1;
_root.wp_3 = 0;
_root.wp_4 = 0;
_root.wp_5 = 0;
_root.wp_6 = 0;
_root.wp_7 = 0;
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop(51);
}
};
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 104 {
frame 50 {
stop();
}
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
button 111 {
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(11);
}
}
movieClip 112 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
gotoAndPlay(1);
}
}
instance bt_load of movieClip 112 {
onClipEvent (load) {
boxx.txx = 'load game';
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(33);
}
}
}
instance of movieClip 112 {
onClipEvent (load) {
boxx.txx = 'start game';
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(31);
}
}
}
instance of movieClip 112 {
onClipEvent (load) {
boxx.txx = 'walkthrough';
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/walkthrough/massmayhem2.php', '_blank');
}
}
}
instance of movieClip 112 {
onClipEvent (load) {
boxx.txx = '+ games';
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/', '_blank');
}
}
}
movieClip 113 {
frame 2 {
stopAllSounds();
}
frame 4 {
stop();
}
}
instance of movieClip 113 {
onClipEvent (load) {
if (_root.fromintro == 2) {
_root.fromintro = 1;
gotoAndStop(1);
}
}
}
movieClip 120 {
}
movieClip 152 {
}
movieClip 154 {
}
movieClip 155 {
}
movieClip 181 {
}
movieClip 183 {
}
movieClip 184 {
}
movieClip 194 {
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 201 {
}
movieClip 204 {
}
movieClip 205 {
frame 25 {
}
}
movieClip 207 {
}
movieClip 209 {
}
movieClip 211 {
}
movieClip 213 {
}
movieClip 215 {
}
movieClip 217 {
}
movieClip 218 {
}
movieClip 220 {
}
movieClip 223 {
}
movieClip 225 {
}
movieClip 227 {
}
movieClip 229 {
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 235 {
frame 40 {
}
}
movieClip 236 {
}
movieClip 250 {
}
movieClip 305 {
}
movieClip 306 {
}
movieClip 347 {
}
movieClip 349 {
}
movieClip 351 {
}
movieClip 352 {
}
movieClip 383 {
}
movieClip 404 {
frame 1 {
lavr_link = 'http://www.neodelight.com';
shade = 1;
}
frame 2 {
lavr_link = 'http://www.andkon.com';
shade = 2;
}
frame 3 {
lavr_link = 'http://www.anyad.rulez.org';
shade = 1;
}
frame 4 {
lavr_link = 'http://www.girldressupgames.biz';
shade = 1;
}
frame 5 {
lavr_link = 'http://www.bringler.com';
shade = 1;
}
frame 6 {
lavr_link = 'http://www.bubblebox.com';
shade = 1;
}
frame 7 {
lavr_link = 'http://www.bunnygames.com';
shade = 1;
}
frame 8 {
lavr_link = 'http://www.dailyfreegames.com';
shade = 1;
}
frame 9 {
lavr_link = 'http://www.directgamez.com';
shade = 2;
}
frame 10 {
lavr_link = 'http://www.2flashgames.com';
shade = 2;
}
frame 11 {
lavr_link = 'http://www.flashninjaclan.com';
shade = 1;
}
frame 12 {
lavr_link = 'http://www.dailyaddictinggames.com/';
shade = 1;
}
frame 13 {
lavr_link = 'http://www.funny-games.biz';
shade = 1;
}
frame 14 {
lavr_link = 'http://www.gameitnow.com';
shade = 2;
}
frame 15 {
lavr_link = 'http://www.gamesplz.com';
shade = 0;
}
frame 16 {
lavr_link = 'http://www.onjogos.com.br';
shade = 1;
}
frame 17 {
lavr_link = 'http://www.gamesfreak.net';
shade = 2;
}
frame 18 {
lavr_link = 'http://www.stoneagegames.com';
shade = 1;
}
frame 19 {
lavr_link = 'http://www.jarkey.net';
shade = 2;
}
frame 20 {
lavr_link = 'http://www.gamesgames.com/';
shade = 1;
}
frame 21 {
lavr_link = 'http://www.keepbusy.net';
shade = 1;
}
frame 22 {
lavr_link = 'http://www.microjogos.com';
shade = 1;
}
frame 23 {
lavr_link = 'http://www.minijuegos.com';
shade = 2;
}
frame 24 {
lavr_link = 'http://www.oyunskor.com/';
shade = 1;
}
frame 25 {
lavr_link = 'http://www.mostfungames.com';
shade = 2;
}
frame 26 {
lavr_link = 'http://www.gameshot.org';
shade = 1;
}
frame 27 {
lavr_link = 'http://www.online-games-zone.com/';
shade = 2;
}
frame 28 {
lavr_link = 'http://www.puffgames.com';
shade = 2;
}
frame 29 {
lavr_link = 'http://www.spele.nl';
shade = 1;
}
frame 30 {
lavr_link = 'http://www.t45ol.com';
shade = 2;
}
frame 31 {
lavr_link = 'http://www.thegamesonline.com/';
shade = 1;
}
frame 32 {
lavr_link = 'http://www.ultimatearcade.com';
shade = 1;
}
frame 33 {
lavr_link = 'http://www.girlgames4u.com/';
shade = 1;
}
frame 34 {
lavr_link = 'http://www.gamesfree.ca/';
shade = 0;
}
frame 35 {
lavr_link = 'http://www.stickpage.com/';
shade = 1;
}
frame 36 {
lavr_link = 'http://www.gamespond.net/';
shade = 2;
}
frame 37 {
lavr_link = 'http://www.flashgames.it/';
shade = 1;
}
frame 38 {
lavr_link = 'http://www.gamesgirl.ca/';
shade = 1;
}
frame 39 {
lavr_link = 'http://www.hallpass.com/';
shade = 2;
}
frame 40 {
lavr_link = 'http://www.addictinggames.com/';
shade = 1;
}
frame 41 {
lavr_link = 'http://www.benz.be';
shade = 2;
}
frame 42 {
lavr_link = 'http://www.net-games.co.il/';
shade = 1;
}
frame 43 {
lavr_link = 'http://www.bgames.com';
shade = 1;
}
frame 44 {
lavr_link = 'http://www.pinkyarcade.com/';
shade = 1;
}
frame 45 {
lavr_link = 'http://www.komikler.com/index.php';
shade = 2;
}
frame 46 {
lavr_link = 'http://www.twizl.com/';
shade = 1;
}
frame 47 {
lavr_link = 'http://www.a10.com/';
shade = 1;
}
frame 48 {
lavr_link = 'http://www.bonniegames.com/';
shade = 1;
}
frame 49 {
lavr_link = 'http://www.ug2.com/';
shade = 0;
}
frame 50 {
lavr_link = 'http://www.agame.com';
shade = 1;
}
frame 51 {
lavr_link = 'http://www.gamesclub.com/';
shade = 1;
}
frame 52 {
lavr_link = 'http://www.killhours.com/';
shade = 1;
}
frame 53 {
lavr_link = 'http://www.flasharcadegamessite.com/';
shade = 1;
}
frame 54 {
lavr_link = 'http://www.roundgames.com/';
shade = 2;
}
frame 55 {
lavr_link = 'http://www.arcadegangsta.com/';
shade = 1;
}
frame 56 {
lavr_link = 'http://www.gamebusted.com/';
shade = 0;
}
frame 57 {
lavr_link = 'http://www.flash-games.net/';
shade = 1;
}
frame 58 {
lavr_link = 'http://www.flash-game.net/';
shade = 1;
}
frame 59 {
lavr_link = 'http://www.kingofgames.net';
shade = 1;
}
frame 60 {
lavr_link = 'http://www.playhub.com/';
shade = 0;
}
frame 61 {
lavr_link = 'http://www.123spill.no/';
shade = 1;
}
frame 62 {
lavr_link = 'http://www.dailygames.com/';
shade = 1;
}
frame 63 {
lavr_link = 'http://www.octogames.com/';
shade = 2;
}
frame 64 {
lavr_link = 'http://www.ugotgames.com/';
shade = 1;
}
frame 65 {
lavr_link = 'http://www.fupa.com/';
shade = 1;
}
frame 66 {
lavr_link = 'http://www.kibagames.com/';
shade = 0;
}
frame 67 {
lavr_link = 'http://www.kraloyun.com/';
shade = 0;
}
frame 68 {
lavr_link = 'http://www.spielaffe.de/';
shade = 0;
}
frame 69 {
lavr_link = 'http://www.39games.com';
shade = 2;
}
frame 70 {
lavr_link = 'http://www.bijuegos.com';
shade = 2;
}
frame 71 {
lavr_link = 'http://www.mofunzone.com';
shade = 2;
}
frame 72 {
lavr_link = 'http://www.freegamespy.com/';
shade = 2;
}
frame 73 {
lavr_link = 'http://www.jogos10.com';
shade = 0;
}
frame 74 {
lavr_link = 'http://www.juegos10.com';
shade = 0;
}
frame 75 {
lavr_link = 'http://flash.178.com/';
shade = 0;
}
frame 76 {
lavr_link = 'http://www.papajogos.com.br';
shade = 0;
}
frame 77 {
lavr_link = 'http://www.arcadelots.com/';
shade = 0;
}
frame 78 {
lavr_link = 'http://www.minigamers.com/';
shade = 0;
}
frame 79 {
lavr_link = 'http://www.stickpage.com';
shade = 0;
}
frame 80 {
lavr_link = 'http://www.y8.com/';
shade = 1;
}
frame 81 {
lavr_link = 'http://www.y3.com/';
shade = 1;
}
frame 83 {
lavr_link = 'http://www.videobash.com/';
shade = 0;
}
}
movieClip 405 {
frame 1 {
stop();
}
}
button 406 {
on (release) {
getURL(boxx.lavr_link, '_blank');
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(21);
}
}
movieClip 407 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
instance of movieClip 407 {
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();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 31 {
_root.visage = 1;
_root.clothes = 1;
_root.act = 1;
aa = random(100) + 100;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
if (_root.act == 1) {
_root.act = 5;
} else {
_root.act = 1;
}
aa = random(100) + 100;
}
if (aa != 0) {
aa -= 1;
}
};
}
movieClip 410 {
}
movieClip 413 {
}
button 415 {
on (release) {
gotoAndPlay(50);
}
}
movieClip 417 {
}
movieClip 425 {
frame 1 {
stop();
}
}
movieClip 426 {
instance of movieClip 425 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 436 {
frame 1 {
stop();
}
}
movieClip 437 {
instance of movieClip 436 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 447 {
frame 1 {
stop();
}
}
movieClip 448 {
instance of movieClip 447 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 457 {
frame 1 {
stop();
}
}
movieClip 458 {
instance of movieClip 457 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 469 {
frame 1 {
stop();
}
}
movieClip 470 {
frame 1 {
stop();
}
frame 2 {
_root.snd.voices.gotoAndPlay((random(5) + 6) * 2);
}
instance of movieClip 469 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 480 {
frame 1 {
stop();
}
}
movieClip 491 {
frame 1 {
stop();
}
}
movieClip 503 {
frame 1 {
stop();
}
frame 1 {
stop();
}
}
movieClip 513 {
frame 1 {
stop();
}
}
movieClip 514 {
instance of movieClip 513 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 516 {
instance of movieClip 503 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 517 {
instance of movieClip 503 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
}
}
movieClip 527 {
frame 1 {
stop();
}
}
movieClip 528 {
}
movieClip 529 {
frame 1 {
stop();
}
instance of movieClip 491 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
instance of movieClip 516 {
onClipEvent (enterFrame) {
if (_root.perso_side == 'R') {
_rotation = _root.cnt.rocket_angle._rotation;
} else {
_rotation = _root.cnt.rocket_angle._rotation * -1 + 180;
}
}
}
instance of movieClip 517 {
onClipEvent (load) {
if (_root.perso_side == 'R') {
_rotation = _root.cnt.rocket_angle._rotation;
} else {
_rotation = _root.cnt.rocket_angle._rotation * -1 + 180;
}
}
}
instance of movieClip 528 {
onClipEvent (enterFrame) {
if (_root.perso_side == 'R') {
_rotation = _root.cnt.rocket_angle._rotation;
} else {
_rotation = _root.cnt.rocket_angle._rotation * -1 + 180;
}
}
}
}
movieClip 532 {
frame 1 {
stop();
}
instance of movieClip 470 {
onClipEvent (enterFrame) {
if (_root.wp1 == 1 && _root.act == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 480 {
onClipEvent (load) {
gotoAndStop(_root.clothes);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.clothes);
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
if (_root.act == 1) {
if (_root.wp1 == 1) {
gotoAndStop(5);
} else {
gotoAndStop(1);
}
}
if (_root.act == 2) {
if (_root.wp1 == 2) {
gotoAndStop(2);
}
if (_root.wp1 == 4) {
gotoAndStop(4);
}
}
if (_root.act == 3) {
if (_root.wp1 == 2) {
gotoAndStop(3);
}
if (_root.wp1 == 4) {
gotoAndStop(4);
}
}
}
}
}
movieClip 542 {
frame 1 {
stop();
}
}
movieClip 543 {
instance of movieClip 542 {
onClipEvent (load) {
gotoAndStop(_root.visage);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.visage);
}
}
}
movieClip 544 {
}
movieClip 547 {
}
button 549 {
on (release) {
_root.clothes += 1;
if (_root.clothes == 10) {
_root.clothes = 1;
}
}
}
movieClip 552 {
}
button 554 {
on (release) {
_root.visage += 1;
if (_root.visage == 10) {
_root.visage = 1;
}
}
}
frame 33 {
_root.volum = _root.user.data.volum;
_root.tuto = _root.user.data.tuto;
_root.visage = _root.user.data.visage;
_root.clothes = _root.user.data.clothes;
_root.cash = _root.user.data.cash;
_root.tot_victims = _root.user.data.tot_victims;
_root.tot_ob_destroyed = _root.user.data.tot_ob_destroyed;
_root.tot_injured = _root.user.data.tot_injured;
_root.tot_biggest_combo = _root.user.data.tot_biggest_combo;
_root.tot_time_played = _root.user.data.tot_time_played;
_root.tot_nb_death = _root.user.data.tot_nb_death;
_root.tot_explosions = _root.user.data.tot_explosions;
_root.tot_vehicules_explosions = _root.user.data.tot_vehicules_explosions;
_root.tot_rocket_distance = _root.user.data.tot_rocket_distance;
_root.tot_achievements = _root.user.data.tot_achievements;
_root.tot_round = _root.user.data.tot_round;
_root.tot_cash_spent = _root.user.data.tot_cash_spent;
_root.tot_cash_win = _root.user.data.tot_cash_win;
_root.rocket_handling = _root.user.data.rocket_handling;
_root.lvl = _root.user.data.lvl;
_root.wp_1 = _root.user.data.wp_1;
_root.wp_2 = _root.user.data.wp_2;
_root.wp_3 = _root.user.data.wp_3;
_root.wp_4 = _root.user.data.wp_4;
_root.wp_5 = _root.user.data.wp_5;
_root.wp_6 = _root.user.data.wp_6;
_root.wp_7 = _root.user.data.wp_7;
_root.ac_1 = _root.user.data.ac_1;
_root.ac_2 = _root.user.data.ac_2;
_root.ac_3 = _root.user.data.ac_3;
_root.ac_4 = _root.user.data.ac_4;
_root.ac_5 = _root.user.data.ac_5;
_root.ac_6 = _root.user.data.ac_6;
_root.ac_7 = _root.user.data.ac_7;
_root.ac_8 = _root.user.data.ac_8;
_root.ac_9 = _root.user.data.ac_9;
_root.ac_10 = _root.user.data.ac_10;
timer = 60;
stop();
onEnterFrame = function () {
if (timer != 0) {
timer -= 1;
} else {
gotoAndStop(41);
}
};
}
movieClip 560 {
}
instance of movieClip 560 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
frame 34 {
_root.user.data.volum = _root.volum;
_root.user.data.tuto = _root.tuto;
_root.user.data.visage = _root.visage;
_root.user.data.clothes = _root.clothes;
_root.user.data.cash = _root.cash;
_root.user.data.tot_victims = _root.tot_victims;
_root.user.data.tot_ob_destroyed = _root.tot_ob_destroyed;
_root.user.data.tot_injured = _root.tot_injured;
_root.user.data.tot_biggest_combo = _root.tot_biggest_combo;
_root.user.data.tot_time_played = _root.tot_time_played;
_root.user.data.tot_nb_death = _root.tot_nb_death;
_root.user.data.tot_explosions = _root.tot_explosions;
_root.user.data.tot_vehicules_explosions = _root.tot_vehicules_explosions;
_root.user.data.tot_rocket_distance = _root.tot_rocket_distance;
_root.user.data.tot_achievements = _root.tot_achievements;
_root.user.data.tot_round = _root.tot_round;
_root.user.data.tot_cash_spent = _root.tot_cash_spent;
_root.user.data.tot_cash_win = _root.tot_cash_win;
_root.user.data.rocket_handling = _root.rocket_handling;
_root.user.data.lvl = _root.lvl;
_root.user.data.wp_1 = _root.wp_1;
_root.user.data.wp_2 = _root.wp_2;
_root.user.data.wp_3 = _root.wp_3;
_root.user.data.wp_4 = _root.wp_4;
_root.user.data.wp_5 = _root.wp_5;
_root.user.data.wp_6 = _root.wp_6;
_root.user.data.wp_7 = _root.wp_7;
_root.user.data.ac_1 = _root.ac_1;
_root.user.data.ac_2 = _root.ac_2;
_root.user.data.ac_3 = _root.ac_3;
_root.user.data.ac_4 = _root.ac_4;
_root.user.data.ac_5 = _root.ac_5;
_root.user.data.ac_6 = _root.ac_6;
_root.user.data.ac_7 = _root.ac_7;
_root.user.data.ac_8 = _root.ac_8;
_root.user.data.ac_9 = _root.ac_9;
_root.user.data.ac_10 = _root.ac_10;
_root.user.data.user.flush();
timer = 35;
stop();
onEnterFrame = function () {
if (timer != 0) {
timer -= 1;
} else {
if (_root.frommenu_upgrade == 2) {
_root.frommenu_upgrade = 1;
gotoAndPlay(50);
} else {
gotoAndStop(41);
}
}
};
}
instance of movieClip 560 {
onClipEvent (enterFrame) {
_rotation = _rotation + 4;
}
}
frame 40 {
stop();
onEnterFrame = function () {
if (_root.fromtuto_soskip == 2) {
_root.fromtuto_soskip = 1;
gotoAndStop(43);
}
};
}
movieClip 565 {
}
// unknown tag 88 length 203
movieClip 568 {
}
movieClip 570 {
}
movieClip 572 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 574 {
}
movieClip 576 {
}
movieClip 578 {
}
movieClip 580 {
}
// unknown tag 88 length 68
movieClip 587 {
}
movieClip 589 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 595 {
}
movieClip 597 {
}
movieClip 599 {
}
movieClip 602 {
}
movieClip 603 {
frame 17 {
stop();
}
}
movieClip 604 {
frame 1 {
stade = 1;
stop();
onEnterFrame = function () {
if (_root.mdone == 2 && stade == 1) {
stade = 2;
_root.lvl_up = 2;
_root.ob_done = 2;
gotoAndStop(2);
}
};
}
}
movieClip 606 {
}
movieClip 608 {
frame 1 {
stop();
}
}
movieClip 613 {
}
movieClip 615 {
}
movieClip 617 {
}
movieClip 619 {
}
movieClip 621 {
frame 40 {
stop();
}
}
movieClip 622 {
frame 1 {
boxx.aff = eval('_root.ob_' + _root.lvl);
if (_root.lvl == 31) {
_parent.time = 40;
_visible = false;
gotoAndStop(2);
}
aa = 40;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
play();
}
if (aa != 0) {
aa -= 1;
}
};
}
frame 50 {
if (_root.ob_done != 2) {
gotoAndPlay(101);
}
}
frame 100 {
_parent.ob_done_bonus = 5000;
stop();
}
frame 150 {
stop();
}
}
movieClip 623 {
frame 1 {
ob_done_bonus = 0;
ct_1.boxx.txx = 0;
ct_2.boxx.txx = 0;
ct_3.boxx.txx = 0;
ct_4.boxx.txx = 0;
aff_1 = 0;
aff_2 = 0;
aff_3 = 0;
aff_4 = 0;
cash = 0;
stade = 0;
time_between_pts = 2;
time_between = 5;
time_pts = time_between_pts;
time = 150;
tot_round += 1;
stop();
onEnterFrame = function () {
if (time != 0) {
time -= 1;
} else {
time_pts = time_between_pts;
stade += 1;
time = -1;
}
if (stade == 1) {
if (time_pts != 0) {
time_pts -= 1;
} else {
time_pts = time_between_pts;
if (ct_1.boxx.txx != _root.victims) {
ct_1.gotoAndPlay(2);
ct_1.boxx.txx += 1;
aff_1 += 500;
} else {
time = time_between;
time_pts = -1;
}
}
}
if (stade == 2) {
if (time_pts != 0) {
time_pts -= 1;
} else {
time_pts = time_between_pts;
if (ct_2.boxx.txx != _root.unjured) {
ct_2.gotoAndPlay(2);
ct_2.boxx.txx += 1;
aff_2 += 250;
} else {
time = time_between;
time_pts = -1;
}
}
}
if (stade == 3) {
if (time_pts != 0) {
time_pts -= 1;
} else {
time_pts = time_between_pts;
if (ct_3.boxx.txx != _root.explosions) {
ct_3.gotoAndPlay(2);
ct_3.boxx.txx += 1;
aff_3 += 200;
} else {
time = time_between;
time_pts = -1;
}
}
}
if (stade == 4) {
if (time_pts != 0) {
time_pts -= 1;
} else {
time_pts = time_between_pts;
if (ct_4.boxx.txx != _root.ob_destroyed) {
ct_4.gotoAndPlay(2);
ct_4.boxx.txx += 1;
aff_4 += 150;
} else {
time = time_between;
time_pts = -1;
}
}
}
if (stade == 5) {
if (time_pts != 0) {
time_pts -= 1;
} else {
if (aff_1 + aff_2 + aff_3 + aff_4 + ob_done_bonus > cash) {
cash += 100;
_parent.boxx_2.gotoAndPlay(2);
} else {
time = time_between;
time_pts = -1;
}
}
}
if (stade == 6) {
if (_parent._currentframe == 36) {
_root.cash += cash;
_root.tot_cash_win += cash;
_root.tot_victims += _root.victims;
_root.tot_explosions += _root.explosions;
_root.tot_injured += _root.unjured;
_root.tot_ob_destroyed += _root.ob_destroyed;
_parent.gotoAndPlay(37);
}
}
};
}
}
button 625 {
on (release) {
if (_root.lvl != 31 && _root.lvl_up == 2) {
_root.lvl_up = 1;
_root.lvl += 1;
}
gotoAndPlay(43);
}
}
movieClip 627 {
frame 36 {
stop();
onEnterFrame = function () {
boxx_2.boxx.cash = boxx_1.cash;
};
}
frame 42 {
stop();
}
frame 53 {
_parent.gotoAndStop(34);
stop();
}
}
instance of movieClip 627 {
onClipEvent (load) {
gotoAndPlay(2);
}
}
frame 41 {
stop();
onEnterFrame = function () {
mySound = new Sound();
mySound.setVolume(_root.volum);
mySound.start(0, 1000);
};
}
movieClip 629 {
}
movieClip 632 {
}
movieClip 634 {
}
movieClip 636 {
}
movieClip 638 {
}
movieClip 640 {
}
movieClip 642 {
}
button 643 {
on (release) {
_root.frommenu_upgrade = 2;
_parent._parent.gotoAndPlay(34);
}
}
movieClip 645 {
}
movieClip 646 {
}
button 647 {
on (release) {
_parent.gotoAndPlay(40);
}
}
button 648 {
on (release) {
_parent.gotoAndStop(47);
}
}
button 649 {
on (release) {
_parent.gotoAndStop(49);
}
}
movieClip 650 {
frame 1 {
stop();
onEnterFrame = function () {
if (_parent._currentframe <= 40) {
gotoAndStop(1);
} else {
if (_parent._currentframe >= 41 && _parent._currentframe <= 47) {
gotoAndStop(2);
}
if (_parent._currentframe >= 48 && _parent._currentframe <= 54) {
gotoAndStop(3);
}
if (_parent._currentframe == 55) {
gotoAndStop(4);
}
if (_parent._currentframe == 56) {
gotoAndStop(5);
}
}
};
}
instance of movieClip 632 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_2 != 0) {
_alpha = 100;
}
}
}
instance of movieClip 634 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_3 != 0) {
_alpha = 100;
}
}
}
instance of movieClip 636 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_4 != 0) {
_alpha = 100;
}
}
}
instance of movieClip 638 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_5 != 0) {
_alpha = 100;
}
}
}
instance of movieClip 640 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_6 != 0) {
_alpha = 100;
}
}
}
instance of movieClip 642 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_7 != 0) {
_alpha = 100;
}
}
}
}
movieClip 651 {
}
movieClip 652 {
}
movieClip 665 {
}
movieClip 667 {
}
movieClip 680 {
}
button 681 {
on (release) {
act = 2;
}
on (rollOver) {
_parent.infoz = txx;
gotoAndPlay(2);
}
on (rollOut) {
_parent.infoz = '';
gotoAndPlay(16);
}
}
movieClip 683 {
frame 1 {
stop();
}
frame 15 {
stop();
}
frame 30 {
gotoAndStop(1);
}
frame 31 {
stop();
onEnterFrame = function () {
if (timer != 0) {
timer -= 1;
} else {
if (_currentframe == 31) {
boxx_1.gotoAndStop(boxx._currentframe);
gotoAndPlay(32);
}
}
};
}
}
movieClip 688 {
}
movieClip 696 {
frame 1 {
stop();
onEnterFrame = function () {
txx = eval('_root.ob_' + nb);
if (_root.lvl == nb) {
gotoAndStop(2);
} else {
if (nb > _root.lvl) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
v;
}
};
}
}
movieClip 697 {
instance of movieClip 696 {
onClipEvent (load) {
nb = 1;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 2;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 3;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 4;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 5;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 6;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 7;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 8;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 9;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 10;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 11;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 12;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 13;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 14;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 15;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 16;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 17;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 18;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 19;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 20;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 21;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 22;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 23;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 24;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 25;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 26;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 27;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 28;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 29;
}
}
instance of movieClip 696 {
onClipEvent (load) {
nb = 30;
}
}
}
movieClip 699 {
}
movieClip 700 {
}
button 702 {
on (release) {
getURL('http://www.gamesfree.ca/walkthrough/massmayhem2.php', '_blank');
}
}
button 706 {
on (press) {
if (level != 30) {
level += 1;
}
}
}
button 709 {
on (press) {
if (level != 1) {
level -= 1;
}
}
}
movieClip 711 {
}
movieClip 712 {
frame 5 {
stop();
onEnterFrame = function () {
if (aa > level * 5) {
aa -= 1;
}
if (aa < level * 5) {
aa += 1;
}
gotoAndStop(aa);
};
}
}
movieClip 742 {
}
movieClip 744 {
}
button 745 {
on (release) {
_parent.mem_volum = _root.volum;
_root.volum = 10;
_parent.fromvidvolumdown = 2;
act = 2;
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(6);
}
}
button 746 {
on (rollOver) {
_parent.moverr.lvl = boxx.txx * 3;
_parent.moverr.gotoAndStop(2);
}
on (rollOut) {
_parent.moverr.gotoAndStop(1);
}
}
movieClip 747 {
frame 1 {
if (_root.lvl < boxx.txx * 3) {
gotoAndStop(10);
}
stop();
}
frame 5 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
button 750 {
on (release, keyPress '<Enter>') {
if (cheatbox == 'tiny') {
cheatbox = 'CHEAT ACTIVATED !';
_root.cheat_1 = 2;
}
if (cheatbox == 'small') {
cheatbox = 'CHEAT ACTIVATED !';
_root.cheat_2 = 2;
}
if (cheatbox == 'giant') {
cheatbox = 'CHEAT ACTIVATED !';
_root.cheat_2 = 3;
}
if (cheatbox == 'faster') {
cheatbox = 'CHEAT ACTIVATED !';
_root.cheat_4 = 2;
}
if (cheatbox == 'videos') {
cheatbox = 'CHEAT ACTIVATED !';
_root.lvl = 31;
vdbt_1.gotoAndStop(1);
vdbt_2.gotoAndStop(1);
vdbt_3.gotoAndStop(1);
vdbt_4.gotoAndStop(1);
vdbt_5.gotoAndStop(1);
vdbt_6.gotoAndStop(1);
vdbt_7.gotoAndStop(1);
vdbt_8.gotoAndStop(1);
vdbt_9.gotoAndStop(1);
vdbt_10.gotoAndStop(1);
}
if (cheatbox == 'cash') {
cheatbox = 'CHEAT ACTIVATED !';
_root.cash += 100000;
}
}
}
button 753 {
on (release) {
getURL('http://www.gamesfree.ca/walkthrough/massmayhem2.php', '_blank');
}
}
movieClip 756 {
frame 1 {
stop();
onEnterFrame = function () {
aff = 'do objective ' + _parent.lvl + '\n to unlock';
};
}
}
movieClip 757 {
frame 1 {
stop();
onEnterFrame = function () {
_x = _parent._xmouse;
_y = _parent._ymouse;
};
}
frame 2 {
stop();
}
}
movieClip 763 {
frame 1 {
stop();
onEnterFrame = function () {
txx = eval('_root.ac_' + nb + '_t');
gotoAndStop(eval('_root.ac_' + nb));
};
}
}
button 765 {
on (press) {
_root.chg_qual = 2;
}
}
button 767 {
on (press) {
_root.volum -= 10;
if (_root.volum == -10) {
_root.volum = 100;
}
}
}
movieClip 773 {
frame 1 {
stop();
onEnterFrame = function () {
gotoAndStop(_root.qual);
};
}
}
movieClip 776 {
}
movieClip 778 {
}
movieClip 780 {
}
movieClip 781 {
}
movieClip 782 {
}
movieClip 783 {
}
movieClip 784 {
instance of movieClip 781 {
onClipEvent (load) {
gotoAndStop(_root.wp_1 + 1);
}
}
instance of movieClip 781 {
onClipEvent (load) {
gotoAndStop(_root.wp_2 + 1);
}
}
instance of movieClip 782 {
onClipEvent (load) {
gotoAndStop(_root.wp_3 + 1);
}
}
instance of movieClip 782 {
onClipEvent (load) {
gotoAndStop(_root.wp_4 + 1);
}
}
instance of movieClip 783 {
onClipEvent (load) {
gotoAndStop(_root.wp_5 + 1);
}
}
instance of movieClip 782 {
onClipEvent (load) {
gotoAndStop(_root.wp_6 + 1);
}
}
instance of movieClip 783 {
onClipEvent (load) {
gotoAndStop(_root.wp_7 + 1);
}
}
}
movieClip 785 {
frame 4 {
_parent.play();
}
}
movieClip 786 {
frame 1 {
stop();
onEnterFrame = function () {
if (_parent.infoz != _parent.infozb) {
_parent.infozb = _parent.infoz;
gotoAndPlay(2);
}
if (_parent.infoz == '') {
boxx2._visible = false;
} else {
boxx2._visible = true;
}
};
}
frame 2 {
if (_parent.infoz == 'Kamikaze Bomb') {
boxx2.gotoAndStop(1);
}
if (_parent.infoz == 'Rocket Launcher') {
boxx2.gotoAndStop(2);
}
if (_parent.infoz == 'Mines') {
boxx2.gotoAndStop(3);
}
if (_parent.infoz == 'Grenade Launcher') {
boxx2.gotoAndStop(4);
}
if (_parent.infoz == 'Running Shoes') {
boxx2.gotoAndStop(5);
}
if (_parent.infoz == 'Jet Pack') {
boxx2.gotoAndStop(6);
}
if (_parent.infoz == 'hang-glider') {
boxx2.gotoAndStop(7);
}
}
frame 15 {
stop();
}
}
movieClip 790 {
}
button 791 {
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(11);
}
}
movieClip 798 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
gotoAndPlay(1);
}
}
movieClip 805 {
}
button 807 {
on (press) {
if (_root.rocket_handling != 10) {
_root.rocket_handling += 2;
}
}
}
button 808 {
on (press) {
if (_root.rocket_handling != 2) {
_root.rocket_handling -= 2;
}
}
}
movieClip 817 {
frame 1 {
gotoAndStop(_parent._parent.wp_upgrade);
}
}
movieClip 819 {
}
movieClip 821 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 824 {
frame 1 {
timer = 100000;
timerb = 100000;
onEnterFrame = function () {
if (timer != 0) {
timer -= 1;
} else {
_parent.gotoAndStop(47);
}
if (timerb != 0) {
timerb -= 1;
} else {
snd.gotoAndPlay(2);
eval('_root.wp_' + _parent.wp_upgrade) = _parent.wp_upgrade_lvl;
timerb = -1;
}
};
}
frame 29 {
_root.cash -= _parent.wp_upgrade_price;
_root.tot_cash_spent += _parent.wp_upgrade_price;
}
frame 50 {
gotoAndPlay(_parent.wp_upgrade * 50 + 1);
}
frame 100 {
timer = 40;
timerb = 1;
stop();
}
frame 150 {
timer = 40;
timerb = 1;
stop();
}
frame 200 {
timer = 40;
timerb = 1;
stop();
}
frame 250 {
timer = 40;
timerb = 1;
stop();
}
frame 300 {
timer = 40;
timerb = 1;
stop();
}
frame 350 {
timer = 40;
timerb = 1;
stop();
}
frame 400 {
timer = 40;
timerb = 1;
stop();
}
}
movieClip 825 {
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Objectives List';
boxx.gotoAndStop(1);
gotoAndStop(31);
timer = 0;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(41);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Weapons & Upgrades';
boxx.gotoAndStop(2);
gotoAndStop(31);
timer = 3;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(47);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Statistics';
boxx.gotoAndStop(3);
gotoAndStop(31);
timer = 6;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(42);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Bonus';
boxx.gotoAndStop(4);
gotoAndStop(31);
timer = 9;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(43);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'AChievements';
boxx.gotoAndStop(5);
gotoAndStop(31);
timer = 12;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(44);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Options';
boxx.gotoAndStop(6);
gotoAndStop(31);
timer = 15;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(45);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Quit Game';
boxx.gotoAndStop(7);
gotoAndStop(31);
timer = 18;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(46);
}
}
}
frame 39 {
_root.lvl_mem = 0;
fromvidvolumdown = 0;
}
frame 40 {
if (_root.lvl_mem != 0) {
_root.lvl = _root.lvl_mem;
_root.lvl_mem = 0;
}
if (fromvidvolumdown == 2) {
fromvidvolumdown = 1;
_root.volum = mem_volum;
}
infoz = '';
stop();
}
instance of movieClip 712 {
onClipEvent (load) {
aa = 5;
level = _root.lvl;
}
}
frame 42 {
stat_3 = 0;
hours = 0;
minutes = 0;
seconds = _root.tot_time_played;
minutes += Math.round(seconds / 60);
seconds -= minutes * 60;
aff_2_2 = _root.tot_rocket_distance / 1000;
aff_2 = aff_2_2 + ' Km';
trace(_root.tot_rocket_distance);
aff_3 = _root.lvl - 1 + '/30';
aff_4_2 = _root.ac_1 + _root.ac_2 + _root.ac_3 + _root.ac_4 + _root.ac_5 + _root.ac_6 + _root.ac_7 + _root.ac_8 + _root.ac_9 + _root.ac_10 - 10;
aff_4 = aff_4_2 + '/10';
stop();
onEnterFrame = function () {
if (seconds > 59) {
seconds -= 60;
minutes += 1;
}
if (minutes > 59) {
minutes -= 60;
hours += 1;
}
if (seconds > 9) {
seconds2 = seconds;
} else {
seconds2 = '0' + seconds;
}
if (minutes > 9) {
minutes2 = minutes;
} else {
minutes2 = '0' + minutes;
}
if (hours > 9) {
hours2 = hours;
} else {
hours2 = '0' + hours;
}
aff_1 = hours2 + ': ' + minutes2 + ': ' + seconds2;
};
}
frame 43 {
_root.lvl_mem = _root.lvl;
cheatbox = '';
}
instance vdbt_1 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=3451', '_blank');
}
}
}
instance vdbt_2 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=2211', '_blank');
}
}
}
instance vdbt_3 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 3;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=7609', '_blank');
}
}
}
instance vdbt_4 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 4;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=0909', '_blank');
}
}
}
instance vdbt_5 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 5;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=3456', '_blank');
}
}
}
instance vdbt_6 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 6;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=1131', '_blank');
}
}
}
instance vdbt_7 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 7;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=0002', '_blank');
}
}
}
instance vdbt_8 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 8;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=6762', '_blank');
}
}
}
instance vdbt_9 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 9;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=9184', '_blank');
}
}
}
instance vdbt_10 of movieClip 747 {
onClipEvent (load) {
boxx.txx = 10;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL('http://www.gamesfree.ca/bonus/massmayhem2.php?page=3021', '_blank');
}
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 1;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 2;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 3;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 4;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 5;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 10;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 9;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 8;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 7;
}
}
instance of movieClip 763 {
onClipEvent (load) {
nb = 6;
}
}
frame 45 {
onEnterFrame = function () {
affvol = _root.volum + ' %';
mySound = new Sound();
mySound.setVolume(_root.volum);
mySound.start(0, 1000);
if (_root.chg_qual == 2 && _root.qual == 1) {
_root.chg_qual = 1;
_root.qual = 2;
_quality = 'medium';
}
if (_root.chg_qual == 2 && _root.qual == 2) {
_root.chg_qual = 1;
_root.qual = 3;
_quality = 'high';
}
if (_root.chg_qual == 2 && _root.qual == 3) {
_root.chg_qual = 1;
_root.qual = 1;
_quality = 'low';
}
};
}
instance of movieClip 112 {
onClipEvent (load) {
boxx.txx = 'YES';
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(18);
}
}
}
instance of movieClip 112 {
onClipEvent (load) {
boxx.txx = 'NO';
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(40);
}
}
}
frame 47 {
infoz = '';
stop();
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Kamikaze Bomb';
boxx.gotoAndStop(8);
gotoAndStop(31);
timer = 0;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(48);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Mines';
boxx.gotoAndStop(10);
gotoAndStop(31);
timer = 4;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(50);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Running Shoes';
boxx.gotoAndStop(12);
gotoAndStop(31);
timer = 8;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(52);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'hang-glider';
boxx.gotoAndStop(14);
gotoAndStop(31);
timer = 12;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(54);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Rocket Launcher';
boxx.gotoAndStop(9);
gotoAndStop(31);
timer = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(49);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Grenade Launcher';
boxx.gotoAndStop(11);
gotoAndStop(31);
timer = 6;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(51);
}
}
}
instance of movieClip 683 {
onClipEvent (load) {
txx = 'Jet Pack';
boxx.gotoAndStop(13);
gotoAndStop(31);
timer = 10;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(53);
}
}
}
frame 48 {
wp_upgrade = 1;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 15000;
level = 2;
txx = 'explosion - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_1 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 30000;
level = 3;
txx = 'explosion - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_1 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 75000;
level = 4;
txx = 'explosion - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_1 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 125000;
level = 5;
txx = 'explosion - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_1 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
frame 49 {
wp_upgrade = 2;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 0;
txx = 'handling';
boxx.txx = 'customize';
}
onClipEvent (enterFrame) {
affprice = '';
if (act == 2) {
act = 1;
_parent.gotoAndStop(55);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 15000;
level = 2;
txx = 'explosion & fuel - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_2 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 30000;
level = 3;
txx = 'explosion & fuel - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_2 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 75000;
level = 4;
txx = 'explosion & fuel - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_2 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 150000;
level = 5;
txx = 'explosion & fuel - level ' + level;
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_2 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
frame 50 {
wp_upgrade = 3;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 20000;
level = 1;
txx = level + ' mine';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_3 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 50000;
level = 2;
txx = level + ' mines';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_3 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 75000;
level = 3;
txx = level + ' mines';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_3 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
frame 51 {
wp_upgrade = 4;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 20000;
level = 1;
txx = level + ' grenades';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_4 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 40000;
level = 2;
txx = level + ' grenades';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_4 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 80000;
level = 3;
txx = level + ' grenades';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_4 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
frame 52 {
wp_upgrade = 5;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 20000;
level = 1;
txx = 'more running speed';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_5 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
frame 53 {
wp_upgrade = 6;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 25000;
level = 1;
txx = level * 10 + ' seconds flight';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_6 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 40000;
level = 2;
txx = level * 10 + ' seconds flight';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_6 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 798 {
onClipEvent (load) {
price = 60000;
level = 3;
txx = level * 10 + ' seconds flight';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_6 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
frame 54 {
wp_upgrade = 7;
stop();
}
instance of movieClip 798 {
onClipEvent (load) {
price = 30000;
level = 1;
txx = 'glide in the sky';
if (_root.cash >= price) {
boxx.txx = 'buy';
} else {
boxx.txx = 'not enough cash';
gotoAndStop(21);
}
if (_root.wp_7 >= level) {
gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
affprice = price + ' $';
if (act == 2) {
act = 1;
_parent.wp_upgrade_price = price;
_parent.wp_upgrade_lvl = level;
_parent.gotoAndStop(56);
}
}
}
instance of movieClip 805 {
onClipEvent (enterFrame) {
gotoAndStop(_root.rocket_handling);
}
}
}
instance of movieClip 825 {
onClipEvent (load) {
gotoAndPlay(2);
}
}
frame 43 {
stop();
onEnterFrame = function () {};
}
button 827 {
on (release) {
gotoAndStop(44);
}
}
movieClip 850 {
frame 1 {
stop();
}
}
movieClip 886 {
frame 1 {
stop();
}
}
movieClip 902 {
frame 1 {
stop();
}
}
movieClip 939 {
frame 1 {
stop();
}
}
movieClip 972 {
frame 1 {
stop();
}
}
movieClip 1007 {
frame 1 {
stop();
}
}
movieClip 1031 {
frame 1 {
stop();
}
}
movieClip 1064 {
frame 1 {
stop();
}
}
movieClip 1075 {
frame 1 {
stop();
}
}
movieClip 1116 {
frame 1 {
stop();
}
}
movieClip 1118 {
}
movieClip 1120 {
}
movieClip 1122 {
}
movieClip 1124 {
}
movieClip 1126 {
}
movieClip 1127 {
frame 24 {
stop();
}
}
movieClip 1128 {
}
movieClip 1133 {
}
movieClip 1134 {
frame 1 {
aa = random(2) + 1;
if (aa == 1) {
_xscale = -100;
}
b.gotoAndStop(random(3) + 1);
}
frame 5 {
stop();
}
}
movieClip 1136 {
}
movieClip 1138 {
}
movieClip 1140 {
}
movieClip 1142 {
}
movieClip 1144 {
}
movieClip 1146 {
}
movieClip 1148 {
}
movieClip 1150 {
}
movieClip 1152 {
}
movieClip 1154 {
}
movieClip 1156 {
}
movieClip 1158 {
}
movieClip 1160 {
}
movieClip 1162 {
}
movieClip 1164 {
}
movieClip 1166 {
}
movieClip 1168 {
}
movieClip 1170 {
}
movieClip 1172 {
}
movieClip 1174 {
}
movieClip 1176 {
}
movieClip 1178 {
}
movieClip 1179 {
}
movieClip 1180 {
frame 1 {
stop();
}
instance of movieClip 1179 {
onClipEvent (load) {
gotoAndStop(random(22) + 1);
sr = random(40) - 20;
if (_root.act >= 5) {
px = Math.round(10 * _root.bomb_power / 100);
} else {
px = Math.round(10 * _root.rocket_power / 100);
}
if (_parent.side_explosion == 1) {
sx = (random(px) + 1) * -1;
} else {
sx = random(px) + 1;
}
sy = (random(10) + 1) * -1;
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 1) {
_parent._rotation += sr;
_parent._x += sx;
sx *= 0.98;
_parent._y += sy;
if (sy < -0.5) {
sy *= 0.88;
}
if (sy > -0.5 && sy < 1) {
sy = 1;
}
if (sy >= 1) {
sy *= 1.12;
}
}
}
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
++i;
}
}
}
}
movieClip 1182 {
frame 1 {
stop();
}
}
movieClip 1184 {
frame 1 {
stop();
}
}
movieClip 1186 {
frame 1 {
stop();
}
}
movieClip 1188 {
frame 1 {
stop();
}
}
movieClip 1190 {
frame 1 {
stop();
}
}
movieClip 1192 {
frame 1 {
stop();
}
}
movieClip 1194 {
frame 1 {
stop();
}
}
movieClip 1196 {
frame 1 {
stop();
}
}
movieClip 1198 {
frame 1 {
stop();
}
}
movieClip 1199 {
frame 1 {
stop();
}
}
movieClip 1200 {
frame 1 {
stop();
}
}
movieClip 1201 {
}
movieClip 1202 {
frame 9 {
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay(1);
}
}
frame 30 {
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay(11);
}
}
}
movieClip 1203 {
instance of movieClip 1202 {
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing -= 1;
}
if (timing == 0) {
timing -= 1;
_visible = true;
}
if (timing == -1) {
_x = _x + (random(7) - 3);
_y = _y - speed;
_alpha = Math.round(alphaa);
alphaa -= alphaas;
}
}
}
}
movieClip 1204 {
}
movieClip 1205 {
frame 1 {
speedwalk = random(3) + 1;
if (_root.cheat_1 == 2) {
_xscale = 50;
_yscale = 50;
speedwalk *= 0.5;
}
typee_mem = typee;
if (typee != 'sect') {
aa = random(2) + 1;
if (aa == 2) {
_xscale = _xscale * -1;
}
}
if (typee == 'kkk') {
limit_x1 = 471;
limit_x2 = 1330;
limit2_x1 = 471;
limit2_x2 = 1330;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(2) + 1;
gotoAndPlay(random(118) + 2);
}
if (typee == 'alqaida') {
limit_x1 = 1490;
limit_x2 = 2580;
limit2_x1 = 1070;
limit2_x2 = 2580;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(5) + 24;
gotoAndPlay(random(118) + 2);
}
if (typee == 'skinhead') {
limit_x1 = 1610;
limit_x2 = 2500;
limit2_x1 = 1610;
limit2_x2 = 8170;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(3) + 13;
gotoAndPlay(random(118) + 2);
}
if (typee == 'motard') {
limit_x1 = 2560;
limit_x2 = 3590;
limit2_x1 = 1610;
limit2_x2 = 8170;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(5) + 8;
gotoAndPlay(random(118) + 2);
}
if (typee == 'army') {
limit_x1 = 3695;
limit_x2 = 4960;
limit2_x1 = 3340;
limit2_x2 = 5360;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(5) + 18;
gotoAndPlay(random(118) + 2);
}
if (typee == 'nazi') {
limit_x1 = 5160;
limit_x2 = 5960;
limit2_x1 = 1610;
limit2_x2 = 8170;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(3) + 29;
gotoAndPlay(random(118) + 2);
}
if (typee == 'kamikaze') {
limit_x1 = 5960;
limit_x2 = 6680;
limit2_x1 = 1610;
limit2_x2 = 8170;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(4) + 32;
gotoAndPlay(random(118) + 2);
}
if (typee == 'thug') {
limit_x1 = 6800;
limit_x2 = 8100;
limit2_x1 = 1610;
limit2_x2 = 8170;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(5) + 3;
gotoAndPlay(random(118) + 2);
}
if (typee == 'mafia') {
limit_x1 = 6835;
limit_x2 = 8620;
limit2_x1 = 6835;
limit2_x2 = 8620;
_x = random(limit_x2 - limit_x1) + limit_x1;
typee = random(3) + 16;
gotoAndPlay(random(118) + 2);
}
if (typee >= 1 && typee <= 10) {
b1.boxx.gotoAndStop(random(3) + 1);
}
onEnterFrame = function () {
b1.gotoAndStop(typee);
b2.gotoAndStop(typee);
b3.gotoAndStop(typee);
b4.gotoAndStop(typee);
b5.gotoAndStop(typee);
b6.gotoAndStop(typee);
b7.gotoAndStop(typee);
b8.gotoAndStop(typee);
b9.gotoAndStop(typee);
b10.gotoAndStop(typee);
b11.gotoAndStop(typee);
if (_currentframe >= 81 && _currentframe <= 120) {
if (_xscale == 100) {
_x = _x - speedwalk;
} else {
_x = _x + speedwalk;
}
if (_x < limit_x1 || _x > limit_x2) {
_xscale = _xscale * -1;
}
}
if (_currentframe >= 261 && _currentframe <= 277) {
if (_xscale == 100) {
_x = _x - speedwalk * 2;
} else {
_x = _x + speedwalk * 2;
}
if (_x < limit_x1 || _x > limit_x2) {
_xscale = _xscale * -1;
}
}
if (_currentframe >= 121 && _currentframe <= 137) {
if (_xscale == 100) {
_x = _x - speedwalk * 2;
} else {
_x = _x + speedwalk * 2;
}
if (_x < limit2_x1 || _x > limit2_x2) {
_xscale = _xscale * -1;
}
}
};
}
instance of movieClip 76 {
onClipEvent (load) {
touch_sol = 1;
}
onClipEvent (enterFrame) {
if (_root.interr._currentframe == 1) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
touch_sol = 2;
} else {
if (touch_sol != 2) {
_parent._y += 30;
} else {
_parent._y += _parent.speedwalk * 2;
}
}
var nb = 1;
while (nb < 4) {
if (_root.cnt['mine_' + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt['mine_' + nb].gotoAndStop(4);
}
++nb;
}
if (_root.cnt.boom.hitt4.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_parent.gotoAndPlay(551);
}
if (_root.cnt.boom.hitt3.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_parent.gotoAndPlay(601);
}
if (_root.cnt.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(701);
}
if (_root.cnt.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(751);
}
if (_root.hitt_am.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._visible = true;
if (_root.cnt.b_1.hitt4.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_parent.gotoAndPlay(551);
}
if (_root.cnt.b_1.hitt3.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_parent.gotoAndPlay(601);
}
if (_root.cnt.b_1.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(701);
}
if (_root.cnt.b_1.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(751);
}
var nb = 1;
while (nb < 10) {
if (_root.cnt['ex_' + nb].boom.boom.hitt4.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_parent.gotoAndPlay(551);
}
if (_root.cnt['ex_' + nb].boom.boom.hitt3.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_parent.gotoAndPlay(601);
}
if (_root.cnt['ex_' + nb].boom.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(701);
}
if (_root.cnt['ex_' + nb].boom.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(751);
}
++nb;
}
} else {
_parent._visible = false;
}
++i;
}
}
}
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
if (_root.interr._currentframe == 1) {
this.hitpts = new Array({'x': 0, 'y': -_parent.speedwalk * 2});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._y -= _parent.speedwalk;
} else {}
if (_root.panic_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.act >= 2 && _root.act <= 6) {
if (_parent._currentframe <= 500) {
_root.scream_go = 2;
if (_parent._currentframe < 121 || _parent._currentframe > 137) {
_parent.gotoAndPlay(random(15) + 121);
}
}
}
if (_root.wp1 == 1) {
if (_parent._currentframe <= 500) {
_root.scream_go = 2;
if (_parent._currentframe < 121 || _parent._currentframe > 137) {
_parent.gotoAndPlay(random(15) + 121);
}
}
}
}
++i;
}
}
}
}
frame 80 {
gotoAndPlay(2);
}
frame 120 {
gotoAndPlay(81);
}
frame 137 {
gotoAndPlay(121);
}
frame 200 {
gotoAndPlay(138);
}
frame 250 {
gotoAndPlay(201);
}
frame 260 {
gotoAndPlay(251);
}
frame 277 {
gotoAndPlay(261);
}
frame 322 {
aa = random(8) + 1;
if (aa != 8) {
gotoAndPlay(301);
}
}
frame 350 {
gotoAndPlay(301);
}
frame 401 {
gotoAndPlay(351);
}
frame 450 {
gotoAndPlay(401);
}
frame 500 {
gotoAndPlay(451);
}
frame 550 {
stop();
}
frame 551 {
_root.unjured += 1;
}
frame 600 {
gotoAndPlay(575);
}
frame 601 {
_root.unjured += 1;
}
frame 650 {
stop();
}
frame 651 {
_root.sliced += 1;
_root.vic_2 += 1;
eval('_root.killed_' + typee_mem) += 1;
}
instance of movieClip 1128 {
onClipEvent (load) {
_rotation = random(360) + 1;
}
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
if (_root.interr._currentframe == 1) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
} else {
_parent._y += _parent.speedwalk * 2;
}
if (_root.hitt_am.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._visible = true;
if (_root.cnt.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_root.double_hit += 1;
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(701);
}
if (_root.cnt.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_root.double_hit += 1;
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(751);
}
var nb = 1;
while (nb < 11) {
if (_root.cnt['b_' + nb].hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_root.double_hit += 1;
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(701);
}
if (_root.cnt['b_' + nb].hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._x <= _root.cnt.boom._x) {
_parent.side_explosion = 1;
} else {
_parent.side_explosion = 2;
}
_root.double_hit += 1;
if (_parent._currentframe < 651) {
_root.victims += 1;
}
_parent.gotoAndPlay(751);
}
++nb;
}
} else {
_parent._visible = false;
}
++i;
}
}
}
}
frame 700 {
stop();
}
frame 701 {
_visible = true;
if (_root.boom_why == 1) {
_root.vic_1 += 1;
}
if (_root.boom_why == 2) {
_root.vic_2 += 1;
}
if (_root.boom_why == 3) {
_root.vic_3 += 1;
}
if (_root.boom_why == 4) {
_root.vic_4 += 1;
}
if (_root.boom_why == 5) {
_root.vic_5 += 1;
}
if (_root.boom_why == 6) {
_root.vic_6 += 1;
}
if (_root.boom_why == 7) {
_root.vic_7 += 1;
}
eval('_root.killed_' + typee_mem) += 1;
if (_root.lvl == 7 && typee_mem == 'skinhead' && _root.boom_why == 4) {
_root.ob_7_item += 1;
}
if (_root.lvl == 8 && typee_mem == 'mafia' && _root.boom_why == 7) {
_root.ob_8_item += 1;
}
if (_root.lvl == 17 && typee_mem == 'motard' && _root.boom_why == 4 && _root.cnt.perso._x > 3290 && _root.cnt.perso._x < 5342 && _root.cnt.perso._y > 3750 && _root.cnt.perso._y < 4000) {
_root.mdone = 2;
}
if (_root.lvl == 23 && typee_mem == 'kamikaze' && _root.boom_why == 3) {
_root.ob_23_item += 1;
}
if (_root.lvl == 26 && typee_mem == 'army' && _root.boom_why == 5) {
_root.mdone = 2;
}
}
instance of movieClip 1128 {
onClipEvent (load) {
_rotation = random(360) + 1;
}
}
instance of movieClip 76 {
onClipEvent (load) {
if (_parent._xscale == -100) {
if (_parent.side_explosion == 1) {
_parent.side_explosion = 2;
} else {
_parent.side_explosion = 1;
}
}
}
}
frame 750 {
stop();
}
frame 751 {
_visible = true;
if (_root.boom_why == 1) {
_root.vic_1 += 1;
}
if (_root.boom_why == 2) {
_root.vic_2 += 1;
}
if (_root.boom_why == 3) {
_root.vic_3 += 1;
}
if (_root.boom_why == 4) {
_root.vic_4 += 1;
}
if (_root.boom_why == 5) {
_root.vic_5 += 1;
}
if (_root.boom_why == 6) {
_root.vic_6 += 1;
}
if (_root.boom_why == 7) {
_root.vic_7 += 1;
}
eval('_root.killed_' + typee_mem) += 1;
if (_root.lvl == 5 && typee_mem == 'alqaida' && _root.boom_why == 3) {
_root.mdone = 2;
}
if (_root.lvl == 7 && typee_mem == 'skinhead' && _root.boom_why == 4) {
_root.ob_7_item += 1;
}
if (_root.lvl == 8 && typee_mem == 'mafia' && _root.boom_why == 7) {
_root.ob_8_item += 1;
}
if (_root.lvl == 17 && typee_mem == 'motard' && _root.boom_why == 4 && _root.cnt.perso._x > 3290 && _root.cnt.perso._x < 5342 && _root.cnt.perso._y > 3750 && _root.cnt.perso._y < 4000) {
_root.mdone = 2;
}
if (_root.lvl == 23 && typee_mem == 'kamikaze' && _root.boom_why == 3) {
_root.ob_23_item += 1;
}
if (_root.lvl == 26 && typee_mem == 'army' && _root.boom_why == 5) {
_root.mdone = 2;
}
}
frame 800 {
stop();
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 21;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 26;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 3;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 33;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 2;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 8;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 13;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 16;
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 29;
}
}
frame 44 {
stop();
onEnterFrame = function () {};
}
button 1218 {
on (release) {
gotoAndPlay(45);
}
}
movieClip 1222 {
}
movieClip 1224 {
frame 1 {
onEnterFrame = function () {
aff = eval('_root.ob_' + _root.lvl);
};
}
}
movieClip 1226 {
frame 1 {
if (_root.lvl == 31) {
gotoAndStop(2);
} else {
stop();
}
}
instance of movieClip 604 {
onClipEvent (load) {
_root.mdone = 1;
}
}
}
movieClip 1228 {
}
movieClip 1229 {
}
frame 45 {
stop();
onEnterFrame = function () {};
}
button 1230 {
on (release) {
gotoAndPlay(50);
}
}
movieClip 1234 {
}
frame 50 {
onEnterFrame = function () {};
}
frame 51 {
nb_enemies = 84;
tot_round += 1;
ob_done = 1;
blast_nb = 1;
ob_destroyed = 0;
biggest_combo = 0;
time_played = 0;
rocket_fuel_st = rocket_fuel * 48;
jet_pack_fuel_st = jet_pack_fuel * 48;
victims = 0;
victims_b = 0;
explosions = 0;
explosions_b = 0;
zoomed = 100;
canmove = 2;
canjump = 2;
shake = 0;
shakeb = 0;
shake_stade = 0;
act = 1;
perso_canonhitt = 1;
double_jump = 1;
camera_speed = 0.2;
gravity = 0.25;
jump_power = 35;
jump_speed = 1;
speed = 0;
top_speed = 9;
perso_side = 'R';
canshot = 2;
canshot_timer = 0;
fumee_nb = 1;
fumee_timer = 1;
timer_rire = 10;
timer_rirego = 2;
unjured = 0;
sliced = 0;
bomb_supl = 0;
vehicules_wrecked = 0;
double_hit = 0;
killed_kamikaze = 0;
killed_army = 0;
killed_skinhead = 0;
killed_nazi = 0;
killed_mafia = 0;
killed_alqaida = 0;
killed_thug = 0;
killed_motard = 0;
killed_kkk = 0;
wp1 = 2;
if (wp_3 != 0) {
wp1 = 3;
}
if (wp_4 != 0) {
wp1 = 4;
}
if (wp_5 != 0) {
wp2 = 5;
}
wp_ammo_1 = 1;
wp_ammo_2 = 1;
rocket_fuel_st = wp_2 * 6 * 48;
wp_ammo_3 = wp_3;
wp_ammo_4 = wp_4;
if (wp_5 != 0) {
wp2 = 5;
top_speed = 13;
}
if (wp_7 != 0) {
wp2 = 7;
}
if (wp_6 != 0) {
wp2 = 6;
}
jet_pack_fuel_st = wp_6 * 10 * 48;
bomb_power = 50 + 50 * wp_1;
rocket_power = 50 + 50 * wp_2;
if (cheat_4 == 2) {
top_speed = 25;
}
if (cheat_2 == 2) {
cnt.perso._xscale = 50;
cnt.perso._yscale = 50;
top_speed *= 0.5;
}
if (cheat_2 == 3) {
cnt.perso._xscale = 200;
cnt.perso._yscale = 200;
top_speed *= 2;
}
vic_1 = 0;
vic_2 = 0;
vic_3 = 0;
vic_4 = 0;
vic_5 = 0;
vic_6 = 0;
vic_7 = 0;
ob_7_item = 0;
ob_8_item = 0;
ob_23_item = 0;
ob_26_item = 0;
stop();
onEnterFrame = function () {
mySound = new Sound();
mySound.setVolume(_root.volum);
mySound.start(0, 1000);
if (_root.chg_qual == 2 && _root.qual == 1) {
_root.chg_qual = 1;
_root.qual = 2;
_quality = 'medium';
}
if (_root.chg_qual == 2 && _root.qual == 2) {
_root.chg_qual = 1;
_root.qual = 3;
_quality = 'high';
}
if (_root.chg_qual == 2 && _root.qual == 3) {
_root.chg_qual = 1;
_root.qual = 1;
_quality = 'low';
}
if (_root.lvl == 1 && _root.vic_2 >= 3) {
_root.mdone = 2;
}
if (_root.lvl == 2 && _root.vic_1 >= 4) {
_root.mdone = 2;
}
if (_root.lvl == 6 && _root.killed_kkk >= 8 && killed_thug + killed_nazi + killed_army + killed_mafia + killed_skinhead + killed_alqaida + killed_motard + killed_kamikaze == 0) {
_root.mdone = 2;
}
if (_root.lvl == 7 && _root.ob_7_item >= 3) {
_root.mdone = 2;
}
if (_root.lvl == 8 && _root.ob_8_item >= 1) {
_root.mdone = 2;
}
if (_root.lvl == 9 && _root.unjured >= 6) {
_root.mdone = 2;
}
if (_root.lvl == 14 && _root.killed_kkk == 0 && cnt.kkkcross._currentframe == 2) {
_root.mdone = 2;
}
if (_root.lvl == 15 && _root.cnt.perso._y <= -5500) {
_root.mdone = 2;
}
if (_root.lvl == 18 && vic_6 >= 8) {
_root.mdone = 2;
}
if (_root.lvl == 19 && _root.killed_nazis >= 7 && _root.killed_kkk >= 8 && killed_thug + killed_army + killed_mafia + killed_skinhead + killed_alqaida + killed_motard + killed_kamikaze == 0) {
_root.mdone = 2;
}
if (_root.lvl == 20 && _root.victims >= 35) {
_root.mdone = 2;
}
if (_root.lvl == 21 && _root.explosions >= 7) {
_root.mdone = 2;
}
if (_root.lvl == 22 && cnt.chou_1._currentframe == 2 && cnt.chou_2._currentframe == 2 && cnt.chou_3._currentframe == 2 && cnt.chou_4._currentframe == 2 && cnt.chou_5._currentframe == 2 && cnt.chou_6._currentframe == 2 && cnt.chou_7._currentframe == 2 && cnt.chou_8._currentframe == 2) {
_root.mdone = 2;
}
if (_root.lvl == 23 && _root.ob_23_item >= 5) {
_root.mdone = 2;
}
if (_root.lvl == 24 && _root.vehicules_wrecked >= 6) {
_root.mdone = 2;
}
if (_root.lvl == 25 && _root.vic_5 >= 5) {
_root.mdone = 2;
}
if (_root.lvl == 27 && _root.sliced >= 25) {
_root.mdone = 2;
}
if (_root.lvl == 29 && _root.victims >= 50) {
_root.mdone = 2;
}
if (_root.lvl == 30 && _root.killed_army >= 25) {
_root.mdone = 2;
}
if (wp2 == 6 && jet_pack_fuel_st > 0) {
cnt.perso.jetpack._visible = true;
} else {
cnt.perso.jetpack._visible = false;
}
if (wp2 == 7 && Key.isDown(38) && perso_floorhitt == 1) {
if (jump_speed >= 3) {
jump_speed = 3;
if (cnt.perso.hg1._currentframe == 1) {
cnt.perso.hg1.gotoAndPlay(2);
}
}
} else {
cnt.perso.hg1.gotoAndStop(1);
}
if (wp1 == 2 && wp_ammo_2 == 0) {
interr.wpch.act = 2;
}
if (victims >= 10) {
_root.ac_1 = 2;
}
if (victims >= 20) {
_root.ac_2 = 2;
}
if (victims >= 30) {
_root.ac_3 = 2;
}
if (victims >= 40) {
_root.ac_4 = 2;
}
if (victims >= 50) {
_root.ac_5 = 2;
}
if (ob_destroyed >= 4) {
_root.ac_6 = 2;
}
if (ob_destroyed >= 8) {
_root.ac_7 = 2;
}
if (ob_destroyed >= 12) {
_root.ac_8 = 2;
}
if (ob_destroyed >= 16) {
_root.ac_9 = 2;
}
if (ob_destroyed >= 20) {
_root.ac_10 = 2;
}
if (act == 3 && rocket_fuel_st != 0) {
interr.fuel._visible = true;
interr.fuel.gotoAndStop(Math.round(rocket_fuel_st * 100 / wp_2 * 6 * 48));
} else {
interr.fuel._visible = false;
}
interr.fuel_jetpack.gotoAndStop(Math.round(jet_pack_fuel_st * 100 / wp_6 * 10 * 48));
if (Key.isDown(38) && wp2 == 6 && jet_pack_fuel_st >= 0) {
interr.fuel_jetpack._visible = true;
} else {
interr.fuel_jetpack._visible = false;
}
if (timer_rire != 0) {
timer_rire -= 1;
} else {
if (timer_rirego == 2) {
timer_rirego = 1;
snd.voices.gotoAndPlay((random(3) + 11) * 2);
}
}
if (act == 1 || act == 5) {
if (Key.isDown(40)) {
if (perso_canonhitt == 2) {
perso_canonhitt = 3;
speed = 0;
jump_speed = 5;
canmove = 2;
}
}
if (Key.isDown(37)) {
if (perso_side == 'R') {
cnt.perso.counter._xscale *= -1;
cnt.perso._xscale *= -1;
perso_side = 'L';
}
speed -= 1;
} else {
if (speed < 0) {
speed *= 0.85;
}
}
if (Key.isDown(39)) {
speed += 1;
if (perso_side == 'L') {
cnt.perso.counter._xscale *= -1;
cnt.perso._xscale *= -1;
perso_side = 'R';
}
} else {
if (speed > 0) {
speed *= 0.85;
}
}
if (!Key.isDown(39) && !Key.isDown(37) && perso_floorhitt == 2) {
cnt.perso.gotoAndStop(1);
} else {
if (perso_floorhitt == 1 && perso_floorhitt_timer == 0) {
if (cnt.perso._currentframe < 21 || cnt.perso._currentframe > 60) {
cnt.perso.gotoAndPlay(22);
}
} else {
if (cnt.perso._currentframe < 2 || cnt.perso._currentframe > 20) {
cnt.perso.gotoAndPlay(2);
}
}
}
if (tuto == 2) {
if (cnt.perso._x < 440) {
cnt.perso._x = 440;
}
} else {
if (cnt.perso._x < 7100) {
cnt.perso._x = 7100;
}
}
if (cnt.perso._x > 8650) {
cnt.perso._x = 8650;
}
if (speed > top_speed) {
speed = top_speed;
}
if (speed < top_speed * -1) {
speed = top_speed * -1;
}
if (mur_touch == 2) {
speed = 0;
}
if (canmove == 2) {
cnt.perso._x += speed;
}
if (perso_floorhitt == 2) {
perso_floorhitt_timer = 5;
jump_speed = 1;
perso_canonhitt = 1;
} else {
if (perso_floorhitt_timer != 0) {
perso_floorhitt_timer -= 1;
}
}
if (jet_pack == 1 || wp2 != 6) {
if (Key.isDown(38)) {
if (perso_floorhitt == 2 && canjump == 2) {
perso_floorhitt_timer = 0;
doublejump = 2;
canjump = 1;
jump_speed = jump_power * -1;
cnt.perso._y -= 20;
}
if (jump_speed > -2 && doublejump == 3) {
doublejump = 1;
cnt.perso._y += jump_speed;
jump_speed = jump_power * -1 / 2;
cnt.perso._y -= 10;
}
} else {
canjump = 2;
if (doublejump == 2) {
doublejump = 3;
}
}
} else {
if (jet_pack_fuel_st != 0) {
if (Key.isDown(38) && jet_pack_fuel_st != 0) {
jet_pack_fuel_st -= 1;
cnt.perso.jetpack.feu = 2;
cnt.perso._y -= 10;
jump_speed = 1;
if (fumee_timer != 0) {
fumee_timer -= 1;
} else {
eval('cnt.f_' + fumee_nb + '._x') = cnt.perso._x;
eval('cnt.f_' + fumee_nb + '._y') = cnt.perso._y;
(eval('cnt.f_' + fumee_nb)).gotoAndPlay(2);
fumee_nb += 1;
if (fumee_nb == 50) {
fumee_nb = 1;
}
fumee_timer = 2;
}
} else {
cnt.perso.jetpack.feu = 1;
}
} else {
cnt.perso.jetpack.feu = 1;
if (Key.isDown(38)) {
if (perso_floorhitt == 2 && canjump == 2) {
perso_floorhitt_timer = 0;
doublejump = 2;
canjump = 1;
jump_speed = jump_power * -1;
cnt.perso._y -= 20;
}
if (jump_speed > -2 && doublejump == 3) {
doublejump = 1;
cnt.perso._y += jump_speed;
jump_speed = jump_power * -1 / 2;
cnt.perso._y -= 10;
}
} else {
canjump = 2;
if (doublejump == 2) {
doublejump = 3;
}
}
}
}
}
if (act != 2 && _root.act != 0 && act != 3) {
if (canmove == 2) {
if (perso_floorhitt == 1) {
if (Key.isDown(38) && jet_pack == 2 && jet_pack_fuel_st != 0 && cnt.perso._currentframe != 62) {
} else {
if (jump_speed < -2) {
cnt.perso._y += jump_speed;
jump_speed *= 1 - gravity;
}
if (jump_speed >= -2 && jump_speed <= 2) {
jump_speed = 2.1;
jump_speed *= 1 + gravity;
}
if (jump_speed > 2) {
cnt.perso._y += jump_speed;
if (jump_speed <= 40) {
jump_speed *= 1 + gravity;
}
}
}
}
}
}
if (act == 2) {
cnt.perso.gotoAndStop(61);
if (Key.isDown(37)) {
cnt.rocket_angle._rotation -= 2;
}
if (Key.isDown(39)) {
cnt.rocket_angle._rotation += 2;
}
cnt.rocket._x = cnt.perso._x;
cnt.rocket._y = cnt.perso._y - 30;
cnt.rocket._rotation = cnt.rocket_angle._rotation;
if (cnt.rocket._rotation < -90 || cnt.rocket._rotation > 90) {
if (perso_side == 'R') {
cnt.perso.counter._xscale *= -1;
cnt.perso._xscale *= -1;
perso_side = 'L';
}
} else {
if (perso_side == 'L') {
cnt.perso.counter._xscale *= -1;
cnt.perso._xscale *= -1;
perso_side = 'R';
}
}
}
if (act == 3) {
if (rocket_fuel_st != 0) {
if (cnt.rocket._rotation <= 0 && cnt.rocket._rotation > -90) {
powerocketx = rocket_speed * (cnt.rocket._rotation + 90) / 90;
powerockety = (rocket_speed * (90 - (cnt.rocket._rotation + 90)) / 90) * -1;
}
if (cnt.rocket._rotation <= -90 && cnt.rocket._rotation > -180) {
powerocketx = (rocket_speed * (cnt.rocket._rotation * -1 - 90) / 90) * -1;
powerockety = (rocket_speed * (cnt.rocket._rotation + 180) / 180) * -2;
}
if (cnt.rocket._rotation <= 90 && cnt.rocket._rotation > 0) {
powerocketx = rocket_speed * (90 - cnt.rocket._rotation) / 90;
powerockety = rocket_speed * cnt.rocket._rotation / 90;
}
if (cnt.rocket._rotation <= 180 && cnt.rocket._rotation > 90) {
powerocketx = (rocket_speed * (cnt.rocket._rotation - 90) / 90) * -1;
powerockety = rocket_speed * (180 - cnt.rocket._rotation) / 90;
}
if (Key.isDown(37)) {
cnt.rocket._rotation -= rocket_handling;
}
if (Key.isDown(39)) {
cnt.rocket._rotation += rocket_handling;
}
if (fumee_timer != 0) {
fumee_timer -= 1;
} else {
eval('cnt.f_' + fumee_nb + '._x') = cnt.rocket._x;
eval('cnt.f_' + fumee_nb + '._y') = cnt.rocket._y;
(eval('cnt.f_' + fumee_nb)).gotoAndPlay(2);
_root.tot_rocket_distance += 5;
fumee_nb += 1;
if (fumee_nb == 50) {
fumee_nb = 1;
}
fumee_timer = 2;
}
rocket_fuel_st -= 1;
if (cnt.rocket._rotation > -90 && cnt.rocket._rotation <= 90) {
rocket_fuel_rotation = 1;
} else {
rocket_fuel_rotation = -1;
}
} else {
powerocketx *= 0.99;
if (powerockety < -0.5) {
powerockety *= 0.9;
} else {
if (powerockety < 1) {
powerockety = 1;
}
}
if (powerockety >= 1 && powerockety < 35) {
powerockety *= 1.05;
}
cnt.rocket._rotation += rocket_fuel_rotation;
rocket_fuel_rotation *= 1.02;
if (rocket_fuel_rotation > 10) {
rocket_fuel_rotation = 10;
}
if (rocket_fuel_rotation < -10) {
rocket_fuel_rotation = -10;
}
}
if (cnt.rocket._x < 410) {
cnt.rocket._x = 440;
_root.act = 1;
_root.next_act = 5;
_root.infoz = 'OUT OF CONTROL';
}
if (cnt.rocket._x > 8680) {
cnt.rocket._x = 8680;
_root.act = 1;
_root.next_act = 5;
_root.infoz = 'OUT OF CONTROL';
}
if (cnt.rocket._y < -11540) {
cnt.rocket._y = 11540;
_root.act = 1;
_root.next_act = 5;
_root.infoz = 'OUT OF CONTROL';
}
}
if (cnt.grenade._x < 410) {
cnt.grenade._x = 440;
_root.act = 1;
_root.next_act = 5;
_root.infoz = 'OUT OF CONTROL';
cnt.grenade.gotoAndStop(1);
}
if (cnt.grenade._x > 8680) {
cnt.grenade._x = 8680;
_root.act = 1;
_root.next_act = 5;
_root.infoz = 'OUT OF CONTROL';
cnt.grenade.gotoAndStop(1);
}
if (cnt.grenade._y < -11540) {
cnt.grenade._y = 11540;
_root.act = 1;
_root.next_act = 5;
_root.infoz = 'OUT OF CONTROL';
cnt.grenade.gotoAndStop(1);
}
if (act == 51) {
gren_sx *= 0.98;
if (gren_sy < -1) {
gren_sy *= 0.9;
}
if (gren_sy > -1 && gren_sy <= 0) {
gren_sy = 1;
}
if (gren_sy >= 1) {
gren_sy *= 1.1;
}
if (gren_sy > 30) {
gren_sy = 30;
}
cnt.grenade._x += gren_sx;
cnt.grenade._y += gren_sy;
}
if (act == 3 || act == 21 || act == 22) {
cnt.rocket._x += powerocketx;
cnt.rocket._y += powerockety;
}
cnt.rocket.gotoAndStop(act);
if (Key.isDown(32)) {
if (canpress_space == 2) {
canpress_space = 1;
if (act == 5) {
act = 6;
_root.suicide_timer_go = 3;
}
if (act == 3) {
act = 4;
cnt.boom._xscale = _root.rocket_power;
cnt.boom._yscale = _root.rocket_power;
cnt.boom._x = cnt.rocket._x;
cnt.boom._y = cnt.rocket._y;
cnt.boom.gotoAndPlay(2);
}
if (act == 2) {
if (_root.wp1 == 2) {
_root.snd.rocket.gotoAndPlay((random(2) + 1) * 2);
_root.snd.rocket_flight.gotoAndPlay(2);
jump_speed = 0;
act = 3;
wp_ammo_2 -= 1;
}
if (_root.wp1 == 4) {
gren_a = cnt.rocket_angle._rotation;
if (perso_side == 'L') {
gren_s = -1;
} else {
gren_s = 1;
}
if (gren_a < 0) {
gren_s2 = -1;
} else {
gren_s2 = 1;
}
gren_b = gren_a;
if (gren_b < 0) {
gren_b *= -1;
}
speed_adjust = 0.75;
if (gren_b <= 90) {
gren_sx = (90 - gren_b) * gren_s * speed_adjust;
gren_sy = (gren_b - 90) * gren_s2;
} else {
gren_sx = (gren_b - 90) * gren_s * speed_adjust;
gren_sy = (90 - gren_b) * gren_s2;
}
if (gren_sy < 0) {
gren_sy = (gren_sy + 90) * speed_adjust;
} else {
gren_sy = (90 - gren_sy) * -1 * speed_adjust;
}
_root.act = 51;
cnt.grenade._x = cnt.perso._x;
cnt.grenade._y = cnt.perso._y - 50;
cnt.grenade.gotoAndStop(2);
wp_ammo_4 -= 1;
if (wp_ammo_4 == 0) {
interr.wpch.act = 2;
}
}
}
if (act == 1 && _root.cnt.tutomc._currentframe != 1) {
if (_root.wp1 == 1) {
_root.cnt.perso.counter.gotoAndPlay(49);
_root.suicide_timer = 1;
}
if (_root.wp1 == 3) {
if (perso_side == 'R') {
mine_side = 50;
} else {
mine_side = -50;
}
eval('cnt.mine_' + wp_ammo_3 + '._x') = cnt.perso._x + mine_side;
eval('cnt.mine_' + wp_ammo_3 + '._y') = cnt.perso._y - 70;
(eval('cnt.mine_' + wp_ammo_3)).gotoAndStop(2);
wp_ammo_3 -= 1;
if (wp_ammo_3 == 0) {
interr.wpch.act = 2;
}
}
if (_root.wp1 == 2 || _root.wp1 == 4) {
act = 2;
snd.voices.gotoAndPlay((random(5) + 1) * 2);
cnt.rocket_angle._x = cnt.perso._x;
cnt.rocket_angle._y = cnt.perso._y - 30;
if (perso_side == 'L') {
cnt.rocket_angle._rotation = 180;
} else {
cnt.rocket_angle._rotation = 0;
}
}
}
}
} else {
canpress_space = 2;
}
cnt._xscale = zoomed;
cnt._yscale = cnt._xscale;
zoom_w = Math.round(zoomed * 400 / 100);
zoom_h = Math.round(zoomed * 220 / 100);
zoom_g = Math.round(zoomed * 50 / 100);
zoom_percent = Math.round(zoomed * 50 / 100);
if (act == 1 || act == 5) {
if (cnt._x - zoom_g > zoom_w - cnt.perso._x) {
cnt._x -= (cnt._x - zoom_g - (zoom_w - cnt.perso._x)) * camera_speed;
}
if (cnt._x + zoom_g < zoom_w - cnt.perso._x) {
cnt._x += (zoom_w - cnt.perso._x - (cnt._x + zoom_g)) * camera_speed;
}
if (cnt._y - zoom_g > zoom_h - cnt.perso._y) {
cnt._y -= (cnt._y - zoom_g - (zoom_h - cnt.perso._y)) * camera_speed;
}
if (cnt._y + zoom_g < zoom_h - cnt.perso._y) {
cnt._y += (zoom_h - cnt.perso._y - (cnt._y + zoom_g)) * camera_speed;
}
}
if (act == 2) {
if (cnt._x - 1 > zoom_w - cnt.perso._x) {
cnt._x -= (cnt._x - 1 - (zoom_w - cnt.perso._x)) * camera_speed;
}
if (cnt._x + 1 < zoom_w - cnt.perso._x) {
cnt._x += (zoom_w - cnt.perso._x - (cnt._x + 1)) * camera_speed;
}
if (cnt._y - 1 > zoom_h - cnt.perso._y) {
cnt._y -= (cnt._y - 1 - (zoom_h - cnt.perso._y)) * camera_speed;
}
if (cnt._y + 1 < zoom_h - cnt.perso._y) {
cnt._y += (zoom_h - cnt.perso._y - (cnt._y + 1)) * camera_speed;
}
if (_xmouse < zoom_w) {
cnt._x -= (rocket_angle_ptx - zoom_w) / 8;
}
if (_xmouse > zoom_w) {
cnt._x += (zoom_w - rocket_angle_ptx) / 8;
}
if (_ymouse < zoom_h) {
cnt._y -= (rocket_angle_pty - zoom_h) / 8;
}
if (_ymouse > zoom_h) {
cnt._y += (zoom_h - rocket_angle_pty) / 8;
}
}
if (act == 3) {
if (_root.rocket_fuel_st == 0) {
_root.snd.rocket_flight.gotoAndStop(6);
}
cnt._x = -cnt.rocket._x + 400;
cnt._y = -cnt.rocket._y + 220;
}
if (act == 4) {
_root.snd.rocket_flight.gotoAndStop(4);
cnt._x = -cnt.rocket._x + 400;
cnt._y = -cnt.rocket._y + 220;
}
if (act == 6) {
cnt._x = -cnt.perso._x + 400;
cnt._y = -cnt.perso._y + 220;
}
if (act == 22) {
cnt._x = -eval('cnt.av_' + _root.avion_hitt_nb + '._x') + 400;
cnt._y = -eval('cnt.av_' + _root.avion_hitt_nb + '._y') + 220;
}
if (act == 51) {
cnt._x = -cnt.grenade._x + 400;
cnt._y = -cnt.grenade._y + 220;
}
ciel._x = Math.round(cnt._x * 200 / 9096);
ciel._y = Math.round(cnt._y * 400 / 9096) - 600;
if (shake != 0) {
shakeb = shake;
shake = 0;
shake_stade = 8;
}
if (shake_stade != 0) {
shake_stade -= 1;
cnt._x += random(shakeb * 2) - shakeb;
cnt._y += random(shakeb * 2) - shakeb;
shakeb *= 0.95;
}
if (got2go == 3) {
got2go = 1;
gotoAndStop(40);
}
if (got2go == 4) {
got2go = 1;
gotoAndStop(41);
}
};
}
button 1236 {
on (keyPress 'q') {
_root.chg_qual = 2;
}
on (keyPress 'Q') {
_root.chg_qual = 2;
}
}
movieClip 1239 {
}
movieClip 1245 {
}
movieClip 1246 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1249 {
}
movieClip 1250 {
}
movieClip 1252 {
}
movieClip 1254 {
}
movieClip 1255 {
frame 1 {
stop();
}
instance of movieClip 1254 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.hitt_am.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent._visible = true;
_parent.gotoAndStop(2);
} else {
_parent._parent._visible = false;
_parent.gotoAndStop(1);
}
++i;
}
}
}
instance of movieClip 1254 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
if (_root.cnt.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
if (_root.cnt.b_1.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
if (_root.cnt.b_1.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
++i;
}
}
}
}
movieClip 1257 {
frame 1 {
stop();
}
}
movieClip 1260 {
frame 1 {
stop();
}
}
movieClip 1263 {
frame 1 {
stop();
}
}
movieClip 1266 {
frame 1 {
stop();
}
}
movieClip 1270 {
}
movieClip 1271 {
frame 48 {
timer -= 1;
if (timer == 0) {
_parent.gotoAndStop(2);
}
}
}
movieClip 1273 {
}
movieClip 1275 {
}
movieClip 1276 {
frame 1 {
_rotation = random(360) + 1;
_xscale = random(50) + 75;
_yscale = random(50) + 75;
}
frame 25 {
stop();
}
}
movieClip 1277 {
instance of movieClip 1273 {
onClipEvent (load) {
_rotation = random(360) + 1;
}
}
}
movieClip 1278 {
}
movieClip 1280 {
}
movieClip 1282 {
}
movieClip 1284 {
}
movieClip 1286 {
}
movieClip 1287 {
frame 1 {
_root.explosions += 1;
_root.snd.boom.gotoAndPlay((random(2) + 1) * 2 + 0);
}
frame 2 {
_root.shake = 50;
_root.boom_why = 7;
}
frame 6 {
_root.boom_why = 0;
}
frame 49 {
_root.bomb_supl -= 1;
}
frame 50 {
stop();
}
}
movieClip 1288 {
frame 1 {
stop();
_root.bomb_supl += 1;
_root.vehicules_wrecked += 1;
}
instance counter of movieClip 1271 {
onClipEvent (load) {
timer = 3;
gotoAndPlay(random(15) + 1);
}
}
}
movieClip 1289 {
frame 1 {
stop();
}
}
movieClip 1292 {
frame 1 {
stop();
}
}
movieClip 1295 {
frame 1 {
stop();
}
}
movieClip 1298 {
frame 1 {
stop();
}
}
movieClip 1300 {
frame 1 {
stop();
}
instance of movieClip 1254 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.hitt_am.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent._visible = true;
_parent.gotoAndStop(2);
} else {
_parent._parent._visible = false;
_parent.gotoAndStop(1);
}
++i;
}
}
}
instance of movieClip 1254 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent.play();
}
if (_root.cnt.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent.play();
}
if (_root.cnt.b_1.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent.play();
}
if (_root.cnt.b_1.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent.play();
}
++i;
}
}
}
}
movieClip 1302 {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 11 {
stop();
}
frame 15 {
if (_root.lvl == 13) {
_root.mdone = 2;
}
stop();
}
}
movieClip 1305 {
frame 1 {
stop();
_root.barrel_item = 0;
}
frame 2 {
if (_root.boom_why == 3) {
_root.barrel_item += 1;
if (_root.lvl == 16 && _root.barrel_item == 3) {
_root.mdone = 2;
}
}
_root.cnt.boom._xscale = 150;
_root.cnt.boom._yscale = 150;
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 6;
stop();
}
}
movieClip 1308 {
frame 1 {
stop();
}
}
movieClip 1311 {
frame 1 {
stop();
}
}
movieClip 1314 {
frame 1 {
stop();
}
}
movieClip 1318 {
frame 1 {
stop();
}
}
movieClip 1321 {
frame 1 {
stop();
}
}
movieClip 1324 {
frame 1 {
stop();
}
}
movieClip 1327 {
frame 1 {
stop();
}
}
movieClip 1330 {
frame 1 {
stop();
}
}
movieClip 1333 {
frame 1 {
stop();
}
}
movieClip 1336 {
frame 1 {
stop();
}
}
movieClip 1339 {
frame 1 {
stop();
}
}
movieClip 1342 {
frame 1 {
stop();
}
}
movieClip 1345 {
frame 1 {
stop();
}
}
movieClip 1348 {
frame 1 {
stop();
}
}
movieClip 1351 {
frame 1 {
stop();
}
}
movieClip 1354 {
frame 1 {
stop();
}
}
movieClip 1357 {
frame 1 {
stop();
}
}
movieClip 1360 {
frame 1 {
stop();
}
}
movieClip 1363 {
}
movieClip 1365 {
}
movieClip 1367 {
}
movieClip 1368 {
frame 1 {
stop();
}
frame 2 {
if (_root.lvl == 11) {
_root.mdone = 2;
}
}
instance of movieClip 1363 {
onClipEvent (load) {
speed = random(6) - 3;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
}
}
instance of movieClip 1365 {
onClipEvent (load) {
speed = random(6) - 3;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
}
}
instance of movieClip 1367 {
onClipEvent (load) {
speed = random(6) - 3;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
}
}
}
movieClip 1371 {
frame 1 {
stop();
}
frame 2 {
if (_root.lvl == 3 && _root.boom_why == 1) {
_root.mdone = 2;
}
}
}
movieClip 1373 {
}
movieClip 1374 {
}
movieClip 1378 {
}
movieClip 1379 {
}
movieClip 1380 {
}
movieClip 1382 {
}
movieClip 1383 {
}
movieClip 1385 {
}
movieClip 1386 {
}
movieClip 1387 {
}
movieClip 1388 {
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(16) + 1);
}
}
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(31) + 1);
}
}
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(46) + 1);
}
}
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(61) + 1);
}
}
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(76) + 1);
}
}
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(91) + 1);
}
}
instance of movieClip 1387 {
onClipEvent (load) {
gotoAndPlay(random(106) + 1);
}
}
}
movieClip 1390 {
}
movieClip 1391 {
frame 1 {
stop();
}
instance of movieClip 76 {
onClipEvent (load) {
speedy = 1;
}
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(3);
} else {
_parent._y += speedy;
speedy *= 1.12;
if (speedy > 20) {
speedy = 20;
}
}
++i;
}
}
}
frame 4 {
_root.cnt.boom._xscale = 100;
_root.cnt.boom._yscale = 100;
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 3;
stop();
}
}
movieClip 1394 {
}
movieClip 1395 {
frame 1 {
stop();
}
instance of movieClip 1394 {
onClipEvent (load) {
speed = random(10) + 6;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
}
}
instance of movieClip 76 {
onClipEvent (load) {
speedy = 1;
}
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.act = -333;
_parent.gotoAndPlay(3);
}
++i;
}
}
}
frame 3 {
_root.cnt.boom._xscale = 120;
_root.cnt.boom._yscale = 120;
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 4;
}
frame 50 {
if (_root.cnt.perso._currentframe != 62) {
_root.act = 1;
}
stop();
}
}
movieClip 1397 {
}
movieClip 1398 {
frame 1 {
stop();
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.hitt_am.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._parent._visible = true;
_parent.gotoAndStop(2);
} else {
_parent._parent._visible = false;
_parent.gotoAndStop(1);
}
++i;
}
}
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
if (_root.interr._currentframe == 1) {
if (_root.act == 4 || _root.act == 6) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
if (_root.cnt.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
var nb = 1;
while (nb < 11) {
if (_root.cnt['b_' + nb].hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
if (_root.cnt['b_' + nb].hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.ob_destroyed += 1;
_parent._parent.gotoAndStop(2);
}
++nb;
}
++i;
}
}
}
}
}
}
movieClip 1400 {
}
movieClip 1401 {
frame 6 {
_root.victimsbyplane = _root.victims - _parent.vic_mem;
if (_root.victimsbyplane >= 5 && _root.lvl == 25) {
_root.mdone = 2;
}
stop();
}
}
movieClip 1404 {
frame 1 {
side = random(2) + 1;
if (side == 1) {
_xscale = -100;
}
speed = _root.rocket_speed / 2;
_y = random(400) * 10 + -2000;
_x = (random(102) + 1) * 100;
stop();
onEnterFrame = function () {
if (side == 1) {
_x = _x - speed;
} else {
_x = _x + speed;
}
if (_x < -510) {
_x = 9700;
}
if (_x > 9710) {
_x = -500;
}
};
}
frame 2 {
_root.victimsbyplane = 0;
vic_mem = _root.victims;
rotation_st = _rotation;
speedy = 1;
stop();
onEnterFrame = function () {
speed *= 0.95;
if (side == 1) {
_x = _x - speed;
if (_rotation > rotation_st - 90) {
_rotation = _rotation - 0.25;
}
} else {
_x = _x + speed;
if (_rotation < rotation_st + 90) {
_rotation = _rotation + 0.25;
}
}
_y = _y + speedy;
if (speedy < 30) {
speedy *= 1.1;
}
if (_root.fumee_timer != 0) {
_root.fumee_timer -= 1;
} else {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _y;
eval('_root.cnt.f_' + _root.fumee_nb + '._xscale') = 250;
eval('_root.cnt.f_' + _root.fumee_nb + '._yscale') = 250;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
_root.fumee_timer = 2;
}
};
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boom._xscale = 500;
_root.cnt.boom._yscale = 500;
trace(eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x'));
_root.cnt.boom._x = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x');
_root.cnt.boom._y = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._y');
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 5;
_root.act = 23;
_parent.gotoAndStop(3);
}
var nb2 = 1;
while (nb2 < 14) {
if (_root.cnt['av_' + nb2].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.lvl == 28) {
_root.mdone = 2;
trace('done ob 28');
}
_root.avion_hitt = 2;
_root.avion_hitt_nb = _root.cnt['av_' + nb2].nb;
_root.victims += 15;
_root.cnt['av_' + nb2].gotoAndStop(2);
_root.cnt.boom._xscale = 500;
_root.cnt.boom._yscale = 500;
_root.cnt.boom._x = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x');
_root.cnt.boom._y = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._y');
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 5;
trace('code ce rend ici / rocket hitttest');
}
++nb2;
}
++i;
}
}
}
frame 3 {
_rotation = random(50) - 25;
stop();
onEnterFrame = function () {
gotoAndStop(3);
};
}
}
movieClip 1406 {
}
movieClip 1407 {
instance of movieClip 1406 {
onClipEvent (load) {
speed = random(12) + 12;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
}
}
instance of movieClip 1406 {
onClipEvent (load) {
speed = random(12) + 12;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
}
}
}
movieClip 1409 {
}
movieClip 1410 {
instance of movieClip 1406 {
onClipEvent (load) {
speed = random(12) + 12;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
speed *= 0.98;
}
}
instance of movieClip 1406 {
onClipEvent (load) {
speed = random(12) + 12;
}
onClipEvent (enterFrame) {
_rotation = _rotation + speed;
speed *= 0.98;
}
}
}
movieClip 1411 {
}
movieClip 1413 {
}
movieClip 1414 {
frame 1 {
side = random(2) + 1;
if (side == 1) {
_xscale = -100;
}
speed = _root.rocket_speed / 2;
_y = random(400) * 10 + -2000;
_x = (random(102) + 1) * 100;
stop();
onEnterFrame = function () {
if (side == 1) {
_x = _x - speed;
} else {
_x = _x + speed;
}
if (_x < -510) {
_x = 9700;
}
if (_x > 9710) {
_x = -500;
}
};
}
frame 2 {
if (_root.lvl == 10) {
_root.mdone = 2;
}
_root.avion_hitt_nb = nb;
rotation_st = _rotation;
speedy = 1;
stop();
onEnterFrame = function () {
speed *= 0.95;
if (side == 1) {
_x = _x - speed;
if (_rotation > rotation_st - 90) {
_rotation = _rotation - 0.25;
}
} else {
_x = _x + speed;
if (_rotation < rotation_st + 90) {
_rotation = _rotation + 0.25;
}
}
_y = _y + speedy;
if (speedy < 30) {
speedy *= 1.1;
}
if (_root.fumee_timer != 0) {
_root.fumee_timer -= 1;
} else {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _y;
eval('_root.cnt.f_' + _root.fumee_nb + '._xscale') = 250;
eval('_root.cnt.f_' + _root.fumee_nb + '._yscale') = 250;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
_root.fumee_timer = 2;
}
};
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boom._xscale = 500;
_root.cnt.boom._yscale = 500;
trace(eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x'));
_root.cnt.boom._x = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x');
_root.cnt.boom._y = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._y');
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 5;
if (_root.avion_hitt_nb == _parent.nb) {
_root.act = 23;
}
_parent.gotoAndStop(3);
}
var nb2 = 1;
while (nb2 < 14) {
if (_root.cnt['av_' + nb2].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.avion_hitt_nb == _parent.nb) {
if (_root.lvl == 26) {
_root.mission_done = 2;
trace('done ob 26');
}
_root.avion_hitt = 2;
_root.avion_hitt_nb = _root.cnt['av_' + nb2].nb;
_root.victims += 15;
_root.cnt['av_' + nb2].gotoAndStop(2);
_root.cnt.boom._xscale = 500;
_root.cnt.boom._yscale = 500;
_root.cnt.boom._x = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x');
_root.cnt.boom._y = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._y');
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 5;
trace('code ce rend ici / rocket hitttest');
}
}
++nb2;
}
++i;
}
}
}
frame 3 {
_rotation = random(50) - 25;
stop();
onEnterFrame = function () {
gotoAndStop(3);
};
}
}
movieClip 1416 {
frame 1 {
stop();
}
}
movieClip 1418 {
}
movieClip 1419 {
frame 1 {
side = random(2) + 1;
if (side == 1) {
_xscale = -100;
}
speed = _root.rocket_speed / 3.5;
_y = random(400) * 10 + -2000;
_x = (random(102) + 1) * 100;
stop();
onEnterFrame = function () {
if (side == 1) {
_x = _x - speed;
} else {
_x = _x + speed;
}
if (_x < -510) {
_x = 9700;
}
if (_x > 9710) {
_x = -500;
}
};
}
frame 2 {
rotation_st = _rotation;
speedy = 1;
stop();
onEnterFrame = function () {
speed *= 0.95;
if (side == 1) {
_x = _x - speed;
if (_rotation > rotation_st - 90) {
_rotation = _rotation - 0.25;
}
} else {
_x = _x + speed;
if (_rotation < rotation_st + 90) {
_rotation = _rotation + 0.25;
}
}
_y = _y + speedy;
if (speedy < 30) {
speedy *= 1.1;
}
if (_root.fumee_timer != 0) {
_root.fumee_timer -= 1;
} else {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _y;
eval('_root.cnt.f_' + _root.fumee_nb + '._xscale') = 250;
eval('_root.cnt.f_' + _root.fumee_nb + '._yscale') = 250;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
_root.fumee_timer = 2;
}
};
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boom._xscale = 500;
_root.cnt.boom._yscale = 500;
trace(eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x'));
_root.cnt.boom._x = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x');
_root.cnt.boom._y = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._y');
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 5;
_root.act = 23;
_parent.gotoAndStop(3);
}
var nb2 = 1;
while (nb2 < 14) {
if (_root.cnt['av_' + nb2].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.lvl == 26) {
_root.mission_done = 2;
trace('done ob 26');
}
_root.avion_hitt = 2;
_root.avion_hitt_nb = _root.cnt['av_' + nb2].nb;
_root.victims += 15;
_root.cnt['av_' + nb2].gotoAndStop(2);
_root.cnt.boom._xscale = 500;
_root.cnt.boom._yscale = 500;
_root.cnt.boom._x = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._x');
_root.cnt.boom._y = eval('_root.cnt.av_' + _root.avion_hitt_nb + '._y');
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 5;
trace('code ce rend ici / rocket hitttest');
}
++nb2;
}
++i;
}
}
}
frame 3 {
_rotation = random(50) - 25;
stop();
onEnterFrame = function () {
gotoAndStop(3);
};
}
}
movieClip 1422 {
}
movieClip 1423 {
instance of movieClip 1422 {
onClipEvent (enterFrame) {
point = new Object();
point.x = _x;
point.y = _y;
pointx = localToGlobal(point);
_root.rocket_angle_ptx = point.x;
_root.rocket_angle_pty = point.y;
}
}
}
movieClip 1425 {
}
movieClip 1426 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 1428 {
}
movieClip 1439 {
}
movieClip 1440 {
frame 1 {
stop();
onEnterFrame = function () {
if (_parent.feu == 2) {
if (_currentframe == 1 || _currentframe > 20) {
gotoAndPlay(2);
}
} else {
if (_currentframe > 1 && _currentframe < 21) {
gotoAndPlay(21);
}
}
if (_root.act != 1 && _root.act != 5) {
gotoAndStop(1);
}
};
}
frame 20 {
gotoAndPlay(11);
}
}
movieClip 1441 {
}
movieClip 1443 {
}
movieClip 1444 {
frame 1 {
stop();
onEnterFrame = function () {
gotoAndStop(_parent.hg1._currentframe);
};
}
frame 15 {
stop();
}
}
movieClip 1446 {
}
movieClip 1447 {
frame 1 {
stop();
onEnterFrame = function () {
boxx.txx = '- ' + _root.suicide_timer + ' -';
if (_root.suicide_timer_go == 2) {
_root.suicide_timer_go = 1;
_root.suicide_timer = 5;
gotoAndPlay(2);
}
if (_root.suicide_timer_go == 3) {
_root.suicide_timer_go = 1;
_root.suicide_timer = 1;
gotoAndPlay(50);
}
};
}
frame 50 {
_root.suicide_timer -= 1;
if (_root.suicide_timer != 0) {
gotoAndPlay(2);
} else {
_root.act = 6;
_root.cnt.boom._xscale = _root.bomb_power;
_root.cnt.boom._yscale = _root.bomb_power;
_root.cnt.boom._x = _root.cnt.perso._x;
_root.cnt.boom._y = _root.cnt.perso._y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 1;
gotoAndStop(1);
}
}
}
movieClip 1448 {
frame 1 {
stop();
onEnterFrame = function () {};
}
instance hitt of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.perso_floorhitt = 2;
} else {
_root.perso_floorhitt = 1;
}
if (_root.cnt.left_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.perso_lefthitt = 2;
} else {
_root.perso_lefthitt = 1;
}
if (_root.cnt.right_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.perso_righthitt = 2;
} else {
_root.perso_righthitt = 1;
}
++i;
}
this.hitpts2 = new Array({'x': 0, 'y': -10});
j = 0;
while (j < this.hitpts2.length) {
this.localToGlobal(hitpts2[j]);
if (_root.cnt.hitt.hitTest(hitpts2[j].x, hitpts2[j].y, true)) {
_root.cnt.perso._y -= 10;
}
++j;
}
this.hitpts3 = new Array({'x': 25, 'y': -30});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
_root.mur_touch = 2;
} else {
_root.mur_touch = 1;
}
++k;
}
}
}
instance hitt2 of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': 0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.boom.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._currentframe < 62) {
_root.victims += 1;
}
_parent.gotoAndStop(62);
}
if (_root.cnt.boom.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._currentframe < 62) {
_root.victims += 1;
}
_parent.gotoAndStop(62);
}
var nb = 1;
while (nb < 11) {
if (_root.cnt['b_' + nb].hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._currentframe < 62) {
_root.victims += 1;
}
_parent.gotoAndStop(62);
}
if (_root.cnt['b_' + nb].hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._currentframe < 62) {
_root.victims += 1;
}
_parent.gotoAndStop(62);
}
if (_root.cnt['mine_' + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.lvl == 12) {
_root.mdone = 2;
}
_root.cnt['mine_' + nb].gotoAndStop(4);
_parent.gotoAndStop(62);
_root.victims += 1;
_root.act = 6;
}
++nb;
}
++i;
}
}
}
instance hitt of movieClip 76 {
onClipEvent (enterFrame) {
this.hitpts = new Array({'x': 0, 'y': -70});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._y += 10;
}
++i;
}
}
}
frame 4 {
_root.snd.walk.gotoAndPlay((random(3) + 1) * 2);
}
frame 14 {
_root.snd.walk.gotoAndPlay((random(3) + 1) * 2);
}
frame 20 {
gotoAndPlay(2);
}
frame 60 {
stop();
}
}
movieClip 1450 {
}
movieClip 1451 {
frame 1 {
stop();
}
}
movieClip 1454 {
}
movieClip 1455 {
}
movieClip 1456 {
frame 1 {
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
play();
}
if (aa != 0) {
aa -= 1;
}
};
}
instance of movieClip 76 {
onClipEvent (load) {
aa = random(50) + 100;
_parent._xscale = aa;
_parent._yscale = aa;
}
}
frame 5 {
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if (aa == 0 && _currentframe == ab) {
play();
}
if (aa != 0) {
aa -= 1;
}
};
}
}
movieClip 1457 {
}
movieClip 1458 {
frame 1 {
stop();
}
instance of movieClip 1457 {
onClipEvent (enterFrame) {
if (_root.rocket_fuel_st <= 0) {
_visible = false;
}
}
}
instance hitt of movieClip 76 {
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 < _root.nb_enemies + 1) {
if (_root.cnt['e_' + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt['e_' + nb]._currentframe <= 500) {
_root.victims += 1;
_root.cnt['e_' + nb].gotoAndPlay(651);
}
}
++nb;
}
var nb2 = 1;
while (nb2 < 14) {
if (_root.cnt['av_' + nb2].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.avion_hitt = 2;
_root.avion_hitt_nb = _root.cnt['av_' + nb2].nb;
_root.victims += 15;
_root.cnt['av_' + nb2].gotoAndStop(2);
_root.cnt.boom._xscale = _root.rocket_power;
_root.cnt.boom._yscale = _root.rocket_power;
_root.cnt.boom._x = _root.cnt.rocket._x;
_root.cnt.boom._y = _root.cnt.rocket._y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 2;
_root.act = 4;
trace('code ce rend ici / rocket hitttest');
_parent._visible = false;
_parent.gotoAndStop(1);
}
++nb2;
}
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boom._xscale = _root.rocket_power;
_root.cnt.boom._yscale = _root.rocket_power;
_root.cnt.boom._x = _root.cnt.rocket._x;
_root.cnt.boom._y = _root.cnt.rocket._y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 2;
_root.act = 4;
_parent.gotoAndStop(1);
}
if (_root.cnt.satel.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.satel.gotoAndStop(2);
_root.cnt.boom._xscale = _root.rocket_power;
_root.cnt.boom._yscale = _root.rocket_power;
_root.cnt.boom._x = _root.cnt.rocket._x;
_root.cnt.boom._y = _root.cnt.rocket._y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 2;
_root.act = 4;
_parent.gotoAndStop(1);
}
if (_root.cnt.perso.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.lvl == 4) {
_root.mdone = 2;
}
_root.cnt.boom._xscale = _root.rocket_power;
_root.cnt.boom._yscale = _root.rocket_power;
_root.cnt.boom._x = _root.cnt.rocket._x;
_root.cnt.boom._y = _root.cnt.rocket._y;
_root.cnt.boom.gotoAndPlay(2);
_root.boom_why = 2;
_root.act = 4;
_parent.gotoAndStop(1);
}
++i;
}
}
}
instance of movieClip 1457 {
onClipEvent (enterFrame) {
if (_root.rocket_fuel_st <= 0) {
_visible = false;
}
}
}
}
movieClip 1459 {
}
movieClip 1460 {
}
movieClip 1461 {
}
movieClip 1462 {
}
movieClip 1463 {
}
movieClip 1464 {
frame 1 {
stop();
}
frame 2 {
_root.explosions += 1;
_root.snd.boom.gotoAndPlay((random(6) + 1) * 2);
}
frame 3 {
if (_root.act != 23) {
_root.shake = Math.round(_xscale / 2);
} else {
_root.shake = 50;
}
}
frame 5 {
eval('_root.cnt.sol.blast_' + _root.blast_nb + '._x') = _x;
eval('_root.cnt.sol.blast_' + _root.blast_nb + '._y') = _y - 3880;
eval('_root.cnt.sol.blast_' + _root.blast_nb + '._xscale') = _xscale;
eval('_root.cnt.sol.blast_' + _root.blast_nb + '._yscale') = _yscale;
(eval('_root.cnt.sol.blast_' + _root.blast_nb)).gotoAndStop(2);
_root.blast_nb += 1;
if (_root.blast_nb == 7) {
_root.blast_nb = 1;
}
}
frame 6 {
_root.boom_why = 0;
}
frame 12 {
if (_root.avion_hitt == 2) {
_root.avion_hitt = 3;
_root.act = 22;
}
}
frame 51 {
if (_root.avion_hitt == 3) {
_root.avion_hitt = 1;
} else {
if (principal_boom == 2) {
if (_root.act == 4) {
if (_root.cnt.perso._currentframe <= 61) {
_root.act = 1;
} else {
_root.act = 0;
}
}
if (_root.act == 6) {
_root.act = 0;
}
if (_root.act == 23) {
if (_root.cnt.perso._currentframe <= 61) {
_root.act = 1;
} else {
_root.act = 0;
}
}
}
}
}
}
movieClip 1466 {
}
movieClip 1468 {
}
movieClip 1470 {
}
movieClip 1472 {
}
movieClip 1474 {
}
movieClip 1476 {
}
movieClip 1478 {
}
movieClip 1480 {
}
movieClip 1482 {
}
movieClip 1486 {
frame 1 {
stop();
}
}
// unknown tag 88 length 70
movieClip 1491 {
}
button 1494 {
on (release) {
gotoAndStop(4);
}
}
button 1498 {
on (release) {
gotoAndStop(2);
}
}
movieClip 1499 {
frame 1 {
stop();
onEnterFrame = function () {
_root.act = 1;
if (_root.cnt.perso._x >= 8346 && _currentframe == 1) {
gotoAndStop(2);
}
};
}
instance of movieClip 1491 {
onClipEvent (load) {
txx = 'move the character';
}
}
frame 2 {
_x = _parent.perso._x;
_y = _parent.perso._y;
_root.act = 1;
timer = 5;
timerb = 35;
_root.rocket_fuel_st = _root.wp_2 * 6 * 48;
stop();
onEnterFrame = function () {
_root.wp_ammo_2 = 1;
if (_root.act == 3) {
if (timer != 0) {
timer -= 1;
} else {
_root.act = -333;
gotoAndStop(3);
}
}
if (_root.cnt.perso._currentframe == 62) {
if (timerb != 0) {
timerb -= 1;
} else {
_root.cnt.perso.gotoAndStop(1);
_x = _parent.perso._x;
_y = _parent.perso._y;
_root.act = 1;
timer = 5;
timerb = 35;
_parent.o_1.gotoAndStop(1);
}
}
};
}
instance of movieClip 1491 {
onClipEvent (load) {
txx = 'destroy the target';
}
}
frame 3 {
_x = _parent.rocket._x;
_y = _parent.rocket._y;
stop();
onEnterFrame = function () {};
}
instance of movieClip 1491 {
onClipEvent (load) {
txx = 'control the rocket';
}
}
frame 4 {
_root.act = 3;
timer = 40;
stop();
onEnterFrame = function () {
if (_root.cnt.rocket._x < 7083) {
gotoAndStop(7);
}
if (_root.cnt.rocket._x > 8680) {
gotoAndStop(7);
}
if (_root.cnt.rocket._y < 4028) {
gotoAndStop(7);
}
if (_root.cnt.rocket._y > 5646) {
gotoAndStop(7);
}
if (_parent.o_1._currentframe == 2) {
_root.act = 1;
if (timer != 0) {
timer -= 1;
} else {
if (_root.cnt.perso._currentframe == 62) {
_root.cnt.perso.gotoAndStop(1);
gotoAndStop(2);
} else {
gotoAndStop(5);
}
}
} else {
if (_root.act == 4) {
if (timer != 0) {
timer -= 1;
} else {
_root.cnt.perso.gotoAndStop(1);
gotoAndStop(2);
}
}
}
};
}
frame 5 {
_root.act = 5;
_x = _parent.perso._x;
_y = _parent.perso._y;
timer = 100;
_parent.o_2.gotoAndStop(1);
stop();
onEnterFrame = function () {
if (_root.cnt.perso._currentframe == 62) {
_root.act = -333;
if (timer != 0) {
timer -= 1;
} else {
if (_parent.o_2._currentframe == 2) {
gotoAndStop(6);
} else {
_root.act = 5;
timer = 100;
_root.cnt.perso.gotoAndStop(1);
}
}
}
};
}
instance of movieClip 1491 {
onClipEvent (load) {
txx = 'Kamikaze Bomb';
}
}
frame 6 {
_x = _parent.perso._x;
_y = _parent.perso._y;
timer = 140;
stop();
onEnterFrame = function () {
if (timer != 0) {
timer -= 1;
} else {
_root.fromtuto_soskip = 2;
_root.act = 0;
_root.tuto = 2;
}
};
}
instance of movieClip 1491 {
onClipEvent (load) {
txx = 'Good Job !';
}
}
frame 7 {
_root.act = 21;
_root.next_act = 5;
_x = _parent.rocket._x;
_y = _parent.rocket._y;
stop();
onEnterFrame = function () {};
}
instance of movieClip 1491 {
onClipEvent (load) {
txx = 'watch out';
}
}
}
movieClip 1501 {
instance e_1 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_2 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_3 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_4 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_5 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_6 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_7 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_8 of movieClip 1205 {
onClipEvent (load) {
typee = 'kkk';
}
}
instance e_9 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_10 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_11 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_12 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_13 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_14 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_15 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_16 of movieClip 1205 {
onClipEvent (load) {
typee = 'alqaida';
}
}
instance e_17 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_18 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_19 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_20 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_21 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_22 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_23 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_24 of movieClip 1205 {
onClipEvent (load) {
typee = 'skinhead';
}
}
instance e_26 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_25 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_27 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_28 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_29 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_30 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_31 of movieClip 1205 {
onClipEvent (load) {
typee = 'motard';
}
}
instance e_32 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_33 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_34 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_35 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_36 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_37 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_38 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_39 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_40 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_41 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_42 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_43 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_44 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_45 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_46 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_47 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_48 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_49 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_50 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_51 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_52 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_53 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_54 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_55 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_56 of movieClip 1205 {
onClipEvent (load) {
typee = 'army';
}
}
instance e_57 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_58 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_59 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_60 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_61 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_62 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_63 of movieClip 1205 {
onClipEvent (load) {
typee = 'nazi';
}
}
instance e_64 of movieClip 1205 {
onClipEvent (load) {
typee = 'kamikaze';
}
}
instance e_65 of movieClip 1205 {
onClipEvent (load) {
typee = 'kamikaze';
}
}
instance e_66 of movieClip 1205 {
onClipEvent (load) {
typee = 'kamikaze';
}
}
instance e_67 of movieClip 1205 {
onClipEvent (load) {
typee = 'kamikaze';
}
}
instance e_68 of movieClip 1205 {
onClipEvent (load) {
typee = 'kamikaze';
}
}
instance e_69 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_70 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_71 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_72 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_73 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_74 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_75 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_76 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_77 of movieClip 1205 {
onClipEvent (load) {
typee = 'thug';
}
}
instance e_78 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance e_79 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance e_80 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance e_81 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance e_82 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance e_83 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance e_84 of movieClip 1205 {
onClipEvent (load) {
typee = 'mafia';
}
}
instance av_4 of movieClip 1404 {
onClipEvent (load) {
nb = 4;
}
}
instance av_5 of movieClip 1404 {
onClipEvent (load) {
nb = 5;
}
}
instance av_6 of movieClip 1404 {
onClipEvent (load) {
nb = 6;
}
}
instance av_3 of movieClip 1404 {
onClipEvent (load) {
nb = 3;
}
}
instance av_2 of movieClip 1404 {
onClipEvent (load) {
nb = 2;
}
}
instance av_1 of movieClip 1404 {
onClipEvent (load) {
nb = 1;
}
}
instance av_10 of movieClip 1414 {
onClipEvent (load) {
nb = 10;
}
}
instance av_11 of movieClip 1414 {
onClipEvent (load) {
nb = 11;
}
}
instance av_12 of movieClip 1414 {
onClipEvent (load) {
nb = 12;
}
}
instance av_9 of movieClip 1414 {
onClipEvent (load) {
nb = 9;
}
}
instance av_8 of movieClip 1414 {
onClipEvent (load) {
nb = 8;
}
}
instance av_7 of movieClip 1419 {
onClipEvent (load) {
nb = 7;
}
}
instance boom of movieClip 1464 {
onClipEvent (load) {
principal_boom = 2;
}
}
instance o_1 of movieClip 1486 {
onClipEvent (enterFrame) {
if (_parent.tutomc._currentframe == 1) {
_visible = false;
}
if (_parent.tutomc._currentframe == 2) {
_visible = true;
}
}
}
instance o_2 of movieClip 1486 {
onClipEvent (enterFrame) {
if (_parent.tutomc._currentframe == 5 || _parent.tutomc._currentframe == 6) {
_visible = true;
} else {
_visible = false;
}
}
}
}
instance cnt of movieClip 1501 {
onClipEvent (load) {
if (_root.tuto != 2) {
perso._y = 5390;
perso._x = 7880;
gotoAndStop(52);
_root.interr.obpanel._visible = false;
_root.interr.menubt._visible = false;
} else {
perso._y = 2800;
perso._x = random(815) * 10 + 470;
stop();
}
}
}
movieClip 1504 {
}
movieClip 1505 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.victims != _root.victims_b) {
_root.victims_b = _root.victims;
gotoAndPlay(2);
}
};
}
}
movieClip 1510 {
frame 2 {
stop();
}
}
button 1511 {
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(6);
}
}
movieClip 1512 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 1514 {
}
movieClip 1516 {
frame 1 {
stop();
}
instance of movieClip 638 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_5 != 0) {
_alpha = 100;
}
}
}
instance of movieClip 642 {
onClipEvent (load) {
_alpha = 15;
}
onClipEvent (enterFrame) {
if (_root.wp_7 != 0) {
_alpha = 100;
}
}
}
}
button 1517 {
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay(2);
}
on (rollOver) {
gotoAndPlay(6);
}
}
movieClip 1518 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 1522 {
}
movieClip 1523 {
}
movieClip 1525 {
frame 48 {
_root.tot_time_played += 1;
}
}
movieClip 1529 {
}
movieClip 1530 {
}
movieClip 1531 {
}
button 1533 {
on (release) {
_root.got2go = 4;
}
}
movieClip 1536 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.cnt.perso._currentframe == 62 || _root.act == 0) {
if (_root.bomb_supl == 0 && _root.tuto == 2) {
gotoAndStop(2);
}
}
};
}
instance wpch of movieClip 1512 {
onClipEvent (enterFrame) {
boxx.gotoAndStop(_root.wp1);
if (act == 2) {
act = 1;
_root.wp1 -= 1;
if (_root.wp1 == 0) {
_root.wp1 = 4;
}
if (_root.wp1 == 2) {
if (_root.wp_2 == 0 || _root.wp_ammo_2 == 0) {
act = 2;
}
}
if (_root.wp1 == 3) {
if (_root.wp_3 == 0 || _root.wp_ammo_3 == 0) {
act = 2;
}
}
if (_root.wp1 == 4) {
if (_root.wp_4 == 0 || _root.wp_ammo_4 == 0) {
act = 2;
}
}
}
}
}
instance wpch2 of movieClip 1518 {
onClipEvent (enterFrame) {
boxx.gotoAndStop(_root.wp2 - 3);
if (act == 2) {
act = 1;
_root.wp2 += 1;
if (_root.wp2 == 8) {
if (_root.wp_5 != 0) {
_root.wp2 = 5;
} else {
_root.wp2 = 4;
}
}
if (_root.wp2 == 5 && _root.wp_5 == 0) {
act = 2;
}
if (_root.wp2 == 6 && _root.wp_6 == 0) {
act = 2;
}
if (_root.wp2 == 7 && _root.wp_7 == 0) {
act = 2;
}
}
}
}
frame 2 {
timer = 80;
stop();
onEnterFrame = function () {
if (timer != 0) {
timer -= 1;
} else {
timer = -1;
_root.got2go = 3;
}
};
}
}
movieClip 1538 {
}
movieClip 1540 {
}
movieClip 1543 {
frame 3 {
stop();
}
}
movieClip 1544 {
frame 3 {
stop();
}
}
movieClip 1545 {
frame 1 {
stop();
}
}
movieClip 1547 {
frame 3 {
stop();
}
}
movieClip 1548 {
frame 3 {
stop();
}
}
movieClip 1549 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1551 {
frame 3 {
stop();
}
}
movieClip 1552 {
frame 3 {
stop();
}
}
movieClip 1553 {
frame 1 {
stop();
}
}
movieClip 1555 {
frame 3 {
stop();
}
}
movieClip 1556 {
frame 3 {
stop();
}
}
movieClip 1557 {
frame 1 {
stop();
}
}
movieClip 1559 {
frame 3 {
stop();
}
}
movieClip 1560 {
frame 3 {
stop();
}
}
movieClip 1561 {
frame 1 {
stop();
}
}
movieClip 1563 {
frame 3 {
stop();
}
}
movieClip 1564 {
frame 3 {
stop();
}
}
movieClip 1565 {
frame 1 {
stop();
}
}
movieClip 1567 {
frame 3 {
stop();
}
}
movieClip 1568 {
frame 3 {
stop();
}
}
movieClip 1569 {
frame 1 {
stop();
}
}
movieClip 1571 {
frame 3 {
stop();
}
}
movieClip 1572 {
frame 3 {
stop();
}
}
movieClip 1573 {
frame 1 {
stop();
}
}
movieClip 1575 {
frame 3 {
stop();
}
}
movieClip 1576 {
frame 3 {
stop();
}
}
movieClip 1577 {
frame 1 {
stop();
}
}
movieClip 1578 {
instance of movieClip 1540 {
}
}
movieClip 1583 {
frame 1 {
stopAllSounds();
}
frame 3 {
aa = random(3) + 1;
if (aa == _root.muzalreadyplayed) {
gotoAndPlay(2);
} else {
_root.muzalreadyplayed = aa;
gotoAndPlay(aa * 2 + 2);
}
}
frame 5 {
stop();
}
frame 7 {
stop();
}
frame 9 {
stop();
}
}
movieClip 1585 {
frame 2 {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _root.cnt.rocket._x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _root.cnt.rocket._y;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
}
frame 7 {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _root.cnt.rocket._x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _root.cnt.rocket._y;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
}
frame 17 {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _root.cnt.rocket._x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _root.cnt.rocket._y;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
}
frame 32 {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _root.cnt.rocket._x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _root.cnt.rocket._y;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
}
frame 58 {
eval('_root.cnt.f_' + _root.fumee_nb + '._x') = _root.cnt.rocket._x;
eval('_root.cnt.f_' + _root.fumee_nb + '._y') = _root.cnt.rocket._y;
(eval('_root.cnt.f_' + _root.fumee_nb)).gotoAndPlay(2);
_root.fumee_nb += 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
}
frame 70 {
stop();
}
}
movieClip 1587 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
}
movieClip 1589 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
}
movieClip 1596 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
frame 9 {
stop();
}
frame 11 {
stop();
}
frame 13 {
stop();
}
}
movieClip 1598 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
}
movieClip 1605 {
frame 1 {
gotoAndPlay((random(6) + 1) * 2);
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
frame 9 {
stop();
}
frame 11 {
stop();
}
frame 13 {
stop();
}
}
movieClip 1606 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.scream_go == 2) {
_root.scream_go = 1;
if (_currentframe == 1) {
gotoAndPlay(2);
}
}
};
}
frame 6 {
gotoAndPlay(random(30) + 7);
}
}
movieClip 1620 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
frame 9 {
stop();
}
frame 11 {
stop();
}
frame 13 {
stop();
}
frame 15 {
stop();
}
frame 17 {
stop();
}
frame 19 {
stop();
}
frame 21 {
stop();
}
frame 23 {
stop();
}
frame 25 {
stop();
}
frame 27 {
stop();
}
}
movieClip 1624 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
}
movieClip 1625 {
}
instance of movieClip 407 {
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);
}
}