Frame 1
function deadClick() {
}
function gotoMySite() {
getURL ("http://freewebs.com/stupidflashgames101", "_blank");
}
function gotoFacebook() {
getURL ("http://www.facebook.com/home.php?ref=home#/pages/Stupid-Flash-Games/337124255493?ref=search&sid=1445930779.2185803851..1", "_blank");
_root.a9 = true;
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("2011 Stupid Flash Games", gotoMySite);
copyrightNotice.separatorBefore = true;
var versionNotice = new ContextMenuItem("Version 1.0", deadClick);
versionNotice.separatorBefore = true;
var myName = new ContextMenuItem("Created by Brandon Flynn", gotoFacebook);
myMenu.customItems.push(myName, copyrightNotice, versionNotice);
_root.menu = myMenu;
domainArray = ["kongregate.com"];
var kongregate = _global.kongregate;
_global.kongregate.services.connect();
var urlStart = (_url.indexOf("://") + 3);
var urlEnd = _url.indexOf("/", urlStart);
var domain = _url.substring(urlStart, urlEnd);
var LastDot = (domain.lastIndexOf(".") - 1);
var pfixEnd = (domain.lastIndexOf(".", LastDot) + 1);
domain = domain.substring(pfixEnd, domain.length);
var w = 0;
while (w < domainArray.length) {
if (domain == domainArray[w]) {
_global.coinsActivated = false;
break;
}
_global.coinsActivated = true;
w++;
}
function onConnectError(status) {
trace("[error] connecting: " + status);
}
function handleError(event) {
trace("[error] " + event.type);
}
function loggedIn(event) {
trace("Hello " + event.name);
_global.myData = event.userProperties;
logIn = true;
}
function registerItem(event) {
trace((("Player owns " + event.count) + " of ") + event.id);
if (event.id == "cc6aa42dc5a4c8d5") {
binLadenLocked = false;
_root.a14 = true;
}
if (event.id == "25ce170756787c80") {
cowboyLocked = false;
_root.a15 = true;
}
if (event.id == "fd8d493208550d28") {
alienLocked = false;
_root.a16 = true;
}
if (event.id == "0567ac1883a5afc3") {
bonesLocked = false;
_root.a20 = true;
}
if (event.id == "e3439f33199aa916") {
pirateLocked = false;
_root.a22 = true;
}
if (event.id == "c003ab177c438bf1") {
ninjaLocked = false;
_root.a23 = true;
}
if (event.id == "7dbbc214a1e402b6") {
matrixLocked = false;
_root.a18 = true;
}
if (event.id == "6f8f6e378ee93bd7") {
astronautLocked = false;
_root.a17 = true;
}
if (event.id == "065fcdcb27c03288") {
gasMaskLocked = false;
_root.a21 = true;
}
if (event.id == "a4de4ab08a71aee3") {
obamaLocked = false;
_root.a19 = true;
}
if (event.id == "796ac04b1bf4212b") {
cowboyLocked = false;
astronautLocked = false;
gasMaskLocked = false;
obamaLocked = false;
matrixLocked = false;
ninjaLocked = false;
pirateLocked = false;
bonesLocked = false;
alienLocked = false;
binLadenLocked = false;
_root.a14 = true;
_root.a15 = true;
_root.a16 = true;
_root.a17 = true;
_root.a18 = true;
_root.a19 = true;
_root.a20 = true;
_root.a21 = true;
_root.a22 = true;
_root.a23 = true;
}
}
if (coinsActivated) {
mochi.as2.MochiServices.connect("0286f2d5eb42a616", _root, onConnectError);
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.ERROR, handleError);
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.LOGGED_IN, loggedIn);
mochi.as2.MochiCoins.addEventListener(mochi.as2.MochiCoins.ITEM_OWNED, registerItem);
}
_global.logIn = false;
mochi.as2.MochiSocial.hideLoginWidget();
mochi.as2.MochiAd.showPreGameAd({id:"0286f2d5eb42a616", res:"700x500"});
Frame 2
_root.binLadenLocked = true;
_root.cowboyLocked = true;
_root.alienLocked = true;
_root.astronautLocked = true;
_root.obamaLocked = true;
_root.bonesLocked = true;
_root.gasMaskLocked = true;
_root.pirateLocked = true;
_root.matrixLocked = true;
_root.ninjaLocked = true;
var savefile = SharedObject.getLocal("RagdollLaserDodgeSaveFile");
if (savefile.data.boastful == undefined) {
_root.boastful = 0;
_root.ranks = 0;
_root.need_help = 0;
_root.got_games = 0;
_root.researcher = 0;
_root.nap_time = 0;
_root.silence_is_golden = 0;
_root.queasy = 0;
_root.be_a_fan = 0;
_root.cant_touch_this = 0;
_root.slow_rider = 0;
_root.gecko_doll = 0;
_root.bonuses = 0;
_root.bin_laden_unlocked = 0;
_root.cowboy_unlocked = 0;
_root.alien_unlocked = 0;
_root.astronaut_unlocked = 0;
_root.matrix_unlocked = 0;
_root.politician_unlocked = 0;
_root.skeleton_unlocked = 0;
_root.gasmask_unlocked = 0;
_root.pirate_unlocked = 0;
_root.ninja_unlocked = 0;
_root.just_practicing = 0;
_root.slaughter_house = 0;
_root.weight_loss = 0;
_root.no_hit_wonder = 0;
_root.five_hundred_pounds = 0;
_root.one_ton = 0;
_root.cha_ching = 0;
_root.collector = 0;
_root.hundred_times = 0;
_root.going_green = 0;
_root.slow_poke = 0;
_root.laser_show = 0;
_root.laser_dodger = 0;
_root.laser_master = 0;
_root.regenerator = 0;
_root.limb_farmer = 0;
_root.limb_plantation = 0;
_root.invincible = 0;
_root.fail = 0;
_root.just_passed = 0;
_root.average = 0;
_root.better = 0;
_root.aced = 0;
_root.legend = 0;
_root.master = 0;
_root.noob = 0;
_root.beginner = 0;
_root.intermediate = 0;
_root.advanced = 0;
_root.test_run = 0;
_root.time_waster = 0;
_root.sorta_fun = 0;
_root.i_like_this = 0;
_root.addicted = 0;
_root.new_doll = 0;
_root.fifty_fifty = 0;
_root.gotta_get_em_all = 0;
_root.timeCount = 0;
_root.totalLasersDodged = 0;
_root.totalGreenHit = 0;
_root.totalYellowHit = 0;
_root.totalLimbsLost = 0;
_root.totalLimbsRegen = 0;
_root.died = 0;
savefile.data.timeCount = 0;
savefile.data.totalLasersDodged = 0;
savefile.data.totalGreenHit = 0;
savefile.data.totalYellowHit = 0;
savefile.data.totalLimbsLost = 0;
savefile.data.totalLimbsRegen = 0;
savefile.data.died = 0;
savefile.data.boastful = 0;
savefile.data.ranks = 0;
savefile.data.need_help = 0;
savefile.data.got_games = 0;
savefile.data.researcher = 0;
savefile.data.nap_time = 0;
savefile.data.silence_is_golden = 0;
savefile.data.queasy = 0;
savefile.data.be_a_fan = 0;
savefile.data.cant_touch_this = 0;
savefile.data.slow_rider = 0;
savefile.data.gecko_doll = 0;
savefile.data.bonuses = 0;
savefile.data.bin_laden_unlocked = 0;
savefile.data.cowboy_unlocked = 0;
savefile.data.alien_unlocked = 0;
savefile.data.astronaut_unlocked = 0;
savefile.data.matrix_unlocked = 0;
savefile.data.politician_unlocked = 0;
savefile.data.skeleton_unlocked = 0;
savefile.data.gasmask_unlocked = 0;
savefile.data.pirate_unlocked = 0;
savefile.data.ninja_unlocked = 0;
savefile.data.just_practicing = 0;
savefile.data.slaughter_house = 0;
savefile.data.weight_loss = 0;
savefile.data.no_hit_wonder = 0;
savefile.data.five_hundred_pounds = 0;
savefile.data.one_ton = 0;
savefile.data.cha_ching = 0;
savefile.data.collector = 0;
savefile.data.hundred_times = 0;
savefile.data.going_green = 0;
savefile.data.slow_poke = 0;
savefile.data.laser_show = 0;
savefile.data.laser_dodger = 0;
savefile.data.laser_master = 0;
savefile.data.regenerator = 0;
savefile.data.limb_farmer = 0;
savefile.data.limb_plantation = 0;
savefile.data.invincible = 0;
savefile.data.fail = 0;
savefile.data.just_passed = 0;
savefile.data.average = 0;
savefile.data.better = 0;
savefile.data.aced = 0;
savefile.data.legend = 0;
savefile.data.master = 0;
savefile.data.noob = 0;
savefile.data.beginner = 0;
savefile.data.intermediate = 0;
savefile.data.advanced = 0;
savefile.data.test_run = 0;
savefile.data.time_waster = 0;
savefile.data.sorta_fun = 0;
savefile.data.i_like_this = 0;
savefile.data.addicted = 0;
savefile.data.new_doll = 0;
savefile.data.fifty_fifty = 0;
savefile.data.gotta_get_em_all = 0;
savefile.flush();
} else {
_root.timeCount = savefile.data.timeCount;
_root.totalLasersDodged = savefile.data.totalLasersDodged;
_root.totalGreenHit = savefile.data.totalGreenHit;
_root.totalYellowHit = savefile.data.totalYellowHit;
_root.totalLimbsLost = savefile.data.totalLimbsLost;
_root.totalLimbsRegen = savefile.data.totalLimbsRegen;
_root.died = savefile.data.died;
_root.boastful = savefile.data.boastful;
_root.ranks = savefile.data.ranks;
_root.need_help = savefile.data.need_help;
_root.got_games = savefile.data.got_games;
_root.researcher = savefile.data.researcher;
_root.nap_time = savefile.data.nap_time;
_root.silence_is_golden = savefile.data.silence_is_golden;
_root.queasy = savefile.data.queasy;
_root.be_a_fan = savefile.data.be_a_fan;
_root.cant_touch_this = savefile.data.cant_touch_this;
_root.slow_rider = savefile.data.slow_rider;
_root.gecko_doll = savefile.data.gecko_doll;
_root.bonuses = savefile.data.bonuses;
_root.bin_laden_unlocked = savefile.data.bin_laden_unlocked;
_root.cowboy_unlocked = savefile.data.cowboy_unlocked;
_root.alien_unlocked = savefile.data.alien_unlocked;
_root.astronaut_unlocked = savefile.data.astronaut_unlocked;
_root.matrix_unlocked = savefile.data.matrix_unlocked;
_root.politician_unlocked = savefile.data.politician_unlocked;
_root.skeleton_unlocked = savefile.data.skeleton_unlocked;
_root.gasmask_unlocked = savefile.data.gasmask_unlocked;
_root.pirate_unlocked = savefile.data.pirate_unlocked;
_root.ninja_unlocked = savefile.data.ninja_unlocked;
_root.just_practicing = savefile.data.just_practicing;
_root.slaughter_house = savefile.data.slaughter_house;
_root.weight_loss = savefile.data.weight_loss;
_root.no_hit_wonder = savefile.data.no_hit_wonder;
_root.five_hundred_pounds = savefile.data.five_hundred_pounds;
_root.one_ton = savefile.data.one_ton;
_root.cha_ching = savefile.data.cha_ching;
_root.collector = savefile.data.collector;
_root.hundred_times = savefile.data.hundred_times;
_root.going_green = savefile.data.going_green;
_root.slow_poke = savefile.data.slow_poke;
_root.laser_show = savefile.data.laser_show;
_root.laser_dodger = savefile.data.laser_dodger;
_root.laser_master = savefile.data.laser_master;
_root.regenerator = savefile.data.regenerator;
_root.limb_farmer = savefile.data.limb_farmer;
_root.limb_plantation = savefile.data.limb_plantation;
_root.invincible = savefile.data.invincible;
_root.fail = savefile.data.fail;
_root.just_passed = savefile.data.just_passed;
_root.average = savefile.data.average;
_root.better = savefile.data.better;
_root.aced = savefile.data.aced;
_root.legend = savefile.data.legend;
_root.master = savefile.data.master;
_root.noob = savefile.data.noob;
_root.beginner = savefile.data.beginner;
_root.intermediate = savefile.data.intermediate;
_root.advanced = savefile.data.advanced;
_root.test_run = savefile.data.test_run;
_root.time_waster = savefile.data.time_waster;
_root.sorta_fun = savefile.data.sorta_fun;
_root.i_like_this = savefile.data.i_like_this;
_root.addicted = savefile.data.addicted;
_root.new_doll = savefile.data.new_doll;
_root.fifty_fifty = savefile.data.fifty_fifty;
_root.gotta_get_em_all = savefile.data.gotta_get_em_all;
if (_root.bin_laden_unlocked == 1) {
binLadenLocked = false;
}
if (_root.cowboy_unlocked == 1) {
cowboyLocked = false;
}
if (_root.alien_unlocked == 1) {
alienLocked = false;
}
if (_root.astronaut_unlocked == 1) {
astronautLocked = false;
}
if (_root.matrix_unlocked == 1) {
matrixLocked = false;
}
if (_root.politician_unlocked == 1) {
obamaLocked = false;
}
if (_root.skeleton_unlocked == 1) {
bonesLocked = false;
}
if (_root.gasmask_unlocked == 1) {
gasMaskLocked = false;
}
if (_root.pirate_unlocked == 1) {
pirateLocked = false;
}
if (_root.ninja_unlocked == 1) {
ninjaLocked = false;
}
}
myCountDown = function () {
_root.timeCount = _root.timeCount + 1;
};
countInterval = setInterval(myCountDown, 1000);
_root.numUnlocked = ((((((((_root.bin_laden_unlocked + _root.cowboy_unlocked) + _root.alien_unlocked) + _root.astronaut_unlocked) + _root.matrix_unlocked) + _root.politician_unlocked) + _root.skeleton_unlocked) + _root.gasmask_unlocked) + _root.pirate_unlocked) + _root.ninja_unlocked;
achievements = _root.createEmptyMovieClip("achievements", 10000);
_root.abar = _root.attachMovie("abar", "abar", 10001, {_x:95, _y:509});
_root.abar.go = false;
_root.abar.timer = 100;
_root.abar.onEnterFrame = function () {
_root.numUnlocked = ((((((((_root.bin_laden_unlocked + _root.cowboy_unlocked) + _root.alien_unlocked) + _root.astronaut_unlocked) + _root.matrix_unlocked) + _root.politician_unlocked) + _root.skeleton_unlocked) + _root.gasmask_unlocked) + _root.pirate_unlocked) + _root.ninja_unlocked;
if (this.go == true) {
if (this._y <= 495) {
this._y = 495;
this.timer = this.timer - 1;
}
if (this.timer <= 0) {
this.timer = 0;
this._y = this._y + 5;
} else {
this._y = this._y - 5;
}
if (this._y >= 510) {
this._y = 509;
this.timer = 100;
this.go = false;
}
}
};
achievements.onEnterFrame = function () {
if (_root.timeCount == 300) {
_root.a53 = true;
}
if (_root.timeCount == 1200) {
_root.a53 = true;
_root.a54 = true;
}
if (_root.timeCount == 3600) {
_root.a53 = true;
_root.a54 = true;
_root.a55 = true;
}
if (_root.timeCount == 7200) {
_root.a53 = true;
_root.a54 = true;
_root.a55 = true;
_root.a56 = true;
}
if (_root.timeCount == 18000) {
_root.a53 = true;
_root.a54 = true;
_root.a55 = true;
_root.a56 = true;
_root.a57 = true;
}
if (_root.totalLasersDodged >= 1000) {
_root.a35 = true;
}
if (_root.totalLasersDodged >= 5000) {
_root.a36 = true;
}
if (_root.totalLasersDodged >= 10000) {
_root.a37 = true;
}
if (_root.totalGreenHit >= 100) {
_root.a33 = true;
}
if (_root.totalYellowHit >= 100) {
_root.a34 = true;
}
if (_root.totalLimbsLost >= 125) {
_root.a28 = true;
}
if (_root.totalLimbsLost >= 500) {
_root.a29 = true;
}
if (_root.totalLimbsRegen >= 20) {
_root.a39 = true;
}
if (_root.totalLimbsRegen >= 50) {
_root.a40 = true;
}
if (numUnlocked >= 1) {
_root.a58 = true;
}
if (numUnlocked >= 4) {
_root.a59 = true;
}
if (numUnlocked >= 10) {
_root.a60 = true;
}
if ((!_root.boastful) == 1) {
if (_root.a1 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Boastful Achieved";
_root.boastful = 1;
savefile.data.boastful = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a1 = false;
}
}
}
if ((!_root.ranks) == 1) {
if (_root.a2 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Ranks Achieved";
_root.ranks = 1;
savefile.data.ranks = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a2 = false;
}
}
}
if ((!_root.need_help) == 1) {
if (_root.a3 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Need Help Achieved";
_root.need_help = 1;
savefile.data.need_help = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a3 = false;
}
}
}
if ((!_root.got_games) == 1) {
if (_root.a4 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Got Games Achieved";
_root.got_games = 1;
savefile.data.got_games = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a4 = false;
}
}
}
if ((!_root.researcher) == 1) {
if (_root.a5 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Researcher Achieved";
_root.researcher = 1;
savefile.data.researcher = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a5 = false;
}
}
}
if ((!_root.nap_time) == 1) {
if (_root.a6 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Nap Time Achieved";
_root.nap_time = 1;
savefile.data.nap_time = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a6 = false;
}
}
}
if ((!_root.silence_is_golden) == 1) {
if (_root.a7 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Silence Is Golden Achieved";
_root.silence_is_golden = 1;
savefile.data.silence_is_golden = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a7 = false;
}
}
}
if ((!_root.queasy) == 1) {
if (_root.a8 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Queasy Achieved";
_root.queasy = 1;
savefile.data.queasy = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a8 = false;
}
}
}
if ((!_root.be_a_fan) == 1) {
if (_root.a9 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Be A Fan Achieved";
_root.be_a_fan = 1;
savefile.data.be_a_fan = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a9 = false;
}
}
}
if ((!_root.cant_touch_this) == 1) {
if (_root.a10 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Can't Touch This Achieved";
_root.cant_touch_this = 1;
savefile.data.cant_touch_this = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a10 = false;
}
}
}
if ((!_root.slow_rider) == 1) {
if (_root.a11 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Slow Rider Achieved";
_root.slow_rider = 1;
savefile.data.slow_rider = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a11 = false;
}
}
}
if ((!_root.gecko_doll) == 1) {
if (_root.a12 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Gecko Doll Achieved";
_root.gecko_doll = 1;
savefile.data.gecko_doll = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a12 = false;
}
}
}
if ((!_root.bonuses) == 1) {
if (_root.a13 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Bonuses Achieved";
_root.bonuses = 1;
savefile.data.bonuses = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a13 = false;
}
}
}
if ((!_root.bin_laden_unlocked) == 1) {
if (_root.a14 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Bin Laden Unlocked Achieved";
_root.bin_laden_unlocked = 1;
savefile.data.bin_laden_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a14 = false;
}
}
}
if ((!_root.cowboy_unlocked) == 1) {
if (_root.a15 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Cowboy Unlocked Achieved";
_root.cowboy_unlocked = 1;
savefile.data.cowboy_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a15 = false;
}
}
}
if ((!_root.alien_unlocked) == 1) {
if (_root.a16 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Alien Unlocked Achieved";
_root.alien_unlocked = 1;
savefile.data.alien_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a16 = false;
}
}
}
if ((!_root.astronaut_unlocked) == 1) {
if (_root.a17 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Astronaut Unlocked Achieved";
_root.astronaut_unlocked = 1;
savefile.data.astronaut_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a17 = false;
}
}
}
if ((!_root.matrix_unlocked) == 1) {
if (_root.a18 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Matrix Man Unlocked Achieved";
_root.matrix_unlocked = 1;
savefile.data.matrix_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a18 = false;
_global.kongregate.stats.submit("Matrix Man Unlocked", 1);
}
}
}
if ((!_root.politician_unlocked) == 1) {
if (_root.a19 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Politician Unlocked Achieved";
_root.politician_unlocked = 1;
savefile.data.politician_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a19 = false;
}
}
}
if ((!_root.skeleton_unlocked) == 1) {
if (_root.a20 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Skeleton Unlocked Achieved";
_root.skeleton_unlocked = 1;
savefile.data.skeleton_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a20 = false;
}
}
}
if ((!_root.gasmask_unlocked) == 1) {
if (_root.a21 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Gas Mask Unlocked Achieved";
_root.gasmask_unlocked = 1;
savefile.data.gasmask_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a21 = false;
}
}
}
if ((!_root.pirate_unlocked) == 1) {
if (_root.a22 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Pirate Unlocked Achieved";
_root.pirate_unlocked = 1;
savefile.data.pirate_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a22 = false;
_global.kongregate.stats.submit("Ninja Unlocked", 1);
}
}
}
if ((!_root.ninja_unlocked) == 1) {
if (_root.a23 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Ninja Unlocked Achieved";
_root.ninja_unlocked = 1;
savefile.data.ninja_unlocked = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a23 = false;
}
}
}
if ((!_root.just_practicing) == 1) {
if (_root.a24 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Just Practicing Achieved";
_root.just_practicing = 1;
savefile.data.just_practicing = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a24 = false;
}
}
}
if ((!_root.slaughter_house) == 1) {
if (_root.a25 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Slaughter House Achieved";
_root.slaughter_house = 1;
savefile.data.slaughter_house = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a25 = false;
}
}
}
if ((!_root.weight_loss) == 1) {
if (_root.a26 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Weight Loss Achieved";
_root.weight_loss = 1;
savefile.data.weight_loss = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a26 = false;
}
}
}
if ((!_root.no_hit_wonder) == 1) {
if (_root.a27 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "No Hit Wonder Achieved";
_root.no_hit_wonder = 1;
savefile.data.no_hit_wonder = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a27 = false;
}
}
}
if ((!_root.five_hundred_pounds) == 1) {
if (_root.a28 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "500 Pounds Achieved";
_root.five_hundred_pounds = 1;
savefile.data.five_hundred_pounds = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a28 = false;
_global.kongregate.stats.submit("Lose A Total Of 50 Limbs", 1);
}
}
}
if ((!_root.one_ton) == 1) {
if (_root.a29 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "One Ton Achieved";
_root.one_ton = 1;
savefile.data.one_ton = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a29 = false;
}
}
}
if ((!_root.cha_ching) == 1) {
if (_root.a30 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Cha Ching Achieved";
_root.cha_ching = 1;
savefile.data.cha_ching = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a30 = false;
}
}
}
if ((!_root.collector) == 1) {
if (_root.a31 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Collector Achieved";
_root.collector = 1;
savefile.data.collector = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a31 = false;
}
}
}
if ((!_root.hundred_times) == 1) {
if (_root.a32 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "100 Times Achieved";
_root.hundred_times = 1;
savefile.data.hundred_times = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a32 = false;
}
}
}
if ((!_root.going_green) == 1) {
if (_root.a33 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Going Green Achieved";
_root.going_green = 1;
savefile.data.going_green = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a33 = false;
}
}
}
if ((!_root.slow_poke) == 1) {
if (_root.a34 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Slow Poke Achieved";
_root.slow_poke = 1;
savefile.data.slow_poke = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a34 = false;
}
}
}
if ((!_root.laser_show) == 1) {
if (_root.a35 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Laser Show Achieved";
_root.laser_show = 1;
savefile.data.laser_show = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a35 = false;
}
}
}
if ((!_root.laser_dodger) == 1) {
if (_root.a36 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Laser Dodger Achieved";
_root.laser_dodger = 1;
savefile.data.laser_dodger = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a36 = false;
_global.kongregate.stats.submit("Dodge Over 5,000 Lasers", 1);
}
}
}
if ((!_root.laser_master) == 1) {
if (_root.a37 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Laser Master Achieved";
_root.laser_master = 1;
savefile.data.laser_master = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a37 = false;
_global.kongregate.stats.submit("Dodge Over 10,000 Lasers", 1);
}
}
}
if ((!_root.regenerator) == 1) {
if (_root.a38 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Regenerator Achieved";
_root.regenerator = 1;
savefile.data.regenerator = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a38 = false;
}
}
}
if ((!_root.limb_farmer) == 1) {
if (_root.a39 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Limb Farmer Achieved";
_root.limb_farmer = 1;
savefile.data.limb_farmer = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a39 = false;
}
}
}
if ((!_root.limb_plantation) == 1) {
if (_root.a40 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Limb Plantation Achieved";
_root.limb_plantation = 1;
savefile.data.limb_plantation = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a40 = false;
}
}
}
if ((!_root.invincible) == 1) {
if (_root.a41 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Invincible Achieved";
_root.invincible = 1;
savefile.data.invincible = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a41 = false;
}
}
}
if ((!_root.fail) == 1) {
if (_root.a42 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Fail Achieved";
_root.fail = 1;
savefile.data.fail = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a42 = false;
}
}
}
if ((!_root.just_passed) == 1) {
if (_root.a43 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Just Passed Achieved";
_root.just_passed = 1;
savefile.data.just_passed = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a43 = false;
}
}
}
if ((!_root.average) == 1) {
if (_root.a44 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Average Achieved";
_root.average = 1;
savefile.data.average = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a44 = false;
}
}
}
if ((!_root.better) == 1) {
if (_root.a45 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Better Achieved";
_root.better = 1;
savefile.data.better = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a45 = false;
}
}
}
if ((!_root.aced) == 1) {
if (_root.a46 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Aced Achieved";
_root.aced = 1;
savefile.data.aced = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a46 = false;
}
}
}
if ((!_root.legend) == 1) {
if (_root.a47 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Legend Achieved";
_root.legend = 1;
savefile.data.legend = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a47 = false;
}
}
}
if ((!_root.master) == 1) {
if (_root.a48 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Master Achieved";
_root.master = 1;
savefile.data.master = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a48 = false;
}
}
}
if ((!_root.noob) == 1) {
if (_root.a49 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Noob Achieved";
_root.noob = 1;
savefile.data.noob = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a49 = false;
}
}
}
if ((!_root.beginner) == 1) {
if (_root.a50 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Beginner Achieved";
_root.beginner = 1;
savefile.data.beginner = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a50 = false;
}
}
}
if ((!_root.intermediate) == 1) {
if (_root.a51 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Intermediate Achieved";
_root.intermediate = 1;
savefile.data.intermediate = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a51 = false;
}
}
}
if ((!_root.advanced) == 1) {
if (_root.a52 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Advanced Achieved";
_root.advanced = 1;
savefile.data.advanced = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a52 = false;
}
}
}
if ((!_root.test_run) == 1) {
if (_root.a53 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Test Run Achieved";
_root.test_run = 1;
savefile.data.test_run = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a53 = false;
}
}
}
if ((!_root.time_waster) == 1) {
if (_root.a54 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Time Waster Achieved";
_root.time_waster = 1;
savefile.data.time_waster = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a54 = false;
}
}
}
if ((!_root.sorta_fun) == 1) {
if (_root.a55 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Sorta Fun Achieved";
_root.sorta_fun = 1;
savefile.data.sorta_fun = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a55 = false;
}
}
}
if ((!_root.i_like_this) == 1) {
if (_root.a56 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "I Like This Achieved";
_root.i_like_this = 1;
savefile.data.i_like_this = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a56 = false;
}
}
}
if ((!_root.addicted) == 1) {
if (_root.a57 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Addicted Achieved";
_root.addicted = 1;
savefile.data.addicted = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a57 = false;
}
}
}
if ((!_root.new_doll) == 1) {
if (_root.a58 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "New Doll Achieved";
_root.new_doll = 1;
savefile.data.new_doll = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a58 = false;
}
}
}
if ((!_root.fifty_fifty) == 1) {
if (_root.a59 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "50/50 Achieved";
_root.fifty_fifty = 1;
savefile.data.fifty_fifty = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a59 = false;
}
}
}
if ((!_root.gotta_get_em_all) == 1) {
if (_root.a60 == true) {
if (_root.abar.go == false) {
_root.abar.go = true;
_root.abar.acomplete = "Gotta Get'em All Achieved";
_root.gotta_get_em_all = 1;
savefile.data.gotta_get_em_all = 1;
savefile.flush();
_root.s.sachieve.start();
_root.a60 = false;
}
}
}
};
stop();
_root.blood_on = true;
Instance of Symbol 281 MovieClip in Frame 2
on (release) {
getURL ("http://freewebs.com/stupidflashgames101", "_blank");
}
Instance of Symbol 283 MovieClip "s" in Frame 2
onClipEvent (load) {
sachieve = new Sound(this);
sachieve.attachSound("sachieve");
sachieve.setVolume(75);
}
Instance of Symbol 285 MovieClip "bgs" in Frame 2
onClipEvent (load) {
bgm = new Sound(this);
bgm.attachSound("bgm");
bgm.start(0, 99999);
}
Frame 5
stop();
_root.startover = true;
speed = 15;
_root.rightArmCut = false;
_root.leftArmCut = false;
_root.rightHandCut = false;
_root.leftHandCut = false;
_root.leftFootCut = false;
_root.rightFootCut = false;
_root.leftLegCut = false;
_root.rightLegCut = false;
_root.bodyCut = false;
_root.headCut = false;
_root.neckCut = false;
_root.gameover.removeMovieClip();
_root.reddeath.removeMovieClip();
_root.skinHead.removeMovieClip();
_root.skinNeck.removeMovieClip();
_root.skinLeftArm.removeMovieClip();
_root.skinLeftHand.removeMovieClip();
_root.skinRightArm.removeMovieClip();
_root.skinRightHand.removeMovieClip();
_root.skinBody.removeMovieClip();
_root.skinLeftLeg.removeMovieClip();
_root.skinLeftFoot.removeMovieClip();
_root.skinRightLeg.removeMovieClip();
_root.skinRightFoot.removeMovieClip();
_root.head.removeMovieClip(this);
_root.neck.removeMovieClip(this);
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
_root.body.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 5
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 31 MovieClip in Frame 5
onClipEvent (load) {
this.pg.gotoAndStop(1);
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.bgs.bgm.setVolume(0);
}
if (_root.mute == false) {
_root.bgs.bgm.setVolume(100);
}
}
on (release) {
if (_root.mute == false) {
this.pg.gotoAndStop(3);
}
if (_root.mute == true) {
this.pg.gotoAndStop(2);
}
}
Instance of Symbol 287 MovieClip in Frame 5
on (release) {
getURL ("http://stupidflashgames101.webs.com/", "_blank");
}
Instance of Symbol 293 MovieClip in Frame 5
onClipEvent (load) {
this.po.gotoAndStop(1);
this.gotoAndStop(2);
}
on (release) {
if (_root.blood_on == false) {
this.po.gotoAndStop(2);
}
if (_root.blood_on == true) {
this.po.gotoAndStop(3);
}
}
Frame 6
function loggedIn(event) {
trace("Hello " + event.name);
myData = event.userProperties;
logIn = true;
}
function loggedOut() {
logIn = false;
}
function registerItem(event) {
trace((("Player owns " + event.count) + " of ") + event.id);
if (event.id == "cc6aa42dc5a4c8d5") {
binLadenLocked = false;
_root.a14 = true;
}
if (event.id == "25ce170756787c80") {
cowboyLocked = false;
_root.a15 = true;
}
if (event.id == "fd8d493208550d28") {
alienLocked = false;
_root.a16 = true;
}
if (event.id == "0567ac1883a5afc3") {
bonesLocked = false;
_root.a20 = true;
}
if (event.id == "e3439f33199aa916") {
pirateLocked = false;
_root.a22 = true;
}
if (event.id == "c003ab177c438bf1") {
ninjaLocked = false;
_root.a23 = true;
}
if (event.id == "7dbbc214a1e402b6") {
matrixLocked = false;
_root.a18 = true;
}
if (event.id == "6f8f6e378ee93bd7") {
astronautLocked = false;
_root.a17 = true;
}
if (event.id == "065fcdcb27c03288") {
gasMaskLocked = false;
_root.a21 = true;
}
if (event.id == "a4de4ab08a71aee3") {
obamaLocked = false;
_root.a19 = true;
}
if (event.id == "796ac04b1bf4212b") {
cowboyLocked = false;
astronautLocked = false;
gasMaskLocked = false;
obamaLocked = false;
matrixLocked = false;
ninjaLocked = false;
pirateLocked = false;
bonesLocked = false;
alienLocked = false;
binLadenLocked = false;
_root.a14 = true;
_root.a15 = true;
_root.a16 = true;
_root.a17 = true;
_root.a18 = true;
_root.a19 = true;
_root.a20 = true;
_root.a21 = true;
_root.a22 = true;
_root.a23 = true;
}
}
function newItem(event) {
if (event.id == "cc6aa42dc5a4c8d5") {
binLadenLocked = false;
_root.a14 = true;
}
if (event.id == "25ce170756787c80") {
cowboyLocked = false;
_root.a15 = true;
}
if (event.id == "fd8d493208550d28") {
alienLocked = false;
_root.a16 = true;
}
if (event.id == "0567ac1883a5afc3") {
bonesLocked = false;
_root.a20 = true;
}
if (event.id == "e3439f33199aa916") {
pirateLocked = false;
_root.a22 = true;
}
if (event.id == "c003ab177c438bf1") {
ninjaLocked = false;
_root.a23 = true;
}
if (event.id == "7dbbc214a1e402b6") {
matrixLocked = false;
_root.a18 = true;
}
if (event.id == "6f8f6e378ee93bd7") {
astronautLocked = false;
_root.a17 = true;
}
if (event.id == "065fcdcb27c03288") {
gasMaskLocked = false;
_root.a21 = true;
}
if (event.id == "a4de4ab08a71aee3") {
obamaLocked = false;
_root.a19 = true;
}
if (event.id == "796ac04b1bf4212b") {
cowboyLocked = false;
astronautLocked = false;
gasMaskLocked = false;
obamaLocked = false;
matrixLocked = false;
ninjaLocked = false;
pirateLocked = false;
bonesLocked = false;
alienLocked = false;
binLadenLocked = false;
_root.a14 = true;
_root.a15 = true;
_root.a16 = true;
_root.a17 = true;
_root.a18 = true;
_root.a19 = true;
_root.a20 = true;
_root.a21 = true;
_root.a22 = true;
_root.a23 = true;
}
trace((("Player just bought " + event.count) + " of ") + event.id);
}
function properties_saved(ev) {
trace("Properties Saved!");
}
function handleError(ev) {
switch (ev.type) {
case mochi.as2.MochiSocial.PROPERTIES_SIZE :
trace("Properties too large.");
break;
case mochi.as2.MochiSocial.NO_USER :
trace("No user logged in.");
}
}
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.PROPERTIES_SAVED, properties_saved);
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.ERROR, handleError);
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.LOGGED_IN, loggedIn);
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.LOGGED_OUT, loggedOut);
mochi.as2.MochiCoins.addEventListener(mochi.as2.MochiCoins.ITEM_OWNED, registerItem);
mochi.as2.MochiCoins.addEventListener(mochi.as2.MochiCoins.ITEM_NEW, newItem);
_global.logIn = false;
updateData = true;
savefile.data.totalLimbsRegen = _root.totalLimbsRegen;
savefile.data.totalGreenHit = _root.totalGreenHit;
savefile.data.totalYellowHit = _root.totalYellowHit;
savefile.data.totalLimbsLost = _root.totalLimbsLost;
savefile.data.totalLasersDodged = _root.totalLasersDodged;
savefile.data.timeCount = _root.timeCount;
savefile.flush();
mochi.as2.MochiSocial.showLoginWidget({x:500, y:20});
onEnterFrame = function () {
if (binLadenLocked == true) {
_root.showBinLaden = "cc6aa42dc5a4c8d5";
} else {
_root.showBinLaden = "";
}
if (cowboyLocked == true) {
_root.showCowboy = "25ce170756787c80";
} else {
_root.showCowboy = "";
}
if (alienLocked == true) {
_root.showAlien = "fd8d493208550d28";
} else {
_root.showAlien = "";
}
if (astronautLocked == true) {
_root.showAstronaut = "6f8f6e378ee93bd7";
} else {
_root.showAstronaut = "";
}
if (obamaLocked == true) {
_root.showObama = "a4de4ab08a71aee3";
} else {
_root.showObama = "";
}
if (bonesLocked == true) {
_root.showBones = "0567ac1883a5afc3";
} else {
_root.showBones = "";
}
if (gasMaskLocked == true) {
_root.showGasMask = "065fcdcb27c03288";
} else {
_root.showGasMask = "";
}
if (pirateLocked == true) {
_root.showPirate = "e3439f33199aa916";
} else {
_root.showPirate = "";
}
if (matrixLocked == true) {
_root.showMatrix = "7dbbc214a1e402b6";
} else {
_root.showMatrix = "";
}
if (ninjaLocked == true) {
_root.showNinja = "c003ab177c438bf1";
} else {
_root.showNinja = "";
}
if (_root.numUnlocked < 6) {
_root.showUnlockAll = "796ac04b1bf4212b";
} else {
_root.showUnlockAll = "";
}
if (logIn == true) {
if (myData.A1 == 1) {
_root.boastful = 1;
}
if (myData.A2 == 1) {
_root.ranks = 1;
}
if (myData.A3 == 1) {
_root.need_help = 1;
}
if (myData.A4 == 1) {
_root.got_games = 1;
}
if (myData.A5 == 1) {
_root.researcher = 1;
}
if (myData.A6 == 1) {
_root.nap_time = 1;
}
if (myData.A7 == 1) {
_root.silence_is_golden = 1;
}
if (myData.A8 == 1) {
_root.queasy = 1;
}
if (myData.A9 == 1) {
_root.be_a_fan = 1;
}
if (myData.A10 == 1) {
_root.cant_touch_this = 1;
}
if (myData.A11 == 1) {
_root.slow_rider = 1;
}
if (myData.A12 == 1) {
_root.gecko_doll = 1;
}
if (myData.A13 == 1) {
_root.bonuses = 1;
}
if (myData.A24 == 1) {
_root.just_practicing = 1;
}
if (myData.A25 == 1) {
_root.slaughter_house = 1;
}
if (myData.A26 == 1) {
_root.weight_loss = 1;
}
if (myData.A27 == 1) {
_root.no_hit_wonder = 1;
}
if (myData.A28 == 1) {
_root.five_hundred_pounds = 1;
}
if (myData.A29 == 1) {
_root.one_ton = 1;
}
if (myData.A30 == 1) {
_root.cha_ching = 1;
}
if (myData.A31 == 1) {
_root.collector = 1;
}
if (myData.A32 == 1) {
_root.hundred_times = 1;
}
if (myData.A33 == 1) {
_root.going_green = 1;
}
if (myData.A34 == 1) {
_root.slow_poke = 1;
}
if (myData.A35 == 1) {
_root.laser_show = 1;
}
if (myData.A36 == 1) {
_root.laser_dodger = 1;
}
if (myData.A37 == 1) {
_root.laser_master = 1;
}
if (myData.A38 == 1) {
_root.regenerator = 1;
}
if (myData.A39 == 1) {
_root.limb_farmer = 1;
}
if (myData.A40 == 1) {
_root.limb_plantation = 1;
}
if (myData.A41 == 1) {
_root.invincible = 1;
}
if (myData.A42 == 1) {
_root.fail = 1;
}
if (myData.A43 == 1) {
_root.just_passed = 1;
}
if (myData.A44 == 1) {
_root.average = 1;
}
if (myData.A45 == 1) {
_root.better = 1;
}
if (myData.A46 == 1) {
_root.aced = 1;
}
if (myData.A47 == 1) {
_root.legend = 1;
}
if (myData.A48 == 1) {
_root.master = 1;
}
if (myData.A49 == 1) {
_root.noob = 1;
}
if (myData.A50 == 1) {
_root.beginner = 1;
}
if (myData.A51 == 1) {
_root.intermediate = 1;
}
if (myData.A52 == 1) {
_root.advanced = 1;
}
if (myData.A53 == 1) {
_root.test_run = 1;
}
if (myData.A54 == 1) {
_root.time_waster = 1;
}
if (myData.A55 == 1) {
_root.sorta_fun = 1;
}
if (myData.A56 == 1) {
_root.i_like_this = 1;
}
if (myData.A57 == 1) {
_root.addicted = 1;
}
if (myData.A58 == 1) {
_root.new_doll = 1;
}
if (myData.A59 == 1) {
_root.fifty_fifty = 1;
}
if (myData.A60 == 1) {
_root.gotta_get_em_all = 1;
}
if (myData.binLadenUnlocked == 1) {
binLadenLocked = false;
_root.bin_laden_unlocked = 1;
}
if (myData.cowboyUnlocked == 1) {
cowboyLocked = false;
_root.cowboy_unlocked = 1;
}
if (myData.alienUnlocked == 1) {
alienLocked = false;
_root.alien_unlocked = 1;
}
if (myData.astronautUnlocked == 1) {
astronautLocked = false;
_root.astronaut_unlocked = 1;
}
if (myData.matrixUnlocked == 1) {
matrixLocked = false;
_root.matrix_unlocked = 1;
}
if (myData.obamaUnlocked == 1) {
obamaLocked = false;
_root.politician_unlocked = 1;
}
if (myData.bonesUnlocked == 1) {
bonesLocked = false;
_root.skeleton_unlocked = 1;
}
if (myData.gasMaskUnlocked == 1) {
gasMaskLocked = false;
_root.gasmask_unlocked = 1;
}
if (myData.pirateUnlocked == 1) {
pirateLocked = false;
_root.pirate_unlocked = 1;
}
if (myData.ninjaUnlocked == 1) {
ninjaLocked = false;
_root.ninja_unlocked = 1;
}
if (updateData == true) {
if (_root.boastful == 1) {
userA1 = 1;
} else {
userA1 = myData.A1;
}
if (_root.ranks == 1) {
userA2 = 1;
} else {
userA2 = myData.A2;
}
if (_root.need_help == 1) {
userA3 = 1;
} else {
userA3 = myData.A3;
}
if (_root.got_games == 1) {
userA4 = 1;
} else {
userA4 = myData.A4;
}
if (_root.researcher == 1) {
userA5 = 1;
} else {
userA5 = myData.A5;
}
if (_root.nap_time == 1) {
userA6 = 1;
} else {
userA6 = myData.A6;
}
if (_root.silence_is_golden == 1) {
userA7 = 1;
} else {
userA7 = myData.A7;
}
if (_root.queasy == 1) {
userA8 = 1;
} else {
userA8 = myData.A8;
}
if (_root.be_a_fan == 1) {
userA9 = 1;
} else {
userA9 = myData.A9;
}
if (_root.cant_touch_this == 1) {
userA10 = 1;
} else {
userA10 = myData.A10;
}
if (_root.slow_rider == 1) {
userA11 = 1;
} else {
userA11 = myData.A11;
}
if (_root.gecko_doll == 1) {
userA12 = 1;
} else {
userA12 = myData.A12;
}
if (_root.bonuses == 1) {
userA13 = 1;
} else {
userA13 = myData.A13;
}
if (_root.just_practicing == 1) {
userA24 = 1;
} else {
userA24 = myData.A24;
}
if (_root.slaughter_house == 1) {
userA25 = 1;
} else {
userA25 = myData.A25;
}
if (_root.weight_loss == 1) {
userA26 = 1;
} else {
userA26 = myData.A26;
}
if (_root.no_hit_wonder == 1) {
userA27 = 1;
} else {
userA27 = myData.A27;
}
if (_root.five_hundred_pounds == 1) {
userA28 = 1;
} else {
userA28 = myData.A28;
}
if (_root.one_ton == 1) {
userA29 = 1;
} else {
userA29 = myData.A29;
}
if (_root.cha_ching == 1) {
userA30 = 1;
} else {
userA30 = myData.A30;
}
if (_root.collector == 1) {
userA31 = 1;
} else {
userA31 = myData.A31;
}
if (_root.hundred_times == 1) {
userA32 = 1;
} else {
userA32 = myData.A32;
}
if (_root.going_green == 1) {
userA33 = 1;
} else {
userA33 = myData.A33;
}
if (_root.slow_poke == 1) {
userA34 = 1;
} else {
userA34 = myData.A34;
}
if (_root.laser_show == 1) {
userA35 = 1;
} else {
userA35 = myData.A35;
}
if (_root.laser_dodger == 1) {
userA36 = 1;
} else {
userA36 = myData.A36;
}
if (_root.laser_master == 1) {
userA37 = 1;
} else {
userA37 = myData.A37;
}
if (_root.regenerator == 1) {
userA38 = 1;
} else {
userA38 = myData.A38;
}
if (_root.limb_famer == 1) {
userA39 = 1;
} else {
userA39 = myData.A39;
}
if (_root.limb_plantation == 1) {
userA40 = 1;
} else {
userA40 = myData.A40;
}
if (_root.invincible == 1) {
userA41 = 1;
} else {
userA41 = myData.A41;
}
if (_root.fail == 1) {
userA42 = 1;
} else {
userA42 = myData.A42;
}
if (_root.just_passed == 1) {
userA43 = 1;
} else {
userA43 = myData.A43;
}
if (_root.average == 1) {
userA44 = 1;
} else {
userA44 = myData.A44;
}
if (_root.better == 1) {
userA45 = 1;
} else {
userA45 = myData.A45;
}
if (_root.aced == 1) {
userA46 = 1;
} else {
userA46 = myData.A46;
}
if (_root.legend == 1) {
userA47 = 1;
} else {
userA47 = myData.A47;
}
if (_root.master == 1) {
userA48 = 1;
} else {
userA48 = myData.A48;
}
if (_root.noob == 1) {
userA49 = 1;
} else {
userA49 = myData.A49;
}
if (_root.beginner == 1) {
userA50 = 1;
} else {
userA50 = myData.A50;
}
if (_root.intermediate == 1) {
userA51 = 1;
} else {
userA51 = myData.A51;
}
if (_root.advanced == 1) {
userA52 = 1;
} else {
userA52 = myData.A52;
}
if (_root.test_run == 1) {
userA53 = 1;
} else {
userA53 = myData.A53;
}
if (_root.time_waster == 1) {
userA54 = 1;
} else {
userA54 = myData.A54;
}
if (_root.sorta_fun == 1) {
userA55 = 1;
} else {
userA55 = myData.A55;
}
if (_root.i_like_this == 1) {
userA56 = 1;
} else {
userA56 = myData.A56;
}
if (_root.addicted == 1) {
userA57 = 1;
} else {
userA57 = myData.A57;
}
if (_root.new_doll == 1) {
userA58 = 1;
} else {
userA58 = myData.A58;
}
if (_root.fifty_fifty == 1) {
userA59 = 1;
} else {
userA59 = myData.A59;
}
if (_root.gotta_get_em_all == 1) {
userA60 = 1;
} else {
userA60 = myData.A60;
}
if (_root.died <= myData.ADied) {
if (myData.ADied == undefined) {
userDied = _root.died;
} else {
_root.died = myData.ADied;
}
} else {
userDied = _root.died;
}
if (_root.timeCount <= myData.ATimeCount) {
if (myData.ATimeCount == undefined) {
userTimeCount = _root.timeCount;
} else {
_root.timeCount = myData.ATimeCount;
}
} else {
userTimeCount = _root.timeCount;
}
if (_root.totalLasersDodged <= myData.ATotalLasersDodged) {
if (myData.ATotalLasersDodged == undefined) {
userTotalLasersDodged = _root.totalLasersDodged;
} else {
_root.totalLasersDodged = myData.ATotalLasersDodged;
}
} else {
userTotalLasersDodged = _root.totalLasersDodged;
}
if (_root.totalGreenHit <= myData.ATotalGreenHit) {
if (myData.ATotalGreenHit == undefined) {
userTotalGreenHit = _root.totalGreenHit;
} else {
_root.totalGreenHit = myData.ATotalGreenHit;
}
} else {
userTotalGreenHit = _root.totalGreenHit;
}
if (_root.totalYellowHit <= myData.ATotalYellowHit) {
if (myData.ATotalYellowHit == undefined) {
userTotalYellowHit = _root.totalYellowHit;
} else {
_root.totalYellowHit = myData.ATotalYellowHit;
}
} else {
userTotalYellowHit = _root.totalYellowHit;
}
if (_root.totalLimbsLost <= myData.ATotalLimbsLost) {
if (myData.ATotalLimbsLost == undefined) {
userTotalLimbsLost = _root.totalLimbsLost;
} else {
_root.totalLimbsLost = myData.ATotalLimbsLost;
}
} else {
userTotalLimbsLost = _root.totalLimbsLost;
}
if (_root.totalLimbsRegen <= myData.ATotalLimbsRegen) {
if (myData.ATotalLimbsRegen == undefined) {
userTotalLimbsRegen = _root.totalLimbsRegen;
} else {
_root.totalLimbsRegen = myData.ATotalLimbsRegen;
}
} else {
userTotalLimbsRegen = _root.totalLimbsRegen;
}
if (binLadenLocked == false) {
userBinLaden = 1;
} else {
userBinladen = myData.binLadenUnlocked;
}
if (cowboyLocked == false) {
userCowboy = 1;
} else {
userCowboy = myData.cowboyUnlocked;
}
if (alienLocked == false) {
userAlien = 1;
} else {
userAlien = myData.alienUnlocked;
}
if (astronautLocked == false) {
userAstronaut = 1;
} else {
userAstronaut = myData.astronautUnlocked;
}
if (obamaLocked == false) {
userObama = 1;
} else {
userObama = myData.obamaUnlocked;
}
if (bonesLocked == false) {
userBones = 1;
} else {
userBones = myData.bonesUnlocked;
}
if (gasMaskLocked == false) {
userGasMask = 1;
} else {
userGasMask = myData.gasMaskUnlocked;
}
if (pirateLocked == false) {
userPirate = 1;
} else {
userPirate = myData.pirateUnlocked;
}
if (matrixLocked == false) {
userMatrix = 1;
} else {
userMatrix = myData.matrixUnlocked;
}
if (ninjaLocked == false) {
userNinja = 1;
} else {
userNinja = myData.ninjaUnlocked;
}
myData = {cowboyUnlocked:userCowboy, binLadenUnlocked:userBinLaden, alienUnlocked:userAlien, astronautUnlocked:userAstronaut, obamaUnlocked:userObama, bonesUnlocked:userBones, gasMaskUnlocked:userGasMask, pirateUnlocked:userPirate, matrixUnlocked:userMatrix, ninjaUnlocked:userNinja, A1:userA1, A2:userA2, A3:userA3, A4:userA4, A5:userA5, A6:userA6, A7:userA7, A8:userA8, A9:userA9, A10:userA10, A11:userA11, A12:userA12, A13:userA13, A24:userA24, A25:userA25, A26:userA26, A27:userA27, A28:userA28, A29:userA29, A30:userA30, A31:userA31, A32:userA32, A33:userA33, A34:userA34, A35:userA35, A36:userA36, A37:userA37, A38:userA38, A39:userA39, A40:userA40, A41:userA41, A42:userA42, A43:userA43, A44:userA44, A45:userA45, A46:userA46, A47:userA47, A48:userA48, A49:userA49, A50:userA50, A51:userA51, A52:userA52, A53:userA53, A54:userA54, A55:userA55, A56:userA56, A57:userA57, A58:userA58, A59:userA59, A60:userA60, ADied:userDied, ATimeCount:userTimeCount, ATotalLasersDodged:userTotalLasersDodged, ATotalGreenHit:userTotalGreenHit, ATotalYellowHit:userTotalYellowHit, ATotalLimbsLost:userTotalLimbsLost, ATotalLimbsRegen:userTotalLimbsRegen};
mochi.as2.MochiSocial.saveUserProperties(myData);
updateData = false;
}
}
};
stop();
_root.startover = true;
speed = 15;
_root.gameover.removeMovieClip();
_root.reddeath.removeMovieClip();
_root.skinHead.removeMovieClip();
_root.skinNeck.removeMovieClip();
_root.skinLeftArm.removeMovieClip();
_root.skinLeftHand.removeMovieClip();
_root.skinRightArm.removeMovieClip();
_root.skinRightHand.removeMovieClip();
_root.skinBody.removeMovieClip();
_root.skinLeftLeg.removeMovieClip();
_root.skinLeftFoot.removeMovieClip();
_root.skinRightLeg.removeMovieClip();
_root.skinRightFoot.removeMovieClip();
_root.head.removeMovieClip(this);
_root.neck.removeMovieClip(this);
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
_root.body.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
Instance of Symbol 287 MovieClip in Frame 6
on (release) {
_root.a4 = true;
getURL ("http://stupidflashgames101.webs.com/", "_blank");
}
Frame 7
stop();
_root.startover = true;
speed = 15;
_root.gameover.removeMovieClip();
_root.reddeath.removeMovieClip();
_root.skinHead.removeMovieClip();
_root.skinNeck.removeMovieClip();
_root.skinLeftArm.removeMovieClip();
_root.skinLeftHand.removeMovieClip();
_root.skinRightArm.removeMovieClip();
_root.skinRightHand.removeMovieClip();
_root.skinBody.removeMovieClip();
_root.skinLeftLeg.removeMovieClip();
_root.skinLeftFoot.removeMovieClip();
_root.skinRightLeg.removeMovieClip();
_root.skinRightFoot.removeMovieClip();
_root.head.removeMovieClip(this);
_root.neck.removeMovieClip(this);
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
_root.body.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
Frame 8
mochi.as2.MochiSocial.hideLoginWidget();
stop();
_root.a5 = true;
Frame 9
mochi.as2.MochiSocial.hideLoginWidget();
stop();
_root.a1 = true;
Instance of Symbol 287 MovieClip in Frame 9
on (release) {
getURL ("http://freewebs.com/stupidflashgames101", "_blank");
}
Frame 10
stop();
Frame 12
mochi.as2.MochiSocial.hideLoginWidget();
stop();
_root.a2 = true;
_root.mouseHighscores = false;
changeHighscore = 0;
onEnterFrame = function () {
if (!_root.mouseHighscores) {
if (changeHighscore == 0) {
highscoresTitle.gotoAndStop(2);
changeHighscore++;
var _local3 = {n:[2, 5, 9, 7, 9, 1, 15, 10, 11, 7, 12, 0, 12, 3, 13, 2], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var _local4 = _local3.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:_local4, res:"700x500", hideDoneButton:true, onClose:function () {
}});
}
} else if (changeHighscore == 0) {
highscoresTitle.gotoAndStop(1);
changeHighscore++;
var _local3 = {n:[3, 14, 2, 14, 6, 13, 13, 9, 13, 11, 1, 7, 12, 11, 4, 6], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var _local4 = _local3.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:_local4, res:"700x500", hideDoneButton:true, onClose:function () {
}});
}
};
Frame 13
mochi.as2.MochiSocial.hideLoginWidget();
stop();
_root.startover = false;
_root.a3 = true;
_root.rightArmCut = false;
_root.leftArmCut = false;
_root.rightHandCut = false;
_root.leftHandCut = false;
_root.leftFootCut = false;
_root.rightFootCut = false;
_root.leftLegCut = false;
_root.rightLegCut = false;
_root.bodyCut = false;
_root.headCut = false;
_root.neckCut = false;
_root.bodyCutTimer = 0;
_root.bodyCutInt = 1;
_root.headCutTimer = 0;
_root.headCutInt = 1;
_root.neckCutTimer = 0;
_root.neckCutInt = 1;
_root.rightArmCutTimer = 0;
_root.rightArmCutInt = 1;
_root.leftArmCutTimer = 0;
_root.leftArmCutInt = 1;
_root.rightLegCutTimer = 0;
_root.rightLegCutInt = 1;
_root.leftLegCutTimer = 0;
_root.leftLegCutInt = 1;
_root.rightFootCutTimer = 0;
_root.rightFootCutInt = 1;
_root.leftFootCutTimer = 0;
_root.leftFootCutInt = 1;
_root.rightHandCutTimer = 0;
_root.rightHandCutInt = 1;
_root.leftHandCutTimer = 0;
_root.leftHandCutInt = 1;
_root.unlocking = false;
_root.cutOffArray = new Array();
_root.tgo = false;
_root.death = false;
_root.slowmotion = false;
_root.slowmoTimer = 0;
_root.shieldTimer = 0;
_root.shield = false;
_root.pause = false;
_root.mtText = "x";
_root.multiplier = 1;
_root.timer = 0;
_root.score = 0;
_root.limbslost = 0;
_root.numX2 = 0;
_root.maxX2 = 0;
_root.laserstop = 1;
_root.llt = 1;
gravity = 0.5;
speed = 15;
drag = 0.96;
flex = 1.4;
slow = 1;
sw = Stage.width;
sh = Stage.height;
createEmptyMovieClip("head", 1);
createEmptyMovieClip("neck", 2);
createEmptyMovieClip("larm", 3);
createEmptyMovieClip("rarm", 4);
createEmptyMovieClip("lhand", 5);
createEmptyMovieClip("rhand", 6);
createEmptyMovieClip("body", 7);
createEmptyMovieClip("lleg", 8);
createEmptyMovieClip("rleg", 9);
createEmptyMovieClip("lfoot", 10);
createEmptyMovieClip("rfoot", 11);
var pressed = Key.isDown;
var UP = 38;
var DOWN = 40;
var LEFT = 37;
var RIGHT = 39;
var SPACE = 32;
var nodes = 18;
var xn = new Array(nodes);
var yn = new Array(nodes);
var xo = new Array(nodes);
var yo = new Array(nodes);
var xf = new Array(nodes);
var yf = new Array(nodes);
var root = new Array(nodes);
var rest = new Array(nodes);
var sproot = new Array(nodes);
var sprest = new Array(nodes);
var mass = new Array(nodes);
var size = new Array(nodes);
var i = 0;
var color = 10066329;
while (i < nodes) {
xn[i] = 225 + random(100);
yn[i] = 150 + random(100);
xo[i] = 225 + random(100);
yo[i] = 150 + random(100);
xf[i] = 0;
yf[i] = 0;
mass[i] = 1;
size[i] = 10;
i++;
}
root[7] = 7;
root[8] = 7;
root[9] = 8;
root[10] = 8;
root[11] = 8;
root[12] = 10;
root[13] = 11;
root[14] = 9;
root[15] = 9;
root[16] = 14;
root[17] = 15;
rest[7] = 0.5;
rest[8] = 50;
rest[9] = 450;
rest[10] = 200;
rest[11] = 200;
rest[12] = 200;
rest[13] = 200;
rest[14] = 450;
rest[15] = 450;
rest[16] = 450;
rest[17] = 450;
sproot[7] = 9;
sproot[8] = 14;
sproot[9] = 10;
sproot[10] = 11;
sproot[11] = 9;
sproot[12] = 8;
sproot[13] = 8;
sproot[14] = 15;
sproot[15] = 8;
sproot[16] = 9;
sproot[17] = 9;
sprest[7] = 1800;
sprest[8] = 3200;
sprest[9] = 800;
sprest[10] = 800;
sprest[11] = 800;
sprest[12] = 1800;
sprest[13] = 1800;
sprest[14] = 800;
sprest[15] = 3200;
sprest[16] = 3200;
sprest[17] = 3200;
size[6] = 23;
size[7] = 23;
_root.onEnterFrame = function () {
function bloodSpew(p1x, p2x, p1y, p2y) {
if (_root.blood_on == true) {
bloodSmall = _root.attachMovie("bloodSmall", "bloodSmall_", _root.getNextHighestDepth(), {_x:p1x, _y:p1y});
newDepth = _root.getNextHighestDepth();
if (skins) {
skinBody.swapDepths(newDepth);
skinRightLeg.swapDepths(newDepth + 1);
skinRightFoot.swapDepths(newDepth + 2);
skinLeftLeg.swapDepths(newDepth + 3);
skinLeftFoot.swapDepths(newDepth + 4);
skinNeck.swapDepths(newDepth + 5);
skinLeftArm.swapDepths(newDepth + 6);
skinLeftHand.swapDepths(newDepth + 7);
skinRightArm.swapDepths(newDepth + 8);
skinRightHand.swapDepths(newDepth + 9);
skinHead.swapDepths(newDepth + 10);
} else {
body.swapDepths(newDepth);
rleg.swapDepths(newDepth + 1);
rfoot.swapDepths(newDepth + 2);
lleg.swapDepths(newDepth + 3);
lfoot.swapDepths(newDepth + 4);
neck.swapDepths(newDepth + 5);
larm.swapDepths(newDepth + 6);
lhand.swapDepths(newDepth + 7);
rarm.swapDepths(newDepth + 8);
rhand.swapDepths(newDepth + 9);
head.swapDepths(newDepth + 10);
}
if (alienSkin) {
bloodSmall.bloodGraphic.gotoAndStop(2);
} else {
bloodSmall.bloodGraphic.gotoAndStop(1);
}
delta_x = p1x - p2x;
delta_y = p1y - p2y;
ang = (-Math.atan2(delta_x, delta_y)) + 4.71238898038469;
bloodSpeed = (Math.random() * 3) + 2;
rand = (Math.random() * 0.5) - 0.25;
bloodSmall.movex = Math.cos(ang + rand) * bloodSpeed;
bloodSmall.movey = Math.sin(ang + rand) * bloodSpeed;
}
}
function sparkleexplode(powerup) {
s = 0;
while (s < 50) {
sparkle = _root.attachMovie("sparkle", "sparkle_", _root.getNextHighestDepth(), {_x:powerup._x, _y:powerup._y});
s++;
}
}
function regenLimb() {
if (!death) {
addText("Regenerate");
if (cutOffArray.length > 0) {
if (cutOffArray[0] == 12) {
rightHandCut = false;
createEmptyMovieClip("rhand", 6);
rightHandCutTimer = 0;
rightHandCutInt = 1;
if (skins) {
skinRightHand = attachMovie("skinRightHand", "skinRightHand_", skinRightArm.getDepth() + 1, {_x:310, _y:250});
skinRightHand.gotoAndStop(skinNeck._currentframe);
rhand._visible = false;
}
}
if (cutOffArray[0] == 13) {
leftHandCut = false;
createEmptyMovieClip("lhand", 5);
leftHandCutTimer = 0;
leftHandCutInt = 1;
if (skins) {
skinLeftHand = attachMovie("skinLeftHand", "skinLeftHand_", skinLeftArm.getDepth() + 1, {_x:310, _y:250});
skinLeftHand.gotoAndStop(skinNeck._currentframe);
lhand._visible = false;
}
}
if (cutOffArray[0] == 16) {
leftFootCut = false;
createEmptyMovieClip("lfoot", 10);
leftFootCutTimer = 0;
leftFootCutInt = 1;
if (skins) {
skinLeftFoot = attachMovie("skinLeftFoot", "skinLeftFoot_", skinLeftLeg.getDepth() + 1, {_x:310, _y:250});
skinLeftFoot.gotoAndStop(skinNeck._currentframe);
lfoot._visible = false;
}
}
if (cutOffArray[0] == 17) {
rightFootCut = false;
createEmptyMovieClip("rfoot", 11);
rightFootCutTimer = 0;
rightFootCutInt = 1;
if (skins) {
skinRightFoot = attachMovie("skinRightFoot", "skinRightFoot_", skinRightLeg.getDepth() + 1, {_x:310, _y:250});
skinRightFoot.gotoAndStop(skinNeck._currentframe);
rfoot._visible = false;
}
}
cutOffArray.splice(0, 1);
}
}
}
function bonus() {
score = score + (multiplier * 1000);
howMuch = multiplier * 1000;
addText("Bonus " + howMuch);
}
function sounds(laser) {
pan = -100 + ((laser._x * 350) / 700);
rand = Math.floor(Math.random() * 2) + 1;
_root.s2.hitsound.attachSound("hit" + rand);
_root.s2.hitsound.setPan(pan);
_root.s2.hitsound.setVolume(100);
_root.s2.hitsound.start();
}
function sparkleSound(powerup) {
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.reward.setPan(pan);
_root.s3.reward.start();
addText("Multiplier");
}
function shieldSound(powerup) {
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.soundShield.setPan(pan);
_root.s3.soundShield.start();
addText("Shield");
_root.powerupTimer = 30;
if (_root.timer >= 48) {
_root.powerup.removeMovieClip();
_root.powerupTimer = 0;
}
}
function slowmoSound(powerup) {
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.soundSlowmo.setPan(pan);
_root.s3.soundSlowmo.start();
addText("Slow Motion");
_root.powerupTimer = 30;
}
function bonusSound(powerup) {
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.reward.setPan(pan);
_root.s3.reward.start();
_root.powerupTimer = 30;
}
function regenSound(powerup) {
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.rSound.setPan(pan);
_root.s3.rSound.start();
_root.powerupTimer = 30;
}
function addText(info) {
txtStatus = attachMovie("txtStatus", "txtStatus_" + statuses, _root.getNextHighestDepth(), {_x:5, _y:50});
statuses++;
txtStatus.stat = "+ " + info;
}
function resetX2(x2) {
x2._y = -100;
x2._x = random(675) + 25;
x2.speed = random(6) + 3;
if (_root.death) {
x2.removeMovieClip();
}
if (numX2 == 0) {
x2.removeMovieClip();
}
}
function resettop(laser) {
if (_root.laserType == 1) {
laser.lspeed = 3;
}
if (_root.laserType == 2) {
laser.lspeed = 4;
}
if (_root.laserType == 3) {
laser.lspeed = 5;
}
if (_root.laserType == 4) {
laser.lspeed = 6;
}
if (_root.laserType == 5) {
laser.lspeed = 7;
}
laser._y = -20;
laser._x = random(675) + 25;
if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
}
if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
}
if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
}
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
}
if (_root.tgo == false) {
_root.llt = _root.llt - 1;
laser.removeMovieClip();
}
}
if (_root.multiplier <= 1) {
_root.mt._visible = false;
}
if (_root.multiplier >= 2) {
_root.mt._visible = true;
}
if (pause == true) {
_root.ps._visible = true;
}
if (pause == false) {
_root.ps._visible = false;
if (!_root.death) {
if (slowmoTimer == 100) {
slowmoGuage = attachMovie("slowmoGuage", "slowmoGuage", _root.getNextHighestDepth(), {_x:350, _y:10});
}
if (slowmoTimer > 0) {
slowmotion = true;
slowmoTimer = slowmoTimer - 0.4;
} else {
slowmoTimer = 0;
slowmotion = false;
slowmoGuage.removeMovieClip();
}
if (shieldTimer == 100) {
shieldGuage = attachMovie("shieldGuage", "shieldGuage", _root.getNextHighestDepth(), {_x:350, _y:10});
}
if (shieldTimer > 0) {
shield = true;
shieldTimer = shieldTimer - 0.4;
} else {
shieldTimer = 0;
shield = false;
shieldGuage.removeMovieClip();
}
if (shield) {
color = 1636599 /* 0x18F8F7 */;
} else {
color = 10066329 /* 0x999999 */;
}
_root.timer = _root.timer + 0.0285714285714286;
}
}
if (!pause) {
if (_root.slowmotion == true) {
_root.slow = 0.25;
} else {
_root.slow = 1;
}
}
if (!death) {
if (unp == true) {
if (pressed(SPACE) and (pause == false)) {
attachMovie("pause_menu", "pause_menu", _root.getNextHighestDepth(), {_x:350, _y:137});
unp = false;
pause = true;
}
}
if (!pressed(SPACE)) {
unp = true;
}
if (unp == true) {
if (pressed(SPACE) and (pause == true)) {
pause_menu.removeMovieClip();
unp = false;
pause = false;
}
}
}
if (!pause) {
for (var _local11 in xn) {
var _local7 = drag * (xn[_local11] - xo[_local11]);
xo[_local11] = xn[_local11] - (_local7 * (1 - slow));
xn[_local11] = xn[_local11] + (_local7 * slow);
_local7 = (drag * (yn[_local11] - yo[_local11])) + gravity;
yo[_local11] = yn[_local11] - (_local7 * (1 - slow));
yn[_local11] = yn[_local11] + (_local7 * slow);
}
if (!mouseMode) {
if (pressed(UP) or pressed(87)) {
yn[8] = yn[8] - speed;
}
if (pressed(DOWN) or pressed(83)) {
yn[8] = yn[8] + speed;
}
if (pressed(LEFT) or pressed(65)) {
xn[8] = xn[8] - speed;
}
if (pressed(RIGHT) or pressed(68)) {
xn[8] = xn[8] + speed;
}
} else if (!death) {
xn[8] = _xmouse;
yn[8] = _ymouse;
}
for (var _local11 in sproot) {
var _local3 = sproot[_local11];
if (_local11 != _local3) {
var _local4 = xn[_local3] - xn[_local11];
var _local5 = yn[_local3] - yn[_local11];
var _local9 = (sprest[_local11] / (((_local4 * _local4) + (_local5 * _local5)) + sprest[_local11])) - 0.5;
_local4 = _local4 * _local9;
_local5 = _local5 * _local9;
var _local6 = (mass[_local11] + mass[_local3]) * flex;
var _local10 = mass[_local11] / _local6;
_local6 = mass[_local3] / _local6;
xf[_local11] = xf[_local11] - (_local6 * _local4);
yf[_local11] = yf[_local11] - (_local6 * _local5);
xf[_local3] = xf[_local3] + (_local10 * _local4);
yf[_local3] = yf[_local3] + (_local10 * _local5);
}
}
for (var _local11 in xf) {
xn[_local11] = xn[_local11] + xf[_local11];
yn[_local11] = yn[_local11] + yf[_local11];
xf[_local11] = 0;
yf[_local11] = 0;
}
for (var _local11 in root) {
var _local3 = root[_local11];
if (_local11 != _local3) {
var _local4 = xn[_local3] - xn[_local11];
var _local5 = yn[_local3] - yn[_local11];
var _local9 = (rest[_local11] / (((_local4 * _local4) + (_local5 * _local5)) + rest[_local11])) - 0.5;
_local4 = _local4 * _local9;
_local5 = _local5 * _local9;
var _local6 = mass[_local11] + mass[_local3];
var _local10 = mass[_local11] / _local6;
_local6 = mass[_local3] / _local6;
xf[_local11] = xf[_local11] - (_local6 * _local4);
yf[_local11] = yf[_local11] - (_local6 * _local5);
xf[_local3] = xf[_local3] + (_local10 * _local4);
yf[_local3] = yf[_local3] + (_local10 * _local5);
}
}
for (var _local11 in xf) {
xn[_local11] = xn[_local11] + xf[_local11];
yn[_local11] = yn[_local11] + yf[_local11];
xf[_local11] = 0;
yf[_local11] = 0;
}
for (var _local11 in xn) {
var _local3 = 0;
while (_local3 < cutOffArray.length) {
if (cutOffArray[_local3] != _local11) {
var _local8 = false;
} else {
var _local8 = true;
break;
}
_local3++;
}
if (!_local8) {
var s = (size[_local11] / 2);
if (xn[_local11] < s) {
xo[_local11] = xn[_local11];
xn[_local11] = s;
yo[_local11] = yn[_local11];
} else if (xn[_local11] > (sw - s)) {
xo[_local11] = xn[_local11];
xn[_local11] = sw - s;
yo[_local11] = yn[_local11];
}
if (yn[_local11] < s) {
yo[_local11] = yn[_local11];
yn[_local11] = s;
xo[_local11] = xn[_local11];
} else if (yn[_local11] > (sh - s)) {
yo[_local11] = yn[_local11];
yn[_local11] = sh - s;
xo[_local11] = xn[_local11];
}
}
}
head.clear();
head.lineStyle(size[7], color);
head.moveTo(xn[7], yn[7]);
head.lineTo(xn[root[7]] + 0.5, yn[root[7]]);
neck.clear();
neck.lineStyle(8, color);
neck.moveTo(xn[8], yn[8]);
neck.lineTo(xn[root[8]] + 0.5, yn[root[8]]);
larm.clear();
larm.lineStyle(8, color);
larm.moveTo(xn[11], yn[11]);
larm.lineTo(xn[root[11]] + 0.5, yn[root[11]]);
rarm.clear();
rarm.lineStyle(8, color);
rarm.moveTo(xn[10], yn[10]);
rarm.lineTo(xn[root[10]] + 0.5, yn[root[10]]);
lhand.clear();
lhand.lineStyle(8, color);
lhand.moveTo(xn[13], yn[13]);
lhand.lineTo(xn[root[13]] + 0.5, yn[root[13]]);
rhand.clear();
rhand.lineStyle(8, color);
rhand.moveTo(xn[12], yn[12]);
rhand.lineTo(xn[root[12]] + 0.5, yn[root[12]]);
body.clear();
body.lineStyle(8, color);
body.moveTo(xn[9], yn[9]);
body.lineTo(xn[root[9]] + 0.5, yn[root[9]]);
lleg.clear();
lleg.lineStyle(8, color);
lleg.moveTo(xn[14], yn[14]);
lleg.lineTo(xn[root[14]] + 0.5, yn[root[14]]);
rleg.clear();
rleg.lineStyle(8, color);
rleg.moveTo(xn[15], yn[15]);
rleg.lineTo(xn[root[15]] + 0.5, yn[root[15]]);
lfoot.clear();
lfoot.lineStyle(8, color);
lfoot.moveTo(xn[16], yn[16]);
lfoot.lineTo(xn[root[16]] + 0.5, yn[root[16]]);
rfoot.clear();
rfoot.lineStyle(8, color);
rfoot.moveTo(xn[17], yn[17]);
rfoot.lineTo(xn[root[17]] + 0.5, yn[root[17]]);
if (headCut) {
headCutTimer = headCutTimer + (1 * headCutInt);
if (headCutInt <= 0.15) {
headCut = false;
}
if (headCutTimer >= 0.5) {
bloodSpew(xn[8], xn[7], yn[8], yn[7]);
headCutInt = headCutInt - 0.003;
headCutTimer = 0;
}
}
if (neckCut) {
headCut = false;
neckCutTimer = neckCutTimer + (1 * neckCutInt);
if (neckCutInt <= 0.15) {
neckLegCut = false;
}
if (neckCutTimer >= 0.5) {
bloodSpew(xn[8], xn[7], yn[8], yn[7]);
neckCutInt = neckCutInt - 0.003;
neckCutTimer = 0;
}
}
if (bodyCut) {
leftLegCut = false;
leftFootCut = false;
rightLegCut = false;
rightFootCut = false;
if (bodyCutInt >= 1) {
cutOffArray.push(17);
cutOffArray.push(16);
cutOffArray.push(15);
cutOffArray.push(14);
cutOffArray.push(9);
}
bodyCutTimer = bodyCutTimer + (1 * bodyCutInt);
if (bodyCutInt <= 0.15) {
bodyCut = false;
}
if (bodyCutTimer >= 0.5) {
bloodSpew(xn[8], xn[9], yn[8], yn[9]);
bodyCutInt = bodyCutInt - 0.003;
bodyCutTimer = 0;
}
}
if (rightFootCut) {
if (rightFootCutInt >= 1) {
cutOffArray.push(17);
}
rightFootCutTimer = rightFootCutTimer + (1 * rightFootCutInt);
if (rightFootCutInt <= 0.15) {
rightFootCut = false;
}
if (rightFootCutTimer >= 0.5) {
bloodSpew(xn[15], xn[17], yn[15], yn[17]);
rightFootCutInt = rightFootCutInt - 0.003;
rightFootCutTimer = 0;
}
}
if (leftFootCut) {
if (leftFootCutInt >= 1) {
cutOffArray.push(16);
}
leftFootCutTimer = leftFootCutTimer + (1 * leftFootCutInt);
if (leftFootCutInt <= 0.15) {
leftFootCut = false;
}
if (leftFootCutTimer >= 0.5) {
bloodSpew(xn[14], xn[16], yn[14], yn[16]);
leftFootCutInt = leftFootCutInt - 0.003;
leftFootCutTimer = 0;
}
}
if (leftLegCut) {
leftFootCut = false;
if (leftLegCutInt >= 1) {
cutOffArray.push(16);
cutOffArray.push(14);
}
leftLegCutTimer = leftLegCutTimer + (1 * leftLegCutInt);
if (leftLegCutInt <= 0.15) {
leftLegCut = false;
}
if (leftLegCutTimer >= 0.5) {
bloodSpew(xn[9], xn[14], yn[9], yn[14]);
leftLegCutInt = leftLegCutInt - 0.003;
leftLegCutTimer = 0;
}
}
if (rightLegCut) {
rightFootCut = false;
if (rightLegCutInt >= 1) {
cutOffArray.push(17);
cutOffArray.push(15);
}
rightLegCutTimer = rightLegCutTimer + (1 * rightLegCutInt);
if (rightLegCutInt <= 0.15) {
rightLegCut = false;
}
if (rightLegCutTimer >= 0.5) {
bloodSpew(xn[9], xn[15], yn[9], yn[15]);
rightLegCutInt = rightLegCutInt - 0.003;
rightLegCutTimer = 0;
}
}
if (rightHandCut) {
if (rightHandCutInt >= 1) {
cutOffArray.push(12);
}
rightHandCutTimer = rightHandCutTimer + (1 * rightHandCutInt);
if (rightHandCutInt <= 0.15) {
rightHandCut = false;
}
if (rightHandCutTimer >= 0.5) {
bloodSpew(xn[10], xn[12], yn[10], yn[12]);
rightHandCutInt = rightHandCutInt - 0.003;
rightHandCutTimer = 0;
}
}
if (leftHandCut) {
if (leftHandCutInt >= 1) {
cutOffArray.push(13);
}
leftHandCutTimer = leftHandCutTimer + (1 * leftHandCutInt);
if (leftHandCutInt <= 0.15) {
leftHandCut = false;
}
if (leftHandCutTimer >= 0.5) {
bloodSpew(xn[11], xn[13], yn[11], yn[13]);
leftHandCutInt = leftHandCutInt - 0.003;
leftHandCutTimer = 0;
}
}
if (leftArmCut) {
leftHandCut = false;
if (leftHandCutInt >= 1) {
cutOffArray.push(13);
cutOffArray.push(11);
}
leftArmCutTimer = leftArmCutTimer + (1 * leftArmCutInt);
if (leftArmCutInt <= 0.15) {
leftArmCut = false;
}
if (leftArmCutTimer >= 0.5) {
bloodSpew(xn[8], xn[11], yn[8], yn[11]);
leftArmCutInt = leftArmCutInt - 0.003;
leftArmCutTimer = 0;
}
}
if (rightArmCut) {
rightHandCut = false;
if (neckCutInt >= 1) {
cutOffArray.push(12);
cutOffArray.push(10);
}
rightArmCutTimer = rightArmCutTimer + (1 * rightArmCutInt);
if (rightArmCutInt <= 0.15) {
rightArmCut = false;
}
if (rightArmCutTimer >= 0.5) {
bloodSpew(xn[8], xn[10], yn[8], yn[10]);
rightArmCutInt = rightArmCutInt - 0.003;
rightArmCutTimer = 0;
}
}
}
txtStatus.onEnterFrame = function () {
if (death == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y - 0.5;
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
if (_root.numX2 < _root.maxX2) {
numX2++;
x2 = _root.attachMovie("x2", "x2_" + numX2, _root.getNextHighestDepth());
resetX2(_root.x2);
}
x2.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._y = this._y + (this.speed * _root.slow);
if (this._y > 515) {
if ((!numX2) == 0) {
resetX2(this);
} else {
this.removeMovieClip();
}
}
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.neck)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.larm)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rarm)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lhand)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rhand)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.body)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lleg)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rleg)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lfoot)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rfoot)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
}
}
};
if ((!death) and (!pause)) {
if (powerupTimer > powerupInt) {
powerup = attachMovie("powerup", "powerup", _root.getNextHighestDepth());
powerup._x = (Math.random() * 650) + 25;
powerup._y = -10;
powerup.speed = random(5) + 3;
powerup.shieldPowerup = false;
powerup.slowmoPowerup = false;
powerup.regenPowerup = false;
powerup.bonusPowerup = false;
if (_root.timer >= 16) {
powerup.powerupType = 1;
}
if (_root.timer >= 24) {
powerup.powerupType = 2;
}
if (_root.timer >= 32) {
powerup.powerupType = 4;
slowmoTimer = 0;
}
if (_root.timer >= 40) {
powerup.powerupType = 3;
}
if (powerup.powerupType == 1) {
powerup.gotoAndStop("bonus");
powerup.bonusPowerup = true;
}
if (powerup.powerupType == 2) {
powerup.gotoAndStop("slowmo");
powerup.slowmoPowerup = true;
}
if (powerup.powerupType == 3) {
powerup.gotoAndStop("shield");
powerup.shieldPowerup = true;
}
if (powerup.powerupType == 4) {
powerup.gotoAndStop("regen");
powerup.regenPowerup = true;
}
powerupInt = (Math.random() * 17) + 13;
powerupTimer = 0;
}
}
powerup.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._y = this._y + (this.speed * _root.slow);
if (this._y > 515) {
this.removeMovieClip();
powerupTimer = 30;
}
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.neck)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.larm)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rarm)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lhand)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rhand)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.body)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lleg)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rleg)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lfoot)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rfoot)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
}
}
};
if (_root.tgo == true) {
if (_root.llt <= _root.laserstop) {
llt++;
lasertop = _root.attachMovie("laser", "laser_" + llt, _root.getNextHighestDepth());
resettop(_root.lasertop);
}
}
_root.lasertop.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y + (this.lspeed * _root.slow);
if (this._y >= 520) {
resettop(this);
}
}
};
};
Instance of Symbol 285 MovieClip "s2" in Frame 13
onClipEvent (load) {
hitsound = new Sound(this);
}
Instance of Symbol 285 MovieClip "s3" in Frame 13
onClipEvent (load) {
soundShield = new Sound(this);
soundShield.attachSound("soundShield");
soundShield.setVolume(100);
soundSlowmo = new Sound(this);
soundSlowmo.attachSound("soundSlowmo");
soundSlowmo.setVolume(100);
reward = new Sound(this);
reward.attachSound("reward");
reward.setVolume(100);
bSound = new Sound(this);
bSound.attachSound("bonusSound");
bSound.setVolume(100);
rSound = new Sound(this);
rSound.attachSound("regenSound");
rSound.setVolume(100);
}
Frame 15
function registerItem(event) {
trace((("Player owns " + event.count) + " of ") + event.id);
if (event.id == "cc6aa42dc5a4c8d5") {
binLadenLocked = false;
_root.a14 = true;
}
if (event.id == "25ce170756787c80") {
cowboyLocked = false;
_root.a15 = true;
}
if (event.id == "fd8d493208550d28") {
alienLocked = false;
_root.a16 = true;
}
if (event.id == "0567ac1883a5afc3") {
bonesLocked = false;
_root.a20 = true;
}
if (event.id == "e3439f33199aa916") {
pirateLocked = false;
_root.a22 = true;
}
if (event.id == "c003ab177c438bf1") {
ninjaLocked = false;
_root.a23 = true;
}
if (event.id == "7dbbc214a1e402b6") {
matrixLocked = false;
_root.a18 = true;
}
if (event.id == "6f8f6e378ee93bd7") {
astronautLocked = false;
_root.a17 = true;
}
if (event.id == "065fcdcb27c03288") {
gasMaskLocked = false;
_root.a21 = true;
}
if (event.id == "a4de4ab08a71aee3") {
obamaLocked = false;
_root.a19 = true;
}
}
function newItem(event) {
if (event.id == "cc6aa42dc5a4c8d5") {
binLadenLocked = false;
_root.a14 = true;
}
if (event.id == "25ce170756787c80") {
cowboyLocked = false;
_root.a15 = true;
}
if (event.id == "fd8d493208550d28") {
alienLocked = false;
_root.a16 = true;
}
if (event.id == "0567ac1883a5afc3") {
bonesLocked = false;
_root.a20 = true;
}
if (event.id == "e3439f33199aa916") {
pirateLocked = false;
_root.a22 = true;
}
if (event.id == "c003ab177c438bf1") {
ninjaLocked = false;
_root.a23 = true;
}
if (event.id == "7dbbc214a1e402b6") {
matrixLocked = false;
_root.a18 = true;
}
if (event.id == "6f8f6e378ee93bd7") {
astronautLocked = false;
_root.a17 = true;
}
if (event.id == "065fcdcb27c03288") {
gasMaskLocked = false;
_root.a21 = true;
}
if (event.id == "a4de4ab08a71aee3") {
obamaLocked = false;
_root.a19 = true;
}
trace((("Player just bought " + event.count) + " of ") + event.id);
}
mochi.as2.MochiSocial.hideLoginWidget();
if (coinsActivated) {
mochi.as2.MochiCoins.addEventListener(mochi.as2.MochiCoins.ITEM_OWNED, registerItem);
mochi.as2.MochiCoins.addEventListener(mochi.as2.MochiCoins.ITEM_NEW, newItem);
}
stop();
skins = false;
tankManSkin = false;
binLadenSkin = false;
cowboySkin = false;
alienSkin = false;
astronautSkin = false;
matrixSkin = false;
obamaSkin = false;
bonesSkin = false;
gasMaskSkin = false;
pirateSkin = false;
ninjaSkin = false;
binLadenLockedCount = 0;
cowboyLockedCount = 0;
alienLockedCount = 0;
astronautLockedCount = 0;
obamaLockedCount = 0;
bonesLockedCount = 0;
gasMaskLockedCount = 0;
pirateLockedCount = 0;
matrixLockedCount = 0;
ninjaLockedCount = 0;
onEnterFrame = function () {
if ((binLadenLocked == false) and (binLadenLockedCount == 0)) {
binLadenLockedCount = 1;
unloadMovie (btnLockedBinLaden);
}
if ((cowboyLocked == false) and (cowboyLockedCount == 0)) {
cowboyLockedCount = 1;
unloadMovie (btnLockedCowBoy);
}
if ((alienLocked == false) and (alienLockedCount == 0)) {
alienLockedCount = 1;
unloadMovie (btnLockedAlien);
}
if ((astronautLocked == false) and (astronautLockedCount == 0)) {
astronautLockedCount = 1;
unloadMovie (btnLockedAstronaut);
}
if ((obamaLocked == false) and (obamaLockedCount == 0)) {
obamaLockedCount = 1;
unloadMovie (btnLockedObama);
}
if ((bonesLocked == false) and (bonesLockedCount == 0)) {
bonesLockedCount = 1;
unloadMovie (btnLockedBones);
}
if ((gasMaskLocked == false) and (gasMaskLockedCount == 0)) {
gasMaskLockedCount = 1;
unloadMovie (btnLockedGasMask);
}
if ((pirateLocked == false) and (pirateLockedCount == 0)) {
pirateLockedCount = 1;
unloadMovie (btnLockedPirate);
}
if ((matrixLocked == false) and (matrixLockedCount == 0)) {
matrixLockedCount = 1;
unloadMovie (btnLockedMatrix);
}
if ((ninjaLocked == false) and (ninjaLockedCount == 0)) {
ninjaLockedCount = 1;
unloadMovie (btnLockedNinja);
}
};
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 268 MovieClip [laser] in Frame 15
onClipEvent (load) {
function reset() {
this._y = -100;
this._x = random(675) + 25;
laserSpeed = random(7) + 3;
this.gotoAndStop(1);
ls = laserSpeed;
ss = ls;
if (this.laserSpeed >= 3) {
this.gotoAndStop("yellow");
}
if (this.laserSpeed >= 4) {
this.gotoAndStop("red");
}
if (this.laserSpeed >= 5) {
this.gotoAndStop("purple");
}
if (this.laserSpeed >= 6) {
this.gotoAndStop("blue");
}
if (this.laserSpeed >= 7) {
this.gotoAndStop("green");
}
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + laserSpeed;
if (this._y > 525) {
reset();
}
}
Instance of Symbol 31 MovieClip in Frame 15
onClipEvent (load) {
this.pg.gotoAndStop(1);
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.bgs.bgm.setVolume(0);
}
if (_root.mute == false) {
_root.bgs.bgm.setVolume(100);
}
}
on (release) {
if (_root.mute == false) {
this.pg.gotoAndStop(3);
}
if (_root.mute == true) {
this.pg.gotoAndStop(2);
}
}
Instance of Symbol 287 MovieClip in Frame 15
on (release) {
getURL ("http://stupidflashgames101.webs.com/", "_blank");
}
Frame 16
function addSkin(p1x, p2x, p1y, p2y, skinPart) {
delta_x = p1x - p2x;
delta_y = p1y - p2y;
dist = Math.sqrt((delta_x * delta_x) + (delta_y * delta_y));
skinPart.ang = (-Math.atan2(delta_x, delta_y)) + 4.712385;
skinPart._rotation = (skinPart.ang / 0.017453) - 90;
skinPart._x = p2x - ((Math.cos(skinPart.ang) * dist) / 2);
skinPart._y = p2y - ((Math.sin(skinPart.ang) * dist) / 2);
}
var glowFilter = (new flash.filters.GlowFilter(1636599, 100, 10, 10, 1, 1, false, false));
stop();
_root.rightArmCut = false;
_root.leftArmCut = false;
_root.rightHandCut = false;
_root.leftHandCut = false;
_root.leftFootCut = false;
_root.rightFootCut = false;
_root.leftLegCut = false;
_root.rightLegCut = false;
_root.bodyCut = false;
_root.headCut = false;
_root.neckCut = false;
_root.bodyCutTimer = 0;
_root.bodyCutInt = 1;
_root.headCutTimer = 0;
_root.headCutInt = 1;
_root.neckCutTimer = 0;
_root.neckCutInt = 1;
_root.rightArmCutTimer = 0;
_root.rightArmCutInt = 1;
_root.leftArmCutTimer = 0;
_root.leftArmCutInt = 1;
_root.rightLegCutTimer = 0;
_root.rightLegCutInt = 1;
_root.leftLegCutTimer = 0;
_root.leftLegCutInt = 1;
_root.rightFootCutTimer = 0;
_root.rightFootCutInt = 1;
_root.leftFootCutTimer = 0;
_root.leftFootCutInt = 1;
_root.rightHandCutTimer = 0;
_root.rightHandCutInt = 1;
_root.leftHandCutTimer = 0;
_root.leftHandCutInt = 1;
_root.unlocking = false;
_root.unlockBinLaden = false;
_root.unlockCowboy = false;
_root.unlockAlien = false;
_root.unlockAstronaut = false;
_root.unlockMatrix = false;
_root.unlockObama = false;
_root.unlockBones = false;
_root.unlockGasMask = false;
_root.unlockPirate = false;
_root.unlockNinja = false;
_root.rank = "F";
_root.rcount = 0;
_root.cutOffArray = new Array();
_root.rsgo = false;
_root.lsgo = false;
_root.bgo = false;
_root.tgo = false;
_root.death = false;
_root.slowmotion = false;
_root.slowmoTimer = 0;
_root.shieldTimer = 0;
_root.shield = false;
_root.pause = false;
_root.mtText = "x";
_root.timeSecond = 0.025;
if (pirateSkin) {
_root.multiplier = 20;
} else {
_root.multiplier = 1;
}
_root.timer = 0;
_root.powerupTimer = 0;
_root.powerupInt = (Math.random() * 17) + 13;
if (_root.tankManSkin) {
_root.score = 5000;
} else if (_root.gasMaskSkin) {
_root.score = 100000 /* 0x0186A0 */;
} else {
_root.score = 0;
}
_root.limbslost = 0;
_root.dodgestreak = 0;
_root.numSlowmos = 0;
_root.numRegens = 0;
_root.numShields = 0;
_root.numX2 = 0;
_root.maxX2 = 0;
if (ninjaSkin) {
_root.laserstop = 3;
_root.lasersleftside = 8;
_root.lasersbottom = 10;
_root.lasersrightside = 8;
} else {
_root.laserstop = 4;
_root.lasersleftside = 9;
_root.lasersbottom = 11;
_root.lasersrightside = 9;
}
_root.llt = 1;
_root.lls = 1;
_root.lb = 1;
_root.lrs = 1;
_root.dr1 = 0;
_root.statuses = 0;
if (astronautSkin) {
gravity = 0.1;
} else {
gravity = 0.5;
}
if (matrixSkin) {
matrixSlow = 0.73;
} else {
matrixSlow = 0.88;
}
speed = 15;
drag = 0.96;
flex = 1.4;
slow = 1;
sw = Stage.width;
sh = Stage.height;
createEmptyMovieClip("head", 1);
createEmptyMovieClip("neck", 2);
createEmptyMovieClip("larm", 3);
createEmptyMovieClip("rarm", 4);
createEmptyMovieClip("lhand", 5);
createEmptyMovieClip("rhand", 6);
createEmptyMovieClip("body", 7);
createEmptyMovieClip("lleg", 8);
createEmptyMovieClip("rleg", 9);
createEmptyMovieClip("lfoot", 10);
createEmptyMovieClip("rfoot", 11);
if (_root.skins) {
skinBody = attachMovie("skinBody", "skinBody_", 12, {_x:310, _y:250});
skinRightLeg = attachMovie("skinRightLeg", "skinRightLeg_", 13, {_x:310, _y:250});
skinRightFoot = attachMovie("skinRightFoot", "skinRightFoot_", 14, {_x:310, _y:250});
skinLeftLeg = attachMovie("skinLeftLeg", "skinLeftLeg_", 15, {_x:310, _y:250});
skinLeftFoot = attachMovie("skinLeftFoot", "skinLeftFoot_", 16, {_x:310, _y:250});
skinNeck = attachMovie("skinNeck", "skinNeck_", 17, {_x:310, _y:250});
skinLeftArm = attachMovie("skinLeftArm", "skinLeftArm_", 18, {_x:310, _y:250});
skinLeftHand = attachMovie("skinLeftHand", "skinLeftHand_", 19, {_x:310, _y:250});
skinRightArm = attachMovie("skinRightArm", "skinRightArm_", 20, {_x:310, _y:250});
skinRightHand = attachMovie("skinRightHand", "skinRightHand_", 21, {_x:310, _y:250});
skinHead = attachMovie("skinHead", "skinHead_", 22, {_x:310, _y:250});
}
var pressed = Key.isDown;
var UP = 38;
var DOWN = 40;
var LEFT = 37;
var RIGHT = 39;
var SPACE = 32;
var nodes = 18;
var xn = new Array(nodes);
var yn = new Array(nodes);
var xo = new Array(nodes);
var yo = new Array(nodes);
var xf = new Array(nodes);
var yf = new Array(nodes);
var root = new Array(nodes);
var rest = new Array(nodes);
var sproot = new Array(nodes);
var sprest = new Array(nodes);
var mass = new Array(nodes);
var size = new Array(nodes);
var i = 0;
var color = 10066329;
while (i < nodes) {
xn[i] = 225 + random(100);
yn[i] = 150 + random(100);
xo[i] = 225 + random(100);
yo[i] = 150 + random(100);
xf[i] = 0;
yf[i] = 0;
mass[i] = 1;
size[i] = 10;
i++;
}
root[7] = 7;
root[8] = 7;
root[9] = 8;
root[10] = 8;
root[11] = 8;
root[12] = 10;
root[13] = 11;
root[14] = 9;
root[15] = 9;
root[16] = 14;
root[17] = 15;
rest[7] = 0.5;
rest[8] = 50;
rest[9] = 450;
rest[10] = 200;
rest[11] = 200;
rest[12] = 200;
rest[13] = 200;
rest[14] = 450;
rest[15] = 450;
rest[16] = 450;
rest[17] = 450;
sproot[7] = 9;
sproot[8] = 14;
sproot[9] = 10;
sproot[10] = 11;
sproot[11] = 9;
sproot[12] = 8;
sproot[13] = 8;
sproot[14] = 15;
sproot[15] = 8;
sproot[16] = 9;
sproot[17] = 9;
sprest[7] = 1800;
sprest[8] = 3200;
sprest[9] = 800;
sprest[10] = 800;
sprest[11] = 800;
sprest[12] = 1800;
sprest[13] = 1800;
sprest[14] = 800;
sprest[15] = 3200;
sprest[16] = 3200;
sprest[17] = 3200;
size[6] = 23;
size[7] = 23;
if (binLadenSkin) {
skinHead.gotoAndStop("binLaden");
skinNeck.gotoAndStop("binLaden");
skinRightArm.gotoAndStop("binLaden");
skinRightHand.gotoAndStop("binLaden");
skinLeftArm.gotoAndStop("binLaden");
skinLeftHand.gotoAndStop("binLaden");
skinBody.gotoAndStop("binLaden");
skinRightLeg.gotoAndStop("binLaden");
skinRightFoot.gotoAndStop("binLaden");
skinLeftLeg.gotoAndStop("binLaden");
skinLeftFoot.gotoAndStop("binLaden");
}
if (obamaSkin) {
skinHead.gotoAndStop("obama");
skinNeck.gotoAndStop("obama");
skinRightArm.gotoAndStop("obama");
skinRightHand.gotoAndStop("obama");
skinLeftArm.gotoAndStop("obama");
skinLeftHand.gotoAndStop("obama");
skinBody.gotoAndStop("obama");
skinRightLeg.gotoAndStop("obama");
skinRightFoot.gotoAndStop("obama");
skinLeftLeg.gotoAndStop("obama");
skinLeftFoot.gotoAndStop("obama");
}
if (astronautSkin) {
skinHead.gotoAndStop("astronaut");
skinNeck.gotoAndStop("astronaut");
skinRightArm.gotoAndStop("astronaut");
skinRightHand.gotoAndStop("astronaut");
skinLeftArm.gotoAndStop("astronaut");
skinLeftHand.gotoAndStop("astronaut");
skinBody.gotoAndStop("astronaut");
skinRightLeg.gotoAndStop("astronaut");
skinRightFoot.gotoAndStop("astronaut");
skinLeftLeg.gotoAndStop("astronaut");
skinLeftFoot.gotoAndStop("astronaut");
}
if (cowboySkin) {
skinHead.gotoAndStop("cowboy");
skinNeck.gotoAndStop("cowboy");
skinRightArm.gotoAndStop("cowboy");
skinRightHand.gotoAndStop("cowboy");
skinLeftArm.gotoAndStop("cowboy");
skinLeftHand.gotoAndStop("cowboy");
skinBody.gotoAndStop("cowboy");
skinRightLeg.gotoAndStop("cowboy");
skinRightFoot.gotoAndStop("cowboy");
skinLeftLeg.gotoAndStop("cowboy");
skinLeftFoot.gotoAndStop("cowboy");
}
if (bonesSkin) {
skinHead.gotoAndStop("bones");
skinNeck.gotoAndStop("bones");
skinRightArm.gotoAndStop("bones");
skinRightHand.gotoAndStop("bones");
skinLeftArm.gotoAndStop("bones");
skinLeftHand.gotoAndStop("bones");
skinBody.gotoAndStop("bones");
skinRightLeg.gotoAndStop("bones");
skinRightFoot.gotoAndStop("bones");
skinLeftLeg.gotoAndStop("bones");
skinLeftFoot.gotoAndStop("bones");
}
if (gasMaskSkin) {
skinHead.gotoAndStop("gasMask");
skinNeck.gotoAndStop("gasMask");
skinRightArm.gotoAndStop("gasMask");
skinRightHand.gotoAndStop("gasMask");
skinLeftArm.gotoAndStop("gasMask");
skinLeftHand.gotoAndStop("gasMask");
skinBody.gotoAndStop("gasMask");
skinRightLeg.gotoAndStop("gasMask");
skinRightFoot.gotoAndStop("gasMask");
skinLeftLeg.gotoAndStop("gasMask");
skinLeftFoot.gotoAndStop("gasMask");
}
if (tankManSkin) {
skinHead.gotoAndStop("tankMan");
skinNeck.gotoAndStop("tankMan");
skinRightArm.gotoAndStop("tankMan");
skinRightHand.gotoAndStop("tankMan");
skinLeftArm.gotoAndStop("tankMan");
skinLeftHand.gotoAndStop("tankMan");
skinBody.gotoAndStop("tankMan");
skinRightLeg.gotoAndStop("tankMan");
skinRightFoot.gotoAndStop("tankMan");
skinLeftLeg.gotoAndStop("tankMan");
skinLeftFoot.gotoAndStop("tankMan");
}
if (alienSkin) {
skinHead.gotoAndStop("alien");
skinNeck.gotoAndStop("alien");
skinRightArm.gotoAndStop("alien");
skinRightHand.gotoAndStop("alien");
skinLeftArm.gotoAndStop("alien");
skinLeftHand.gotoAndStop("alien");
skinBody.gotoAndStop("alien");
skinRightLeg.gotoAndStop("alien");
skinRightFoot.gotoAndStop("alien");
skinLeftLeg.gotoAndStop("alien");
skinLeftFoot.gotoAndStop("alien");
}
if (pirateSkin) {
skinHead.gotoAndStop("pirate");
skinNeck.gotoAndStop("pirate");
skinRightArm.gotoAndStop("pirate");
skinRightHand.gotoAndStop("pirate");
skinLeftArm.gotoAndStop("pirate");
skinLeftHand.gotoAndStop("pirate");
skinBody.gotoAndStop("pirate");
skinRightLeg.gotoAndStop("pirate");
skinRightFoot.gotoAndStop("pirate");
skinLeftLeg.gotoAndStop("pirate");
skinLeftFoot.gotoAndStop("pirate");
}
if (matrixSkin) {
skinHead.gotoAndStop("matrix");
skinNeck.gotoAndStop("matrix");
skinRightArm.gotoAndStop("matrix");
skinRightHand.gotoAndStop("matrix");
skinLeftArm.gotoAndStop("matrix");
skinLeftHand.gotoAndStop("matrix");
skinBody.gotoAndStop("matrix");
skinRightLeg.gotoAndStop("matrix");
skinRightFoot.gotoAndStop("matrix");
skinLeftLeg.gotoAndStop("matrix");
skinLeftFoot.gotoAndStop("matrix");
}
if (ninjaSkin) {
skinHead.gotoAndStop("ninja");
skinNeck.gotoAndStop("ninja");
skinRightArm.gotoAndStop("ninja");
skinRightHand.gotoAndStop("ninja");
skinLeftArm.gotoAndStop("ninja");
skinLeftHand.gotoAndStop("ninja");
skinBody.gotoAndStop("ninja");
skinRightLeg.gotoAndStop("ninja");
skinRightFoot.gotoAndStop("ninja");
skinLeftLeg.gotoAndStop("ninja");
skinLeftFoot.gotoAndStop("ninja");
}
_root.onEnterFrame = function () {
function bloodexplode(laser) {
_root.limbslost = _root.limbslost + 1;
_root.dodgestreak = 0;
f = 0;
while (f < 50) {
bloodexplosion = _root.attachMovie("bloodexplosion", "bloodexplosion_", _root.getNextHighestDepth(), {_x:laser._x, _y:laser._y});
if (alienSkin) {
bloodexplosion.bloodexplosiongraphic.gotoAndStop(2);
} else {
bloodexplosion.bloodexplosiongraphic.gotoAndStop(1);
}
f++;
}
}
function bloodsplat(laser) {
if (_root.blood_on == true) {
f = 0;
while (f < 15) {
blood = _root.attachMovie("blood", "blood_", _root.getNextHighestDepth(), {_x:laser._x, _y:laser._y});
if (alienSkin) {
blood.bloodGraphic.gotoAndStop(2);
} else {
blood.bloodGraphic.gotoAndStop(1);
}
f++;
}
}
}
function bloodSpew(p1x, p2x, p1y, p2y) {
if (_root.blood_on == true) {
bloodSmall = _root.attachMovie("bloodSmall", "bloodSmall_", _root.getNextHighestDepth(), {_x:p1x, _y:p1y});
newDepth = _root.getNextHighestDepth();
if (skins) {
skinBody.swapDepths(newDepth);
skinRightLeg.swapDepths(newDepth + 1);
skinRightFoot.swapDepths(newDepth + 2);
skinLeftLeg.swapDepths(newDepth + 3);
skinLeftFoot.swapDepths(newDepth + 4);
skinNeck.swapDepths(newDepth + 5);
skinLeftArm.swapDepths(newDepth + 6);
skinLeftHand.swapDepths(newDepth + 7);
skinRightArm.swapDepths(newDepth + 8);
skinRightHand.swapDepths(newDepth + 9);
skinHead.swapDepths(newDepth + 10);
} else {
body.swapDepths(newDepth);
rleg.swapDepths(newDepth + 1);
rfoot.swapDepths(newDepth + 2);
lleg.swapDepths(newDepth + 3);
lfoot.swapDepths(newDepth + 4);
neck.swapDepths(newDepth + 5);
larm.swapDepths(newDepth + 6);
lhand.swapDepths(newDepth + 7);
rarm.swapDepths(newDepth + 8);
rhand.swapDepths(newDepth + 9);
head.swapDepths(newDepth + 10);
}
reddeath.swapDepths(newDepth + 11);
gameover.swapDepths(newDepth + 12);
blackScreen.swapDepths(newDepth + 13);
unlockNotice.swapDepths(newDepth + 14);
abar.swapDepths(newDepth + 15);
if (alienSkin) {
bloodSmall.bloodGraphic.gotoAndStop(2);
} else {
bloodSmall.bloodGraphic.gotoAndStop(1);
}
delta_x = p1x - p2x;
delta_y = p1y - p2y;
ang = (-Math.atan2(delta_x, delta_y)) + 4.71238898038469;
bloodSpeed = (Math.random() * 3) + 2;
rand = (Math.random() * 0.5) - 0.25;
bloodSmall.movex = Math.cos(ang + rand) * bloodSpeed;
bloodSmall.movey = Math.sin(ang + rand) * bloodSpeed;
}
}
function bodyfragment(laser) {
if (_root.blood_on == true) {
f = 0;
while (f < 3) {
fragment = _root.attachMovie("fragment", "fragment_", _root.getNextHighestDepth(), {_x:laser._x, _y:laser._y});
if (skins) {
if (binLadenSkin) {
fragment.graphic.gotoAndStop(2);
}
if (obamaSkin) {
fragment.graphic.gotoAndStop(3);
}
if (astronautSkin) {
fragment.graphic.gotoAndStop(4);
}
if (cowboySkin) {
fragment.graphic.gotoAndStop(5);
}
if (bonesSkin) {
fragment.graphic.gotoAndStop(6);
}
if (gasMaskSkin) {
fragment.graphic.gotoAndStop(7);
}
if (tankManSkin) {
fragment.graphic.gotoAndStop(8);
}
if (alienSkin) {
fragment.graphic.gotoAndStop(9);
}
if (pirateSkin) {
fragment.graphic.gotoAndStop(10);
}
if (matrixSkin) {
fragment.graphic.gotoAndStop(11);
}
if (ninjaSkin) {
fragment.graphic.gotoAndStop(12);
}
}
fragment.cacheAsBitmap = true;
f++;
}
}
}
function sparkleexplode(powerup) {
s = 0;
while (s < 50) {
sparkle = _root.attachMovie("sparkle", "sparkle_", _root.getNextHighestDepth(), {_x:powerup._x, _y:powerup._y});
s++;
}
}
function regenLimb() {
if (!death) {
addText("Regenerate");
if (_root.alienSkin) {
iteration = 2;
} else {
iteration = 1;
}
var _local2 = 0;
while (_local2 < iteration) {
if (cutOffArray.length > 0) {
if (cutOffArray[0] == 12) {
rightHandCut = false;
createEmptyMovieClip("rhand", 6);
rightHandCutTimer = 0;
rightHandCutInt = 1;
if (skins) {
skinRightHand = attachMovie("skinRightHand", "skinRightHand_", skinRightArm.getDepth() + 1, {_x:310, _y:250});
skinRightHand.gotoAndStop(skinNeck._currentframe);
rhand._visible = false;
}
}
if (cutOffArray[0] == 13) {
leftHandCut = false;
createEmptyMovieClip("lhand", 5);
leftHandCutTimer = 0;
leftHandCutInt = 1;
if (skins) {
skinLeftHand = attachMovie("skinLeftHand", "skinLeftHand_", skinLeftArm.getDepth() + 1, {_x:310, _y:250});
skinLeftHand.gotoAndStop(skinNeck._currentframe);
lhand._visible = false;
}
}
if (cutOffArray[0] == 16) {
leftFootCut = false;
createEmptyMovieClip("lfoot", 10);
leftFootCutTimer = 0;
leftFootCutInt = 1;
if (skins) {
skinLeftFoot = attachMovie("skinLeftFoot", "skinLeftFoot_", skinLeftLeg.getDepth() + 1, {_x:310, _y:250});
skinLeftFoot.gotoAndStop(skinNeck._currentframe);
lfoot._visible = false;
}
}
if (cutOffArray[0] == 17) {
rightFootCut = false;
createEmptyMovieClip("rfoot", 11);
rightFootCutTimer = 0;
rightFootCutInt = 1;
if (skins) {
skinRightFoot = attachMovie("skinRightFoot", "skinRightFoot_", skinRightLeg.getDepth() + 1, {_x:310, _y:250});
skinRightFoot.gotoAndStop(skinNeck._currentframe);
rfoot._visible = false;
}
}
_root.totalLimbsRegen = _root.totalLimbsRegen + 1;
limbslost--;
cutOffArray.splice(0, 1);
}
_local2++;
}
}
}
function bonus() {
if (_root.cowboySkin) {
score = score + (multiplier * 2000);
var _local2 = multiplier * 2000;
addText("Bonus " + _local2);
} else {
score = score + (multiplier * 1000);
var _local2 = multiplier * 1000;
addText("Bonus " + _local2);
}
}
function sounds(laser) {
if (laser._currentframe == 2) {
_root.totalGreenHit = _root.totalGreenHit + 1;
}
if (laser._currentframe == 4) {
_root.totalYellowHit = _root.totalYellowHit + 1;
}
_root.totalLimbsLost = _root.totalLimbsLost + 1;
var _local2 = -100 + ((laser._x * 350) / 700);
var _local3 = Math.floor(Math.random() * 2) + 1;
_root.s2.hitsound.attachSound("hit" + _local3);
_root.s2.hitsound.setPan(_local2);
_root.s2.hitsound.setVolume(100);
_root.s2.hitsound.start();
}
function sparkleSound(powerup) {
var _local2 = -100 + ((powerup._x * 350) / 700);
_root.s4.reward.setPan(_local2);
_root.s4.reward.start();
addText("Multiplier");
}
function shieldSound(powerup) {
_root.a10 = true;
var _local2 = -100 + ((powerup._x * 350) / 700);
_root.s3.soundShield.setPan(_local2);
_root.s3.soundShield.start();
_root.numShields++;
addText("Shield");
}
function slowmoSound(powerup) {
_root.a11 = true;
var _local2 = -100 + ((powerup._x * 350) / 700);
_root.s3.soundSlowmo.setPan(_local2);
_root.s3.soundSlowmo.start();
_root.numSlowmos++;
addText("Slow Motion");
}
function bonusSound(powerup) {
_root.a13 = true;
var _local2 = -100 + ((powerup._x * 350) / 700);
_root.s4.reward.setPan(_local2);
_root.s4.reward.start();
}
function regenSound(powerup) {
_root.a12 = true;
var _local2 = -100 + ((powerup._x * 350) / 700);
_root.s3.rSound.setPan(_local2);
_root.s3.rSound.start();
_root.numRegens++;
}
function unlockCharacter(skinType) {
blackScreen = attachMovie("blackScreen", "blackScreen", _root.getNextHighestDepth(), {_x:350, _y:250});
blackScreen._alpha = 0;
unlockNotice = attachMovie("characterUnlocked", "characterUnlocked", _root.getNextHighestDepth(), {_x:-150, _y:250});
unlockNotice.gotoAndStop(skinType);
unlockNotice.timer = 0;
unlocking = true;
var _local3 = _root.getNextHighestDepth();
abar.swapDepths(_local3);
if (skinType == "binLaden") {
binLadenLocked = false;
}
if (skinType == "cowboy") {
cowboyLocked = false;
}
if (skinType == "alien") {
alienLocked = false;
}
if (skinType == "astronaut") {
astronautLocked = false;
}
if (skinType == "matrix") {
matrixLocked = false;
}
if (skinType == "obama") {
obamaLocked = false;
}
if (skinType == "bones") {
bonesLocked = false;
}
if (skinType == "gasMask") {
gasMaskLocked = false;
}
if (skinType == "pirate") {
pirateLocked = false;
}
if (skinType == "ninja") {
ninjaLocked = false;
}
}
function addText(info) {
txtStatus = attachMovie("txtStatus", "txtStatus_" + statuses, _root.getNextHighestDepth(), {_x:5, _y:50});
statuses++;
txtStatus.stat = "+ " + info;
}
function resetX2(x2) {
x2._y = -100;
x2._x = random(675) + 25;
x2.speed = random(6) + 3;
if (_root.death) {
x2.removeMovieClip();
}
}
function resettop(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.cacheAsBitmap = false;
laser.lspeed = random(7) + 3;
laser._y = -20;
laser._x = random(675) + 25;
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
} else if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
} else if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
} else if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
} else if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
laser.cacheAsBitmap = true;
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.tgo == false) {
_root.llt = _root.llt - 1;
laser.removeMovieClip();
}
}
}
function resetleftside(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.cacheAsBitmap = false;
laser.lspeed = random(7) + 3;
laser._y = random(475) + 25;
laser._x = -20;
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
} else if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
} else if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
} else if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
} else if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
laser.cacheAsBitmap = true;
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.lsgo == false) {
_root.lls = _root.lls - 1;
laser.removeMovieClip();
}
}
}
function resetbottom(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.cacheAsBitmap = false;
laser.lspeed = random(7) + 3;
laser._y = 520;
laser._x = random(675) + 25;
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
} else if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
} else if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
} else if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
} else if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
laser.cacheAsBitmap = true;
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.bgo == false) {
_root.lb = _root.lb - 1;
laser.removeMovieClip();
}
}
}
function resetrightside(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.cacheAsBitmap = false;
laser.lspeed = random(7) + 3;
laser._y = random(475) + 25;
laser._x = 720;
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
} else if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
} else if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
} else if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
} else if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
laser.cacheAsBitmap = true;
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.rsgo == false) {
_root.lrs = _root.lrs - 1;
laser.removeMovieClip();
}
}
}
if (_root.multiplier <= 1) {
_root.mt._visible = false;
}
if (_root.multiplier >= 2) {
_root.mt._visible = true;
}
if (pause == true) {
_root.ps._visible = true;
}
if (pause == false) {
_root.ps._visible = false;
if (!_root.death) {
if (slowmoTimer == 100) {
slowmoGuage = attachMovie("slowmoGuage", "slowmoGuage", _root.getNextHighestDepth(), {_x:350, _y:10});
if (_root.binLadenSkin) {
slowmoGuage.gotoAndStop(2);
}
}
if (slowmoTimer > 0) {
slowmotion = true;
if (_root.binLadenSkin) {
slowmoTimer = slowmoTimer - 0.3;
} else {
slowmoTimer = slowmoTimer - 0.4;
}
} else {
slowmoTimer = 0;
slowmotion = false;
slowmoGuage.removeMovieClip();
}
if (shieldTimer == 100) {
shieldGuage = attachMovie("shieldGuage", "shieldGuage", _root.getNextHighestDepth(), {_x:350, _y:10});
if (_root.bonesSkin) {
shieldGuage.gotoAndStop(2);
}
}
if (shieldTimer > 0) {
shield = true;
if (_root.bonesSkin) {
shieldTimer = shieldTimer - 0.3;
} else {
shieldTimer = shieldTimer - 0.4;
}
} else {
shieldTimer = 0;
shield = false;
shieldGuage.removeMovieClip();
}
if (shield) {
if (!skins) {
color = 1636599 /* 0x18F8F7 */;
} else {
skinHead.filters = new Array(glowFilter);
skinNeck.filters = new Array(glowFilter);
skinLeftArm.filters = new Array(glowFilter);
skinRightArm.filters = new Array(glowFilter);
skinRightHand.filters = new Array(glowFilter);
skinLeftArm.filters = new Array(glowFilter);
skinLeftHand.filters = new Array(glowFilter);
skinBody.filters = new Array(glowFilter);
skinLeftFoot.filters = new Array(glowFilter);
skinLeftLeg.filters = new Array(glowFilter);
skinRightFoot.filters = new Array(glowFilter);
skinRightLeg.filters = new Array(glowFilter);
color = 0;
}
} else if (!skins) {
color = 10066329 /* 0x999999 */;
} else {
color = 0;
skinHead.filters = undefined;
skinNeck.filters = undefined;
skinLeftArm.filters = undefined;
skinRightArm.filters = undefined;
skinRightHand.filters = undefined;
skinLeftArm.filters = undefined;
skinLeftHand.filters = undefined;
skinBody.filters = undefined;
skinLeftFoot.filters = undefined;
skinLeftLeg.filters = undefined;
skinRightFoot.filters = undefined;
skinRightLeg.filters = undefined;
}
_root.score = _root.score + _root.multiplier;
_root.timer = _root.timer + timeSecond;
if (_root.limbslost == 4) {
_root.a26 = true;
}
if (_root.dodgestreak >= 200) {
_root.a27 = true;
}
if (_root.dodgestreak >= 400) {
_root.a23 = true;
_root.gotNinja = true;
}
if (_root.multiplier == 100) {
_root.a32 = true;
}
if (_root.multiplier == 75) {
_root.a22 = true;
_root.gotPirate = true;
}
if (_root.multiplier == 50) {
_root.a31 = true;
}
if (_root.multiplier == 2) {
_root.a30 = true;
}
if (_root.numSlowmos >= 4) {
_root.a18 = true;
_root.gotMatrix = true;
}
if (_root.numShields >= 4) {
_root.a41 = true;
}
if (_root.numRegens >= 4) {
_root.a38 = true;
}
if (_root.score >= 600000) {
_root.a52 = true;
} else if (_root.score >= 550000) {
_root.a21 = true;
} else if (_root.score >= 350000) {
_root.a17 = true;
} else if (_root.score >= 250000) {
_root.a51 = true;
} else if (_root.score >= 100000) {
_root.a15 = true;
} else if (_root.score >= 50000) {
_root.a50 = true;
} else if (_root.score >= 20000) {
_root.a14 = true;
} else if (root.score >= 5000) {
_root.a49 = true;
}
}
}
if ((_root.timer >= 430) and (_root.timer < 431)) {
if (ninjaSkin) {
_root.laserstop = 11;
_root.lasersrightside = 9;
_root.lasersbottom = 11;
_root.lasersleftside = 9;
} else {
_root.laserstop = 12;
_root.lasersrightside = 10;
_root.lasersbottom = 12;
_root.lasersleftside = 10;
}
} else if ((_root.timer >= 410) and (_root.timer < 411)) {
if (ninjaSkin) {
_root.laserstop = 10;
_root.lasersrightside = 8;
_root.lasersbottom = 10;
_root.lasersleftside = 8;
} else {
_root.laserstop = 11;
_root.lasersrightside = 9;
_root.lasersbottom = 11;
_root.lasersleftside = 9;
}
} else if ((_root.timer >= 390) and (_root.timer < 391)) {
if (ninjaSkin) {
_root.laserstop = 9;
_root.lasersrightside = 7;
_root.lasersbottom = 9;
_root.lasersleftside = 7;
} else {
_root.laserstop = 10;
_root.lasersrightside = 8;
_root.lasersbottom = 10;
_root.lasersleftside = 8;
}
} else if ((_root.timer >= 370) and (_root.timer < 371)) {
if (ninjaSkin) {
_root.laserstop = 8;
_root.lasersrightside = 6;
_root.lasersbottom = 8;
_root.lasersleftside = 6;
} else {
_root.laserstop = 9;
_root.lasersrightside = 7;
_root.lasersbottom = 9;
_root.lasersleftside = 7;
}
} else if ((_root.timer >= 350) and (_root.timer < 351)) {
if (ninjaSkin) {
_root.laserstop = 7;
_root.lasersrightside = 5;
_root.lasersbottom = 7;
_root.lasersleftside = 5;
} else {
_root.laserstop = 8;
_root.lasersrightside = 6;
_root.lasersbottom = 8;
_root.lasersleftside = 6;
}
} else if ((_root.timer >= 330) and (_root.timer < 331)) {
if (ninjaSkin) {
_root.laserstop = 6;
_root.lasersrightside = 4;
_root.lasersbottom = 6;
_root.lasersleftside = 4;
} else {
_root.laserstop = 7;
_root.lasersrightside = 5;
_root.lasersbottom = 7;
_root.lasersleftside = 5;
}
} else if ((_root.timer >= 310) and (_root.timer < 311)) {
if (ninjaSkin) {
_root.laserstop = 5;
_root.lasersrightside = 3;
_root.lasersbottom = 5;
_root.lasersleftside = 3;
} else {
_root.laserstop = 6;
_root.lasersleftside = 4;
_root.lasersbottom = 6;
_root.lasersrightside = 4;
}
_root.bgo = true;
_root.rsgo = true;
_root.lsgo = true;
_root.tgo = true;
_root.rank = "M";
_root.rcount = 7;
} else if ((_root.timer >= 307) and (_root.timer < 308)) {
_root.rsgo = false;
_root.lsgo = false;
} else if ((_root.timer >= 280) and (_root.timer < 281)) {
_root.rsgo = true;
_root.lsgo = true;
} else if ((_root.timer >= 277) and (_root.timer < 278)) {
_root.bgo = false;
_root.tgo = false;
} else if ((_root.timer >= 250) and (_root.timer < 251)) {
if (ninjaSkin) {
_root.laserstop = 6;
_root.lasersrightside = 4;
_root.lasersbottom = 6;
_root.lasersleftside = 4;
} else {
_root.laserstop = 7;
_root.lasersrightside = 5;
_root.lasersbottom = 7;
_root.lasersleftside = 5;
}
_root.bgo = true;
_root.tgo = true;
} else if ((_root.timer >= 247) and (_root.timer < 248)) {
_root.bgo = false;
_root.lsgo = false;
} else if ((_root.timer >= 220) and (_root.timer < 221)) {
_root.bgo = true;
_root.lsgo = true;
} else if ((_root.timer >= 217) and (_root.timer < 218)) {
_root.bgo = false;
_root.rsgo = false;
} else if ((_root.timer >= 190) and (_root.timer < 191)) {
_root.bgo = true;
_root.rsgo = true;
_root.rank = "L";
_root.rcount = 6;
} else if ((_root.timer >= 187) and (_root.timer < 188)) {
_root.tgo = false;
_root.lsgo = false;
} else if ((_root.timer >= 160) and (_root.timer < 161)) {
_root.tgo = true;
_root.lsgo = true;
} else if ((_root.timer >= 157) and (_root.timer < 158)) {
_root.rsgo = false;
_root.tgo = false;
} else if ((_root.timer >= 130) and (_root.timer < 131)) {
if (ninjaSkin) {
_root.laserstop = 6;
_root.lasersrightside = 5;
_root.lasersbottom = 6;
_root.lasersleftside = 5;
} else {
_root.laserstop = 7;
_root.lasersrightside = 6;
_root.lasersbottom = 7;
_root.lasersleftside = 6;
}
_root.tgo = true;
_root.rsgo = true;
_root.rank = "A";
_root.rcount = 5;
} else if ((_root.timer >= 127) and (_root.timer < 128)) {
_root.lsgo = false;
} else if ((_root.timer >= 100) and (_root.timer < 101)) {
_root.lsgo = true;
} else if ((_root.timer >= 97) and (_root.timer < 98)) {
_root.bgo = false;
} else if ((_root.timer >= 70) and (_root.timer < 71)) {
_root.bgo = true;
_root.rank = "B";
_root.rcount = 4;
} else if ((_root.timer >= 67) and (_root.timer < 68)) {
_root.rsgo = false;
} else if ((_root.timer >= 40) and (_root.timer < 41)) {
_root.rsgo = true;
_root.rank = "C";
_root.rcount = 3;
} else if ((_root.timer >= 37) and (_root.timer < 38)) {
_root.tgo = false;
} else if ((_root.timer >= 18) and (_root.timer < 19)) {
if (ninjaSkin) {
laserstop = 10;
} else {
laserstop = 11;
}
_root.rank = "D";
_root.rcount = 2;
} else if ((_root.timer >= 16) and (_root.timer < 17)) {
if (ninjaSkin) {
laserstop = 9;
} else {
laserstop = 10;
}
} else if ((_root.timer >= 14) and (_root.timer < 15)) {
if (ninjaSkin) {
laserstop = 8;
} else {
laserstop = 9;
}
} else if ((_root.timer >= 12) and (_root.timer < 13)) {
if (ninjaSkin) {
laserstop = 7;
} else {
laserstop = 8;
}
} else if ((_root.timer >= 10) and (_root.timer < 10)) {
if (ninjaSkin) {
laserstop = 6;
} else {
laserstop = 7;
}
} else if ((_root.timer >= 8) and (_root.timer < 9)) {
if (ninjaSkin) {
laserstop = 5;
} else {
laserstop = 6;
}
} else if ((_root.timer >= 5) and (_root.timer < 6)) {
if (ninjaSkin) {
laserstop = 4;
} else {
laserstop = 5;
}
} else if ((_root.timer >= 2) and (_root.timer < 3)) {
_root.tgo = true;
if (_root.obamaSkin) {
_root.maxX2 = 2;
} else {
_root.maxX2 = 1;
}
_root.rcount = 1;
} else if ((_root.timer >= 1) and (_root.timer < 2)) {
_root.startover = false;
}
if (_root.death == true) {
if (_root.dr1 == 1) {
_root.reddeath = attachMovie("reddeath", "reddeath", _root.getNextHighestDepth(), {_x:350, _y:250});
_root.reddeath._alpha = 0;
_root.died = _root.died + 1;
savefile.data.died = savefile.data.died + 1;
savefile.flush();
}
if (_root.reddeath._alpha <= 20) {
_root.reddeath._alpha = _root.reddeath._alpha + 1;
if (!mouseMode) {
_global.kongregate.stats.submit("HighScoreKeyboard", _root.score);
} else {
_global.kongregate.stats.submit("HighScoreMouse", _root.score);
}
}
if (_root.dr1 == 20) {
_root.gameover = attachMovie("gameover", "gameover", _root.getNextHighestDepth(), {_x:350, _y:191});
_root.gameover._alpha = 0;
}
if (_root.gameover._alpha <= 100) {
_root.gameover._alpha = _root.gameover._alpha + 1;
}
if (_root.dr1 == 20) {
if (_root.died >= 50) {
_root.a20 = true;
unlockBones = true;
} else if (_root.died >= 20) {
_root.a25 = true;
} else if (_root.died >= 1) {
_root.a24 = true;
}
if (_root.rcount == 1) {
_root.a42 = true;
} else if (_root.rcount == 2) {
_root.a42 = true;
_root.a43 = true;
} else if (_root.rcount == 3) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
} else if (_root.rcount == 4) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
} else if (_root.rcount == 5) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
_root.a46 = true;
_root.a16 = true;
unlockAlien = true;
_global.kongregate.stats.submit("Rank A Achieved", 1);
} else if (_root.rcount == 6) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
_root.a46 = true;
_root.a16 = true;
_root.a47 = true;
unlockAlien = true;
_global.kongregate.stats.submit("Rank L Achieved", 1);
} else if (_root.rcount == 7) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
_root.a46 = true;
_root.a16 = true;
_root.a47 = true;
_root.a48 = true;
_root.a19 = true;
unlockAlien = true;
unlockObama = true;
_global.kongregate.stats.submit("Rank M Achieved", 1);
}
if (score >= 20000) {
unlockBinLaden = true;
}
if (score >= 100000) {
unlockCowboy = true;
_global.kongregate.stats.submit("Score Over 100,000", 1);
}
if (score >= 350000) {
unlockAstronaut = true;
_global.kongregate.stats.submit("Score Over 350,000", 1);
}
if (score >= 550000) {
unlockGasMask = true;
_global.kongregate.stats.submit("Score Over 550,000", 1);
}
if (gotNinja == true) {
unlockNinja = true;
gotNinja = false;
}
if (gotMatrix == true) {
unlockMatrix = true;
gotMatrix = false;
}
if (gotPirate == true) {
unlockPirate = true;
gotPirate = false;
}
}
if ((unlockBinLaden == true) and (binLadenLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("binLaden");
unlockBinLaden = false;
}
}
if ((unlockCowboy == true) and (cowboyLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("cowboy");
unlockCowboy = false;
}
}
if ((unlockAlien == true) and (alienLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("alien");
unlockAlien = false;
}
}
if ((unlockAstronaut == true) and (astronautLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("astronaut");
unlockAstronaut = false;
}
}
if ((unlockMatrix == true) and (matrixLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("matrix");
unlockMatrix = false;
}
}
if ((unlockObama == true) and (obamaLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("obama");
unlockObama = false;
}
}
if ((unlockBones == true) and (bonesLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("bones");
unlockBones = false;
}
}
if ((unlockGasMask == true) and (gasMaskLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("gasMask");
unlockGasMask = false;
}
}
if ((unlockPirate == true) and (pirateLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("pirate");
unlockPirate = false;
}
}
if ((unlockNinja == true) and (ninjaLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("ninja");
unlockNinja = false;
}
}
_root.limbslost = 0;
_root.slowmotion = false;
_root.shield = false;
shieldGuage.removeMovieClip();
slowmoGuage.removeMovieClip();
_root.pause_menu.removeMovieClip();
speed = 0;
_root.dr1 = _root.dr1 + 1;
_root.pause = false;
}
if (!pause) {
if (_root.slowmotion == true) {
_root.slow = 0.25 * _root.matrixSlow;
} else {
_root.slow = 1 * _root.matrixSlow;
}
}
if (!death) {
if (unp == true) {
if (pressed(SPACE) and (pause == false)) {
attachMovie("pause_menu", "pause_menu", _root.getNextHighestDepth(), {_x:350, _y:137});
unp = false;
pause = true;
_root.a6 = true;
}
}
if (!pressed(SPACE)) {
unp = true;
}
if (unp == true) {
if (pressed(SPACE) and (pause == true)) {
pause_menu.removeMovieClip();
unp = false;
pause = false;
}
}
}
if (!pause) {
for (var _local11 in xn) {
var _local7 = drag * (xn[_local11] - xo[_local11]);
xo[_local11] = xn[_local11] - (_local7 * (1 - slow));
xn[_local11] = xn[_local11] + (_local7 * slow);
_local7 = (drag * (yn[_local11] - yo[_local11])) + gravity;
yo[_local11] = yn[_local11] - (_local7 * (1 - slow));
yn[_local11] = yn[_local11] + (_local7 * slow);
}
if (!mouseMode) {
if (pressed(UP) or pressed(87)) {
yn[8] = yn[8] - speed;
}
if (pressed(DOWN) or pressed(83)) {
yn[8] = yn[8] + speed;
}
if (pressed(LEFT) or pressed(65)) {
xn[8] = xn[8] - speed;
}
if (pressed(RIGHT) or pressed(68)) {
xn[8] = xn[8] + speed;
}
} else if (!death) {
xn[8] = _xmouse;
yn[8] = _ymouse;
}
for (var _local11 in sproot) {
var _local12 = sproot[_local11];
if (_local11 != _local12) {
var _local4 = xn[_local12] - xn[_local11];
var _local5 = yn[_local12] - yn[_local11];
var _local9 = (sprest[_local11] / (((_local4 * _local4) + (_local5 * _local5)) + sprest[_local11])) - 0.5;
_local4 = _local4 * _local9;
_local5 = _local5 * _local9;
var _local6 = (mass[_local11] + mass[_local12]) * flex;
var _local10 = mass[_local11] / _local6;
_local6 = mass[_local12] / _local6;
xf[_local11] = xf[_local11] - (_local6 * _local4);
yf[_local11] = yf[_local11] - (_local6 * _local5);
xf[_local12] = xf[_local12] + (_local10 * _local4);
yf[_local12] = yf[_local12] + (_local10 * _local5);
}
}
for (var _local11 in xf) {
xn[_local11] = xn[_local11] + xf[_local11];
yn[_local11] = yn[_local11] + yf[_local11];
xf[_local11] = 0;
yf[_local11] = 0;
}
for (var _local11 in root) {
var _local12 = root[_local11];
if (_local11 != _local12) {
var _local4 = xn[_local12] - xn[_local11];
var _local5 = yn[_local12] - yn[_local11];
var _local9 = (rest[_local11] / (((_local4 * _local4) + (_local5 * _local5)) + rest[_local11])) - 0.5;
_local4 = _local4 * _local9;
_local5 = _local5 * _local9;
var _local6 = mass[_local11] + mass[_local12];
var _local10 = mass[_local11] / _local6;
_local6 = mass[_local12] / _local6;
xf[_local11] = xf[_local11] - (_local6 * _local4);
yf[_local11] = yf[_local11] - (_local6 * _local5);
xf[_local12] = xf[_local12] + (_local10 * _local4);
yf[_local12] = yf[_local12] + (_local10 * _local5);
}
}
for (var _local11 in xf) {
xn[_local11] = xn[_local11] + xf[_local11];
yn[_local11] = yn[_local11] + yf[_local11];
xf[_local11] = 0;
yf[_local11] = 0;
}
for (var _local11 in xn) {
for (var _local12 in cutOffArray) {
if (cutOffArray[_local12] != _local11) {
var _local8 = false;
} else {
var _local8 = true;
break;
}
}
if (!_local8) {
var s = (size[_local11] / 2);
if (xn[_local11] < s) {
xo[_local11] = xn[_local11];
xn[_local11] = s;
yo[_local11] = yn[_local11];
} else if (xn[_local11] > (sw - s)) {
xo[_local11] = xn[_local11];
xn[_local11] = sw - s;
yo[_local11] = yn[_local11];
}
if (yn[_local11] < s) {
yo[_local11] = yn[_local11];
yn[_local11] = s;
xo[_local11] = xn[_local11];
} else if (yn[_local11] > (sh - s)) {
yo[_local11] = yn[_local11];
yn[_local11] = sh - s;
xo[_local11] = xn[_local11];
}
}
}
head.clear();
head.lineStyle(size[7], color);
head.moveTo(xn[7], yn[7]);
head.lineTo(xn[root[7]] + 0.5, yn[root[7]]);
neck.clear();
neck.lineStyle(8, color);
neck.moveTo(xn[8], yn[8]);
neck.lineTo(xn[root[8]] + 0.5, yn[root[8]]);
larm.clear();
larm.lineStyle(8, color);
larm.moveTo(xn[11], yn[11]);
larm.lineTo(xn[root[11]] + 0.5, yn[root[11]]);
rarm.clear();
rarm.lineStyle(8, color);
rarm.moveTo(xn[10], yn[10]);
rarm.lineTo(xn[root[10]] + 0.5, yn[root[10]]);
lhand.clear();
lhand.lineStyle(8, color);
lhand.moveTo(xn[13], yn[13]);
lhand.lineTo(xn[root[13]] + 0.5, yn[root[13]]);
rhand.clear();
rhand.lineStyle(8, color);
rhand.moveTo(xn[12], yn[12]);
rhand.lineTo(xn[root[12]] + 0.5, yn[root[12]]);
body.clear();
body.lineStyle(8, color);
body.moveTo(xn[9], yn[9]);
body.lineTo(xn[root[9]] + 0.5, yn[root[9]]);
lleg.clear();
lleg.lineStyle(8, color);
lleg.moveTo(xn[14], yn[14]);
lleg.lineTo(xn[root[14]] + 0.5, yn[root[14]]);
rleg.clear();
rleg.lineStyle(8, color);
rleg.moveTo(xn[15], yn[15]);
rleg.lineTo(xn[root[15]] + 0.5, yn[root[15]]);
lfoot.clear();
lfoot.lineStyle(8, color);
lfoot.moveTo(xn[16], yn[16]);
lfoot.lineTo(xn[root[16]] + 0.5, yn[root[16]]);
rfoot.clear();
rfoot.lineStyle(8, color);
rfoot.moveTo(xn[17], yn[17]);
rfoot.lineTo(xn[root[17]] + 0.5, yn[root[17]]);
if (skins) {
addSkin(xn[8], xn[9], yn[8], yn[9], skinBody);
addSkin(xn[15], xn[17], yn[15], yn[17], skinRightFoot);
addSkin(xn[14], xn[16], yn[14], yn[16], skinLeftFoot);
addSkin(xn[9], xn[14], yn[9], yn[14], skinLeftLeg);
addSkin(xn[9], xn[15], yn[9], yn[15], skinRightLeg);
addSkin(xn[8], xn[11], yn[8], yn[11], skinLeftArm);
addSkin(xn[11], xn[13], yn[11], yn[13], skinLeftHand);
addSkin(xn[8], xn[10], yn[8], yn[10], skinRightArm);
addSkin(xn[10], xn[12], yn[10], yn[12], skinRightHand);
addSkin(xn[7], xn[8], yn[7], yn[8], skinNeck);
addSkin(xn[7], xn[8], yn[7], yn[8], skinHead);
}
if (headCut) {
headCutTimer = headCutTimer + (1 * headCutInt);
if (headCutInt <= 0.15) {
headCut = false;
}
if (headCutTimer >= 0.5) {
bloodSpew(xn[8], xn[7], yn[8], yn[7]);
headCutInt = headCutInt - 0.003;
headCutTimer = 0;
}
}
if (neckCut) {
headCut = false;
neckCutTimer = neckCutTimer + (1 * neckCutInt);
if (neckCutInt <= 0.15) {
neckLegCut = false;
}
if (neckCutTimer >= 0.5) {
bloodSpew(xn[8], xn[7], yn[8], yn[7]);
neckCutInt = neckCutInt - 0.003;
neckCutTimer = 0;
}
}
if (bodyCut) {
leftLegCut = false;
leftFootCut = false;
rightLegCut = false;
rightFootCut = false;
if (bodyCutInt >= 1) {
cutOffArray.push(17);
cutOffArray.push(16);
cutOffArray.push(15);
cutOffArray.push(14);
cutOffArray.push(9);
}
bodyCutTimer = bodyCutTimer + (1 * bodyCutInt);
if (bodyCutInt <= 0.15) {
bodyCut = false;
}
if (bodyCutTimer >= 0.5) {
bloodSpew(xn[8], xn[9], yn[8], yn[9]);
bodyCutInt = bodyCutInt - 0.003;
bodyCutTimer = 0;
}
}
if (rightFootCut) {
if (rightFootCutInt >= 1) {
cutOffArray.push(17);
}
rightFootCutTimer = rightFootCutTimer + (1 * rightFootCutInt);
if (rightFootCutInt <= 0.15) {
rightFootCut = false;
}
if (rightFootCutTimer >= 0.5) {
bloodSpew(xn[15], xn[17], yn[15], yn[17]);
rightFootCutInt = rightFootCutInt - 0.003;
rightFootCutTimer = 0;
}
}
if (leftFootCut) {
if (leftFootCutInt >= 1) {
cutOffArray.push(16);
}
leftFootCutTimer = leftFootCutTimer + (1 * leftFootCutInt);
if (leftFootCutInt <= 0.15) {
leftFootCut = false;
}
if (leftFootCutTimer >= 0.5) {
bloodSpew(xn[14], xn[16], yn[14], yn[16]);
leftFootCutInt = leftFootCutInt - 0.003;
leftFootCutTimer = 0;
}
}
if (leftLegCut) {
leftFootCut = false;
if (leftLegCutInt >= 1) {
cutOffArray.push(16);
cutOffArray.push(14);
}
leftLegCutTimer = leftLegCutTimer + (1 * leftLegCutInt);
if (leftLegCutInt <= 0.15) {
leftLegCut = false;
}
if (leftLegCutTimer >= 0.5) {
bloodSpew(xn[9], xn[14], yn[9], yn[14]);
leftLegCutInt = leftLegCutInt - 0.003;
leftLegCutTimer = 0;
}
}
if (rightLegCut) {
rightFootCut = false;
if (rightLegCutInt >= 1) {
cutOffArray.push(17);
cutOffArray.push(15);
}
rightLegCutTimer = rightLegCutTimer + (1 * rightLegCutInt);
if (rightLegCutInt <= 0.15) {
rightLegCut = false;
}
if (rightLegCutTimer >= 0.5) {
bloodSpew(xn[9], xn[15], yn[9], yn[15]);
rightLegCutInt = rightLegCutInt - 0.003;
rightLegCutTimer = 0;
}
}
if (rightHandCut) {
if (rightHandCutInt >= 1) {
cutOffArray.push(12);
}
rightHandCutTimer = rightHandCutTimer + (1 * rightHandCutInt);
if (rightHandCutInt <= 0.15) {
rightHandCut = false;
}
if (rightHandCutTimer >= 0.5) {
bloodSpew(xn[10], xn[12], yn[10], yn[12]);
rightHandCutInt = rightHandCutInt - 0.003;
rightHandCutTimer = 0;
}
}
if (leftHandCut) {
if (leftHandCutInt >= 1) {
cutOffArray.push(13);
}
leftHandCutTimer = leftHandCutTimer + (1 * leftHandCutInt);
if (leftHandCutInt <= 0.15) {
leftHandCut = false;
}
if (leftHandCutTimer >= 0.5) {
bloodSpew(xn[11], xn[13], yn[11], yn[13]);
leftHandCutInt = leftHandCutInt - 0.003;
leftHandCutTimer = 0;
}
}
if (leftArmCut) {
leftHandCut = false;
if (leftHandCutInt >= 1) {
cutOffArray.push(13);
cutOffArray.push(11);
}
leftArmCutTimer = leftArmCutTimer + (1 * leftArmCutInt);
if (leftArmCutInt <= 0.15) {
leftArmCut = false;
}
if (leftArmCutTimer >= 0.5) {
bloodSpew(xn[8], xn[11], yn[8], yn[11]);
leftArmCutInt = leftArmCutInt - 0.003;
leftArmCutTimer = 0;
}
}
if (rightArmCut) {
rightHandCut = false;
if (neckCutInt >= 1) {
cutOffArray.push(12);
cutOffArray.push(10);
}
rightArmCutTimer = rightArmCutTimer + (1 * rightArmCutInt);
if (rightArmCutInt <= 0.15) {
rightArmCut = false;
}
if (rightArmCutTimer >= 0.5) {
bloodSpew(xn[8], xn[10], yn[8], yn[10]);
rightArmCutInt = rightArmCutInt - 0.003;
rightArmCutTimer = 0;
}
}
}
unlockNotice.onEnterFrame = function () {
if ((this._x >= 350) and (this.timer <= 2)) {
this._x = 350;
this.timer = this.timer + _root.timeSecond;
blackScreen._alpha = 70;
}
if (this._x < 350) {
this._x = this._x + 50;
blackScreen._alpha = blackScreen._alpha + 7;
}
if ((this._x <= 850) and (this.timer > 2)) {
this._x = this._x + 50;
blackScreen._alpha = blackScreen._alpha - 7;
}
if (this._x > 850) {
blackScreen.removeMovieClip();
this.removeMovieClip();
unlocking = false;
}
};
txtStatus.onEnterFrame = function () {
if (death == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y - 0.5;
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
if (_root.numX2 < _root.maxX2) {
numX2++;
x2 = _root.attachMovie("x2", "x2_" + numX2, _root.getNextHighestDepth());
x2.cacheAsBitmap = true;
resetX2(_root.x2);
}
x2.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._y = this._y + (this.speed * _root.slow);
if (this._y > 515) {
resetX2(this);
}
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.neck)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.larm)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rarm)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lhand)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rhand)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.body)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lleg)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rleg)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lfoot)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rfoot)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
}
}
};
if ((!death) and (!pause)) {
if (powerupTimer > powerupInt) {
powerup = attachMovie("powerup", "powerup", _root.getNextHighestDepth());
powerup._x = (Math.random() * 650) + 25;
powerup._y = -10;
powerup.speed = random(5) + 3;
powerup.shieldPowerup = false;
powerup.slowmoPowerup = false;
powerup.regenPowerup = false;
powerup.bonusPowerup = false;
powerup.powerupType = random(4) + 1;
if (_root.noPowerup == powerup.powerupType) {
if (noPowerup == 4) {
powerup.powerupType--;
} else {
powerup.powerupType++;
}
}
_root.noPowerup = powerup.powerupType;
if (powerup.powerupType == 1) {
powerup.gotoAndStop("bonus");
powerup.bonusPowerup = true;
}
if (powerup.powerupType == 2) {
powerup.gotoAndStop("slowmo");
powerup.slowmoPowerup = true;
}
if (powerup.powerupType == 3) {
powerup.gotoAndStop("shield");
powerup.shieldPowerup = true;
}
if (powerup.powerupType == 4) {
powerup.gotoAndStop("regen");
powerup.regenPowerup = true;
}
powerupInt = (Math.random() * 17) + 13;
powerupTimer = 0;
powerup.cacheAsBitmap = true;
} else {
powerupTimer = powerupTimer + 0.0285714285714286;
}
}
powerup.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._y = this._y + (this.speed * _root.slow);
if (this._y > 515) {
this.removeMovieClip();
}
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.neck)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.larm)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rarm)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lhand)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rhand)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.body)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lleg)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rleg)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lfoot)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rfoot)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
}
}
};
if (_root.tgo == true) {
if (_root.llt <= _root.laserstop) {
llt++;
lasertop = _root.attachMovie("laser", "laser_" + llt, _root.getNextHighestDepth());
resettop(_root.lasertop);
}
}
_root.lasertop.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y + (this.lspeed * _root.slow);
if (this._y >= 520) {
resettop(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinNeck.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftLeg.removeMovieClip();
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightFootCut = true;
}
}
}
}
};
if (_root.lsgo == true) {
if (_root.lls <= _root.lasersleftside) {
lls++;
laserleftside = _root.attachMovie("laser", ("laser_" + lls) + llt, _root.getNextHighestDepth());
laserleftside._rotation = 90;
resetleftside(_root.laserleftside);
}
}
_root.laserleftside.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._x = this._x + (this.lspeed * _root.slow);
if (this._x >= 720) {
resetleftside(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
skinNeck.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightFootCut = true;
}
}
}
}
};
if (_root.bgo == true) {
if (_root.lb <= _root.lasersbottom) {
lb++;
laserbottom = _root.attachMovie("laser", (("laser_" + lb) + lls) + llt, _root.getNextHighestDepth());
resetbottom(_root.laserbottom);
}
}
_root.laserbottom.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y - (this.lspeed * _root.slow);
if (this._y <= -20) {
resetbottom(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
skinNeck.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.lhand.removeMovieClip(this);
_root.larm.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightFootCut = true;
}
}
}
}
};
if (_root.rsgo == true) {
if (_root.lrs <= _root.lasersrightside) {
lrs++;
laserrightside = _root.attachMovie("laser", ((("laser_" + lrs) + llt) + lls) + lb, _root.getNextHighestDepth());
laserrightside._rotation = 90;
resetrightside(_root.laserrightside);
}
}
_root.laserrightside.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._x = this._x - (this.lspeed * _root.slow);
if (this._x <= -20) {
resetrightside(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
skinNeck.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.lhand.removeMovieClip(this);
_root.larm.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightFootCut = true;
}
}
}
}
};
};
Instance of Symbol 285 MovieClip "s2" in Frame 16
onClipEvent (load) {
hitsound = new Sound(this);
}
Instance of Symbol 285 MovieClip "s3" in Frame 16
onClipEvent (load) {
soundShield = new Sound(this);
soundShield.attachSound("soundShield");
soundShield.setVolume(100);
soundSlowmo = new Sound(this);
soundSlowmo.attachSound("soundSlowmo");
soundSlowmo.setVolume(100);
reward = new Sound(this);
reward.attachSound("reward");
reward.setVolume(100);
bSound = new Sound(this);
bSound.attachSound("bonusSound");
bSound.setVolume(100);
rSound = new Sound(this);
rSound.attachSound("regenSound");
rSound.setVolume(100);
}
Instance of Symbol 285 MovieClip "s4" in Frame 16
onClipEvent (load) {
reward = new Sound(this);
reward.attachSound("reward");
reward.setVolume(65);
}
Frame 17
function addSkin(p1x, p2x, p1y, p2y, skinPart) {
delta_x = p1x - p2x;
delta_y = p1y - p2y;
dist = Math.sqrt((delta_x * delta_x) + (delta_y * delta_y));
skinPart.ang = (-Math.atan2(delta_x, delta_y)) + 4.71238898038469;
skinPart._rotation = (skinPart.ang / (Math.PI/180)) - 90;
skinPart._x = p2x - ((Math.cos(skinPart.ang) * dist) / 2);
skinPart._y = p2y - ((Math.sin(skinPart.ang) * dist) / 2);
}
var glowFilter = (new flash.filters.GlowFilter(1636599, 100, 10, 10, 1, 1, false, false));
stop();
_root.rightArmCut = false;
_root.leftArmCut = false;
_root.rightHandCut = false;
_root.leftHandCut = false;
_root.leftFootCut = false;
_root.rightFootCut = false;
_root.leftLegCut = false;
_root.rightLegCut = false;
_root.bodyCut = false;
_root.headCut = false;
_root.neckCut = false;
_root.bodyCutTimer = 0;
_root.bodyCutInt = 1;
_root.headCutTimer = 0;
_root.headCutInt = 1;
_root.neckCutTimer = 0;
_root.neckCutInt = 1;
_root.rightArmCutTimer = 0;
_root.rightArmCutInt = 1;
_root.leftArmCutTimer = 0;
_root.leftArmCutInt = 1;
_root.rightLegCutTimer = 0;
_root.rightLegCutInt = 1;
_root.leftLegCutTimer = 0;
_root.leftLegCutInt = 1;
_root.rightFootCutTimer = 0;
_root.rightFootCutInt = 1;
_root.leftFootCutTimer = 0;
_root.leftFootCutInt = 1;
_root.rightHandCutTimer = 0;
_root.rightHandCutInt = 1;
_root.leftHandCutTimer = 0;
_root.leftHandCutInt = 1;
_root.unlocking = false;
_root.unlockBinLaden = false;
_root.unlockCowboy = false;
_root.unlockAlien = false;
_root.unlockAstronaut = false;
_root.unlockMatrix = false;
_root.unlockObama = false;
_root.unlockBones = false;
_root.unlockGasMask = false;
_root.unlockPirate = false;
_root.unlockNinja = false;
_root.rank = "F";
_root.rcount = 0;
_root.cutOffArray = new Array();
_root.rsgo = false;
_root.lsgo = false;
_root.bgo = false;
_root.tgo = false;
_root.death = false;
_root.slowmotion = false;
_root.slowmoTimer = 0;
_root.shieldTimer = 0;
_root.shield = false;
_root.pause = false;
_root.mtText = "x";
_root.timeSecond = 0.0222222222222222;
if (pirateSkin) {
_root.multiplier = 20;
} else {
_root.multiplier = 1;
}
_root.timer = 0;
_root.powerupTimer = 0;
_root.powerupInt = (Math.random() * 17) + 13;
if (_root.tankManSkin) {
_root.score = 5000;
} else if (_root.gasMaskSkin) {
_root.score = 100000 /* 0x0186A0 */;
} else {
_root.score = 0;
}
_root.limbslost = 0;
_root.dodgestreak = 0;
_root.numSlowmos = 0;
_root.numRegens = 0;
_root.numShields = 0;
_root.numX2 = 0;
_root.maxX2 = 0;
if (ninjaSkin) {
_root.laserstop = 3;
_root.lasersleftside = 8;
_root.lasersbottom = 10;
_root.lasersrightside = 8;
} else {
_root.laserstop = 4;
_root.lasersleftside = 9;
_root.lasersbottom = 11;
_root.lasersrightside = 9;
}
_root.llt = 1;
_root.lls = 1;
_root.lb = 1;
_root.lrs = 1;
_root.dr1 = 0;
_root.statuses = 0;
if (astronautSkin) {
gravity = 0.1;
} else {
gravity = 0.5;
}
if (matrixSkin) {
matrixSlow = 0.65;
} else {
matrixSlow = 0.77;
}
speed = 15;
drag = 0.96;
flex = 1.4;
slow = 1;
sw = Stage.width;
sh = Stage.height;
createEmptyMovieClip("head", 1);
createEmptyMovieClip("neck", 2);
createEmptyMovieClip("larm", 3);
createEmptyMovieClip("rarm", 4);
createEmptyMovieClip("lhand", 5);
createEmptyMovieClip("rhand", 6);
createEmptyMovieClip("body", 7);
createEmptyMovieClip("lleg", 8);
createEmptyMovieClip("rleg", 9);
createEmptyMovieClip("lfoot", 10);
createEmptyMovieClip("rfoot", 11);
if (_root.skins) {
skinBody = attachMovie("skinBody", "skinBody_", 12, {_x:310, _y:250});
skinRightLeg = attachMovie("skinRightLeg", "skinRightLeg_", 13, {_x:310, _y:250});
skinRightFoot = attachMovie("skinRightFoot", "skinRightFoot_", 14, {_x:310, _y:250});
skinLeftLeg = attachMovie("skinLeftLeg", "skinLeftLeg_", 15, {_x:310, _y:250});
skinLeftFoot = attachMovie("skinLeftFoot", "skinLeftFoot_", 16, {_x:310, _y:250});
skinNeck = attachMovie("skinNeck", "skinNeck_", 17, {_x:310, _y:250});
skinLeftArm = attachMovie("skinLeftArm", "skinLeftArm_", 18, {_x:310, _y:250});
skinLeftHand = attachMovie("skinLeftHand", "skinLeftHand_", 19, {_x:310, _y:250});
skinRightArm = attachMovie("skinRightArm", "skinRightArm_", 20, {_x:310, _y:250});
skinRightHand = attachMovie("skinRightHand", "skinRightHand_", 21, {_x:310, _y:250});
skinHead = attachMovie("skinHead", "skinHead_", 22, {_x:310, _y:250});
head._visible = false;
neck._visible = false;
larm._visible = false;
lhand._visible = false;
rarm._visible = false;
rhand._visible = false;
body._visible = false;
rleg._visible = false;
rfoot._visible = false;
lleg._visible = false;
lfoot._visible = false;
}
var pressed = Key.isDown;
var UP = 38;
var DOWN = 40;
var LEFT = 37;
var RIGHT = 39;
var SPACE = 32;
var nodes = 18;
var xn = new Array(nodes);
var yn = new Array(nodes);
var xo = new Array(nodes);
var yo = new Array(nodes);
var xf = new Array(nodes);
var yf = new Array(nodes);
var root = new Array(nodes);
var rest = new Array(nodes);
var sproot = new Array(nodes);
var sprest = new Array(nodes);
var mass = new Array(nodes);
var size = new Array(nodes);
var i = 0;
var color = 10066329;
while (i < nodes) {
xn[i] = 225 + random(100);
yn[i] = 150 + random(100);
xo[i] = 225 + random(100);
yo[i] = 150 + random(100);
xf[i] = 0;
yf[i] = 0;
mass[i] = 1;
size[i] = 10;
i++;
}
root[7] = 7;
root[8] = 7;
root[9] = 8;
root[10] = 8;
root[11] = 8;
root[12] = 10;
root[13] = 11;
root[14] = 9;
root[15] = 9;
root[16] = 14;
root[17] = 15;
rest[7] = 0.5;
rest[8] = 50;
rest[9] = 450;
rest[10] = 200;
rest[11] = 200;
rest[12] = 200;
rest[13] = 200;
rest[14] = 450;
rest[15] = 450;
rest[16] = 450;
rest[17] = 450;
sproot[7] = 9;
sproot[8] = 14;
sproot[9] = 10;
sproot[10] = 11;
sproot[11] = 9;
sproot[12] = 8;
sproot[13] = 8;
sproot[14] = 15;
sproot[15] = 8;
sproot[16] = 9;
sproot[17] = 9;
sprest[7] = 1800;
sprest[8] = 3200;
sprest[9] = 800;
sprest[10] = 800;
sprest[11] = 800;
sprest[12] = 1800;
sprest[13] = 1800;
sprest[14] = 800;
sprest[15] = 3200;
sprest[16] = 3200;
sprest[17] = 3200;
size[6] = 23;
size[7] = 23;
if (binLadenSkin) {
skinHead.gotoAndStop("binLaden");
skinNeck.gotoAndStop("binLaden");
skinRightArm.gotoAndStop("binLaden");
skinRightHand.gotoAndStop("binLaden");
skinLeftArm.gotoAndStop("binLaden");
skinLeftHand.gotoAndStop("binLaden");
skinBody.gotoAndStop("binLaden");
skinRightLeg.gotoAndStop("binLaden");
skinRightFoot.gotoAndStop("binLaden");
skinLeftLeg.gotoAndStop("binLaden");
skinLeftFoot.gotoAndStop("binLaden");
}
if (obamaSkin) {
skinHead.gotoAndStop("obama");
skinNeck.gotoAndStop("obama");
skinRightArm.gotoAndStop("obama");
skinRightHand.gotoAndStop("obama");
skinLeftArm.gotoAndStop("obama");
skinLeftHand.gotoAndStop("obama");
skinBody.gotoAndStop("obama");
skinRightLeg.gotoAndStop("obama");
skinRightFoot.gotoAndStop("obama");
skinLeftLeg.gotoAndStop("obama");
skinLeftFoot.gotoAndStop("obama");
}
if (astronautSkin) {
skinHead.gotoAndStop("astronaut");
skinNeck.gotoAndStop("astronaut");
skinRightArm.gotoAndStop("astronaut");
skinRightHand.gotoAndStop("astronaut");
skinLeftArm.gotoAndStop("astronaut");
skinLeftHand.gotoAndStop("astronaut");
skinBody.gotoAndStop("astronaut");
skinRightLeg.gotoAndStop("astronaut");
skinRightFoot.gotoAndStop("astronaut");
skinLeftLeg.gotoAndStop("astronaut");
skinLeftFoot.gotoAndStop("astronaut");
}
if (cowboySkin) {
skinHead.gotoAndStop("cowboy");
skinNeck.gotoAndStop("cowboy");
skinRightArm.gotoAndStop("cowboy");
skinRightHand.gotoAndStop("cowboy");
skinLeftArm.gotoAndStop("cowboy");
skinLeftHand.gotoAndStop("cowboy");
skinBody.gotoAndStop("cowboy");
skinRightLeg.gotoAndStop("cowboy");
skinRightFoot.gotoAndStop("cowboy");
skinLeftLeg.gotoAndStop("cowboy");
skinLeftFoot.gotoAndStop("cowboy");
}
if (bonesSkin) {
skinHead.gotoAndStop("bones");
skinNeck.gotoAndStop("bones");
skinRightArm.gotoAndStop("bones");
skinRightHand.gotoAndStop("bones");
skinLeftArm.gotoAndStop("bones");
skinLeftHand.gotoAndStop("bones");
skinBody.gotoAndStop("bones");
skinRightLeg.gotoAndStop("bones");
skinRightFoot.gotoAndStop("bones");
skinLeftLeg.gotoAndStop("bones");
skinLeftFoot.gotoAndStop("bones");
}
if (gasMaskSkin) {
skinHead.gotoAndStop("gasMask");
skinNeck.gotoAndStop("gasMask");
skinRightArm.gotoAndStop("gasMask");
skinRightHand.gotoAndStop("gasMask");
skinLeftArm.gotoAndStop("gasMask");
skinLeftHand.gotoAndStop("gasMask");
skinBody.gotoAndStop("gasMask");
skinRightLeg.gotoAndStop("gasMask");
skinRightFoot.gotoAndStop("gasMask");
skinLeftLeg.gotoAndStop("gasMask");
skinLeftFoot.gotoAndStop("gasMask");
}
if (tankManSkin) {
skinHead.gotoAndStop("tankMan");
skinNeck.gotoAndStop("tankMan");
skinRightArm.gotoAndStop("tankMan");
skinRightHand.gotoAndStop("tankMan");
skinLeftArm.gotoAndStop("tankMan");
skinLeftHand.gotoAndStop("tankMan");
skinBody.gotoAndStop("tankMan");
skinRightLeg.gotoAndStop("tankMan");
skinRightFoot.gotoAndStop("tankMan");
skinLeftLeg.gotoAndStop("tankMan");
skinLeftFoot.gotoAndStop("tankMan");
}
if (alienSkin) {
skinHead.gotoAndStop("alien");
skinNeck.gotoAndStop("alien");
skinRightArm.gotoAndStop("alien");
skinRightHand.gotoAndStop("alien");
skinLeftArm.gotoAndStop("alien");
skinLeftHand.gotoAndStop("alien");
skinBody.gotoAndStop("alien");
skinRightLeg.gotoAndStop("alien");
skinRightFoot.gotoAndStop("alien");
skinLeftLeg.gotoAndStop("alien");
skinLeftFoot.gotoAndStop("alien");
}
if (pirateSkin) {
skinHead.gotoAndStop("pirate");
skinNeck.gotoAndStop("pirate");
skinRightArm.gotoAndStop("pirate");
skinRightHand.gotoAndStop("pirate");
skinLeftArm.gotoAndStop("pirate");
skinLeftHand.gotoAndStop("pirate");
skinBody.gotoAndStop("pirate");
skinRightLeg.gotoAndStop("pirate");
skinRightFoot.gotoAndStop("pirate");
skinLeftLeg.gotoAndStop("pirate");
skinLeftFoot.gotoAndStop("pirate");
}
if (matrixSkin) {
skinHead.gotoAndStop("matrix");
skinNeck.gotoAndStop("matrix");
skinRightArm.gotoAndStop("matrix");
skinRightHand.gotoAndStop("matrix");
skinLeftArm.gotoAndStop("matrix");
skinLeftHand.gotoAndStop("matrix");
skinBody.gotoAndStop("matrix");
skinRightLeg.gotoAndStop("matrix");
skinRightFoot.gotoAndStop("matrix");
skinLeftLeg.gotoAndStop("matrix");
skinLeftFoot.gotoAndStop("matrix");
}
if (ninjaSkin) {
skinHead.gotoAndStop("ninja");
skinNeck.gotoAndStop("ninja");
skinRightArm.gotoAndStop("ninja");
skinRightHand.gotoAndStop("ninja");
skinLeftArm.gotoAndStop("ninja");
skinLeftHand.gotoAndStop("ninja");
skinBody.gotoAndStop("ninja");
skinRightLeg.gotoAndStop("ninja");
skinRightFoot.gotoAndStop("ninja");
skinLeftLeg.gotoAndStop("ninja");
skinLeftFoot.gotoAndStop("ninja");
}
_root.onEnterFrame = function () {
function bloodexplode(laser) {
_root.limbslost = _root.limbslost + 1;
_root.dodgestreak = 0;
f = 0;
while (f < 50) {
bloodexplosion = _root.attachMovie("bloodexplosion", "bloodexplosion_", _root.getNextHighestDepth(), {_x:laser._x, _y:laser._y});
if (alienSkin) {
bloodexplosion.bloodexplosiongraphic.gotoAndStop(2);
} else {
bloodexplosion.bloodexplosiongraphic.gotoAndStop(1);
}
f++;
}
}
function bloodsplat(laser) {
if (_root.blood_on == true) {
f = 0;
while (f < 15) {
blood = _root.attachMovie("blood", "blood_", _root.getNextHighestDepth(), {_x:laser._x, _y:laser._y});
if (alienSkin) {
blood.bloodGraphic.gotoAndStop(2);
} else {
blood.bloodGraphic.gotoAndStop(1);
}
f++;
}
}
}
function bloodSpew(p1x, p2x, p1y, p2y) {
if (_root.blood_on == true) {
bloodSmall = _root.attachMovie("bloodSmall", "bloodSmall_", _root.getNextHighestDepth(), {_x:p1x, _y:p1y});
newDepth = _root.getNextHighestDepth();
if (skins) {
skinBody.swapDepths(newDepth);
skinRightLeg.swapDepths(newDepth + 1);
skinRightFoot.swapDepths(newDepth + 2);
skinLeftLeg.swapDepths(newDepth + 3);
skinLeftFoot.swapDepths(newDepth + 4);
skinNeck.swapDepths(newDepth + 5);
skinLeftArm.swapDepths(newDepth + 6);
skinLeftHand.swapDepths(newDepth + 7);
skinRightArm.swapDepths(newDepth + 8);
skinRightHand.swapDepths(newDepth + 9);
skinHead.swapDepths(newDepth + 10);
} else {
body.swapDepths(newDepth);
rleg.swapDepths(newDepth + 1);
rfoot.swapDepths(newDepth + 2);
lleg.swapDepths(newDepth + 3);
lfoot.swapDepths(newDepth + 4);
neck.swapDepths(newDepth + 5);
larm.swapDepths(newDepth + 6);
lhand.swapDepths(newDepth + 7);
rarm.swapDepths(newDepth + 8);
rhand.swapDepths(newDepth + 9);
head.swapDepths(newDepth + 10);
}
reddeath.swapDepths(newDepth + 11);
gameover.swapDepths(newDepth + 12);
blackScreen.swapDepths(newDepth + 13);
unlockNotice.swapDepths(newDepth + 14);
abar.swapDepths(newDepth + 15);
if (alienSkin) {
bloodSmall.bloodGraphic.gotoAndStop(2);
} else {
bloodSmall.bloodGraphic.gotoAndStop(1);
}
delta_x = p1x - p2x;
delta_y = p1y - p2y;
ang = (-Math.atan2(delta_x, delta_y)) + 4.71238898038469;
bloodSpeed = (Math.random() * 3) + 2;
rand = (Math.random() * 0.5) - 0.25;
bloodSmall.movex = Math.cos(ang + rand) * bloodSpeed;
bloodSmall.movey = Math.sin(ang + rand) * bloodSpeed;
}
}
function bodyfragment(laser) {
if (_root.blood_on == true) {
f = 0;
while (f < 3) {
fragment = _root.attachMovie("fragment", "fragment_", _root.getNextHighestDepth(), {_x:laser._x, _y:laser._y});
if (skins) {
if (binLadenSkin) {
fragment.graphic.gotoAndStop(2);
}
if (obamaSkin) {
fragment.graphic.gotoAndStop(3);
}
if (astronautSkin) {
fragment.graphic.gotoAndStop(4);
}
if (cowboySkin) {
fragment.graphic.gotoAndStop(5);
}
if (bonesSkin) {
fragment.graphic.gotoAndStop(6);
}
if (gasMaskSkin) {
fragment.graphic.gotoAndStop(7);
}
if (tankManSkin) {
fragment.graphic.gotoAndStop(8);
}
if (alienSkin) {
fragment.graphic.gotoAndStop(9);
}
if (pirateSkin) {
fragment.graphic.gotoAndStop(10);
}
if (matrixSkin) {
fragment.graphic.gotoAndStop(11);
}
if (ninjaSkin) {
fragment.graphic.gotoAndStop(12);
}
}
f++;
}
}
}
function sparkleexplode(powerup) {
s = 0;
while (s < 50) {
sparkle = _root.attachMovie("sparkle", "sparkle_", _root.getNextHighestDepth(), {_x:powerup._x, _y:powerup._y});
s++;
}
}
function regenLimb() {
if (!death) {
addText("Regenerate");
if (_root.alienSkin) {
iteration = 2;
} else {
iteration = 1;
}
var _local2 = 0;
while (_local2 < iteration) {
if (cutOffArray.length > 0) {
if (cutOffArray[0] == 12) {
rightHandCut = false;
createEmptyMovieClip("rhand", 6);
rightHandCutTimer = 0;
rightHandCutInt = 1;
if (skins) {
skinRightHand = attachMovie("skinRightHand", "skinRightHand_", skinRightArm.getDepth() + 1, {_x:310, _y:250});
skinRightHand.gotoAndStop(skinNeck._currentframe);
rhand._visible = false;
}
}
if (cutOffArray[0] == 13) {
leftHandCut = false;
createEmptyMovieClip("lhand", 5);
leftHandCutTimer = 0;
leftHandCutInt = 1;
if (skins) {
skinLeftHand = attachMovie("skinLeftHand", "skinLeftHand_", skinLeftArm.getDepth() + 1, {_x:310, _y:250});
skinLeftHand.gotoAndStop(skinNeck._currentframe);
lhand._visible = false;
}
}
if (cutOffArray[0] == 16) {
leftFootCut = false;
createEmptyMovieClip("lfoot", 10);
leftFootCutTimer = 0;
leftFootCutInt = 1;
if (skins) {
skinLeftFoot = attachMovie("skinLeftFoot", "skinLeftFoot_", skinLeftLeg.getDepth() + 1, {_x:310, _y:250});
skinLeftFoot.gotoAndStop(skinNeck._currentframe);
lfoot._visible = false;
}
}
if (cutOffArray[0] == 17) {
rightFootCut = false;
createEmptyMovieClip("rfoot", 11);
rightFootCutTimer = 0;
rightFootCutInt = 1;
if (skins) {
skinRightFoot = attachMovie("skinRightFoot", "skinRightFoot_", skinRightLeg.getDepth() + 1, {_x:310, _y:250});
skinRightFoot.gotoAndStop(skinNeck._currentframe);
rfoot._visible = false;
}
}
_root.totalLimbsRegen = _root.totalLimbsRegen + 1;
limbslost--;
cutOffArray.splice(0, 1);
}
_local2++;
}
}
}
function bonus() {
if (_root.cowboySkin) {
score = score + (multiplier * 2000);
howMuch = multiplier * 2000;
addText("Bonus " + howMuch);
} else {
score = score + (multiplier * 1000);
howMuch = multiplier * 1000;
addText("Bonus " + howMuch);
}
}
function sounds(laser) {
if (laser._currentframe == 2) {
_root.totalGreenHit = _root.totalGreenHit + 1;
}
if (laser._currentframe == 4) {
_root.totalYellowHit = _root.totalYellowHit + 1;
}
_root.totalLimbsLost = _root.totalLimbsLost + 1;
pan = -100 + ((laser._x * 350) / 700);
rand = Math.floor(Math.random() * 2) + 1;
_root.s2.hitsound.attachSound("hit" + rand);
_root.s2.hitsound.setPan(pan);
_root.s2.hitsound.setVolume(100);
_root.s2.hitsound.start();
}
function sparkleSound(powerup) {
pan = -100 + ((powerup._x * 350) / 700);
_root.s4.reward.setPan(pan);
_root.s4.reward.start();
addText("Multiplier");
}
function shieldSound(powerup) {
_root.a10 = true;
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.soundShield.setPan(pan);
_root.s3.soundShield.start();
_root.numShields++;
addText("Shield");
}
function slowmoSound(powerup) {
_root.a11 = true;
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.soundSlowmo.setPan(pan);
_root.s3.soundSlowmo.start();
_root.numSlowmos++;
addText("Slow Motion");
}
function bonusSound(powerup) {
_root.a13 = true;
pan = -100 + ((powerup._x * 350) / 700);
_root.s4.reward.setPan(pan);
_root.s4.reward.start();
}
function regenSound(powerup) {
_root.a12 = true;
pan = -100 + ((powerup._x * 350) / 700);
_root.s3.rSound.setPan(pan);
_root.s3.rSound.start();
_root.numRegens++;
}
function unlockCharacter(skinType) {
blackScreen = attachMovie("blackScreen", "blackScreen", _root.getNextHighestDepth(), {_x:350, _y:250});
blackScreen._alpha = 0;
unlockNotice = attachMovie("characterUnlocked", "characterUnlocked", _root.getNextHighestDepth(), {_x:-150, _y:250});
unlockNotice.gotoAndStop(skinType);
unlockNotice.timer = 0;
unlocking = true;
newDepth = _root.getNextHighestDepth();
abar.swapDepths(newDepth);
if (skinType == "binLaden") {
binLadenLocked = false;
}
if (skinType == "cowboy") {
cowboyLocked = false;
}
if (skinType == "alien") {
alienLocked = false;
}
if (skinType == "astronaut") {
astronautLocked = false;
}
if (skinType == "matrix") {
matrixLocked = false;
}
if (skinType == "obama") {
obamaLocked = false;
}
if (skinType == "bones") {
bonesLocked = false;
}
if (skinType == "gasMask") {
gasMaskLocked = false;
}
if (skinType == "pirate") {
pirateLocked = false;
}
if (skinType == "ninja") {
ninjaLocked = false;
}
}
function addText(info) {
txtStatus = attachMovie("txtStatus", "txtStatus_" + statuses, _root.getNextHighestDepth(), {_x:5, _y:50});
statuses++;
txtStatus.stat = "+ " + info;
}
function resetX2(x2) {
x2._y = -100;
x2._x = random(675) + 25;
x2.speed = random(6) + 3;
if (_root.death) {
x2.removeMovieClip();
}
}
function resettop(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.lspeed = random(7) + 3;
laser._y = -20;
laser._x = random(675) + 25;
if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
}
if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
}
if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
}
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
}
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.tgo == false) {
_root.llt = _root.llt - 1;
laser.removeMovieClip();
}
}
}
function resetleftside(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.lspeed = random(7) + 3;
laser._y = random(475) + 25;
laser._x = -20;
if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
}
if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
}
if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
}
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
}
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.lsgo == false) {
_root.lls = _root.lls - 1;
laser.removeMovieClip();
}
}
}
function resetbottom(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.lspeed = random(7) + 3;
laser._y = 520;
laser._x = random(675) + 25;
if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
}
if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
}
if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
}
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
}
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.bgo == false) {
_root.lb = _root.lb - 1;
laser.removeMovieClip();
}
}
}
function resetrightside(laser) {
_root.dodgestreak = _root.dodgestreak + 1;
_root.totalLasersDodged = _root.totalLasersDodged + 1;
laser.lspeed = random(7) + 3;
laser._y = random(475) + 25;
laser._x = 720;
if (laser.lspeed >= 3) {
laser.gotoAndStop("yellow");
}
if (laser.lspeed >= 4) {
laser.gotoAndStop("red");
}
if (laser.lspeed >= 5) {
laser.gotoAndStop("purple");
}
if (laser.lspeed >= 6) {
laser.gotoAndStop("blue");
}
if (laser.lspeed >= 7) {
laser.gotoAndStop("green");
}
if (_root.death) {
laser.removeMovieClip();
}
if (_root.timer >= 3) {
if (_root.rsgo == false) {
_root.lrs = _root.lrs - 1;
laser.removeMovieClip();
}
}
}
if (_root.multiplier <= 1) {
_root.mt._visible = false;
}
if (_root.multiplier >= 2) {
_root.mt._visible = true;
}
if (pause == true) {
_root.ps._visible = true;
}
if (pause == false) {
_root.ps._visible = false;
if (!_root.death) {
if (slowmoTimer == 100) {
slowmoGuage = attachMovie("slowmoGuage", "slowmoGuage", _root.getNextHighestDepth(), {_x:350, _y:10});
if (_root.binLadenSkin) {
slowmoGuage.gotoAndStop(2);
}
}
if (slowmoTimer > 0) {
slowmotion = true;
if (_root.binLadenSkin) {
slowmoTimer = slowmoTimer - 0.3;
} else {
slowmoTimer = slowmoTimer - 0.4;
}
} else {
slowmoTimer = 0;
slowmotion = false;
slowmoGuage.removeMovieClip();
}
if (shieldTimer == 100) {
shieldGuage = attachMovie("shieldGuage", "shieldGuage", _root.getNextHighestDepth(), {_x:350, _y:10});
if (_root.bonesSkin) {
shieldGuage.gotoAndStop(2);
}
}
if (shieldTimer > 0) {
shield = true;
if (_root.bonesSkin) {
shieldTimer = shieldTimer - 0.3;
} else {
shieldTimer = shieldTimer - 0.4;
}
} else {
shieldTimer = 0;
shield = false;
shieldGuage.removeMovieClip();
}
if (shield) {
color = 1636599 /* 0x18F8F7 */;
skinHead.filters = new Array(glowFilter);
skinNeck.filters = new Array(glowFilter);
skinLeftArm.filters = new Array(glowFilter);
skinRightArm.filters = new Array(glowFilter);
skinRightHand.filters = new Array(glowFilter);
skinLeftArm.filters = new Array(glowFilter);
skinLeftHand.filters = new Array(glowFilter);
skinBody.filters = new Array(glowFilter);
skinLeftFoot.filters = new Array(glowFilter);
skinLeftLeg.filters = new Array(glowFilter);
skinRightFoot.filters = new Array(glowFilter);
skinRightLeg.filters = new Array(glowFilter);
} else {
color = 10066329 /* 0x999999 */;
skinHead.filters = 0;
skinNeck.filters = 0;
skinLeftArm.filters = 0;
skinRightArm.filters = 0;
skinRightHand.filters = 0;
skinLeftArm.filters = 0;
skinLeftHand.filters = 0;
skinBody.filters = 0;
skinLeftFoot.filters = 0;
skinLeftLeg.filters = 0;
skinRightFoot.filters = 0;
skinRightLeg.filters = 0;
}
_root.score = _root.score + _root.multiplier;
_root.timer = _root.timer + timeSecond;
if (_root.limbslost == 4) {
_root.a26 = true;
}
if (_root.dodgestreak >= 200) {
_root.a27 = true;
}
if (_root.dodgestreak >= 400) {
_root.a23 = true;
_root.gotNinja = true;
}
if (_root.multiplier == 2) {
_root.a30 = true;
}
if (_root.multiplier == 50) {
_root.a31 = true;
}
if (_root.multiplier == 75) {
_root.a22 = true;
_root.gotPirate = true;
}
if (_root.numSlowmos >= 4) {
_root.a18 = true;
_root.gotMatrix = true;
}
if (_root.numShields >= 4) {
_root.a41 = true;
}
if (_root.numRegens >= 4) {
_root.a38 = true;
}
if (_root.multiplier == 100) {
_root.a32 = true;
}
if (_root.score >= 5000) {
_root.a49 = true;
}
if (_root.score >= 20000) {
_root.a14 = true;
}
if (_root.score >= 50000) {
_root.a50 = true;
}
if (_root.score >= 100000) {
_root.a15 = true;
}
if (_root.score >= 250000) {
_root.a51 = true;
}
if (_root.score >= 350000) {
_root.a17 = true;
}
if (_root.score >= 550000) {
_root.a21 = true;
}
if (_root.score >= 600000) {
_root.a52 = true;
}
}
}
if ((_root.timer >= 1) and (_root.timer < 2)) {
_root.startover = false;
}
if ((_root.timer >= 2) and (_root.timer < 3)) {
_root.tgo = true;
if (_root.obamaSkin) {
_root.maxX2 = 2;
} else {
_root.maxX2 = 1;
}
_root.rcount = 1;
}
if ((_root.timer >= 5) and (_root.timer < 6)) {
if (ninjaSkin) {
laserstop = 4;
} else {
laserstop = 5;
}
}
if ((_root.timer >= 8) and (_root.timer < 9)) {
if (ninjaSkin) {
laserstop = 5;
} else {
laserstop = 6;
}
}
if ((_root.timer >= 10) and (_root.timer < 10)) {
if (ninjaSkin) {
laserstop = 6;
} else {
laserstop = 7;
}
}
if ((_root.timer >= 12) and (_root.timer < 13)) {
if (ninjaSkin) {
laserstop = 7;
} else {
laserstop = 8;
}
}
if ((_root.timer >= 14) and (_root.timer < 15)) {
if (ninjaSkin) {
laserstop = 8;
} else {
laserstop = 9;
}
}
if ((_root.timer >= 16) and (_root.timer < 17)) {
if (ninjaSkin) {
laserstop = 9;
} else {
laserstop = 10;
}
}
if ((_root.timer >= 18) and (_root.timer < 19)) {
if (ninjaSkin) {
laserstop = 10;
} else {
laserstop = 11;
}
_root.rank = "D";
_root.rcount = 2;
}
if ((_root.timer >= 37) and (_root.timer < 38)) {
_root.tgo = false;
}
if ((_root.timer >= 40) and (_root.timer < 41)) {
_root.rsgo = true;
_root.rank = "C";
_root.rcount = 3;
}
if ((_root.timer >= 67) and (_root.timer < 68)) {
_root.rsgo = false;
}
if ((_root.timer >= 70) and (_root.timer < 71)) {
_root.bgo = true;
_root.rank = "B";
_root.rcount = 4;
}
if ((_root.timer >= 97) and (_root.timer < 98)) {
_root.bgo = false;
}
if ((_root.timer >= 100) and (_root.timer < 101)) {
_root.lsgo = true;
}
if ((_root.timer >= 127) and (_root.timer < 128)) {
_root.lsgo = false;
}
if ((_root.timer >= 130) and (_root.timer < 131)) {
if (ninjaSkin) {
_root.laserstop = 6;
_root.lasersrightside = 5;
_root.lasersbottom = 6;
_root.lasersleftside = 5;
} else {
_root.laserstop = 7;
_root.lasersrightside = 6;
_root.lasersbottom = 7;
_root.lasersleftside = 6;
}
_root.tgo = true;
_root.rsgo = true;
_root.rank = "A";
_root.rcount = 5;
}
if ((_root.timer >= 157) and (_root.timer < 158)) {
_root.rsgo = false;
_root.tgo = false;
}
if ((_root.timer >= 160) and (_root.timer < 161)) {
_root.tgo = true;
_root.lsgo = true;
}
if ((_root.timer >= 187) and (_root.timer < 188)) {
_root.tgo = false;
_root.lsgo = false;
}
if ((_root.timer >= 190) and (_root.timer < 191)) {
_root.bgo = true;
_root.rsgo = true;
_root.rank = "L";
_root.rcount = 6;
}
if ((_root.timer >= 217) and (_root.timer < 218)) {
_root.bgo = false;
_root.rsgo = false;
}
if ((_root.timer >= 220) and (_root.timer < 221)) {
_root.bgo = true;
_root.lsgo = true;
}
if ((_root.timer >= 247) and (_root.timer < 248)) {
_root.bgo = false;
_root.lsgo = false;
}
if ((_root.timer >= 250) and (_root.timer < 251)) {
if (ninjaSkin) {
_root.laserstop = 6;
_root.lasersrightside = 4;
_root.lasersbottom = 6;
_root.lasersleftside = 4;
} else {
_root.laserstop = 7;
_root.lasersrightside = 5;
_root.lasersbottom = 7;
_root.lasersleftside = 5;
}
_root.bgo = true;
_root.tgo = true;
}
if ((_root.timer >= 277) and (_root.timer < 278)) {
_root.bgo = false;
_root.tgo = false;
}
if ((_root.timer >= 280) and (_root.timer < 281)) {
_root.rsgo = true;
_root.lsgo = true;
}
if ((_root.timer >= 307) and (_root.timer < 308)) {
_root.rsgo = false;
_root.lsgo = false;
}
if ((_root.timer >= 310) and (_root.timer < 311)) {
if (ninjaSkin) {
_root.laserstop = 5;
_root.lasersrightside = 3;
_root.lasersbottom = 5;
_root.lasersleftside = 3;
} else {
_root.laserstop = 6;
_root.lasersleftside = 4;
_root.lasersbottom = 6;
_root.lasersrightside = 4;
}
_root.bgo = true;
_root.rsgo = true;
_root.lsgo = true;
_root.tgo = true;
_root.rank = "M";
_root.rcount = 7;
}
if ((_root.timer >= 330) and (_root.timer < 331)) {
if (ninjaSkin) {
_root.laserstop = 6;
_root.lasersrightside = 4;
_root.lasersbottom = 6;
_root.lasersleftside = 4;
} else {
_root.laserstop = 7;
_root.lasersrightside = 5;
_root.lasersbottom = 7;
_root.lasersleftside = 5;
}
}
if ((_root.timer >= 350) and (_root.timer < 351)) {
if (ninjaSkin) {
_root.laserstop = 7;
_root.lasersrightside = 5;
_root.lasersbottom = 7;
_root.lasersleftside = 5;
} else {
_root.laserstop = 8;
_root.lasersrightside = 6;
_root.lasersbottom = 8;
_root.lasersleftside = 6;
}
}
if ((_root.timer >= 370) and (_root.timer < 371)) {
if (ninjaSkin) {
_root.laserstop = 8;
_root.lasersrightside = 6;
_root.lasersbottom = 8;
_root.lasersleftside = 6;
} else {
_root.laserstop = 9;
_root.lasersrightside = 7;
_root.lasersbottom = 9;
_root.lasersleftside = 7;
}
}
if ((_root.timer >= 390) and (_root.timer < 391)) {
if (ninjaSkin) {
_root.laserstop = 9;
_root.lasersrightside = 7;
_root.lasersbottom = 9;
_root.lasersleftside = 7;
} else {
_root.laserstop = 10;
_root.lasersrightside = 8;
_root.lasersbottom = 10;
_root.lasersleftside = 8;
}
}
if ((_root.timer >= 410) and (_root.timer < 411)) {
if (ninjaSkin) {
_root.laserstop = 10;
_root.lasersrightside = 8;
_root.lasersbottom = 10;
_root.lasersleftside = 8;
} else {
_root.laserstop = 11;
_root.lasersrightside = 9;
_root.lasersbottom = 11;
_root.lasersleftside = 9;
}
}
if ((_root.timer >= 430) and (_root.timer < 431)) {
if (ninjaSkin) {
_root.laserstop = 11;
_root.lasersrightside = 9;
_root.lasersbottom = 11;
_root.lasersleftside = 9;
} else {
_root.laserstop = 12;
_root.lasersrightside = 10;
_root.lasersbottom = 12;
_root.lasersleftside = 10;
}
}
if (_root.death == true) {
if (_root.dr1 == 1) {
_root.reddeath = attachMovie("reddeath", "reddeath", _root.getNextHighestDepth(), {_x:350, _y:250});
_root.reddeath._alpha = 0;
_root.died = _root.died + 1;
savefile.data.died = savefile.data.died + 1;
savefile.flush();
}
if (_root.reddeath._alpha <= 20) {
_root.reddeath._alpha = _root.reddeath._alpha + 1;
if (!mouseMode) {
_global.kongregate.stats.submit("HighScoreKeyboard", _root.score);
} else {
_global.kongregate.stats.submit("HighScoreMouse", _root.score);
}
}
if (_root.dr1 == 20) {
_root.gameover = attachMovie("gameover", "gameover", _root.getNextHighestDepth(), {_x:350, _y:191});
_root.gameover._alpha = 0;
}
if (_root.gameover._alpha <= 100) {
_root.gameover._alpha = _root.gameover._alpha + 1;
}
if (_root.dr1 == 20) {
if (_root.died >= 1) {
_root.a24 = true;
}
if (_root.died >= 20) {
_root.a25 = true;
}
if (_root.died >= 50) {
_root.a20 = true;
unlockBones = true;
}
if (_root.rcount == 1) {
_root.a42 = true;
}
if (_root.rcount == 2) {
_root.a42 = true;
_root.a43 = true;
}
if (_root.rcount == 3) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
}
if (_root.rcount == 4) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
}
if (_root.rcount == 5) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
_root.a46 = true;
_root.a16 = true;
unlockAlien = true;
_global.kongregate.stats.submit("Rank A Achieved", 1);
}
if (_root.rcount == 6) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
_root.a46 = true;
_root.a16 = true;
_root.a47 = true;
unlockAlien = true;
_global.kongregate.stats.submit("Rank L Achieved", 1);
}
if (_root.rcount == 7) {
_root.a42 = true;
_root.a43 = true;
_root.a44 = true;
_root.a45 = true;
_root.a46 = true;
_root.a16 = true;
_root.a47 = true;
_root.a48 = true;
_root.a19 = true;
unlockAlien = true;
unlockObama = true;
_global.kongregate.stats.submit("Rank M Achieved", 1);
}
if (score >= 20000) {
unlockBinLaden = true;
}
if (score >= 100000) {
unlockCowboy = true;
_global.kongregate.stats.submit("Score Over 100,000", 1);
}
if (score >= 350000) {
unlockAstronaut = true;
_global.kongregate.stats.submit("Score Over 350,000", 1);
}
if (score >= 550000) {
unlockGasMask = true;
_global.kongregate.stats.submit("Score Over 550,000", 1);
}
if (gotNinja == true) {
unlockNinja = true;
gotNinja = false;
}
if (gotMatrix == true) {
unlockMatrix = true;
gotMatrix = false;
}
if (gotPirate == true) {
unlockPirate = true;
gotPirate = false;
}
}
if ((unlockBinLaden == true) and (binLadenLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("binLaden");
unlockBinLaden = false;
}
}
if ((unlockCowboy == true) and (cowboyLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("cowboy");
unlockCowboy = false;
}
}
if ((unlockAlien == true) and (alienLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("alien");
unlockAlien = false;
}
}
if ((unlockAstronaut == true) and (astronautLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("astronaut");
unlockAstronaut = false;
}
}
if ((unlockMatrix == true) and (matrixLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("matrix");
unlockMatrix = false;
}
}
if ((unlockObama == true) and (obamaLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("obama");
unlockObama = false;
}
}
if ((unlockBones == true) and (bonesLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("bones");
unlockBones = false;
}
}
if ((unlockGasMask == true) and (gasMaskLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("gasMask");
unlockGasMask = false;
}
}
if ((unlockPirate == true) and (pirateLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("pirate");
unlockPirate = false;
}
}
if ((unlockNinja == true) and (ninjaLocked == true)) {
if (!unlocking) {
numUnlocked++;
unlockCharacter("ninja");
unlockNinja = false;
}
}
_root.limbslost = 0;
_root.slowmotion = false;
_root.shield = false;
shieldGuage.removeMovieClip();
slowmoGuage.removeMovieClip();
_root.pause_menu.removeMovieClip();
speed = 0;
_root.dr1 = _root.dr1 + 1;
_root.pause = false;
}
if (!pause) {
if (_root.slowmotion == true) {
_root.slow = 0.25 * _root.matrixSlow;
} else {
_root.slow = 1 * _root.matrixSlow;
}
}
if (!death) {
if (unp == true) {
if (pressed(SPACE) and (pause == false)) {
attachMovie("pause_menu", "pause_menu", _root.getNextHighestDepth(), {_x:350, _y:137});
unp = false;
pause = true;
_root.a6 = true;
}
}
if (!pressed(SPACE)) {
unp = true;
}
if (unp == true) {
if (pressed(SPACE) and (pause == true)) {
pause_menu.removeMovieClip();
unp = false;
pause = false;
}
}
}
if (!pause) {
for (var _local12 in xn) {
var _local8 = drag * (xn[_local12] - xo[_local12]);
xo[_local12] = xn[_local12] - (_local8 * (1 - slow));
xn[_local12] = xn[_local12] + (_local8 * slow);
_local8 = (drag * (yn[_local12] - yo[_local12])) + gravity;
yo[_local12] = yn[_local12] - (_local8 * (1 - slow));
yn[_local12] = yn[_local12] + (_local8 * slow);
}
if (!mouseMode) {
if (pressed(UP) or pressed(87)) {
yn[8] = yn[8] - speed;
}
if (pressed(DOWN) or pressed(83)) {
yn[8] = yn[8] + speed;
}
if (pressed(LEFT) or pressed(65)) {
xn[8] = xn[8] - speed;
}
if (pressed(RIGHT) or pressed(68)) {
xn[8] = xn[8] + speed;
}
} else if (!death) {
xn[8] = _xmouse;
yn[8] = _ymouse;
}
for (var _local12 in sproot) {
var _local4 = sproot[_local12];
if (_local12 != _local4) {
var _local5 = xn[_local4] - xn[_local12];
var _local6 = yn[_local4] - yn[_local12];
var _local10 = (sprest[_local12] / (((_local5 * _local5) + (_local6 * _local6)) + sprest[_local12])) - 0.5;
_local5 = _local5 * _local10;
_local6 = _local6 * _local10;
var _local7 = (mass[_local12] + mass[_local4]) * flex;
var _local11 = mass[_local12] / _local7;
_local7 = mass[_local4] / _local7;
xf[_local12] = xf[_local12] - (_local7 * _local5);
yf[_local12] = yf[_local12] - (_local7 * _local6);
xf[_local4] = xf[_local4] + (_local11 * _local5);
yf[_local4] = yf[_local4] + (_local11 * _local6);
}
}
for (var _local12 in xf) {
xn[_local12] = xn[_local12] + xf[_local12];
yn[_local12] = yn[_local12] + yf[_local12];
xf[_local12] = 0;
yf[_local12] = 0;
}
for (var _local12 in root) {
var _local4 = root[_local12];
if (_local12 != _local4) {
var _local5 = xn[_local4] - xn[_local12];
var _local6 = yn[_local4] - yn[_local12];
var _local10 = (rest[_local12] / (((_local5 * _local5) + (_local6 * _local6)) + rest[_local12])) - 0.5;
_local5 = _local5 * _local10;
_local6 = _local6 * _local10;
var _local7 = mass[_local12] + mass[_local4];
var _local11 = mass[_local12] / _local7;
_local7 = mass[_local4] / _local7;
xf[_local12] = xf[_local12] - (_local7 * _local5);
yf[_local12] = yf[_local12] - (_local7 * _local6);
xf[_local4] = xf[_local4] + (_local11 * _local5);
yf[_local4] = yf[_local4] + (_local11 * _local6);
}
}
for (var _local12 in xf) {
xn[_local12] = xn[_local12] + xf[_local12];
yn[_local12] = yn[_local12] + yf[_local12];
xf[_local12] = 0;
yf[_local12] = 0;
}
for (var _local12 in xn) {
var _local4 = 0;
while (_local4 < cutOffArray.length) {
if (cutOffArray[_local4] != _local12) {
var _local9 = false;
} else {
var _local9 = true;
break;
}
_local4++;
}
if (!_local9) {
var s = (size[_local12] / 2);
if (xn[_local12] < s) {
xo[_local12] = xn[_local12];
xn[_local12] = s;
yo[_local12] = yn[_local12];
} else if (xn[_local12] > (sw - s)) {
xo[_local12] = xn[_local12];
xn[_local12] = sw - s;
yo[_local12] = yn[_local12];
}
if (yn[_local12] < s) {
yo[_local12] = yn[_local12];
yn[_local12] = s;
xo[_local12] = xn[_local12];
} else if (yn[_local12] > (sh - s)) {
yo[_local12] = yn[_local12];
yn[_local12] = sh - s;
xo[_local12] = xn[_local12];
}
}
}
head.clear();
head.lineStyle(size[7], color);
head.moveTo(xn[7], yn[7]);
head.lineTo(xn[root[7]] + 0.5, yn[root[7]]);
neck.clear();
neck.lineStyle(8, color);
neck.moveTo(xn[8], yn[8]);
neck.lineTo(xn[root[8]] + 0.5, yn[root[8]]);
larm.clear();
larm.lineStyle(8, color);
larm.moveTo(xn[11], yn[11]);
larm.lineTo(xn[root[11]] + 0.5, yn[root[11]]);
rarm.clear();
rarm.lineStyle(8, color);
rarm.moveTo(xn[10], yn[10]);
rarm.lineTo(xn[root[10]] + 0.5, yn[root[10]]);
lhand.clear();
lhand.lineStyle(8, color);
lhand.moveTo(xn[13], yn[13]);
lhand.lineTo(xn[root[13]] + 0.5, yn[root[13]]);
rhand.clear();
rhand.lineStyle(8, color);
rhand.moveTo(xn[12], yn[12]);
rhand.lineTo(xn[root[12]] + 0.5, yn[root[12]]);
body.clear();
body.lineStyle(8, color);
body.moveTo(xn[9], yn[9]);
body.lineTo(xn[root[9]] + 0.5, yn[root[9]]);
lleg.clear();
lleg.lineStyle(8, color);
lleg.moveTo(xn[14], yn[14]);
lleg.lineTo(xn[root[14]] + 0.5, yn[root[14]]);
rleg.clear();
rleg.lineStyle(8, color);
rleg.moveTo(xn[15], yn[15]);
rleg.lineTo(xn[root[15]] + 0.5, yn[root[15]]);
lfoot.clear();
lfoot.lineStyle(8, color);
lfoot.moveTo(xn[16], yn[16]);
lfoot.lineTo(xn[root[16]] + 0.5, yn[root[16]]);
rfoot.clear();
rfoot.lineStyle(8, color);
rfoot.moveTo(xn[17], yn[17]);
rfoot.lineTo(xn[root[17]] + 0.5, yn[root[17]]);
addSkin(xn[8], xn[9], yn[8], yn[9], skinBody);
addSkin(xn[15], xn[17], yn[15], yn[17], skinRightFoot);
addSkin(xn[14], xn[16], yn[14], yn[16], skinLeftFoot);
addSkin(xn[9], xn[14], yn[9], yn[14], skinLeftLeg);
addSkin(xn[9], xn[15], yn[9], yn[15], skinRightLeg);
addSkin(xn[8], xn[11], yn[8], yn[11], skinLeftArm);
addSkin(xn[11], xn[13], yn[11], yn[13], skinLeftHand);
addSkin(xn[8], xn[10], yn[8], yn[10], skinRightArm);
addSkin(xn[10], xn[12], yn[10], yn[12], skinRightHand);
addSkin(xn[7], xn[8], yn[7], yn[8], skinNeck);
addSkin(xn[7], xn[8], yn[7], yn[8], skinHead);
if (headCut) {
headCutTimer = headCutTimer + (1 * headCutInt);
if (headCutInt <= 0.15) {
headCut = false;
}
if (headCutTimer >= 0.5) {
bloodSpew(xn[8], xn[7], yn[8], yn[7]);
headCutInt = headCutInt - 0.003;
headCutTimer = 0;
}
}
if (neckCut) {
headCut = false;
neckCutTimer = neckCutTimer + (1 * neckCutInt);
if (neckCutInt <= 0.15) {
neckLegCut = false;
}
if (neckCutTimer >= 0.5) {
bloodSpew(xn[8], xn[7], yn[8], yn[7]);
neckCutInt = neckCutInt - 0.003;
neckCutTimer = 0;
}
}
if (bodyCut) {
leftLegCut = false;
leftFootCut = false;
rightLegCut = false;
rightFootCut = false;
if (bodyCutInt >= 1) {
cutOffArray.push(17);
cutOffArray.push(16);
cutOffArray.push(15);
cutOffArray.push(14);
cutOffArray.push(9);
}
bodyCutTimer = bodyCutTimer + (1 * bodyCutInt);
if (bodyCutInt <= 0.15) {
bodyCut = false;
}
if (bodyCutTimer >= 0.5) {
bloodSpew(xn[8], xn[9], yn[8], yn[9]);
bodyCutInt = bodyCutInt - 0.003;
bodyCutTimer = 0;
}
}
if (rightFootCut) {
if (rightFootCutInt >= 1) {
cutOffArray.push(17);
}
rightFootCutTimer = rightFootCutTimer + (1 * rightFootCutInt);
if (rightFootCutInt <= 0.15) {
rightFootCut = false;
}
if (rightFootCutTimer >= 0.5) {
bloodSpew(xn[15], xn[17], yn[15], yn[17]);
rightFootCutInt = rightFootCutInt - 0.003;
rightFootCutTimer = 0;
}
}
if (leftFootCut) {
if (leftFootCutInt >= 1) {
cutOffArray.push(16);
}
leftFootCutTimer = leftFootCutTimer + (1 * leftFootCutInt);
if (leftFootCutInt <= 0.15) {
leftFootCut = false;
}
if (leftFootCutTimer >= 0.5) {
bloodSpew(xn[14], xn[16], yn[14], yn[16]);
leftFootCutInt = leftFootCutInt - 0.003;
leftFootCutTimer = 0;
}
}
if (leftLegCut) {
leftFootCut = false;
if (leftLegCutInt >= 1) {
cutOffArray.push(16);
cutOffArray.push(14);
}
leftLegCutTimer = leftLegCutTimer + (1 * leftLegCutInt);
if (leftLegCutInt <= 0.15) {
leftLegCut = false;
}
if (leftLegCutTimer >= 0.5) {
bloodSpew(xn[9], xn[14], yn[9], yn[14]);
leftLegCutInt = leftLegCutInt - 0.003;
leftLegCutTimer = 0;
}
}
if (rightLegCut) {
rightFootCut = false;
if (rightLegCutInt >= 1) {
cutOffArray.push(17);
cutOffArray.push(15);
}
rightLegCutTimer = rightLegCutTimer + (1 * rightLegCutInt);
if (rightLegCutInt <= 0.15) {
rightLegCut = false;
}
if (rightLegCutTimer >= 0.5) {
bloodSpew(xn[9], xn[15], yn[9], yn[15]);
rightLegCutInt = rightLegCutInt - 0.003;
rightLegCutTimer = 0;
}
}
if (rightHandCut) {
if (rightHandCutInt >= 1) {
cutOffArray.push(12);
}
rightHandCutTimer = rightHandCutTimer + (1 * rightHandCutInt);
if (rightHandCutInt <= 0.15) {
rightHandCut = false;
}
if (rightHandCutTimer >= 0.5) {
bloodSpew(xn[10], xn[12], yn[10], yn[12]);
rightHandCutInt = rightHandCutInt - 0.003;
rightHandCutTimer = 0;
}
}
if (leftHandCut) {
if (leftHandCutInt >= 1) {
cutOffArray.push(13);
}
leftHandCutTimer = leftHandCutTimer + (1 * leftHandCutInt);
if (leftHandCutInt <= 0.15) {
leftHandCut = false;
}
if (leftHandCutTimer >= 0.5) {
bloodSpew(xn[11], xn[13], yn[11], yn[13]);
leftHandCutInt = leftHandCutInt - 0.003;
leftHandCutTimer = 0;
}
}
if (leftArmCut) {
leftHandCut = false;
if (leftHandCutInt >= 1) {
cutOffArray.push(13);
cutOffArray.push(11);
}
leftArmCutTimer = leftArmCutTimer + (1 * leftArmCutInt);
if (leftArmCutInt <= 0.15) {
leftArmCut = false;
}
if (leftArmCutTimer >= 0.5) {
bloodSpew(xn[8], xn[11], yn[8], yn[11]);
leftArmCutInt = leftArmCutInt - 0.003;
leftArmCutTimer = 0;
}
}
if (rightArmCut) {
rightHandCut = false;
if (neckCutInt >= 1) {
cutOffArray.push(12);
cutOffArray.push(10);
}
rightArmCutTimer = rightArmCutTimer + (1 * rightArmCutInt);
if (rightArmCutInt <= 0.15) {
rightArmCut = false;
}
if (rightArmCutTimer >= 0.5) {
bloodSpew(xn[8], xn[10], yn[8], yn[10]);
rightArmCutInt = rightArmCutInt - 0.003;
rightArmCutTimer = 0;
}
}
}
unlockNotice.onEnterFrame = function () {
if ((this._x >= 350) and (this.timer <= 2)) {
this._x = 350;
this.timer = this.timer + _root.timeSecond;
blackScreen._alpha = 70;
}
if (this._x < 350) {
this._x = this._x + 50;
blackScreen._alpha = blackScreen._alpha + 7;
}
if ((this._x <= 850) and (this.timer > 2)) {
this._x = this._x + 50;
blackScreen._alpha = blackScreen._alpha - 7;
}
if (this._x > 850) {
blackScreen.removeMovieClip();
this.removeMovieClip();
unlocking = false;
}
};
txtStatus.onEnterFrame = function () {
if (death == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y - 0.5;
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
if (_root.numX2 < _root.maxX2) {
numX2++;
x2 = _root.attachMovie("x2", "x2_" + numX2, _root.getNextHighestDepth());
resetX2(_root.x2);
}
x2.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._y = this._y + (this.speed * _root.slow);
if (this._y > 515) {
resetX2(this);
}
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.neck)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.larm)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rarm)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lhand)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rhand)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.body)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lleg)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rleg)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.lfoot)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
if (this.hitTest(_root.rfoot)) {
sparkleexplode(this);
_root.multiplier = _root.multiplier + 1;
sparkleSound(this);
resetX2(this);
}
}
}
};
if ((!death) and (!pause)) {
if (powerupTimer > powerupInt) {
powerup = attachMovie("powerup", "powerup", _root.getNextHighestDepth());
powerup._x = (Math.random() * 650) + 25;
powerup._y = -10;
powerup.speed = random(5) + 3;
powerup.shieldPowerup = false;
powerup.slowmoPowerup = false;
powerup.regenPowerup = false;
powerup.bonusPowerup = false;
powerup.powerupType = random(4) + 1;
if (_root.noPowerup == powerup.powerupType) {
if (noPowerup == 4) {
powerup.powerupType--;
} else {
powerup.powerupType++;
}
}
_root.noPowerup = powerup.powerupType;
if (powerup.powerupType == 1) {
powerup.gotoAndStop("bonus");
powerup.bonusPowerup = true;
}
if (powerup.powerupType == 2) {
powerup.gotoAndStop("slowmo");
powerup.slowmoPowerup = true;
}
if (powerup.powerupType == 3) {
powerup.gotoAndStop("shield");
powerup.shieldPowerup = true;
}
if (powerup.powerupType == 4) {
powerup.gotoAndStop("regen");
powerup.regenPowerup = true;
}
powerupInt = (Math.random() * 17) + 13;
powerupTimer = 0;
} else {
powerupTimer = powerupTimer + 0.0285714285714286;
}
}
powerup.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._y = this._y + (this.speed * _root.slow);
if (this._y > 515) {
this.removeMovieClip();
}
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.neck)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.larm)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rarm)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lhand)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rhand)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.body)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lleg)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rleg)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.lfoot)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
if (this.hitTest(_root.rfoot)) {
if (this.shieldPowerup) {
shieldTimer = 100;
shieldSound(this);
}
if (this.slowmoPowerup) {
slowmoTimer = 100;
slowmoSound(this);
}
if (this.regenPowerup) {
regenLimb();
regenSound(this);
}
if (this.bonusPowerup) {
bonus();
bonusSound(this);
}
sparkleexplode(this);
this.removeMovieClip();
}
}
}
};
if (_root.tgo == true) {
if (_root.llt <= _root.laserstop) {
llt++;
lasertop = _root.attachMovie("laser", "laser_" + llt, _root.getNextHighestDepth());
resettop(_root.lasertop);
}
}
_root.lasertop.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y + (this.lspeed * _root.slow);
if (this._y >= 520) {
resettop(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinNeck.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftLeg.removeMovieClip();
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resettop(this);
rightFootCut = true;
}
}
}
}
};
if (_root.lsgo == true) {
if (_root.lls <= _root.lasersleftside) {
lls++;
laserleftside = _root.attachMovie("laser", ("laser_" + lls) + llt, _root.getNextHighestDepth());
resetleftside(_root.laserleftside);
}
}
_root.laserleftside.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._x = this._x + (this.lspeed * _root.slow);
this._rotation = 90;
if (this._x >= 720) {
resetleftside(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
skinNeck.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.larm.removeMovieClip(this);
_root.lhand.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetleftside(this);
rightFootCut = true;
}
}
}
}
};
if (_root.bgo == true) {
if (_root.lb <= _root.lasersbottom) {
lb++;
laserbottom = _root.attachMovie("laser", (("laser_" + lb) + lls) + llt, _root.getNextHighestDepth());
resetbottom(_root.laserbottom);
}
}
_root.laserbottom.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._y = this._y - (this.lspeed * _root.slow);
if (this._y <= -20) {
resetbottom(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip();
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
skinNeck.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.lhand.removeMovieClip(this);
_root.larm.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetbottom(this);
rightFootCut = true;
}
}
}
}
};
if (_root.rsgo == true) {
if (_root.lrs <= _root.lasersrightside) {
lrs++;
laserrightside = _root.attachMovie("laser", ((("laser_" + lrs) + llt) + lls) + lb, _root.getNextHighestDepth());
resetrightside(_root.laserrightside);
}
}
_root.laserrightside.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!pause) {
this._x = this._x - (this.lspeed * _root.slow);
this._rotation = 90;
if (this._x <= -20) {
resetrightside(this);
}
if (!_root.shield) {
this.distx = Math.abs(xn[8] - this._x);
this.disty = Math.abs(yn[8] - this._y);
if ((this.distx <= 100) and (this.disty <= 100)) {
if (this.hitTest(_root.head)) {
_root.death = true;
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
headCut = true;
}
if (this.hitTest(_root.neck)) {
_root.death = true;
_root.neck.removeMovieClip(this);
_root.head.removeMovieClip(this);
skinHead.removeMovieClip();
skinNeck.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
neckCut = true;
}
if (this.hitTest(_root.larm)) {
_root.death = true;
_root.lhand.removeMovieClip(this);
_root.larm.removeMovieClip(this);
skinLeftArm.removeMovieClip();
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftArmCut = true;
}
if (this.hitTest(_root.rarm)) {
_root.death = true;
_root.rarm.removeMovieClip(this);
_root.rhand.removeMovieClip(this);
skinRightArm.removeMovieClip();
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightArmCut = true;
}
if (this.hitTest(_root.lhand)) {
_root.lhand.removeMovieClip(this);
skinLeftHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftHandCut = true;
}
if (this.hitTest(_root.rhand)) {
_root.rhand.removeMovieClip(this);
skinRightHand.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightHandCut = true;
}
if (this.hitTest(_root.body)) {
_root.death = true;
_root.body.removeMovieClip(this);
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinBody.removeMovieClip();
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
bodyCut = true;
}
if (this.hitTest(_root.lleg)) {
_root.death = true;
_root.lfoot.removeMovieClip(this);
_root.lleg.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
skinLeftLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftLegCut = true;
}
if (this.hitTest(_root.rleg)) {
_root.death = true;
_root.rfoot.removeMovieClip(this);
_root.rleg.removeMovieClip(this);
skinRightFoot.removeMovieClip();
skinRightLeg.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightLegCut = true;
}
if (this.hitTest(_root.lfoot)) {
_root.lfoot.removeMovieClip(this);
skinLeftFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
leftFootCut = true;
}
if (this.hitTest(_root.rfoot)) {
_root.rfoot.removeMovieClip(this);
skinRightFoot.removeMovieClip();
bloodexplode(this);
bloodsplat(this);
bodyfragment(this);
sounds(this);
resetrightside(this);
rightFootCut = true;
}
}
}
}
};
};
Instance of Symbol 285 MovieClip "s3" in Frame 17
onClipEvent (load) {
soundShield = new Sound(this);
soundShield.attachSound("soundShield");
soundShield.setVolume(100);
soundSlowmo = new Sound(this);
soundSlowmo.attachSound("soundSlowmo");
soundSlowmo.setVolume(100);
reward = new Sound(this);
reward.attachSound("reward");
reward.setVolume(100);
}
Symbol 22 MovieClip [shieldGuage] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 22 MovieClip [shieldGuage] Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.shieldTimer;
}
Symbol 22 MovieClip [shieldGuage] Frame 2
stop();
Instance of Symbol 21 MovieClip in Symbol 22 MovieClip [shieldGuage] Frame 2
onClipEvent (enterFrame) {
this._xscale = _root.shieldTimer;
}
Symbol 24 MovieClip [sparkle] Frame 1
movex = (Math.random() * 30) - 15;
movey = (Math.random() * 30) - 15;
this._width = (Math.random() * 5) + 3;
this._height = this._width;
this._alpha = random(75) + 25;
this.onEnterFrame = function () {
if (!_root.pause) {
this._x = this._x + (movex * _root.slow);
this._y = this._y + (movey * _root.slow);
this._alpha = this._alpha - (3 * _root.slow);
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
if (this._x <= (0 + (this._width / 2))) {
this.removeMovieClip(this);
}
if (this._x >= (700 - (this._width / 2))) {
this.removeMovieClip(this);
}
if (this._y >= (500 - (this._width / 2))) {
this.removeMovieClip(this);
}
if (this._y <= (0 + (this._width / 2))) {
this.removeMovieClip(this);
}
}
};
Symbol 30 MovieClip Frame 1
if (_root.mute == false) {
gotoAndStop (2);
}
if (_root.mute == true) {
gotoAndStop (3);
}
Symbol 30 MovieClip Frame 2
stop();
_root.mute = false;
Symbol 30 MovieClip Frame 3
stop();
_root.mute = true;
_root.a7 = true;
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [pause_menu] Frame 1
onClipEvent (load) {
this.pg.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.gotoAndStop(2);
}
if (_root.pause == false) {
this.gotoAndStop(1);
}
if (_root.mute == true) {
_root.bgs.bgm.setVolume(0);
}
if (_root.mute == false) {
_root.bgs.bgm.setVolume(100);
}
}
on (release) {
if (_root.mute == false) {
this.pg.gotoAndStop(3);
}
if (_root.mute == true) {
this.pg.gotoAndStop(2);
}
}
Symbol 41 Button
on (release) {
if (!_root.unlocking) {
_root.gotoAndStop("tryagain");
}
}
Symbol 43 Button
on (release) {
if (!_root.unlocking) {
_root.gameover.gotoAndStop(2);
}
}
Symbol 45 Button
on (release) {
if (!_root.unlocking) {
_root.gotoAndStop("pre");
}
}
Symbol 48 Button
on (release) {
_root.gotoAndStop("pre");
mochi.as2.MochiScores.closeLeaderboard();
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 52 MovieClip [gameover] Frame 1
stop();
Symbol 52 MovieClip [gameover] Frame 2
stop();
_root.reddeath.removeMovieClip();
if (!_root.mouseMode) {
highscoresTitle.gotoAndStop(1);
var o = {n:[3, 14, 2, 14, 6, 13, 13, 9, 13, 11, 1, 7, 12, 11, 4, 6], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, res:"700x500", score:_root.score, onClose:function () {
_root.gotoAndStop("pre");
}});
} else {
highscoresTitle.gotoAndStop(2);
var o = {n:[2, 5, 9, 7, 9, 1, 15, 10, 11, 7, 12, 0, 12, 3, 13, 2], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.score, onClose:function () {
_root.gotoAndStop("pre");
}});
}
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 56 MovieClip [bloodexplosion] Frame 1
movex = (Math.random() * 10) - 5;
movey = (Math.random() * 10) - 5;
this._width = (Math.random() * 5) + 3;
this._height = this._width;
this.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!_root.pause) {
this._x = this._x + (movex * _root.slow);
this._y = this._y + (movey * _root.slow);
this._alpha = this._alpha - (10 * _root.slow);
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
if (this._x <= (0 + (this._width / 2))) {
this._x = 0 + (this._width / 2);
if (movey <= 0) {
movey = 0;
}
}
if (this._y >= (500 - (this._width / 2))) {
this._y = 500 - (this._width / 2);
}
if (this._x >= (700 - (this._width / 2))) {
this._x = 700 - (this._width / 2);
if (movey <= 0) {
movey = 0;
}
}
}
};
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 67 MovieClip Frame 5
stop();
Symbol 67 MovieClip Frame 6
stop();
Symbol 67 MovieClip Frame 7
stop();
Symbol 67 MovieClip Frame 8
stop();
Symbol 67 MovieClip Frame 9
stop();
Symbol 67 MovieClip Frame 10
stop();
Symbol 67 MovieClip Frame 11
stop();
Symbol 67 MovieClip Frame 12
stop();
Symbol 68 MovieClip [fragment] Frame 1
stop();
movex = (Math.random() * 10) - 5;
movey = (Math.random() * 10) - 5;
this._width = (Math.random() * 5) + 2;
this._height = this._width;
if (_root.astronautSkin) {
gravity = 0.04;
} else {
gravity = 0.3;
}
bounce = 0.2;
this.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (!this.stopMoving) {
if (!_root.pause) {
if ((((movex <= 0.1) and (movex >= -0.1)) and ((movey <= 0.1) and (movey >= -0.1))) and (this._y >= (498 - (this._width / 2)))) {
stopMoving = true;
}
this._x = this._x + (((movex = movex * 0.99)) * _root.slow);
this._y = this._y + (movey * _root.slow);
movey = movey + gravity;
if (this._x <= (0 + (this._width / 2))) {
this._x = 0 + (this._width / 2);
movex = movex * (-bounce);
}
if (this._y >= (500 - (this._width / 2))) {
this._y = 500 - (this._width / 2);
movey = movey * (-bounce);
}
if (this._x >= (700 - (this._width / 2))) {
this._x = 700 - (this._width / 2);
movex = movex * (-bounce);
}
}
}
};
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 72 MovieClip [blood] Frame 1
movex = (Math.random() * 10) - 5;
movey = (Math.random() * 10) - 5;
this._width = (Math.random() * 5) + 3;
this._height = this._width;
if (_root.astronautSkin) {
gravity = 0.04;
} else {
gravity = 0.3;
}
drag = 0.2;
this.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip();
}
if (this.bsplat and this.dragging) {
if (((movex <= 0.1) and (movex >= -0.1)) and ((this._width > 30) and (this._height < 3))) {
stopMoving = true;
}
}
if (!stopMoving) {
if (!_root.pause) {
if (!this.dragging) {
this._x = this._x + (((movex = movex * 0.99)) * _root.slow);
this._y = this._y + (movey * _root.slow);
movey = movey + (gravity * _root.slow);
} else {
this._x = this._x + (((movex = movex * 0.96)) * _root.slow);
this._y = this._y + ((movey * drag) * _root.slow);
movey = movey + (gravity * _root.slow);
}
if (this._x <= (0 + (this._width / 2))) {
this._x = 0 + (this._width / 2);
if (!this.bsplat) {
if (this._height <= 30) {
this._height = this._height + 0.5;
}
if (this._width >= 3) {
this._width = this._width - 0.1;
}
}
if (movey <= 0) {
movey = 0;
}
this.dragging = true;
}
if (this._x >= (700 - (this._width / 2))) {
this._x = 700 - (this._width / 2);
if (!this.bsplat) {
if (this._height <= 30) {
this._height = this._height + 0.5;
}
if (this._width >= 3) {
this._width = this._width - 0.1;
}
}
if (movey <= 0) {
movey = 0;
}
this.dragging = true;
}
if (this._y >= (500 - (this._height / 2))) {
this._y = 500 - (this._height / 2);
if (this._height <= 10) {
if (this._width <= 30) {
this._width = this._width + 0.5;
}
}
if (this._height >= 3) {
this._height = this._height - 0.1;
}
if (this._height >= 10) {
this._height = this._height - 1;
}
this.dragging = true;
this.bsplat = true;
}
}
}
};
Symbol 84 MovieClip [skinRightFoot] Frame 1
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 2
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 3
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 4
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 5
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 6
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 7
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 8
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 9
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 10
stop();
Symbol 84 MovieClip [skinRightFoot] Frame 11
stop();
Symbol 96 MovieClip [skinHead] Frame 1
stop();
Symbol 96 MovieClip [skinHead] Frame 2
stop();
Symbol 96 MovieClip [skinHead] Frame 3
stop();
Symbol 96 MovieClip [skinHead] Frame 4
stop();
Symbol 96 MovieClip [skinHead] Frame 5
stop();
Symbol 96 MovieClip [skinHead] Frame 6
stop();
Symbol 96 MovieClip [skinHead] Frame 7
stop();
Symbol 96 MovieClip [skinHead] Frame 8
stop();
Symbol 96 MovieClip [skinHead] Frame 9
stop();
Symbol 96 MovieClip [skinHead] Frame 10
stop();
Symbol 96 MovieClip [skinHead] Frame 11
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 1
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 2
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 3
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 4
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 5
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 6
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 7
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 8
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 9
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 10
stop();
Symbol 107 MovieClip [skinRightLeg] Frame 11
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 1
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 2
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 3
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 4
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 5
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 6
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 7
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 8
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 9
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 10
stop();
Symbol 118 MovieClip [skinLeftLeg] Frame 11
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 1
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 2
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 3
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 4
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 5
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 6
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 7
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 8
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 9
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 10
stop();
Symbol 130 MovieClip [skinLeftFoot] Frame 11
stop();
Symbol 142 MovieClip [skinBody] Frame 1
stop();
Symbol 142 MovieClip [skinBody] Frame 2
stop();
Symbol 142 MovieClip [skinBody] Frame 3
stop();
Symbol 142 MovieClip [skinBody] Frame 4
stop();
Symbol 142 MovieClip [skinBody] Frame 5
stop();
Symbol 142 MovieClip [skinBody] Frame 6
stop();
Symbol 142 MovieClip [skinBody] Frame 7
stop();
Symbol 142 MovieClip [skinBody] Frame 8
stop();
Symbol 142 MovieClip [skinBody] Frame 9
stop();
Symbol 142 MovieClip [skinBody] Frame 10
stop();
Symbol 142 MovieClip [skinBody] Frame 11
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 1
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 2
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 3
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 4
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 5
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 6
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 7
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 8
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 9
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 10
stop();
Symbol 152 MovieClip [skinLeftArm] Frame 11
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 1
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 2
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 3
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 4
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 5
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 6
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 7
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 8
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 9
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 10
stop();
Symbol 164 MovieClip [skinLeftHand] Frame 11
stop();
Symbol 168 MovieClip [skinRightArm] Frame 1
stop();
Symbol 168 MovieClip [skinRightArm] Frame 2
stop();
Symbol 168 MovieClip [skinRightArm] Frame 3
stop();
Symbol 168 MovieClip [skinRightArm] Frame 4
stop();
Symbol 168 MovieClip [skinRightArm] Frame 5
stop();
Symbol 168 MovieClip [skinRightArm] Frame 6
stop();
Symbol 168 MovieClip [skinRightArm] Frame 7
stop();
Symbol 168 MovieClip [skinRightArm] Frame 8
stop();
Symbol 168 MovieClip [skinRightArm] Frame 9
stop();
Symbol 168 MovieClip [skinRightArm] Frame 10
stop();
Symbol 168 MovieClip [skinRightArm] Frame 11
stop();
Symbol 179 MovieClip [skinRightHand] Frame 1
stop();
Symbol 179 MovieClip [skinRightHand] Frame 2
stop();
Symbol 179 MovieClip [skinRightHand] Frame 3
stop();
Symbol 179 MovieClip [skinRightHand] Frame 4
stop();
Symbol 179 MovieClip [skinRightHand] Frame 5
stop();
Symbol 179 MovieClip [skinRightHand] Frame 6
stop();
Symbol 179 MovieClip [skinRightHand] Frame 7
stop();
Symbol 179 MovieClip [skinRightHand] Frame 8
stop();
Symbol 179 MovieClip [skinRightHand] Frame 9
stop();
Symbol 179 MovieClip [skinRightHand] Frame 10
stop();
Symbol 179 MovieClip [skinRightHand] Frame 11
stop();
Symbol 191 MovieClip [skinNeck] Frame 1
stop();
Symbol 191 MovieClip [skinNeck] Frame 2
stop();
Symbol 191 MovieClip [skinNeck] Frame 3
stop();
Symbol 191 MovieClip [skinNeck] Frame 4
stop();
Symbol 191 MovieClip [skinNeck] Frame 5
stop();
Symbol 191 MovieClip [skinNeck] Frame 6
stop();
Symbol 191 MovieClip [skinNeck] Frame 7
stop();
Symbol 191 MovieClip [skinNeck] Frame 8
stop();
Symbol 191 MovieClip [skinNeck] Frame 9
stop();
Symbol 191 MovieClip [skinNeck] Frame 10
stop();
Symbol 191 MovieClip [skinNeck] Frame 11
stop();
Symbol 192 MovieClip [bloodSmall] Frame 1
if (_root.astronautSkin) {
gravity = 0.04;
} else {
gravity = 0.3;
}
drag = 0.2;
this._width = (Math.random() * 3) + 3;
this._height = this._width;
this._alpha = (Math.random() * 50) + 50;
this.onEnterFrame = function () {
if (_root.startover == true) {
this.removeMovieClip(this);
}
if (!_root.pause) {
if (!this.dragging) {
this._x = this._x + (((movex = movex * 0.99)) * _root.slow);
this._y = this._y + (movey * _root.slow);
movey = movey + (gravity * _root.slow);
} else {
this._x = this._x + (((movex = movex * 0.96)) * _root.slow);
this._y = this._y + ((movey * drag) * _root.slow);
movey = movey + (gravity * _root.slow);
}
this._alpha = this._alpha - (2 * _root.slow);
if (this._alpha <= 0) {
this.removeMovieClip();
}
if (this._x <= (0 + (this._width / 2))) {
this._x = 0 + (this._width / 2);
if (movey <= 0) {
movey = 0;
}
this.dragging = true;
}
if (this._x >= (700 - (this._width / 2))) {
this._x = 700 - (this._width / 2);
if (movey <= 0) {
movey = 0;
}
this.dragging = true;
}
if (this._y >= (500 - (this._height / 2))) {
this._y = 500 - (this._height / 2);
this.dragging = true;
}
}
};
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = (_rotation - 1);
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = (_rotation - 3);
}
}
Symbol 217 MovieClip [powerup] Frame 1
stop();
Symbol 217 MovieClip [powerup] Frame 2
stop();
Symbol 217 MovieClip [powerup] Frame 3
stop();
Symbol 217 MovieClip [powerup] Frame 4
stop();
Symbol 219 MovieClip [slowmoGuage] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 219 MovieClip [slowmoGuage] Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.slowmoTimer;
}
Symbol 219 MovieClip [slowmoGuage] Frame 2
stop();
Instance of Symbol 21 MovieClip in Symbol 219 MovieClip [slowmoGuage] Frame 2
onClipEvent (enterFrame) {
this._xscale = _root.slowmoTimer;
}
Symbol 260 MovieClip [characterUnlocked] Frame 1
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 2
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 3
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 4
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 5
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 6
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 7
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 8
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 9
stop();
Symbol 260 MovieClip [characterUnlocked] Frame 10
stop();
Symbol 268 MovieClip [laser] Frame 1
stop();
Symbol 268 MovieClip [laser] Frame 2
stop();
Symbol 268 MovieClip [laser] Frame 3
stop();
Symbol 268 MovieClip [laser] Frame 4
stop();
Symbol 268 MovieClip [laser] Frame 5
stop();
Symbol 622 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
options.clip = mochi.as2.MochiServices.clip;
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 623 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 624 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.2 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "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);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 625 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 626 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(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);
}
static function showVideo(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);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 627 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 628 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 629 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 281 MovieClip Frame 145
_root.gotoAndStop("pre");
Symbol 292 MovieClip Frame 1
if (_root.blood_on == false) {
gotoAndStop (3);
}
if (_root.blood_on == true) {
gotoAndStop (2);
}
Symbol 292 MovieClip Frame 2
stop();
_root.blood_on = true;
Symbol 292 MovieClip Frame 3
stop();
_root.blood_on = false;
_root.a8 = true;
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Instance of Symbol 292 MovieClip "po" in Symbol 293 MovieClip Frame 2
on (release) {
if (_root.particles_on == true) {
this.gotoAndStop(1);
}
if (_root.particles_on == false) {
this.gotoAndStop(2);
}
}
Symbol 300 MovieClip Frame 34
if (coinsActivated) {
_root.gotoAndStop("menu");
} else {
_root.gotoAndStop("menuNoCoins");
}
unloadMovie (this);
Symbol 305 Button
on (release) {
_root.mouseMode = true;
_root.gotoAndStop("chooseRagdoll");
}
Symbol 309 Button
on (release) {
_root.mouseMode = false;
_root.gotoAndStop("chooseRagdoll");
}
Symbol 313 Button
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 317 Button
on (release) {
_root.gotoAndStop("achieved");
}
Symbol 321 Button
on (release) {
_root.gotoAndStop("highscores");
}
Symbol 325 Button
on (release) {
_root.gotoAndStop("credits");
}
Symbol 329 Button
on (release) {
mochi.as2.MochiCoins.showStore({tags:[_root.showBinLaden, _root.showCowboy, _root.showAlien, _root.showAstronaut, _root.showMatrix, _root.showObama, _root.showBones, _root.showGasMask, _root.showPirate, _root.showNinja, _root.showUnlockAll]});
}
Symbol 333 Button
on (release) {
_root.a4 = true;
getURL ("http://stupidflashgames101.webs.com/", "_blank");
}
Symbol 334 Button
on (release) {
mochi.as2.MochiCoins.showStore({tags:[_root.showBinLaden, _root.showCowboy, _root.showAlien, _root.showAstronaut, _root.showMatrix, _root.showObama, _root.showBones, _root.showGasMask, _root.showPirate, _root.showNinja, _root.showUnlockAll]});
}
Symbol 335 MovieClip Frame 23
stop();
Symbol 338 Button
on (release) {
_root.a4 = true;
getURL ("http://stupidflashgames101.webs.com/", "_blank");
}
Symbol 339 MovieClip Frame 21
stop();
Symbol 343 Button
on (release) {
mochi.as2.MochiScores.closeLeaderboard();
_root.gotoAndStop("pre");
}
Symbol 344 MovieClip Frame 8
stop();
Symbol 349 Button
on (release) {
getURL ("http://www.facebook.com/home.php?ref=home#/pages/Stupid-Flash-Games/337124255493?ref=search&sid=1445930779.2185803851..1", "_blank");
_root.a9 = true;
}
Symbol 352 Button
on (release) {
getURL ("http://www.newgrounds.com/audio/listen/245921", "_blank");
}
Symbol 359 Button
on (release) {
_root.gotoAndStop("clearData");
}
Symbol 363 Button
on (release) {
_root.achievementGroup.gotoAndPlay(2);
_root.txtPageNumber.gotoAndStop(2);
}
Symbol 364 MovieClip Frame 43
gotoAndPlay (21);
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 2
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 2
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 2
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 2
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 2
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 2
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 2
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 2
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 2
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
stop();
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 2
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
stop();
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 2
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 2
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 2
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
stop();
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 2
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 2
stop();
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 2
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 2
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
stop();
Symbol 455 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 2
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 2
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 2
stop();
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 2
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
stop();
Symbol 477 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
stop();
Symbol 481 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 2
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 2
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Instance of Symbol 369 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect A Multiplier Powerup";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.cha_ching == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 371 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Pause The Game";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.nap_time == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 373 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Mute The Music";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.silence_is_golden == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 375 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "View The Credits Page";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.researcher == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 377 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "View The Instructions Page";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.need_help == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 379 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "View The Highscores Page";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.ranks == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 381 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Click On The Facebook Fan Page Link";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.be_a_fan == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 383 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "View The Achievements Page";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.boastful == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 385 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Click The More Games Link";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.got_games == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 387 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect A Shield Powerup";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.cant_touch_this == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 389 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect A Slow Motion Powerup";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.slow_rider == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 391 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Die Once";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.just_practicing == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 393 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 5000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.noob == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 395 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 50,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.beginner == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 397 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 250,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.intermediate == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 399 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 600,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.advanced == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 401 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank M";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.master == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 403 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Turn Off The Blood Effects";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.queasy == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 405 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Die 20 Times";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.slaughter_house == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 407 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Lose All Your Limbs";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.weight_loss == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 409 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Dodge 200 Lasers Without Getting Hit";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.no_hit_wonder == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 411 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Dodge 400 Lasers Without Getting Hit";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.ninja_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 413 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Get A x50 Multiplier";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.collector == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 415 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Get A x100 Multiplier";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.hundred_times == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank F Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.fail == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 419 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank D Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.just_passed == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 421 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank C Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.average == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 423 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank B Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.better == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 425 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank A Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.aced == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 427 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank L Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.legend == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 429 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Play For Five Minutes";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.test_run == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 431 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Play For Twenty Minutes";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.time_waster == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 433 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Play For One Hour";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.sorta_fun == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 435 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Play For Two Hours";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.i_like_this == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 437 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Play For Five Hours";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.addicted == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 439 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 20,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.bin_laden_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 441 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 100,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.cowboy_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 443 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank A Or Higher";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.alien_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 445 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 350,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.astronaut_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 447 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect Four Slow Motion Powerups In One Game";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.matrix_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 449 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Achieve Rank M";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.politician_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 451 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Die 50 Times";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.skeleton_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 453 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Score Over 550,000 Points";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.gasmask_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 455 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Get A x75 Multiplier";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.pirate_unlocked == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 457 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Lose A Total Of 125 Limbs";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.five_hundred_pounds == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 459 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Lose A Total Of 500 Limbs";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.one_ton == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 461 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect A Regeneration Powerup";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.gecko_doll == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 463 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect A Bonus Powerup";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.bonuses == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 465 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Get Hit By 100 Green Lasers";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.going_green == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 467 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Get Hit By 100 Yellow Lasers";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.slow_poke == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Dodge A Total Of Over 1,000 Lasers";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.laser_show == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 471 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Dodge A Total Of Over 5,000 Lasers";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.laser_dodger == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 473 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Dodge A Total Of Over 10,000 Lasers";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.laser_master == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 475 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect Four Regeneration Powerups In One Game";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.regenerator == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 477 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Regrow A Total Of Over 20 Limbs";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.limb_farmer == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 479 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Collect Four Shield Powerups In One Game";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.invincible == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 481 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Regrow A Total Of Over 50 Limbs";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.limb_plantation == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 483 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Unlock One Ragdoll";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.new_doll == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 485 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Unlock Four Ragdolls";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.fifty_fifty == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 487 MovieClip in Symbol 488 MovieClip Frame 1
on (rollOver) {
_alpha = 70;
_root.howtoachieve = "Unlock All Ragdolls";
}
on (rollOut) {
_alpha = 100;
_root.howtoachieve = "";
}
onClipEvent (enterFrame) {
if (_root.gotta_get_em_all == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 489 Button
on (release) {
_root.achievementGroup.gotoAndPlay(31);
_root.txtPageNumber.gotoAndStop(1);
}
Symbol 490 MovieClip Frame 43
gotoAndPlay (15);
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 21
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 2
stop();
Symbol 499 Button
on (release) {
function onConnectError(status) {
trace("[error] connecting: " + status);
}
updateData = true;
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.PROPERTIES_SAVED, properties_saved);
if (updateData) {
_root.savefile.clear();
_root.boastful = 0;
_root.ranks = 0;
_root.need_help = 0;
_root.got_games = 0;
_root.researcher = 0;
_root.nap_time = 0;
_root.silence_is_golden = 0;
_root.queasy = 0;
_root.be_a_fan = 0;
_root.cant_touch_this = 0;
_root.slow_rider = 0;
_root.gecko_doll = 0;
_root.bonuses = 0;
_root.bin_laden_unlocked = 0;
_root.cowboy_unlocked = 0;
_root.alien_unlocked = 0;
_root.astronaut_unlocked = 0;
_root.matrix_unlocked = 0;
_root.politician_unlocked = 0;
_root.skeleton_unlocked = 0;
_root.gasmask_unlocked = 0;
_root.pirate_unlocked = 0;
_root.ninja_unlocked = 0;
_root.just_practicing = 0;
_root.slaughter_house = 0;
_root.weight_loss = 0;
_root.no_hit_wonder = 0;
_root.five_hundred_pounds = 0;
_root.one_ton = 0;
_root.cha_ching = 0;
_root.collector = 0;
_root.hundred_times = 0;
_root.going_green = 0;
_root.slow_poke = 0;
_root.laser_show = 0;
_root.laser_dodger = 0;
_root.laser_master = 0;
_root.regenerator = 0;
_root.limb_farmer = 0;
_root.limb_plantation = 0;
_root.invincible = 0;
_root.fail = 0;
_root.just_passed = 0;
_root.average = 0;
_root.better = 0;
_root.aced = 0;
_root.legend = 0;
_root.master = 0;
_root.noob = 0;
_root.beginner = 0;
_root.intermediate = 0;
_root.advanced = 0;
_root.test_run = 0;
_root.time_waster = 0;
_root.sorta_fun = 0;
_root.i_like_this = 0;
_root.addicted = 0;
_root.new_doll = 0;
_root.fifty_fifty = 0;
_root.gotta_get_em_all = 0;
_root.timeCount = 0;
_root.totalLasersDodged = 0;
_root.totalGreenHit = 0;
_root.totalYellowHit = 0;
_root.totalLimbsLost = 0;
_root.totalLimbsRegen = 0;
_root.died = 0;
_root.numUnlocked = 0;
savefile.data.timeCount = 0;
savefile.data.totalLasersDodged = 0;
savefile.data.totalGreenHit = 0;
savefile.data.totalYellowHit = 0;
savefile.data.totalLimbsLost = 0;
savefile.data.totalLimbsRegen = 0;
savefile.data.died = 0;
savefile.data.boastful = 0;
savefile.data.ranks = 0;
savefile.data.need_help = 0;
savefile.data.got_games = 0;
savefile.data.researcher = 0;
savefile.data.nap_time = 0;
savefile.data.silence_is_golden = 0;
savefile.data.queasy = 0;
savefile.data.be_a_fan = 0;
savefile.data.cant_touch_this = 0;
savefile.data.slow_rider = 0;
savefile.data.gecko_doll = 0;
savefile.data.bonuses = 0;
savefile.data.bin_laden_unlocked = 0;
savefile.data.cowboy_unlocked = 0;
savefile.data.alien_unlocked = 0;
savefile.data.astronaut_unlocked = 0;
savefile.data.matrix_unlocked = 0;
savefile.data.politician_unlocked = 0;
savefile.data.skeleton_unlocked = 0;
savefile.data.gasmask_unlocked = 0;
savefile.data.pirate_unlocked = 0;
savefile.data.ninja_unlocked = 0;
savefile.data.just_practicing = 0;
savefile.data.slaughter_house = 0;
savefile.data.weight_loss = 0;
savefile.data.no_hit_wonder = 0;
savefile.data.five_hundred_pounds = 0;
savefile.data.one_ton = 0;
savefile.data.cha_ching = 0;
savefile.data.collector = 0;
savefile.data.hundred_times = 0;
savefile.data.going_green = 0;
savefile.data.slow_poke = 0;
savefile.data.laser_show = 0;
savefile.data.laser_dodger = 0;
savefile.data.laser_master = 0;
savefile.data.regenerator = 0;
savefile.data.limb_farmer = 0;
savefile.data.limb_plantation = 0;
savefile.data.invincible = 0;
savefile.data.fail = 0;
savefile.data.just_passed = 0;
savefile.data.average = 0;
savefile.data.better = 0;
savefile.data.aced = 0;
savefile.data.legend = 0;
savefile.data.master = 0;
savefile.data.noob = 0;
savefile.data.beginner = 0;
savefile.data.intermediate = 0;
savefile.data.advanced = 0;
savefile.data.test_run = 0;
savefile.data.time_waster = 0;
savefile.data.sorta_fun = 0;
savefile.data.i_like_this = 0;
savefile.data.addicted = 0;
savefile.data.new_doll = 0;
savefile.data.fifty_fifty = 0;
savefile.data.gotta_get_em_all = 0;
savefile.flush();
_root.a1 = false;
_root.a2 = false;
_root.a3 = false;
_root.a4 = false;
_root.a5 = false;
_root.a6 = false;
_root.a7 = false;
_root.a8 = false;
_root.a9 = false;
_root.a10 = false;
_root.a11 = false;
_root.a12 = false;
_root.a13 = false;
_root.a14 = false;
_root.a15 = false;
_root.a16 = false;
_root.a17 = false;
_root.a18 = false;
_root.a19 = false;
_root.a20 = false;
_root.a21 = false;
_root.a22 = false;
_root.a23 = false;
_root.a24 = false;
_root.a25 = false;
_root.a26 = false;
_root.a27 = false;
_root.a28 = false;
_root.a29 = false;
_root.a30 = false;
_root.a31 = false;
_root.a32 = false;
_root.a33 = false;
_root.a34 = false;
_root.a35 = false;
_root.a36 = false;
_root.a37 = false;
_root.a38 = false;
_root.a39 = false;
_root.a40 = false;
_root.a41 = false;
_root.a42 = false;
_root.a43 = false;
_root.a44 = false;
_root.a45 = false;
_root.a46 = false;
_root.a47 = false;
_root.a48 = false;
_root.a49 = false;
_root.a50 = false;
_root.a51 = false;
_root.a52 = false;
_root.a53 = false;
_root.a54 = false;
_root.a55 = false;
_root.a56 = false;
_root.a57 = false;
_root.a58 = false;
_root.a59 = false;
_root.a60 = false;
binLadenLocked = true;
cowboyLocked = true;
alienLocked = true;
astronautLocked = true;
obamaLocked = true;
bonesLocked = true;
gasMaskLocked = true;
pirateLocked = true;
matrixLocked = true;
ninjaLocked = true;
unlockBinLaden = false;
unlockCowboy = false;
unlockAlien = false;
unlockAstronaut = false;
unlockMatrix = false;
unlockObama = false;
unlockBones = false;
unlockGasMask = false;
unlockPirate = false;
unlockNinja = false;
userBinLaden = 0;
userCowboy = 0;
userAlien = 0;
userAstronaut = 0;
userObama = 0;
userBones = 0;
userGasMask = 0;
userPirate = 0;
userMatrix = 0;
userNinja = 0;
if (coinsActivated) {
myData = {cowboyUnlocked:0, binLadenUnlocked:0, alienUnlocked:0, astronautUnlocked:0, obamaUnlocked:0, bonesUnlocked:0, gasMaskUnlocked:0, pirateUnlocked:0, matrixUnlocked:0, ninjaUnlocked:0, A1:0, A2:0, A3:0, A4:0, A5:0, A6:0, A7:0, A8:0, A9:0, A10:0, A11:0, A12:0, A13:0, A24:0, A25:0, A26:0, A27:0, A28:0, A29:0, A30:0, A31:0, A32:0, A33:0, A34:0, A35:0, A36:0, A37:0, A38:0, A39:0, A40:0, A41:0, A42:0, A43:0, A44:0, A45:0, A46:0, A47:0, A48:0, A49:0, A50:0, A51:0, A52:0, A53:0, A54:0, A55:0, A56:0, A57:0, A58:0, A59:0, A60:0, ADied:0, ATimeCount:0, ATotalLasersDodged:0, ATotalGreenHit:0, ATotalYellowHit:0, ATotalLimbsLost:0, ATotalLimbsRegen:0};
mochi.as2.MochiSocial.saveUserProperties(myData);
}
updateData = false;
}
if (updateData == false) {
mochi.as2.MochiServices.disconnect();
_global.logIn = false;
mochi.as2.MochiServices.connect("0286f2d5eb42a616", _root, onConnectError);
mochi.as2.MochiSocial.addEventListener(mochi.as2.MochiSocial.ERROR, handleError);
mochi.as2.MochiSocial.hideLoginWidget();
}
_root.gotoAndStop("pre");
}
Symbol 502 Button
on (release) {
_root.gotoAndStop("pre");
}
Symbol 506 Button
on (release) {
_root.mouseHighscores = true;
mochi.as2.MochiScores.closeLeaderboard();
_root.changeHighscore = 0;
this.gotoAndStop(2);
}
Symbol 509 Button
on (release) {
_root.mouseHighscores = false;
mochi.as2.MochiScores.closeLeaderboard();
_root.changeHighscore = 0;
this.gotoAndStop(1);
}
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 2
stop();
Symbol 511 MovieClip Frame 5
stop();
Symbol 525 Button
on (release) {
_root.mouseMode = true;
_root.tutorialText.gotoAndPlay("startTut");
}
Symbol 528 Button
on (release) {
_root.mouseMode = false;
_root.tutorialText.gotoAndPlay("startTut");
}
Symbol 559 Button
on (release) {
_root.gotoAndStop("pre");
}
Symbol 561 MovieClip Frame 1
_root.mouseMode = false;
Symbol 561 MovieClip Frame 20
stop();
onEnterFrame = function () {
if (_root.timer >= 5) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 31
_root.mouseMode = true;
Symbol 561 MovieClip Frame 50
stop();
onEnterFrame = function () {
if (_root.timer >= 10) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 61
_root.mouseMode = false;
Symbol 561 MovieClip Frame 80
stop();
_root.mouseMode = false;
onEnterFrame = function () {
};
Symbol 561 MovieClip Frame 81
_root.timer = 0;
Symbol 561 MovieClip Frame 99
stop();
onEnterFrame = function () {
if (_root.timer >= 5) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 111
_root.tgo = true;
_root.laserType = 1;
Symbol 561 MovieClip Frame 131
stop();
_root.tgo = false;
onEnterFrame = function () {
if (_root.timer >= 10) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 142
_root.tgo = true;
_root.laserType = 2;
Symbol 561 MovieClip Frame 161
stop();
_root.tgo = false;
onEnterFrame = function () {
if (_root.timer >= 14) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 172
_root.tgo = true;
_root.laserType = 3;
Symbol 561 MovieClip Frame 191
stop();
_root.tgo = false;
onEnterFrame = function () {
if (_root.timer >= 17) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 202
_root.tgo = true;
_root.laserType = 4;
Symbol 561 MovieClip Frame 221
stop();
_root.tgo = false;
onEnterFrame = function () {
if (_root.timer >= 20) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 232
_root.tgo = true;
_root.laserType = 5;
Symbol 561 MovieClip Frame 251
stop();
_root.tgo = false;
onEnterFrame = function () {
if (_root.timer >= 23) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 281
stop();
_root.timer = 0;
onEnterFrame = function () {
if (_root.timer >= 0) {
_root.rfoot.removeMovieClip(this);
_root.rightFootCut = true;
}
if (_root.timer >= 2) {
_root.lfoot.removeMovieClip(this);
_root.leftFootCut = true;
}
if (_root.timer >= 4) {
_root.rhand.removeMovieClip(this);
_root.rightHandCut = true;
}
if (_root.timer >= 6) {
_root.lhand.removeMovieClip(this);
_root.leftHandCut = true;
}
if (_root.timer >= 7) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 291
_root.maxX2 = 1;
Symbol 561 MovieClip Frame 310
stop();
onEnterFrame = function () {
if (_root.timer >= 16) {
_root.maxX2 = 0;
_root.numX2 = 0;
nextFrame();
}
};
Symbol 561 MovieClip Frame 321
_root.powerupTimer = 30;
_root.powerupInt = 0;
_root.powerup.powerupType = 1;
Symbol 561 MovieClip Frame 340
stop();
onEnterFrame = function () {
if (_root.timer >= 24) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 370
stop();
onEnterFrame = function () {
if (_root.timer >= 32) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 400
stop();
onEnterFrame = function () {
if (_root.timer >= 40) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 430
stop();
onEnterFrame = function () {
if (_root.timer >= 48) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 460
stop();
onEnterFrame = function () {
if (_root.timer >= 56) {
nextFrame();
}
};
Symbol 561 MovieClip Frame 471
_root.mouseMode = false;
Symbol 561 MovieClip Frame 490
stop();
onEnterFrame = function () {
};
Symbol 570 Button
on (rollOver) {
txtSkins = "Stick Man";
txtLocked = "Click to Play";
txtPlayInfo = "Special Ability = None";
}
on (rollOut) {
txtSkins = "";
txtLocked = "";
txtPlayInfo = "";
}
on (release) {
gotoAndStop ("game");
skins = false;
}
Symbol 576 Button
on (rollOver) {
txtSkins = "Tankman";
txtLocked = "Click to Play";
txtPlayInfo = "Special Ability = 5,000 Point Head Start";
}
on (rollOut) {
txtSkins = "";
txtLocked = "";
txtPlayInfo = "";
}
on (release) {
gotoAndStop ("game");
tankManSkin = true;
skins = true;
}
Symbol 578 Button
on (rollOver) {
if (!binLadenLocked) {
txtSkins = "Osama Bin Laden";
txtLocked = "Click to Play";
txtPlayInfo = "Special Ability = 25% More Slow Motion";
}
}
on (rollOut) {
if (!binLadenLocked) {
txtSkins = "";
txtLocked = "";
txtPlayInfo = "";
}
}
on (release) {
if (!binLadenLocked) {
gotoAndStop ("game");
binLadenSkin = true;
skins = true;
}
}
Symbol 582 Button
on (rollOver) {
txtSkins = "Osama Bin Laden";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"cc6aa42dc5a4c8d5"});
}
}
Symbol 585 Button
on (rollOver) {
if (!cowboyLocked) {
txtSkins = "Cowboy";
txtLocked = "Click to Play";
txtPlayInfo = "Special Ability = 2,000 X Multiplier Bonuses";
}
}
on (rollOut) {
if (!cowboyLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!cowboyLocked) {
gotoAndStop ("game");
cowboySkin = true;
skins = true;
}
}
Symbol 587 Button
on (rollOver) {
txtSkins = "Cowboy";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"25ce170756787c80"});
}
}
Symbol 589 Button
on (rollOver) {
if (!alienLocked) {
txtSkins = "Alien";
txtPlayInfo = "Special Ability = Double Regeneration of Limbs";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!alienLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!alienLocked) {
gotoAndStop ("game");
alienSkin = true;
skins = true;
}
}
Symbol 591 Button
on (rollOver) {
txtSkins = "Alien";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"fd8d493208550d28"});
}
}
Symbol 593 Button
on (rollOver) {
if (!astronautLocked) {
txtSkins = "Astronaut";
txtPlayInfo = "Special Ability = Low Gravity";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!astronautLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!astronautLocked) {
gotoAndStop ("game");
astronautSkin = true;
skins = true;
}
}
Symbol 595 Button
on (rollOver) {
txtSkins = "Astronaut";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"6f8f6e378ee93bd7"});
}
}
Symbol 597 Button
on (rollOver) {
if (!obamaLocked) {
txtSkins = "Politician";
txtPlayInfo = "Special Ability = Double Multiplier Powerups";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!obamaLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!obamaLocked) {
gotoAndStop ("game");
obamaSkin = true;
skins = true;
}
}
Symbol 599 Button
on (rollOver) {
txtSkins = "Politician";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"a4de4ab08a71aee3"});
}
}
Symbol 601 Button
on (rollOver) {
if (!bonesLocked) {
txtSkins = "Skeleton";
txtPlayInfo = "Special Ability = 25% More Shield";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!bonesLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!bonesLocked) {
gotoAndStop ("game");
bonesSkin = true;
skins = true;
}
}
Symbol 603 Button
on (rollOver) {
txtSkins = "Skeleton";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"0567ac1883a5afc3"});
}
}
Symbol 605 Button
on (rollOver) {
if (!gasMaskLocked) {
txtSkins = "Gas Mask";
txtPlayInfo = "Special Ability = 100,000 Point Head Start";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!gasMaskLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!gasMaskLocked) {
gotoAndStop ("game");
gasMaskSkin = true;
skins = true;
}
}
Symbol 607 Button
on (rollOver) {
txtSkins = "Gas Mask";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"065fcdcb27c03288"});
}
}
Symbol 609 Button
on (rollOver) {
if (!pirateLocked) {
txtSkins = "Pirate";
txtPlayInfo = "Special Ability = x20 Multiplier Head Start";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!pirateLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!pirateLocked) {
gotoAndStop ("game");
pirateSkin = true;
skins = true;
}
}
Symbol 611 Button
on (rollOver) {
txtSkins = "Pirate";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"e3439f33199aa916"});
}
}
Symbol 613 Button
on (rollOver) {
if (!matrixLocked) {
txtSkins = "Matrix Man";
txtPlayInfo = "Special Ability = 15% Slower Lasers";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!matrixLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!matrixLocked) {
gotoAndStop ("game");
matrixSkin = true;
skins = true;
}
}
Symbol 615 Button
on (rollOver) {
txtSkins = "Matrix Man";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"7dbbc214a1e402b6"});
}
}
Symbol 617 Button
on (rollOver) {
if (!ninjaLocked) {
txtSkins = "Ninja";
txtPlayInfo = "Special Ability = 10% Less Lasers";
txtLocked = "Click to Play";
}
}
on (rollOut) {
if (!ninjaLocked) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
}
on (release) {
if (!ninjaLocked) {
gotoAndStop ("game");
ninjaSkin = true;
skins = true;
}
}
Symbol 619 Button
on (rollOver) {
txtSkins = "Ninja";
if (coinsActivated == true) {
txtPlayInfo = "Unlock through in-game play or Click to Purchase";
} else {
txtPlayInfo = "Unlock through in-game play";
}
txtLocked = "Locked";
}
on (rollOut) {
txtSkins = "";
txtPlayInfo = "";
txtLocked = "";
}
on (release) {
if (coinsActivated == true) {
mochi.as2.MochiCoins.showItem({item:"c003ab177c438bf1"});
}
}