Frame 1
function doSomething() {
getURL ("http://www.eggysgames.com/", "_blank");
}
function doSomething2() {
getURL ("http://armor.ag/MoreGames/", "blank");
}
_root.upgrade1 = false;
_root.upgrade2 = false;
_root.upgrade3 = false;
_root.upgrade4 = false;
_root.upgrade5 = false;
_root.upgrade6 = false;
_root.upgrade7 = false;
_root.upgrade8 = false;
_root.upgrade9 = false;
_root.upgrade10 = false;
_root.upgrade11 = false;
_root.upgrade12 = false;
_root.upgrade13 = false;
_root.upgrade14 = false;
_root.upgrade15 = false;
_root.upgrade16 = false;
_root.upgrade17 = false;
_root.upgrade18 = false;
_root.upgrade19 = false;
_root.upgrade20 = false;
_root.upgrade21 = false;
_root.upgrade22 = false;
_root.upgrade23 = false;
_root.upgrade24 = false;
_root.upgrade25 = false;
_root.upgrade26 = false;
_root.upgrade27 = false;
_root.upgrade28 = false;
_root.upgrade29 = false;
_root.upgrade30 = false;
_root.upgrade31 = false;
_root.upgrade32 = false;
_root.upgrade33 = false;
_root.upgrade34 = false;
_root.upgrade35 = false;
_root.upgrade36 = false;
_root.upgrade37 = false;
_root.upgrade38 = false;
_root.upgrade39 = false;
_root.upgrade40 = false;
_root.upgrade41 = false;
_root.upgrade42 = false;
_root.upgrade43 = false;
_root.upgrade44 = false;
_root.upgrade45 = false;
_root.upgrade46 = false;
_root.upgrade47 = false;
_root.paid = false;
_root.paid2 = false;
_root.sound = true;
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Made by Eggy", doSomething);
Functioned2 = new ContextMenuItem("Sponsored by ArmorGames", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
MENU.builtInItems.quality = true;
_root.menu = MENU;
var CPMStarContentSpotID = "13989QF258FFAB";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=" + CPMStarContentSpotID);
myURL = _url;
okDomains = ["armorgames.com", "games.armorgames.com", "preview.armorgames.com", "cache.armorgames.com", "www.chat.kongregate.com", "www.kongregate.com", "www.armorgames.com", "www.games.armorgames.com", "www.preview.armorgames.com", "kongregate.com", "chat.kongregate.com", "kongregate", "preview.kongregate.com", "chat.kongregate", "kongregate", "spielaffe.de", "*.armorgames.com", "cdn.armorgames.com", "gamemedia.armorgames.com"];
allowed = false;
i = 0;
while (i < okDomains.length) {
if (myURL.indexOf(okDomains[i]) != -1) {
adBox.swapDepths(99999);
removeMovieClip(adBox);
allowed = true;
}
i++;
}
if (allowed == false) {
var CPMStarContentSpotID = "13989QF258FFAB";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=9448Q4183221D");
adBox._x = 28;
adBox._y = 141;
}
urls_allowed = ["armorgames.com", "games.armorgames.com", "preview.armorgames.com", "cache.armorgames.com", "www.chat.kongregate.com", "www.kongregate.com", "www.armorgames.com", "www.games.armorgames.com", "www.preview.armorgames.com"];
var kongregate = _global.kongregate;
kongregate.services.connect();
_root.coin = 0;
_root.health = 2;
_root.level = 1;
_root.mainclocktime = 10;
_root.ended = false;
_root.maxtough = 0;
_root.shieldnum = 1;
_root.fuelcap = 100;
_root.fuel = _root.fuelcap;
_root.holdswitcher = false;
_root.anumber = 50;
_root.onlygunspeed = 15;
_root.maxchainsaweggs = 0;
_root.quickgunhold = 0;
_root.boxamount = 0;
_root.tntcounter = 200;
_root.clock = _root.mainclocktime;
_root.gunspeedholder = 15;
_root.jumpheightholder = 0;
_root.i = 0;
_root.enemydepthcounter = 50;
_root.enemydepthcounter2 = 72;
_root.enemydepthcounter3 = 30;
_root.coinitemcounter = 100;
_root.shooting = false;
_root.shotgunchange = 0;
_root.maxitems = 0;
_root.forever = false;
_root.gunholder = 1;
Instance of Symbol 158 MovieClip in Frame 1
on (release) {
getURL ("http://www.eggysgames.com/", "blank");
}
Frame 3
stop();
Instance of Symbol 185 MovieClip in Frame 3
on (press) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Frame 4
stop();
Instance of Symbol 230 MovieClip in Frame 4
on (press) {
getURL ("http://www.eggysgames.com", "_blank");
}
Frame 5
stop();
someSound = new Sound();
someSound.attachSound("mainmusic", this);
someSound.start(0, 9999);
Instance of Symbol 244 MovieClip in Frame 5
onClipEvent (load) {
timer = 0;
switcher = false;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_rotation = (_rotation - 0.2);
}
timer++;
if ((timer > 100) and (_root.chat._currentframe != 3)) {
switcher = true;
_root.chat.gotoAndStop(2);
}
}
on (press) {
if (_root.chat._currentframe == 2) {
_root.chat.gotoAndStop(3);
}
}
Instance of Symbol 299 MovieClip "block" in Frame 5
onClipEvent (load) {
_visible = false;
if (_name != "block") {
_visible = true;
myalpha = 100;
gotoAndStop(_root.currentblock);
if (((_currentframe == 10) and (_root.kkk == false)) and (_root.helpbox._currentframe == 2)) {
_root.helpbox.gotoAndStop(3);
_root.kkk = true;
}
frick = true;
dropspeed = 10;
soundonce = false;
_x = _root._xmouse;
_y = (_root._ymouse + 50);
go = true;
XN = 120;
YN = 200;
W = 20;
H = 20;
if ((_x <= (_root.grid._x + XN)) and (_x >= _root.grid._x)) {
_x = _root._xmouse;
}
if (_x <= _root.grid._x) {
_x = _root.grid._x;
} else if (_x >= (_root.grid._x + XN)) {
_x = (_root.grid._x + XN);
}
if ((_y <= (_root.grid._y + YN)) and (_y >= _root.grid._y)) {
_y = _root._ymouse;
}
if (_y <= _root.grid._y) {
_y = _root.grid._y;
} else if (_y >= (_root.grid._y + YN)) {
_y = (_root.grid._y + YN);
}
if (((_x - _root.grid._x) % W) <= (W / 2)) {
_x = (_x - ((_x - _root.grid._x) % W));
} else {
_x = (_x + (W - ((_x - _root.grid._x) % W)));
}
if (((_y - _root.grid._y) % H) <= (H / 2)) {
_y = (_y - ((_y - _root.grid._y) % H));
} else {
_y = (_y + (H - ((_y - _root.grid._y) % H)));
}
}
testing = false;
}
onClipEvent (enterFrame) {
if (testing == true) {
removeMovieClip(this);
}
_alpha = myalpha;
if (_alpha <= 0) {
if (_currentframe == 8) {
_root.blockeight = _root.blockeight - (_root.blockeight / 2);
_root.ui.selectionbar.groundturretpricetext = "$" + _root.blockeight;
}
if (_currentframe == 9) {
_root.blocknine = _root.blocknine - (_root.blocknine / 2);
_root.ui.selectionbar.airturretpricetext = "$" + _root.blocknine;
}
removeMovieClip(this);
_root.maxbox = _root.maxbox + 1;
_root.rego = true;
}
if (_root.ground.hitTest(_x, _y, true)) {
frick = false;
go = false;
}
if ((((((((((((((_root.rego == true) and (!holdname.hit.hitTest(_x, _y + 5, true))) and (!holdname2.hit.hitTest(_x, _y + 5, true))) and (!holdname3.hit.hitTest(_x, _y + 5, true))) and (!holdname4.hit.hitTest(_x, _y + 5, true))) and (!holdname5.hit.hitTest(_x, _y + 5, true))) and (!holdname6.hit.hitTest(_x, _y + 5, true))) and (!holdname7.hit.hitTest(_x, _y + 5, true))) and (!holdname8.hit.hitTest(_x, _y + 5, true))) and (!holdname9.hit.hitTest(_x, _y + 5, true))) and (!holdname10.hit.hitTest(_x, _y + 5, true))) and (!holdname11.hit.hitTest(_x, _y + 5, true))) and (frick == true)) and (go == false)) {
_y = (_y + dropspeed);
}
if ((_name != "block") and (go == true)) {
_y = (_y + dropspeed);
if (_root.ground.hitTest(_x, _y, true)) {
go = false;
if (soundonce == false) {
if (_root.sound == true) {
another = new Sound();
another.attachSound("drop", this);
another.start(0, 1);
}
soundonce = true;
this.cacheAsBitmap = true;
}
}
b = 0;
while (b < 85) {
if (_root["newblock" + b].hit.hitTest(_x, _y + 1, true)) {
if (soundonce == false) {
if (_root.sound == true) {
another = new Sound();
another.attachSound("drop", this);
another.start(0, 1);
}
soundonce = true;
}
holdname = _root["newblock" + b];
holdname2 = _root["newblock" + b].holdname;
holdname3 = holdname2.holdname;
holdname4 = holdname3.holdname;
holdname5 = holdname4.holdname;
holdname6 = holdname5.holdname;
holdname7 = holdname6.holdname;
holdname8 = holdname7.holdname;
holdname9 = holdname8.holdname;
holdname10 = holdname9.holdname;
holdname11 = holdname10.holdname;
go = false;
this.cacheAsBitmap = true;
}
b++;
}
}
if (_root._currentframe != _root.frameselecter) {
removeMovieClip(this);
}
}
Instance of Symbol 299 MovieClip "block" in Frame 5
onClipEvent (load) {
_visible = false;
if (_name != "block") {
_visible = true;
myalpha = 100;
gotoAndStop(_root.currentblock);
if (((_currentframe == 10) and (_root.kkk == false)) and (_root.helpbox._currentframe == 2)) {
_root.helpbox.gotoAndStop(3);
_root.kkk = true;
}
frick = true;
dropspeed = 10;
soundonce = false;
_x = _root._xmouse;
_y = (_root._ymouse + 50);
go = true;
XN = 120;
YN = 200;
W = 20;
H = 20;
if ((_x <= (_root.grid._x + XN)) and (_x >= _root.grid._x)) {
_x = _root._xmouse;
}
if (_x <= _root.grid._x) {
_x = _root.grid._x;
} else if (_x >= (_root.grid._x + XN)) {
_x = (_root.grid._x + XN);
}
if ((_y <= (_root.grid._y + YN)) and (_y >= _root.grid._y)) {
_y = _root._ymouse;
}
if (_y <= _root.grid._y) {
_y = _root.grid._y;
} else if (_y >= (_root.grid._y + YN)) {
_y = (_root.grid._y + YN);
}
if (((_x - _root.grid._x) % W) <= (W / 2)) {
_x = (_x - ((_x - _root.grid._x) % W));
} else {
_x = (_x + (W - ((_x - _root.grid._x) % W)));
}
if (((_y - _root.grid._y) % H) <= (H / 2)) {
_y = (_y - ((_y - _root.grid._y) % H));
} else {
_y = (_y + (H - ((_y - _root.grid._y) % H)));
}
}
testing = false;
}
onClipEvent (enterFrame) {
if (testing == true) {
removeMovieClip(this);
}
_alpha = myalpha;
if (_alpha <= 0) {
if (_currentframe == 8) {
_root.blockeight = _root.blockeight - (_root.blockeight / 2);
_root.ui.selectionbar.groundturretpricetext = "$" + _root.blockeight;
}
if (_currentframe == 9) {
_root.blocknine = _root.blocknine - (_root.blocknine / 2);
_root.ui.selectionbar.airturretpricetext = "$" + _root.blocknine;
}
removeMovieClip(this);
_root.maxbox = _root.maxbox + 1;
_root.rego = true;
}
if (_root.ground.hitTest(_x, _y, true)) {
frick = false;
go = false;
}
if ((((((((((((((_root.rego == true) and (!holdname.hit.hitTest(_x, _y + 5, true))) and (!holdname2.hit.hitTest(_x, _y + 5, true))) and (!holdname3.hit.hitTest(_x, _y + 5, true))) and (!holdname4.hit.hitTest(_x, _y + 5, true))) and (!holdname5.hit.hitTest(_x, _y + 5, true))) and (!holdname6.hit.hitTest(_x, _y + 5, true))) and (!holdname7.hit.hitTest(_x, _y + 5, true))) and (!holdname8.hit.hitTest(_x, _y + 5, true))) and (!holdname9.hit.hitTest(_x, _y + 5, true))) and (!holdname10.hit.hitTest(_x, _y + 5, true))) and (!holdname11.hit.hitTest(_x, _y + 5, true))) and (frick == true)) and (go == false)) {
_y = (_y + dropspeed);
}
if ((_name != "block") and (go == true)) {
_y = (_y + dropspeed);
if (_root.ground.hitTest(_x, _y, true)) {
go = false;
if (soundonce == false) {
if (_root.sound == true) {
another = new Sound();
another.attachSound("drop", this);
another.start(0, 1);
}
soundonce = true;
this.cacheAsBitmap = true;
}
}
b = 0;
while (b < 85) {
if (_root["newblock" + b].hit.hitTest(_x, _y + 1, true)) {
if (soundonce == false) {
if (_root.sound == true) {
another = new Sound();
another.attachSound("drop", this);
another.start(0, 1);
}
soundonce = true;
}
holdname = _root["newblock" + b];
holdname2 = _root["newblock" + b].holdname;
holdname3 = holdname2.holdname;
holdname4 = holdname3.holdname;
holdname5 = holdname4.holdname;
holdname6 = holdname5.holdname;
holdname7 = holdname6.holdname;
holdname8 = holdname7.holdname;
holdname9 = holdname8.holdname;
holdname10 = holdname9.holdname;
holdname11 = holdname10.holdname;
go = false;
this.cacheAsBitmap = true;
}
b++;
}
}
if (_root._currentframe != _root.frameselecter) {
removeMovieClip(this);
}
}
Instance of Symbol 158 MovieClip in Frame 5
on (release) {
getURL ("http://www.eggysgames.com/", "blank");
}
Frame 6
stop();
Frame 7
stop();
Mouse.hide();
_root.holder.X = _root.holder._x;
_root.holder.Y = _root.holder._y;
_root.level = 1;
_root.mainclocktime = 10;
_root.char.gun.gotoAndStop(gunholder);
if (_root.upgrade37 == true) {
_root.fuelnum._visible = true;
_root.fuel = _root.fuelcap;
}
_root.char.shield.gotoAndStop(shieldnum);
onMouseDown = function () {
shooting = true;
};
onMouseUp = function () {
shooting = false;
};
_root.onEnterFrame = function () {
if ((((shooting == true) and (_root.char.gun.anim._currentframe == 1)) and (_root.gunspeed <= 0)) and (_root.char._visible == true)) {
if (_root.char.gun._currentframe == 1) {
_root.char.gun.anim.gotoAndPlay(2);
_root.gunspeed = _root.gunspeedholder;
i = i + 1;
if (i > 29) {
i = 0;
}
duplicateMovieClip ("bullet", "newbullet" + i, i);
}
if (_root.char.gun._currentframe == 2) {
_root.char.gun.anim.gotoAndPlay(2);
_root.gunspeed = _root.gunspeedholder + 3;
i = i + 1;
if (i > 29) {
i = 0;
}
duplicateMovieClip ("bullet", "newbullet" + i, i);
i = i + 1;
duplicateMovieClip ("bullet", "newbullet" + i, i);
i = i + 1;
duplicateMovieClip ("bullet", "newbullet" + i, i);
i = i + 1;
}
if (_root.char.gun._currentframe == 3) {
_root.char.gun.anim.gotoAndPlay(2);
_root.gunspeed = _root.gunspeedholder - 8;
i = i + 1;
if (i > 29) {
i = 0;
}
duplicateMovieClip ("bullet", "newbullet" + i, i);
}
if (_root.char.gun._currentframe == 4) {
_root.char.gun.anim.gotoAndPlay(2);
_root.gunspeed = _root.gunspeedholder - 10;
i = i + 1;
if (i > 29) {
i = 0;
}
duplicateMovieClip ("bullet", "newbullet" + i, i);
_root["newbullet" + i].gotoAndStop(2);
}
if (_root.char.gun._currentframe == 5) {
_root.char.gun.anim.gotoAndPlay(2);
_root.gunspeed = _root.gunspeedholder;
i = i + 1;
if (i > 29) {
i = 0;
}
duplicateMovieClip ("bullet", "newbullet" + i, i);
}
}
_root.gunspeed--;
if (_root.tntcounter > 204) {
_root.tntcounter = 200;
}
if (_root.enemydepthcounter >= 70) {
_root.enemydepthcounter = 50;
}
if (_root.enemydepthcounter2 >= 90) {
_root.enemydepthcounter2 = 72;
}
if (_root.enemydepthcounter3 >= 40) {
_root.enemydepthcounter3 = 30;
}
};
_root.restartgame = function () {
_root.bossegg.health = 1000;
_root.maxitems = 0;
_root.maxtough = 0;
_root.maxchainsaweggs = 0;
_root.boxamount = 0;
_root.deathscreen.gotoAndStop(1);
_root.level = 1;
_root.clock = _root.mainclocktime;
_root.hp._visible = true;
_root.hp.hp = _root.health;
_root.tentacle._x = _root.tentacle.X;
_root.holder._x = _root.holder.X;
_root.holder._y = _root.holder.Y;
_root.holder.timer = 0;
_root.egg.speed = 9;
_root.fuel = _root.fuelcap;
_root.holder.timer = false;
_root.holder.timer2 = false;
_root.holder.timer3 = false;
_root.holder.timer4 = false;
_root.holder.timer5 = false;
_root.holder.timer6 = false;
_root.holder.timer7 = false;
_root.holder.timer8 = false;
_root.holder.timer9 = false;
_root.holder.timer10 = false;
_root.holder.shift1 = false;
_root.holder.shift2 = false;
_root.holder.shift3 = false;
_root.holder.shift4 = false;
_root.holder.shift5 = false;
_root.holder.shift6 = false;
_root.holder.shift7 = false;
_root.holder.shift8 = false;
_root.holder.shift9 = false;
_root.holder.shift10 = false;
_root.char.gotoAndStop(1);
_root.char.gun.gotoAndStop(gunholder);
_root.char._x = 330;
_root.char._y = 390;
_root.char.hurt = false;
_root.char.grav = 0;
_root.spawner._y = _root.spawner.Y;
_root.spawner2._y = _root.spawner2.Y;
_root.spawner3._x = _root.spawner2.X;
_root.spawner2.gotoAndStop(1);
_root.spawner3.gotoAndStop(1);
_root.spawner2._visible = false;
_root.lightning._x = -50;
_root.firespell.countdown.text = 0;
_root.lightningspell.countdown.text = 0;
_root.orbspell.countdown.text = 0;
_root.char.shield.gotoAndStop(shieldnum);
};
_root.newlevel = function () {
if (_root.deathscreen._currentframe == 1) {
if (_root.level != 25) {
_root.clock = _root.clock - 1;
}
if ((_root.clock == 0) and (_root.level == 1)) {
_root.level = 2;
_root.spawner2._visible = true;
if (_root.spawner2._currentframe == 1) {
_root.spawner2.gotoAndPlay(2);
}
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 2)) {
_root.level = 3;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 3)) {
_root.holder.shift1 = true;
_root.level = 4;
_root.clock = _root.mainclocktime;
ck = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 4)) {
_root.level = 5;
_root.holder.shift2 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 5)) {
_root.level = 6;
if (_root.spawner3._currentframe == 1) {
_root.spawner3.gotoAndPlay(2);
}
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 6)) {
_root.level = 7;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 7)) {
_root.level = 8;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 8)) {
_root.level = 9;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 9)) {
_root.level = 10;
_root.holder.shift3 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 10)) {
_root.level = 11;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 11)) {
_root.level = 12;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 12)) {
_root.level = 13;
_root.holder.shift4 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 13)) {
_root.level = 14;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 14)) {
_root.level = 15;
_root.holder.shift5 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 15)) {
_root.level = 16;
_root.holder.shift6 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 16)) {
_root.level = 17;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 17)) {
_root.level = 18;
_root.holder.shift7 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 18)) {
_root.level = 19;
_root.holder.shift8 = true;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 19)) {
_root.level = 20;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 20)) {
_root.level = 21;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 21)) {
_root.level = 22;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 22)) {
_root.level = 23;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 23)) {
_root.holder.timer4 = 0;
_root.holder.shift4 = true;
_root.level = 24;
_root.clock = _root.mainclocktime;
}
if ((_root.clock == 0) and (_root.level == 24)) {
_root.level = 25;
_root.clock = 0;
}
}
};
_root.spawn1 = function () {
if (_root.deathscreen._currentframe == 1) {
roll = random(4) + 1;
if ((roll == 1) and (_root.level >= 7)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = false;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner._y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(3);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
} else if ((roll == 2) and (_root.level >= 8)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = false;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner._y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(5);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
} else if ((roll == 3) and (_root.level >= 12)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = false;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner._y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(6);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
} else {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = false;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner._y;
_root.enemydepthcounter = _root.enemydepthcounter + 1;
}
}
};
_root.spawn2 = function () {
if ((_root.deathscreen._currentframe == 1) and (_visible == true)) {
roll = random(4) + 1;
if ((roll == 1) and (_root.level >= 7)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = true;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner2._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner2._y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(3);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
} else if ((roll == 2) and (_root.level >= 8)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = true;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner2._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner2._y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(5);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
} else if ((roll == 3) and (_root.level >= 12)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = true;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner2._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner2._y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(6);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
} else {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter].switcher = true;
_root["newegg" + _root.enemydepthcounter]._x = _root.spawner2._x;
_root["newegg" + _root.enemydepthcounter]._y = _root.spawner2._y;
_root.enemydepthcounter = _root.enemydepthcounter + 1;
}
}
};
_root.spawn3 = function () {
if (((_root.deathscreen._currentframe == 1) and (_visible == true)) and (_root.maxchainsaweggs < 4)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter2, _root.enemydepthcounter2);
_root["newegg" + _root.enemydepthcounter2]._x = _root.spawner3._x;
_root["newegg" + _root.enemydepthcounter2]._y = _root.spawner3._y + 130;
_root["newegg" + _root.enemydepthcounter2].gotoAndStop(2);
_root.enemydepthcounter2 = _root.enemydepthcounter2 + 1;
_root.maxchainsaweggs = _root.maxchainsaweggs + 1;
}
};
_root.spawn4 = function () {
if (((_root.deathscreen._currentframe == 1) and (_visible == true)) and (_root.level >= 9)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter]._x = random(550);
_root["newegg" + _root.enemydepthcounter]._y = 550;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(4);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
}
};
_root.spawn5 = function () {
if (((_root.deathscreen._currentframe == 1) and (_visible == true)) and (_root.level >= 14)) {
roll = random(2) + 1;
if (roll == 1) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter]._x = -10;
_root["newegg" + _root.enemydepthcounter]._y = random(400) + 140;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(8);
_root["newegg" + _root.enemydepthcounter].fly = true;
_root.enemydepthcounter = _root.enemydepthcounter + 1;
}
if (roll == 2) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter]._x = 710;
_root["newegg" + _root.enemydepthcounter]._y = random(400) + 140;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(8);
_root["newegg" + _root.enemydepthcounter].fly = false;
_root.enemydepthcounter = _root.enemydepthcounter + 1;
}
}
};
_root.spawn6 = function () {
if (((_root.deathscreen._currentframe == 1) and (_visible == true)) and (_root.maxtough <= 4)) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter3, _root.enemydepthcounter3);
_root["newegg" + _root.enemydepthcounter3]._x = _root.spawner3._x;
_root["newegg" + _root.enemydepthcounter3]._y = _root.spawner3._y + 130;
_root["newegg" + _root.enemydepthcounter3].gotoAndStop(7);
_root.maxtough = _root.maxtough + 1;
_root.enemydepthcounter3 = _root.enemydepthcounter3 + 1;
}
};
_root.spawnitem2 = function () {
if ((_root.deathscreen._currentframe == 1) and (_root.maxitems <= 5)) {
roll = random(7) + 1;
if ((_root.upgrade28 == true) and (roll == 1)) {
duplicateMovieClip (_root.powerup, "newpowerup" + _root.coinitemcounter, _root.coinitemcounter);
_root.coinitemcounter = _root.coinitemcounter + 1;
_root.maxitems = _root.maxitems + 1;
}
if ((_root.upgrade29 == true) and (roll == 2)) {
duplicateMovieClip (_root.powerup, "newpowerup" + _root.coinitemcounter, _root.coinitemcounter);
_root["newpowerup" + _root.coinitemcounter].gotoAndStop(2);
_root.coinitemcounter = _root.coinitemcounter + 1;
_root.maxitems = _root.maxitems + 1;
}
if ((_root.upgrade30 == true) and (roll == 3)) {
duplicateMovieClip (_root.powerup, "newpowerup" + _root.coinitemcounter, _root.coinitemcounter);
_root["newpowerup" + _root.coinitemcounter].gotoAndStop(3);
_root.coinitemcounter = _root.coinitemcounter + 1;
_root.maxitems = _root.maxitems + 1;
}
if (((_root.upgrade32 == true) and (roll == 4)) and (_root.cloud._currentframe == 1)) {
_root.cloud.go = true;
}
if ((_root.upgrade38 == true) and (roll == 5)) {
duplicateMovieClip (_root.fuelpickup, "newfuelpickup" + _root.coinitemcounter, _root.coinitemcounter);
_root.coinitemcounter = _root.coinitemcounter + 1;
_root.maxitems = _root.maxitems + 1;
}
if ((_root.upgrade39 == true) and (roll == 6)) {
duplicateMovieClip (_root.fuelpickup, "newfuelpickup" + _root.coinitemcounter, _root.coinitemcounter);
_root["newfuelpickup" + _root.coinitemcounter].gotoAndStop(2);
_root.coinitemcounter = _root.coinitemcounter + 1;
_root.maxitems = _root.maxitems + 1;
}
if ((_root.upgrade45 == true) and (roll == 7)) {
roll = random(3) + 1;
if (roll == 3) {
duplicateMovieClip (_root.healing, "newhealing" + _root.coinitemcounter, _root.coinitemcounter);
_root.coinitemcounter = _root.coinitemcounter + 1;
_root.maxitems = _root.maxitems + 1;
}
}
}
};
_root.spawnitem = function () {
roll = random(3) + 1;
if ((_root.deathscreen._currentframe == 1) and (_root.boxamount <= 3)) {
if ((_root.upgrade25 == true) and (roll == 1)) {
duplicateMovieClip (_root.box, "newbox" + _root.coinitemcounter, _root.coinitemcounter);
_root.boxamount = _root.boxamount + 1;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
if ((_root.upgrade26 == true) and (roll == 2)) {
roll = random(2) + 1;
if (roll == 1) {
duplicateMovieClip (_root.barrel, "newbarrel" + _root.coinitemcounter, _root.coinitemcounter);
_root.boxamount = _root.boxamount + 1;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
}
if ((_root.upgrade27 == true) and (roll == 3)) {
_root.boxamount = _root.boxamount + 1;
if (!_root.newtnt200) {
_root.tntcounter = 200;
duplicateMovieClip (_root.tnt, "newtnt" + _root.tntcounter, _root.tntcounter);
} else if (!newtnt201) {
_root.tntcounter = 201;
duplicateMovieClip (_root.tnt, "newtnt" + _root.tntcounter, _root.tntcounter);
} else if (!newtnt202) {
_root.tntcounter = 202;
duplicateMovieClip (_root.tnt, "newtnt" + _root.tntcounter, _root.tntcounter);
} else if (!newtnt203) {
_root.tntcounter = 203;
duplicateMovieClip (_root.tnt, "newtnt" + _root.tntcounter, _root.tntcounter);
} else if (!newtnt204) {
_root.tntcounter = 204;
duplicateMovieClip (_root.tnt, "newtnt" + _root.tntcounter, _root.tntcounter);
} else if (!newtnt205) {
_root.tntcounter = 205;
duplicateMovieClip (_root.tnt, "newtnt" + _root.tntcounter, _root.tntcounter);
}
}
}
};
_root.spawnfirework = function () {
if (_root.firespell._alpha == 100) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("release", this);
someSound.start(0, 1);
}
i = i + 1;
if (i > 19) {
i = 0;
}
duplicateMovieClip (_root.firework, "newfirework" + i, i);
_root["newfirework" + i]._rotation = 235;
i = i + 1;
duplicateMovieClip (_root.firework, "newfirework" + i, i);
_root["newfirework" + i]._rotation = 270;
i = i + 1;
duplicateMovieClip (_root.firework, "newfirework" + i, i);
_root["newfirework" + i]._rotation = 315;
i = i + 1;
duplicateMovieClip (_root.firework, "newfirework" + i, i);
_root["newfirework" + i]._rotation = 180;
i = i + 1;
duplicateMovieClip (_root.firework, "newfirework" + i, i);
_root["newfirework" + i]._rotation = 360;
i = i + 1;
_root.firespell._alpha = 50;
}
};
_root.spawnlightning = function () {
if (_root.lightningspell._alpha == 100) {
_root.lightning._x = _root.char._x;
_root.lightning._y = _root.char._y - 40;
_root.lightning.active = true;
_root.lightningspell._visible = true;
_root.lightningspell._alpha = 50;
_root.lightning.dir = _root.char.left;
}
};
_root.spawnorb = function () {
if (_root.orbspell._alpha == 100) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("orbsound", this);
someSound.start(0, 1);
}
_root.orb._x = _root.char._x;
_root.orb._y = _root.char._y - 30;
_root.orb.active = true;
_root.orbspell._visible = true;
_root.orbspell._alpha = 50;
}
};
_root.charhurt = function () {
if (_root.char.shield._currentframe == 3) {
if (_root.char.shield._alpha <= 30) {
_root.char.shield.gotoAndStop(1);
}
_root.char.shield._alpha = _root.char.shield._alpha - 15;
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -9;
_root.char.gotoAndStop(6);
}
if (_root.char.shield._currentframe == 2) {
_root.char.shield.gotoAndStop(1);
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -9;
_root.char.gotoAndStop(6);
}
if (((_root.hp._currentframe != 2) and (_root.char.shield._currentframe == 1)) and (_root.char._alpha == 100)) {
_root.hp.hp = _root.hp.hp - 1;
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -9;
_root.char.gotoAndStop(6);
}
if (((_root.hp._currentframe == 2) and (_root.char.shield._currentframe == 1)) and (_root.char._alpha == 100)) {
_root.hp._visible = false;
_root.char.gotoAndStop(7);
}
};
Instance of Symbol 535 MovieClip "h" in Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Instance of Symbol 535 MovieClip "h" in Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Instance of Symbol 539 MovieClip "cloud" in Frame 7
onClipEvent (load) {
timer = 0;
go = false;
}
onClipEvent (enterFrame) {
if (go == true) {
_x = (_x + 5);
}
if (_x > 700) {
_x = -180;
go = false;
}
timer++;
if ((timer > 15) and (go == true)) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x;
_root["newcoinitem" + _root.coinitemcounter]._y = _y + 10;
_root.coinitemcounter = _root.coinitemcounter + 1;
timer = 0;
}
}
Instance of Symbol 44 MovieClip [bullet] "bullet" in Frame 7
onClipEvent (load) {
if (_name != "bullet") {
speed = 15;
timer = 0;
ok = 2;
dietimer = false;
changer = false;
_visible = false;
_x = _root.char._x;
_y = (_root.char._y - 25);
X = _root._xmouse - _x;
Y = _root._ymouse - _y;
if (_root.gunholder == 2) {
Y = (_root._ymouse - _y) + _root.shotgunchange;
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
if (_root.gunholder == 2) {
_root.shotgunchange = _root.shotgunchange + 15;
if (_root.shotgunchange > 45) {
_root.shotgunchange = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "bullet") {
if (_root.holder.ground.hitTest(_x, _y, true) and (inside._currentframe == 1)) {
inside.gotoAndStop(2);
if (_currentframe == 2) {
changer = true;
dietimer = true;
}
if (((_currentframe == 2) and (changer == true)) and (ok <= 0)) {
removeMovieClip(this);
}
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
removeMovieClip(this);
}
timer++;
if (dietimer == true) {
ok--;
}
if (timer >= 2) {
_visible = true;
}
if (inside._currentframe == 1) {
if (changer == false) {
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (changer == true) {
_x = (_x - (Math.cos(angle) * speed));
_y = (_y - (Math.sin(angle) * speed));
}
}
}
}
Instance of Symbol 541 MovieClip "cursor" in Frame 7
onClipEvent (load) {
keepup = 0;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
keepup = _root.getNextHighestDepth();
this.swapDepths(keepup);
if (_root.deathscreen._currentframe == 40) {
Mouse.show();
_visible = false;
} else {
Mouse.hide();
_visible = true;
}
}
Instance of Symbol 577 MovieClip "egg" in Frame 7
onClipEvent (load) {
if (_name != "egg") {
if (_currentframe == 1) {
gravity = -8;
health = 2;
}
if (_currentframe == 2) {
gravity = 0;
health = 3;
}
if (_currentframe == 3) {
gravity = -12;
health = 3;
}
if (_currentframe == 4) {
gravity = -12;
health = 3;
}
if (_currentframe == 5) {
gravity = -12;
health = 3;
}
if (_currentframe == 6) {
gravity = -12;
health = 5;
}
if (_currentframe == 7) {
gravity = 0;
health = 20;
}
if (_currentframe == 8) {
gravity = -12;
health = 4;
}
speed = 6;
if (_currentframe == 6) {
speed = 12;
}
if (_currentframe == 2) {
speed = 1.5;
}
if (_currentframe == 7) {
speed = 1;
}
scale = _xscale;
roll = 0;
bombtimer = 0;
bombdetonate = random(40) + 40;
reversegrav = 22;
}
}
onClipEvent (enterFrame) {
if (_name != "egg") {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (inside._currentframe != 3) {
if ((((_currentframe == 1) or (_currentframe == 3)) or (_currentframe == 5)) or (_currentframe == 6)) {
if (inside._currentframe != 4) {
gravity++;
_y = (_y + gravity);
if (gravity > 20) {
gravity = 20;
}
if (switcher == false) {
_x = (_x + speed);
_rotation = (_rotation + 5);
}
if (switcher == true) {
_x = (_x - speed);
_rotation = (_rotation - 5);
}
if (_root.holder.ground.hitTest(_x, _y + 20, true) or _root.holder.ground.hitTest(_x, _y + 17, true)) {
if (gravity > 15) {
gravity = (-gravity) + 3;
} else {
gravity = -15;
}
}
while (_root.holder.ground.hitTest(_x, _y + 20, true) or _root.holder.ground.hitTest(_x, _y + 17, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 20, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 20, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 20, _y, true)) {
switcher = false;
}
}
}
if ((_currentframe == 2) or (_currentframe == 7)) {
gravity++;
_y = (_y + gravity);
if (gravity > 20) {
gravity = 20;
}
if (_root.char._x > _x) {
_x = (_x + speed);
switcher = false;
_xscale = (-scale);
}
if (_root.char._x < _x) {
_x = (_x - speed);
switcher = true;
_xscale = scale;
}
while (_root.holder.ground.hitTest(_x, _y + 20, true) or _root.holder.ground.hitTest(_x, _y + 19.5, true)) {
_y = (_y-1);
gravity = 0;
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
}
if (_currentframe == 8) {
if (fly == true) {
_x = (_x + 4);
}
if (fly == false) {
_x = (_x - 4);
}
}
if (_currentframe == 5) {
bombtimer++;
if (bombtimer > bombdetonate) {
inside.gotoAndStop(4);
}
if (inside.bomb._currentframe == 46) {
removeMovieClip(this);
}
}
if (_currentframe == 4) {
reversegrav--;
_y = (_y - reversegrav);
_x = (_x + 3);
_rotation = (_rotation + 2);
}
if ((((_root.char.hitTest(this) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._visible == true)) and (_root.char._alpha == 100)) {
if (inside._currentframe != 4) {
_root.holdswitcher = switcher;
_root.charhurt();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt2", this);
someSound.start(0, 1);
}
}
}
if ((((_root.char.hitTest(inside.bomb.hit) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._visible == true)) and (_root.char._alpha == 100)) {
if (_currentframe == 5) {
_root.holdswitcher = switcher;
_root.charhurt();
}
}
i = 0;
while (i < 30) {
if (_root["newbullet" + i].hitTest(this) and (inside._currentframe != 4)) {
if (_root.gunholder == 1) {
health = health - 1;
}
if (_root.gunholder == 2) {
health = health - 2;
}
if (_root.gunholder == 3) {
health = health - 3;
}
if (_root.gunholder == 4) {
health = health - 6;
}
removeMovieClip(_root["newbullet" + i]);
inside.gotoAndStop(2);
}
if (_root["newfirework" + i].hitTest(this) and (inside._currentframe == 1)) {
health = health - 3;
removeMovieClip(_root["newfirework" + i]);
inside.gotoAndStop(2);
}
i++;
}
if (_root.lightning.hitTest(this)) {
_root.lightning.gotoAndPlay(2);
inside.gotoAndStop(3);
health = health - 3;
}
if (_root.orb.hit.hitTest(this)) {
inside.gotoAndStop(3);
health = health - 5;
}
i = 200;
while (i < 205) {
if (_root["newtnt" + i].hitTest(this) and (inside._currentframe == 1)) {
health = health - 2;
_root["newtnt" + i].gotoAndStop(2);
inside.gotoAndStop(2);
}
i++;
}
if (_root.holder.tele.telelight.hitTest(this) and (inside._currentframe == 1)) {
health = health - 5;
inside.gotoAndStop(2);
}
if ((health <= 0) and (inside._currentframe != 3)) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root["newcoinitem" + _root.coinitemcounter].switcher = switcher;
_root.coinitemcounter = _root.coinitemcounter + 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("eggsplatsound", this);
someSound.start(0, 1);
}
if (_root.upgrade31 == true) {
roll = random(3) + 1;
if (roll == 1) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x;
_root["newcoinitem" + _root.coinitemcounter]._y = _y + 20;
_root["newcoinitem" + _root.coinitemcounter].switcher = switcher;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
}
if (_root.upgrade33 == true) {
roll = random(2) + 1;
if (roll == 1) {
duplicateMovieClip (_root.coinitem2, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x;
_root["newcoinitem" + _root.coinitemcounter]._y = _y - 20;
_root["newcoinitem" + _root.coinitemcounter].switcher = switcher;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
}
if (_currentframe == 2) {
_root.maxchainsaweggs = _root.maxchainsaweggs - 1;
}
if (_currentframe == 7) {
_root.maxtough = _root.maxtough - 1;
}
inside.gotoAndStop(3);
}
if ((((_x > 710) or (_x < -10)) or (_y > 590)) or (_y < -10)) {
if (_currentframe == 2) {
_root.maxchainsaweggs = _root.maxchainsaweggs - 1;
}
if (_currentframe == 7) {
_root.maxtough = _root.maxtough - 1;
}
removeMovieClip(this);
}
if (_root.deathscreen._currentframe != 1) {
inside.face.gotoAndStop(2);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 579 MovieClip "healing" in Frame 7
onClipEvent (load) {
if (_name != "healing") {
gravity = 0;
_x = (random(500) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "healing") {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
if (_root.char.hitTest(this)) {
if (_root.hp.hp < _root.health) {
_root.hp.hp = _root.hp.hp + 1;
}
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("healthsound", this);
someSound.start(0, 1);
}
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
Instance of Symbol 580 MovieClip "coinitem" in Frame 7
onClipEvent (load) {
if (_name != "coinitem") {
gravity = 0;
speed = 4;
diss = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if ((_name != "coinitem") and (_currentframe == 1)) {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
diss = diss + 1;
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (diss > 6) {
_alpha = (_alpha - 1);
if (_alpha <= 10) {
removeMovieClip(this);
}
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 1;
gotoAndStop (2);
}
if (_y > 550) {
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
}
}
Instance of Symbol 594 MovieClip "spawner2" in Frame 7
onClipEvent (load) {
_visible = false;
keepup = 100001 /* 0x0186A1 */;
this.swapDepths(keepup);
timer = 0;
switcher = false;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if (_root._currentframe == 8) {
_visible = false;
}
if (_root.deathscreen._currentframe == 1) {
if (((_root.level != 1) and (_root.level != 2)) and (_root.level != 3)) {
timer++;
if (switcher == false) {
_y = (_y + 2);
if (timer > 100) {
switcher = true;
timer = 0;
}
}
if (switcher == true) {
_y = (_y - 2);
if (timer > 100) {
switcher = false;
timer = 0;
}
}
}
}
if (_root.deathscreen._currentframe != 1) {
stop();
} else if (_currentframe != 1) {
play();
}
}
Instance of Symbol 611 MovieClip "erocket" in Frame 7
onClipEvent (load) {
if (_name != "erocket") {
speed = 8;
_visible = false;
timer = 0;
if (_root.heli._currentframe == 1) {
X = _root.heli._x - _x;
Y = (_root.heli._y - _y) - 10;
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
if (_root.heli._currentframe == 2) {
X = _root.char._x - _x;
Y = (_root.char._y - _y) - 4;
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
}
}
onClipEvent (enterFrame) {
if (_root.flashbomb.hitTest(this)) {
removeMovieClip(this);
}
if (bomb._currentframe == 22) {
removeMovieClip(this);
}
if (_root.pausedgame == true) {
removeMovieClip(this);
}
if (dead.dead2._currentframe == 42) {
removeMovieClip(this);
}
if (_currentframe == 2) {
_y = (_y + _root.mainspeed);
}
if (((_name != "erocket") and (_currentframe == 1)) and (_root.endfade._currentframe == 1)) {
if ((_root.heli.hitTest(this) and (_currentframe == 1)) and (_root.heli._currentframe == 1)) {
gotoAndStop (2);
if (_root.heli.shield._currentframe == 1) {
_root.playeronehp = _root.playeronehp - 5;
}
}
if ((((_x > 565) or (_x < -15)) or (_y > 450)) or (_y < -50)) {
removeMovieClip(this);
}
timer++;
if (timer >= 2) {
_visible = true;
}
if (_currentframe == 1) {
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
}
}
Instance of Symbol 689 MovieClip "holder" in Frame 7
onClipEvent (load) {
timer = 0;
timer2 = 0;
timer3 = 0;
timer4 = 0;
timer5 = 0;
timer6 = 0;
timer7 = 0;
timer8 = 0;
timer9 = 0;
shift1 = false;
shift2 = false;
shift3 = false;
shift4 = false;
shift5 = false;
shift6 = false;
shift7 = false;
shift8 = false;
shift9 = false;
}
onClipEvent (enterFrame) {
if ((shift1 == true) and (_root.deathscreen._currentframe == 1)) {
timer++;
if (timer <= 130) {
_y = (_y - 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift2 == true) {
timer2++;
if (timer2 <= 130) {
_y = (_y - 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift3 == true) {
timer3++;
if (timer3 <= 220) {
_x = (_x + 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift4 == true) {
timer4++;
if (timer4 <= 130) {
_y = (_y + 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift5 == true) {
timer5++;
if (timer5 <= 220) {
_x = (_x - 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift6 == true) {
timer6++;
if (timer6 <= 220) {
_x = (_x - 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift7 == true) {
timer7++;
if (timer7 <= 220) {
_x = (_x + 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
if (shift8 == true) {
timer8++;
if (timer8 <= 130) {
_y = (_y - 1);
cog1._rotation = cog1._rotation + 4;
cog2._rotation = cog2._rotation + 4;
cog3._rotation = cog3._rotation - 4;
cog4._rotation = cog4._rotation - 4;
}
}
}
Instance of Symbol 695 MovieClip "spawner3" in Frame 7
onClipEvent (load) {
keepup = 100003 /* 0x0186A3 */;
this.swapDepths(keepup);
timer = 0;
switcher = false;
X = _x;
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if (_root._currentframe == 8) {
_visible = false;
}
if (_root.deathscreen._currentframe == 1) {
if (((((_root.level != 1) and (_root.level != 2)) and (_root.level != 3)) and (_root.level != 4)) and (_root.level != 5)) {
timer++;
if (switcher == false) {
_x = (_x + 2);
if (timer > 100) {
switcher = true;
timer = 0;
}
}
if (switcher == true) {
_x = (_x - 2);
if (timer > 100) {
switcher = false;
timer = 0;
}
}
}
}
if (_root.deathscreen._currentframe != 1) {
stop();
} else if (_currentframe != 1) {
play();
}
}
Instance of Symbol 440 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.switcher = true;
gotoAndPlay (2);
light.gotoAndPlay(2);
}
if (_root.switcher == false) {
gotoAndStop (1);
light.gotoAndStop(1);
}
}
Instance of Symbol 711 MovieClip "box" in Frame 7
onClipEvent (load) {
if (_name != "box") {
gravity = 0;
_x = (random(500) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "box") {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
i = 0;
while (i < 30) {
if (_root["newbullet" + i].hitTest(this) and (_currentframe == 1)) {
gotoAndStop (2);
if (_root.gunholder == 1) {
health = health - 1;
}
if (_root.gunholder == 2) {
health = health - 2;
}
if (_root.gunholder == 3) {
health = health - 3;
}
if (_root.gunholder == 4) {
health = health - 6;
}
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("wooddie", this);
someSound.start(0, 1);
}
removeMovieClip(_root["newbullet" + i]);
inside.gotoAndStop(2);
}
i++;
}
if ((health <= 0) and (_currentframe != 3)) {
roll = random(4) + 1;
if (roll == 1) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
if (roll == 2) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x - 4;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x + 4;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
if (roll == 3) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x - 4;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x + 4;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x + 6;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
if (roll == 4) {
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x - 4;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x + 4;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x + 8;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x - 8;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
_root.boxamount = _root.boxamount - 1;
gotoAndStop (3);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.boxamount = _root.boxamount - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
Instance of Symbol 722 MovieClip "barrel" in Frame 7
onClipEvent (load) {
if (_name != "barrel") {
gravity = 0;
_x = (random(500) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "barrel") {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
i = 0;
while (i < 30) {
if (_root["newbullet" + i].hitTest(this) and (_currentframe == 1)) {
gotoAndStop (2);
if (_root.gunholder == 1) {
health = health - 1;
}
if (_root.gunholder == 2) {
health = health - 2;
}
if (_root.gunholder == 3) {
health = health - 3;
}
if (_root.gunholder == 4) {
health = health - 6;
}
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("wooddie", this);
someSound.start(0, 1);
}
removeMovieClip(_root["newbullet" + i]);
inside.gotoAndStop(2);
}
i++;
}
if ((health <= 0) and (_currentframe != 3)) {
roll = random(2) + 1;
if (roll == 1) {
duplicateMovieClip (_root.coinitem2, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
if (roll == 2) {
duplicateMovieClip (_root.coinitem2, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x - 6;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
duplicateMovieClip (_root.coinitem2, "newcoinitem" + _root.coinitemcounter, _root.coinitemcounter);
_root["newcoinitem" + _root.coinitemcounter]._x = _x + 6;
_root["newcoinitem" + _root.coinitemcounter]._y = _y;
_root.coinitemcounter = _root.coinitemcounter + 1;
}
_root.boxamount = _root.boxamount - 1;
gotoAndStop (3);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.boxamount = _root.boxamount - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
Instance of Symbol 486 MovieClip "powerup" in Frame 7
onClipEvent (load) {
if (_name != "powerup") {
gravity = 0;
_x = (random(300) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "powerup") {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
if ((_root.char.hitTest(this) and (_root.bars._visible == false)) and (_root.char._alpha == 100)) {
if (_currentframe == 1) {
_root.bars.gotoAndStop(2);
_root.char._alpha = 15;
}
if (_currentframe == 2) {
_root.bars.gotoAndStop(3);
_root.quickgunhold = _root.gunspeedholder;
_root.gunspeedholder = 3;
}
if (_currentframe == 3) {
i = 50;
while (i < 91) {
_root["newegg" + i].health = 0;
i++;
}
}
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("powerupsound", this);
someSound.start(0, 1);
}
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
Instance of Symbol 726 MovieClip "spawner" in Frame 7
onClipEvent (load) {
keepup = 100000 /* 0x0186A0 */;
this.swapDepths(keepup);
timer = 0;
switcher = false;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if (_root._currentframe == 8) {
_visible = false;
}
if (_root.deathscreen._currentframe == 1) {
if (((_root.level != 1) and (_root.level != 2)) and (_root.level != 3)) {
timer++;
if (switcher == false) {
_y = (_y + 2);
if (timer > 100) {
switcher = true;
timer = 0;
}
}
if (switcher == true) {
_y = (_y - 2);
if (timer > 100) {
switcher = false;
timer = 0;
}
}
}
}
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Instance of Symbol 732 MovieClip "coinitem2" in Frame 7
onClipEvent (load) {
if (_name != "coinitem2") {
gravity = 0;
speed = 4;
diss = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if ((_name != "coinitem2") and (_currentframe == 1)) {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
diss = diss + 1;
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
if (diss > 6) {
_alpha = (_alpha - 1);
if (_alpha <= 10) {
removeMovieClip(this);
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 5;
gotoAndStop (2);
}
if (_y > 550) {
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
}
}
Instance of Symbol 734 MovieClip "firework" in Frame 7
onClipEvent (load) {
if (_name != "firework") {
speed = 7;
timer = 0;
_x = _root.char._x;
_y = (_root.char._y - 30);
X = _root._xmouse - _x;
Y = _root._ymouse - _y;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "firework") {
if (_root.holder.ground.hitTest(_x, _y, true) and (inside._currentframe == 1)) {
inside.gotoAndStop(2);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
removeMovieClip(this);
}
timer++;
if (timer >= 3) {
_visible = true;
}
_x = (_x + (Math.cos((_rotation * Math.PI) / 180) * speed));
_y = (_y + (Math.sin((_rotation * Math.PI) / 180) * speed));
}
}
Instance of Symbol 736 MovieClip "tnt" in Frame 7
onClipEvent (load) {
if (_name != "tnt") {
gravity = 0;
_x = (random(500) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if ((_name != "tnt") and (_currentframe == 1)) {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
if ((health <= 0) and (_currentframe != 3)) {
gotoAndStop (3);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.boxamount = _root.boxamount - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
Instance of Symbol 742 MovieClip "orb" in Frame 7
onClipEvent (load) {
Height = _height;
Width = _width;
active = false;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (active == true) {
_width = (_width + 2);
_height = (_height + 2);
}
if (_width > 170) {
_width = Width;
_height = Height;
active = false;
_x = -100;
_y = -100;
}
}
Instance of Symbol 750 MovieClip "lightning" in Frame 7
onClipEvent (load) {
active = false;
speed = 1;
timer = 0;
dir = false;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if ((active == true) and (timer < 15)) {
_y = (_y - speed);
timer++;
}
if ((active == true) and (timer >= 15)) {
if (dir == true) {
_x = (_x - 2);
}
if (dir == false) {
_x = (_x + 2);
}
}
if ((_x > 750) or (_x < -50)) {
active = false;
timer = 0;
}
}
Instance of Symbol 802 MovieClip "char" in Frame 7
onClipEvent (load) {
acc = 0;
i = 0;
grav = 0;
speed = 3;
jumpHeight = 10;
scale = _xscale;
yp = 0;
holder.grounded = false;
timer = 0;
timer2 = 0;
hurt = false;
switcher = false;
left = false;
jump = false;
}
onClipEvent (enterFrame) {
if ((_currentframe != 7) and (_visible == true)) {
if ((_y > 590) and (_root.deathscreen._currentframe == 1)) {
_root.deathscreen.gotoAndPlay(2);
}
if (_currentframe != 7) {
if (grav >= 19) {
grav = 19;
}
_x = (_x + acc);
acc = acc - 0.5;
if (acc <= 0) {
acc = 0;
}
grav++;
_y = (_y + grav);
}
if (_alpha < 100) {
_alpha = (_alpha+1);
}
if ((hurt == true) and (_currentframe != 7)) {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
}
if (((_root.holder.ground.hitTest(_x, _y + 3, true) and (hurt == true)) and (_currentframe != 7)) and (grav > 2)) {
gotoAndStop (1);
gun.gotoAndStop(_root.gunholder);
hurt = false;
}
if (_root.toplayer.hitTest(this) and (_x <= 350)) {
if ((_root.char.shield._currentframe == 3) and (_root.char._alpha == 100)) {
if (_root.char.shield._alpha <= 30) {
_root.char.shield.gotoAndStop(1);
}
_root.char.shield._alpha = _root.char.shield._alpha - 15;
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -20;
_root.char.gotoAndStop(6);
}
if (_root.char.shield._currentframe == 2) {
_root.char.shield.gotoAndStop(1);
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -20;
_root.char.gotoAndStop(6);
}
if (((_root.hp._currentframe != 2) and (_alpha == 100)) and (_root.char.shield._currentframe == 1)) {
_root.hp.hp = _root.hp.hp - 1;
_alpha = _root.anumber;
_root.char.hurt = true;
_root.char.gotoAndStop(6);
_root.char.switcher = false;
_root.char.grav = -20;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt1", this);
someSound.start(0, 1);
}
}
if (((_root.hp._currentframe == 2) and (_alpha == 100)) and (_root.char.shield._currentframe == 1)) {
_root.hp._visible = false;
_root.char.gotoAndStop(7);
}
if ((_root.hp._currentframe == 2) and (_alpha != 100)) {
_root.char.hurt = true;
_alpha = _root.anumber;
_root.char.gotoAndStop(6);
_root.char.switcher = false;
_root.char.grav = -20;
}
if ((_root.hp._currentframe != 2) and (_alpha != 100)) {
_root.char.hurt = true;
_alpha = _root.anumber;
_root.char.gotoAndStop(6);
_root.char.switcher = false;
_root.char.grav = -20;
}
}
if (_root.toplayer.hitTest(this) and (_x >= 350)) {
if ((_root.char.shield._currentframe == 3) and (_root.char._alpha == 100)) {
if (_root.char.shield._alpha <= 30) {
_root.char.shield.gotoAndStop(1);
}
_root.char.shield._alpha = _root.char.shield._alpha - 15;
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -20;
_root.char.gotoAndStop(6);
}
if (_root.char.shield._currentframe == 2) {
_root.char.shield.gotoAndStop(1);
_root.char.hurt = true;
_root.char._alpha = _root.anumber;
_root.char.switcher = _root.holdswitcher;
_root.char.grav = -20;
_root.char.gotoAndStop(6);
}
if (((_root.hp._currentframe != 2) and (_alpha == 100)) and (_root.char.shield._currentframe == 1)) {
_root.hp.hp = _root.hp.hp - 1;
_root.char.hurt = true;
_alpha = _root.anumber;
_root.char.gotoAndStop(6);
_root.char.switcher = true;
_root.char.grav = -20;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt1", this);
someSound.start(0, 1);
}
}
if (((_root.hp._currentframe == 2) and (_alpha == 100)) and (_root.char.shield._currentframe == 1)) {
_root.hp._visible = false;
_root.char.gotoAndStop(7);
}
if ((_root.hp._currentframe != 2) and (_alpha != 100)) {
_root.char.hurt = true;
_alpha = _root.anumber;
_root.char.gotoAndStop(6);
_root.char.switcher = true;
_root.char.grav = -20;
}
if ((_root.hp._currentframe == 2) and (_alpha != 100)) {
_root.char.hurt = true;
_alpha = _root.anumber;
_root.char.gotoAndStop(6);
_root.char.switcher = true;
_root.char.grav = -20;
}
}
if (_x > 700) {
_x = 700;
}
if (_x < 0) {
_x = 0;
}
if (hurt == false) {
if (_root.slowmotion == true) {
speed = 0.5;
grav = grav / 20;
} else {
speed = 5;
}
if (_root.cursor._x < this._x) {
_xscale = (-scale);
left = true;
}
if (_root.cursor._x > this._x) {
_xscale = scale;
left = false;
}
while (_root.holder.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.holder.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
grav = 0;
if (((_currentframe == 5) or (((_currentframe == 2) and (!Key.isDown(65))) and (!Key.isDown(68)))) or (((_currentframe == 1) and (!Key.isDown(65))) and (!Key.isDown(68)))) {
gotoAndStop (3);
}
}
if (Key.isDown(68)) {
_x = (_x + speed);
checkrightwall();
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (_root.cursor._x < this._x) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (_root.holder.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
checkleftwall();
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (_root.cursor._x > this._x) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (_root.holder.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.holder.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if (((((!_root.holder.ground.hitTest(_x, _y + 3, true)) and Key.isDown(87)) and (jump == true)) and (_root.fuel > 0)) and (_root.upgrade37 == true)) {
grav = 0;
_y = (_y - 4);
jet.gotoAndStop(2);
gotoAndStop (5);
_root.fuel = _root.fuel - 1;
}
if ((!_root.holder.ground.hitTest(_x, _y + 3, true)) and (!Key.isDown(87))) {
jump = true;
jet.gotoAndStop(1);
}
if (Key.isDown(87)) {
if (_root.holder.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.holder.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
grav = (-jumpHeight) - _root.jumpheightholder;
_y = (_y - 4);
this.gotoAndStop(5);
jump = false;
jet.gotoAndStop(1);
}
}
if ((_root.holder.ground.hitTest(_x + (hit._width / 2), (_y - hit._height) - 20, true) or _root.holder.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.holder.ground.hitTest(_x, (_y - hit._height) - 20, true)) {
grav = 6;
_y = (_y + 5);
}
if ((Key.isDown(83) and (!Key.isDown(65))) and (!Key.isDown(68))) {
}
i = 50;
while (i < 69) {
if (_root["newebullet" + i].hitTest(this) and (_root["newebullet" + i].inside._currentframe == 1)) {
_root["newebullet" + i].inside.gotoAndStop(3);
health = health - 1;
}
i++;
}
if (_root.hp._currentframe == 1) {
gotoAndStop (7);
}
if (Key.isDown(32) and (_root.upgrade34 == true)) {
_root.spawnfirework();
}
if ((Key.isDown(81) and (_root.upgrade35 == true)) and (_root.lightning.active == false)) {
_root.spawnlightning();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("thundersound", this);
someSound.start(0, 1);
}
}
if (Key.isDown(69) and (_root.upgrade36 == true)) {
_root.spawnorb();
}
Xd = _root.char._xmouse - gun._x;
Yd = _root.char._ymouse - gun._y;
radAngle = Math.atan2(Yd, Xd);
gun._rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
}
Instance of Symbol 806 MovieClip "turret" in Frame 7
onClipEvent (load) {
_root.controlled = false;
key = false;
}
onClipEvent (enterFrame) {
if (_root.controlled == true) {
_root.char._x = _x - 20;
_root.char._y = 345;
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
angle = Math.atan2(Yd, Xd);
changer = int(((angle * 360) / (Math.PI*2)) + 180);
if (changer < 0) {
changer = changer + 180;
}
if (changer > 360) {
changer = changer - 360;
}
if (changer < 150) {
changer = 150;
}
if (changer > 210) {
changer = 210;
}
_rotation = changer;
}
if ((Key.isDown(69) and (key == false)) and (_root.controlled == false)) {
key = true;
if (_root.controlled == false) {
if (_root.char.hitTest(this)) {
_root.controlled = true;
_root.char._xscale = _root.char.scale;
if (_root.eee._visible == true) {
_root.eee._visible = false;
someSound = new Sound();
someSound.attachSound("YES", this);
someSound.start(0, 1);
}
_root.char.gotoAndStop(6);
}
}
}
if ((Key.isDown(69) and (key == false)) and (_root.controlled == true)) {
key = true;
_root.controlled = false;
_root.char.gotoAndStop(3);
_root.char._x = _x - 25;
}
if (!Key.isDown(69)) {
key = false;
}
}
Instance of Symbol 810 MovieClip in Frame 7
onClipEvent (load) {
gotoAndStop (2);
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (timer > 100) {
_visible = false;
}
}
Instance of Symbol 820 MovieClip "toplayer" in Frame 7
onClipEvent (load) {
keepup = 0;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
_visible = false;
}
keepup = _root.getNextHighestDepth();
this.swapDepths(keepup);
}
Instance of Symbol 822 MovieClip "blood" in Frame 7
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
_visible = false;
}
}
Instance of Symbol 831 MovieClip "hp" in Frame 7
onClipEvent (load) {
hp = _root.health;
}
onClipEvent (enterFrame) {
gotoAndStop(hp);
}
Instance of Symbol 839 MovieClip "tentacle" in Frame 7
onClipEvent (load) {
X = _x;
}
onClipEvent (enterFrame) {
if (_root.deathscreen._currentframe == 1) {
_x = (_x - 0.3);
}
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Instance of Symbol 840 MovieClip in Frame 7
onClipEvent (load) {
keepup = 0;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
_visible = false;
}
keepup = _root.getNextHighestDepth();
this.swapDepths(keepup);
}
Instance of Symbol 846 MovieClip "bars" in Frame 7
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 858 MovieClip "firespell" in Frame 7
onClipEvent (load) {
countdown._visible = false;
timerstart = false;
timer = 0;
if (_root.ended == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if ((_alpha != 100) and (timerstart == false)) {
countdown._visible = true;
countdown.text = 20;
timerstart = true;
}
if (timerstart == true) {
timer++;
}
if (timer > 20) {
countdown.text = countdown.text - 1;
timer = 0;
}
if (countdown.text == 0) {
timerstart = false;
_alpha = 100;
countdown._visible = false;
}
}
Instance of Symbol 860 MovieClip "lightningspell" in Frame 7
onClipEvent (load) {
countdown._visible = false;
timerstart = false;
timer = 0;
if (_root.ended == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if ((_alpha != 100) and (timerstart == false)) {
countdown._visible = true;
countdown.text = 25;
timerstart = true;
}
if (timerstart == true) {
timer++;
}
if (timer > 20) {
countdown.text = countdown.text - 1;
timer = 0;
}
if (countdown.text == 0) {
timerstart = false;
_alpha = 100;
countdown._visible = false;
}
}
Instance of Symbol 862 MovieClip "orbspell" in Frame 7
onClipEvent (load) {
countdown._visible = false;
timerstart = false;
timer = 0;
if (_root.ended == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if ((_alpha != 100) and (timerstart == false)) {
countdown._visible = true;
countdown.text = 30;
timerstart = true;
}
if (timerstart == true) {
timer++;
}
if (timer > 20) {
countdown.text = countdown.text - 1;
timer = 0;
}
if (countdown.text == 0) {
timerstart = false;
_alpha = 100;
countdown._visible = false;
}
}
Instance of Symbol 868 MovieClip "fuelnum" in Frame 7
onClipEvent (load) {
if (_root.ended == false) {
_visible = false;
}
}
Instance of Symbol 871 MovieClip "fuelpickup" in Frame 7
onClipEvent (load) {
if (_name != "fuelpickup") {
gravity = 0;
_x = (random(300) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
removeMovieClip(this);
}
if (_name != "fuelpickup") {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
if (_root.char.hitTest(this)) {
if (_currentframe == 1) {
_root.fuel = _root.fuel + 20;
}
if (_currentframe == 2) {
_root.fuel = _root.fuel + 50;
}
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("fuelsound", this);
someSound.start(0, 1);
}
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
}
}
Instance of Symbol 874 MovieClip in Frame 7
onClipEvent (load) {
beenpressed = false;
bob = false;
fred = false;
john = false;
_root.sound = true;
}
onClipEvent (enterFrame) {
if (!Key.isDown(79)) {
john = false;
}
if (Key.isDown(79)) {
if ((_root._quality == "HIGH") and (john == false)) {
_root._quality = "LOW";
john = true;
} else if ((_root._quality == "LOW") and (john == false)) {
_root._quality = "HIGH";
john = true;
}
}
if (!Key.isDown(77)) {
bob = false;
}
if (Key.isDown(77)) {
if ((_root.sound == true) and (bob == false)) {
_root.sound = false;
stopAllSounds();
bob = true;
} else if ((_root.sound == false) and (bob == false)) {
_root.sound = true;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("mainmusic", this);
someSound.start(0, 9999999);
}
bob = true;
}
}
if (!Key.isDown(77)) {
fred = false;
}
}
Instance of Symbol 880 MovieClip "bossegg" in Frame 7
onClipEvent (load) {
timer = 0;
timer2 = 0;
health = 1000;
switcher = false;
grav = 0;
}
onClipEvent (enterFrame) {
if (_root.level != 25) {
_y = -143;
}
if ((health <= 0) and (_currentframe != 3)) {
grav++;
_y = (_y + grav);
_rotation = (_rotation + 2);
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (3);
}
if (_y > 1000) {
gotoAndStop (3);
}
}
if ((_currentframe != 3) and (_root.level == 25)) {
if (_y < 100) {
_y = (_y + 2);
}
if (_y >= 90) {
timer++;
if (timer >= 50) {
duplicateMovieClip (_root.egg, "newegg" + _root.enemydepthcounter, _root.enemydepthcounter);
_root["newegg" + _root.enemydepthcounter]._x = _x;
_root["newegg" + _root.enemydepthcounter]._y = _y;
_root["newegg" + _root.enemydepthcounter].gotoAndStop(5);
_root.enemydepthcounter = _root.enemydepthcounter + 1;
timer = 0;
}
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x >= 600) {
switcher = true;
}
if (_x <= 100) {
switcher = false;
}
i = 0;
while (i < 30) {
if (_root["newbullet" + i].hitTest(hit) and (inside._currentframe != 4)) {
if (_root.gunholder == 1) {
health = health - 1;
}
if (_root.gunholder == 2) {
health = health - 2;
}
if (_root.gunholder == 3) {
health = health - 3;
}
if (_root.gunholder == 4) {
health = health - 6;
}
removeMovieClip(_root["newbullet" + i]);
gotoAndStop (2);
}
if (_root["newfirework" + i].hitTest(hit) and (_currentframe == 1)) {
health = health - 3;
removeMovieClip(_root["newfirework" + i]);
gotoAndStop (2);
}
i++;
}
if (_root.lightning.hitTest(hit) and (_root.lightning._currentframe == 1)) {
_root.lightning.gotoAndPlay(2);
health = health - 3;
gotoAndStop (2);
}
if (_root.orb.hit.hitTest(hit)) {
gotoAndStop (2);
health = health - 5;
}
if ((((_root.char.hitTest(hit) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._visible == true)) and (_root.char._alpha == 100)) {
if (inside._currentframe != 4) {
_root.holdswitcher = switcher;
_root.charhurt();
}
}
i = 200;
while (i < 205) {
if (_root["newtnt" + i].hitTest(this) and (inside._currentframe == 1)) {
health = health - 2;
_root["newtnt" + i].gotoAndStop(2);
gotoAndStop (2);
}
i++;
}
if (_root.holder.tele.telelight.hitTest(hit) and (inside._currentframe == 1)) {
health = health - 5;
gotoAndStop (2);
}
}
}
}
Instance of Symbol 1065 MovieClip "deathscreen" in Frame 7
onClipEvent (load) {
keepup = 0;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
_visible = false;
}
keepup = _root.getNextHighestDepth();
this.swapDepths(keepup);
}
Frame 8
stop();
_root.clock = 10;
_root.ended = true;
Instance of Symbol 158 MovieClip in Frame 8
on (release) {
getURL ("http://www.eggysgames.com/", "blank");
}
Symbol 35 MovieClip Frame 4
stop();
removeMovieClip(_parent._parent);
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 36 MovieClip Frame 3
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 3
stop();
Symbol 44 MovieClip [bullet] Frame 1
stop();
Symbol 44 MovieClip [bullet] Frame 2
stop();
Symbol 44 MovieClip [bullet] Frame 3
stop();
Symbol 52 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.gotoAndPlay(2);
}
Symbol 52 MovieClip Frame 2
gotoAndPlay (1);
Symbol 62 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 21
stop();
Symbol 130 MovieClip Frame 22
prevFrame();
Symbol 144 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 1
stop();
Instance of Symbol 130 MovieClip "node1" in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.power == 4) {
stopDrag();
}
}
on (press) {
if (_root.power != 4) {
startDrag (this);
}
}
on (release) {
if (_root.power != 4) {
stopDrag();
}
}
Symbol 168 Button
on (press) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Symbol 185 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 185 MovieClip Frame 225
_root.nextFrame();
Symbol 230 MovieClip Frame 144
_root.nextFrame();
Symbol 236 MovieClip Frame 1
if (_root.sound == true) {
buzz = new Sound(this);
buzz.attachSound("buzzsound", this);
buzz.start(0, 1);
}
Symbol 236 MovieClip Frame 5
if (_root.sound == true) {
buzz.stop();
}
Symbol 236 MovieClip Frame 93
if (_root.sound == true) {
buzz = new Sound(this);
buzz.attachSound("buzzsound", this);
buzz.start(0, 1);
}
Symbol 236 MovieClip Frame 95
if (_root.sound == true) {
buzz.stop();
}
Symbol 236 MovieClip Frame 172
if (_root.sound == true) {
buzz = new Sound(this);
buzz.attachSound("buzzsound", this);
buzz.start(0, 1);
}
Symbol 236 MovieClip Frame 180
if (_root.sound == true) {
buzz.stop();
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 3
stop();
Symbol 260 Button
on (press) {
_root.gotoAndStop(6);
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 3
onClipEvent (load) {
i = 0;
while (i < 20) {
if (_root["newenemyone" + i].hit.hitTest(this)) {
_root["newenemyone" + i].hp = _root["newenemyone" + i].hp - _root.cowdamage;
_root["newenemyone" + i].gravity = -6;
_root["newenemyone" + i].knock = true;
}
i++;
}
}
Symbol 281 MovieClip Frame 39
_parent._parent.testing = true;
stop();
Symbol 281 MovieClip Frame 46
_parent._parent.testing = true;
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
stop();
if (_root.sound == true) {
another = new Sound();
another.attachSound("explosion1", this);
another.start(0, 1);
}
Symbol 288 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 2
stop();
Symbol 299 MovieClip Frame 3
stop();
Symbol 299 MovieClip Frame 4
stop();
Symbol 299 MovieClip Frame 5
stop();
Symbol 299 MovieClip Frame 6
stop();
Symbol 299 MovieClip Frame 7
stop();
Symbol 299 MovieClip Frame 8
stop();
Instance of Symbol 288 MovieClip in Symbol 299 MovieClip Frame 8
onClipEvent (load) {
bob = false;
timer = random(100) + 50;
}
onClipEvent (enterFrame) {
if (_root.fighting == true) {
if (bob == false) {
timer--;
}
i = 0;
while (i < 20) {
if (((((_root["newenemyone" + i]._x - _parent._x) < 400) and (bob == false)) and (timer < 0)) and (_root["newenemyone" + i]._y > 330)) {
Y = (_root["newenemyone" + i]._y - _parent._y) - 350;
if (_root["newenemyone" + i].side == 0) {
X = (_root["newenemyone" + i]._x - _parent._x) + 20;
}
if (_root["newenemyone" + i].side == 1) {
X = (_root["newenemyone" + i]._x - _parent._x) - 20;
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
bob = true;
}
i++;
}
if ((bob == true) and (timer < 0)) {
duplicateMovieClip (_root.cannonball, "newcannonball" + _root.b, _root.getNextHighestDepth());
tempname = _root["newcannonball" + _root.b];
tempname._x = _parent._x;
tempname._y = _parent._y - 10;
tempname._rotation = _rotation;
_root.b++;
timer = random(100) + 50;
bob = false;
if (_root.sound == true) {
}
}
}
}
Symbol 299 MovieClip Frame 9
stop();
Instance of Symbol 292 MovieClip in Symbol 299 MovieClip Frame 9
onClipEvent (load) {
bob = false;
timer = random(10) + 100;
}
onClipEvent (enterFrame) {
if (_root.fighting == true) {
if (bob == false) {
timer--;
}
i = 0;
while (i < 20) {
if ((((((_root["newenemyone" + i]._x - _parent._x) < 400) and (bob == false)) and (timer < 0)) and (_root["newenemyone" + i].flying == true)) and (_root["newenemyone" + i]._currentframe != 3)) {
Y = _root["newenemyone" + i]._y - _parent._y;
if (_root["newenemyone" + i].side == 0) {
X = _root["newenemyone" + i]._x - _parent._x;
}
if (_root["newenemyone" + i].side == 1) {
X = _root["newenemyone" + i]._x - _parent._x;
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
bob = true;
}
i++;
}
if ((bob == true) and (timer < 0)) {
duplicateMovieClip (_root.myarrow, "newmyarrow" + _root.b, _root.getNextHighestDepth());
tempname = _root["newmyarrow" + _root.b];
tempname._x = _parent._x;
tempname._y = _parent._y - 10;
tempname._rotation = _rotation;
_root.b++;
timer = random(10) + 100;
bob = false;
}
}
}
Symbol 299 MovieClip Frame 10
stop();
Symbol 305 Button
on (press) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 310 Button
on (press) {
getURL ("http://www.facebook.com/ArmorGames", "_blank");
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 318 Button
on (press) {
_root.gotoAndStop(7);
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 340 MovieClip Frame 13
_parent.removeMovieClip(this);
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("coinsound", this);
someSound.start(0, 1);
}
Symbol 350 MovieClip Frame 300
_parent.goagain = true;
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
stop();
Instance of Symbol 352 MovieClip in Symbol 354 MovieClip Frame 2
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 2
stop();
Instance of Symbol 352 MovieClip in Symbol 372 MovieClip Frame 2
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 375 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 419 MovieClip Frame 15
stop();
removeMovieClip(_parent._parent);
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 2
stop();
Symbol 420 MovieClip Frame 3
stop();
Instance of Symbol 352 MovieClip in Symbol 428 MovieClip Frame 1
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 428 MovieClip Frame 5
_parent.gotoAndStop(1);
Instance of Symbol 352 MovieClip in Symbol 428 MovieClip Frame 5
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 429 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 429 MovieClip Frame 2
stop();
Symbol 429 MovieClip Frame 3
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 14
stop();
Symbol 439 MovieClip Frame 26
stop();
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 2
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("leversound", this);
someSound.start(0, 1);
}
play();
Symbol 440 MovieClip Frame 3
play();
Symbol 440 MovieClip Frame 4
play();
Symbol 440 MovieClip Frame 5
play();
Symbol 440 MovieClip Frame 6
play();
Symbol 440 MovieClip Frame 7
play();
Symbol 440 MovieClip Frame 8
play();
Symbol 440 MovieClip Frame 9
play();
Symbol 440 MovieClip Frame 10
play();
Symbol 440 MovieClip Frame 11
play();
Symbol 440 MovieClip Frame 12
play();
Symbol 440 MovieClip Frame 13
play();
Symbol 440 MovieClip Frame 14
play();
Symbol 440 MovieClip Frame 15
play();
Symbol 440 MovieClip Frame 16
play();
Symbol 440 MovieClip Frame 17
play();
Symbol 440 MovieClip Frame 18
play();
Symbol 440 MovieClip Frame 19
play();
Symbol 440 MovieClip Frame 20
play();
Symbol 440 MovieClip Frame 21
play();
Symbol 440 MovieClip Frame 22
play();
Symbol 440 MovieClip Frame 23
play();
Symbol 440 MovieClip Frame 24
play();
Symbol 440 MovieClip Frame 25
play();
Symbol 440 MovieClip Frame 26
play();
Symbol 440 MovieClip Frame 27
play();
Symbol 440 MovieClip Frame 28
play();
Symbol 440 MovieClip Frame 29
play();
Symbol 440 MovieClip Frame 30
play();
Symbol 440 MovieClip Frame 31
play();
Symbol 440 MovieClip Frame 32
play();
Symbol 440 MovieClip Frame 33
play();
Symbol 440 MovieClip Frame 34
play();
Symbol 440 MovieClip Frame 35
play();
Symbol 440 MovieClip Frame 36
play();
Symbol 440 MovieClip Frame 37
play();
Symbol 440 MovieClip Frame 38
play();
Symbol 440 MovieClip Frame 39
play();
Symbol 440 MovieClip Frame 40
play();
play();
Symbol 450 MovieClip Frame 1
Instance of Symbol 446 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.char.hitTest(this) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._alpha == 100)) {
_root.holdswitcher = switcher;
_root.charhurt();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt3", this);
someSound.start(0, 1);
}
}
}
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
play();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("pistolso", this);
someSound.start(0, 1);
}
Symbol 467 MovieClip Frame 3
play();
Symbol 467 MovieClip Frame 4
play();
Symbol 468 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
play();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("telesound", this);
someSound.start(0, 1);
}
Symbol 471 MovieClip Frame 41
_root.char._visible = true;
_root.char._x = _root.holder._x + 25;
_root.char._y = 190;
_root.holder.tele.gotoAndStop(1);
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 2
stop();
Symbol 486 MovieClip Frame 3
stop();
Instance of Symbol 486 MovieClip "powerup" in Symbol 489 MovieClip Frame 1
onClipEvent (load) {
if (_name != "powerup") {
gravity = 0;
_x = (random(300) + 100);
_y = 0;
health = 2;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_name != "powerup") {
gravity++;
_y = (_y + gravity);
if (gravity > 18) {
gravity = 18;
}
while (_root.holder.ground.hitTest(_x, _y, true)) {
gravity = 0;
_y = (_y-1);
}
if ((_root.char.hitTest(this) and (_root.bars._visible == false)) and (_root.char._alpha == 100)) {
if (_currentframe == 1) {
_root.bars.gotoAndStop(2);
_root.char._alpha = 15;
removeMovieClip(this);
}
if (_currentframe == 2) {
_root.bars.gotoAndStop(3);
_root.quickgunhold = _root.gunspeedholder;
_root.gunspeedholder = 3;
removeMovieClip(this);
}
if (_currentframe == 3) {
i = 50;
while (i < 91) {
_root["newegg" + i].health = 0;
i++;
}
removeMovieClip(this);
}
_root.maxitems = _root.maxitems - 1;
}
if ((((_x > 710) or (_x < -10)) or (_y > 560)) or (_y < -10)) {
_root.maxitems = _root.maxitems - 1;
removeMovieClip(this);
}
if (_root.deathscreen._currentframe == 40) {
removeMovieClip(this);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift3 == true)) and (_root.holder.timer3 <= 220)) {
_x = (_x + 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift5 == true)) and (_root.holder.timer5 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift6 == true)) and (_root.holder.timer6 <= 220)) {
_x = (_x - 1);
}
if ((_root.holder.ground.hitTest(_x, _y + 3, true) and (_root.holder.shift7 == true)) and (_root.holder.timer7 <= 220)) {
_x = (_x + 1);
}
}
}
Instance of Symbol 341 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 425 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 15);
}
Instance of Symbol 440 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_currentframe == 1)) and Key.isDown(83)) {
_root.holder.excla2._visible = false;
gotoAndPlay (2);
i = 50;
while (i < 91) {
_root["newegg" + i].health = 0;
i++;
}
}
}
Instance of Symbol 471 MovieClip "cylspawn" in Symbol 490 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._visible == true)) and Key.isDown(83)) {
_root.char._visible = false;
_root.holder.excla._visible = false;
_root.char._x = _x;
_root.holder.tele.gotoAndStop(2);
gotoAndPlay (2);
}
}
Symbol 491 MovieClip Frame 18
stop();
Instance of Symbol 506 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(21);
}
Instance of Symbol 521 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.level == 25) {
_visible = false;
}
if (_root.level != 25) {
_visible = true;
}
}
Symbol 539 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
play();
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 2
stop();
Symbol 548 MovieClip Frame 3
stop();
Instance of Symbol 425 MovieClip in Symbol 552 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 15);
}
Symbol 552 MovieClip Frame 5
_parent.gotoAndStop(1);
Instance of Symbol 425 MovieClip in Symbol 552 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 15);
}
Symbol 553 MovieClip Frame 1
stop();
Instance of Symbol 425 MovieClip in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 15);
}
Symbol 553 MovieClip Frame 2
stop();
Symbol 553 MovieClip Frame 3
stop();
Instance of Symbol 352 MovieClip in Symbol 555 MovieClip Frame 1
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 555 MovieClip Frame 5
_parent.gotoAndStop(1);
Instance of Symbol 352 MovieClip in Symbol 555 MovieClip Frame 5
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 556 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 556 MovieClip Frame 1
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 556 MovieClip Frame 2
stop();
Symbol 556 MovieClip Frame 3
stop();
Symbol 561 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 565 MovieClip Frame 46
stop();
_parent.removeMovieClip();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
stop();
Symbol 566 MovieClip Frame 3
stop();
Symbol 566 MovieClip Frame 4
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("explosionsound", this);
someSound.start(0, 1);
}
Instance of Symbol 352 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 570 MovieClip Frame 5
_parent.gotoAndStop(1);
Instance of Symbol 352 MovieClip in Symbol 570 MovieClip Frame 5
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 571 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
goagain = false;
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
}
onClipEvent (enterFrame) {
if (goagain == true) {
bob = random(150);
e1.gotoAndPlay(bob);
e2.gotoAndPlay(bob);
goagain = false;
}
}
Symbol 571 MovieClip Frame 2
stop();
Symbol 571 MovieClip Frame 3
stop();
Symbol 573 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 576 MovieClip Frame 1
stop();
Symbol 576 MovieClip Frame 2
stop();
Symbol 576 MovieClip Frame 3
stop();
Symbol 577 MovieClip Frame 1
stop();
Symbol 577 MovieClip Frame 2
stop();
Symbol 577 MovieClip Frame 3
stop();
Symbol 577 MovieClip Frame 4
stop();
Symbol 577 MovieClip Frame 5
stop();
Symbol 577 MovieClip Frame 6
stop();
Symbol 577 MovieClip Frame 7
stop();
Symbol 577 MovieClip Frame 8
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 2
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("coinsound", this);
someSound.start(0, 1);
}
Symbol 594 MovieClip Frame 1
stop();
Instance of Symbol 588 MovieClip in Symbol 594 MovieClip Frame 1
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 588 MovieClip in Symbol 594 MovieClip Frame 2
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 594 MovieClip Frame 83
_root.spawn2();
Symbol 594 MovieClip Frame 85
gotoAndPlay (11);
Symbol 600 MovieClip Frame 4
gotoAndPlay (2);
Instance of Symbol 600 MovieClip "flare" in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.endfade._currentframe == 1) {
stop();
}
}
Symbol 610 MovieClip Frame 22
stop();
Symbol 611 MovieClip Frame 1
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("missound", this);
someSound.start(0, 1);
}
Symbol 611 MovieClip Frame 2
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("vehsound", this);
someSound.start(0, 1);
}
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 3
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("bouncesound", this);
someSound.start(0, 1);
}
Instance of Symbol 450 MovieClip "saw" in Symbol 636 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Symbol 644 MovieClip Frame 1
if (_root.sound == true) {
buzz = new Sound(this);
buzz.attachSound("buzzsound", this);
buzz.start(0, 1);
}
Symbol 644 MovieClip Frame 5
if (_root.sound == true) {
buzz.stop();
}
Symbol 644 MovieClip Frame 93
if (_root.sound == true) {
buzz = new Sound(this);
buzz.attachSound("buzzsound", this);
buzz.start(0, 1);
}
Symbol 644 MovieClip Frame 95
if (_root.sound == true) {
buzz.stop();
}
Symbol 644 MovieClip Frame 172
if (_root.sound == true) {
buzz = new Sound(this);
buzz.attachSound("buzzsound", this);
buzz.start(0, 1);
}
Symbol 644 MovieClip Frame 180
if (_root.sound == true) {
buzz.stop();
}
Symbol 649 MovieClip Frame 40
stop();
Symbol 650 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 2
stop();
Instance of Symbol 661 MovieClip in Symbol 669 MovieClip Frame 71
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_root.dying == false)) {
_root.dying = true;
_root.char.gotoAndStop(6);
}
}
Instance of Symbol 664 MovieClip in Symbol 669 MovieClip Frame 72
onClipEvent (enterFrame) {
if (((_root.char.hitTest(this) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._alpha == 100)) {
_root.holdswitcher = switcher;
_root.charhurt();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt3", this);
someSound.start(0, 1);
}
}
}
Instance of Symbol 683 MovieClip in Symbol 684 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.char.hitTest(this) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._alpha == 100)) {
_root.holdswitcher = switcher;
_root.charhurt();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt3", this);
someSound.start(0, 1);
}
}
}
Symbol 687 MovieClip Frame 1
Instance of Symbol 446 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.char.hitTest(this) and (_root.char._currentframe != 6)) and (_root.char._currentframe != 7)) and (_root.char._alpha == 100)) {
_root.holdswitcher = switcher;
_root.charhurt();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("hurt3", this);
someSound.start(0, 1);
}
}
}
Instance of Symbol 687 MovieClip "saw" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Instance of Symbol 450 MovieClip "saw" in Symbol 688 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Instance of Symbol 634 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_root.char.hurt == false)) {
_root.char.grav = -20;
_root.char.gotoAndStop(5);
gotoAndPlay (2);
}
}
Instance of Symbol 636 MovieClip "sawhold" in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 634 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_root.char.hurt == false)) {
_root.char.grav = -20;
_root.char.gotoAndStop(5);
gotoAndPlay (2);
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 440 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_currentframe == 1)) and Key.isDown(83)) {
_root.holder.excla2._visible = false;
gotoAndPlay (2);
i = 50;
while (i < 91) {
_root["newegg" + i].health = 0;
i++;
}
}
}
Instance of Symbol 634 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(hitsprg) and (_root.char.hurt == false)) {
_root.char.grav = -20;
_root.char.acc = 10;
_root.char.gotoAndStop(5);
gotoAndPlay (2);
}
}
Instance of Symbol 684 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
chomp = 0;
chomptimer = 0;
chompdir = true;
}
onClipEvent (enterFrame) {
chomp = 3;
chomptimer++;
if (chompdir == true) {
_rotation = (_rotation + chomp);
}
if (chompdir == false) {
_rotation = (_rotation - chomp);
}
if ((chomptimer > 60) and (chompdir == true)) {
chompdir = false;
chomp = 0;
chomptimer = 0;
}
if ((chomptimer > 60) and (chompdir == false)) {
chompdir = true;
chomp = 0;
chomptimer = 0;
}
}
Instance of Symbol 440 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_currentframe == 1)) and Key.isDown(83)) {
_root.holder.excla2._visible = false;
gotoAndPlay (2);
i = 50;
while (i < 91) {
_root["newegg" + i].health = 0;
i++;
}
}
}
Instance of Symbol 440 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_currentframe == 1)) and Key.isDown(83)) {
_root.holder.excla2._visible = false;
gotoAndPlay (2);
i = 50;
while (i < 91) {
_root["newegg" + i].health = 0;
i++;
}
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 341 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._currentframe != 7)) and (_currentframe == 1)) {
_root.coin = _root.coin + 1;
_visible = false;
gotoAndStop (2);
}
if (_root.deathscreen._currentframe == 40) {
gotoAndStop (1);
}
if (_root.deathscreen._currentframe == 1) {
_visible = true;
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.deathscreen._currentframe != 1) {
stop();
} else {
play();
}
}
Instance of Symbol 471 MovieClip "cylspawn" in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.char.hitTest(this) and (_root.char._visible == true)) and Key.isDown(83)) {
_root.char._visible = false;
_root.holder.excla._visible = false;
_root.char._x = _x;
_root.holder.tele.gotoAndStop(2);
gotoAndPlay (2);
}
}
Symbol 695 MovieClip Frame 1
stop();
Instance of Symbol 588 MovieClip in Symbol 695 MovieClip Frame 1
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 588 MovieClip in Symbol 695 MovieClip Frame 2
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 588 MovieClip in Symbol 695 MovieClip Frame 11
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 695 MovieClip Frame 60
if (_root.level < 17) {
_root.spawn3();
}
if (_root.level >= 17) {
roll = random(3) + 1;
if (roll == 1) {
_root.spawn3();
}
if (roll == 2) {
_root.spawn6();
}
}
Instance of Symbol 588 MovieClip in Symbol 695 MovieClip Frame 60
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 695 MovieClip Frame 62
gotoAndPlay (11);
Instance of Symbol 588 MovieClip in Symbol 695 MovieClip Frame 62
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 700 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 710 MovieClip Frame 7
stop();
_parent.removeMovieClip();
Symbol 711 MovieClip Frame 1
stop();
Symbol 711 MovieClip Frame 2
stop();
Symbol 711 MovieClip Frame 3
_parent.removeMovieClip();
Symbol 716 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 721 MovieClip Frame 7
stop();
_parent.removeMovieClip();
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 2
stop();
Symbol 722 MovieClip Frame 3
stop();
Instance of Symbol 588 MovieClip in Symbol 726 MovieClip Frame 1
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 726 MovieClip Frame 59
_root.spawn1();
Symbol 731 MovieClip Frame 13
_parent.removeMovieClip(this);
stop();
Symbol 732 MovieClip Frame 1
stop();
Symbol 732 MovieClip Frame 2
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("coinsound", this);
someSound.start(0, 1);
}
Instance of Symbol 600 MovieClip "flare" in Symbol 734 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.endfade._currentframe == 1) {
stop();
}
}
Symbol 736 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 2
stop();
_root.boxamount = _root.boxamount - 1;
Symbol 750 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 2
if (_root.sound == true) {
another = new Sound();
another.attachSound("thundersound2", this);
another.start(0, 1);
}
play();
Symbol 750 MovieClip Frame 3
play();
Instance of Symbol 748 MovieClip in Symbol 750 MovieClip Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 20) {
if (_root["newenemyone" + i].hit.hitTest(this)) {
_root["newenemyone" + i].hp = _root["newenemyone" + i].hp - _root.lightningdamage;
}
i++;
}
}
Symbol 750 MovieClip Frame 5
play();
Symbol 750 MovieClip Frame 6
play();
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 2
stop();
Instance of Symbol 600 MovieClip "flare" in Symbol 752 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.endfade._currentframe == 1) {
stop();
}
}
Symbol 758 MovieClip Frame 1
stop();
Symbol 758 MovieClip Frame 2
play();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("shotgunsound", this);
someSound.start(0, 1);
}
Symbol 758 MovieClip Frame 3
play();
Symbol 758 MovieClip Frame 4
play();
Symbol 758 MovieClip Frame 5
play();
Symbol 764 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 2
play();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("uzisound", this);
someSound.start(0, 1);
}
Symbol 765 MovieClip Frame 3
play();
Symbol 765 MovieClip Frame 4
play();
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 2
play();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lasersound", this);
someSound.start(0, 1);
}
Symbol 772 MovieClip Frame 3
play();
Symbol 772 MovieClip Frame 4
play();
Symbol 777 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 2
play();
Symbol 777 MovieClip Frame 3
play();
Symbol 777 MovieClip Frame 4
play();
Symbol 778 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 2
stop();
Symbol 778 MovieClip Frame 3
stop();
Symbol 778 MovieClip Frame 4
stop();
Symbol 778 MovieClip Frame 5
stop();
Symbol 783 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 2
stop();
Symbol 783 MovieClip Frame 3
stop();
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 2
stop();
Symbol 786 MovieClip Frame 3
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 15
stop();
removeMovieClip(_parent._parent);
_root.deathscreen.gotoAndPlay(2);
Symbol 802 MovieClip Frame 1
stop();
Instance of Symbol 752 MovieClip "jet" in Symbol 802 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.upgrade37 == true) {
_visible = true;
}
}
Instance of Symbol 778 MovieClip "gun" in Symbol 802 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.gunholder);
}
Symbol 802 MovieClip Frame 2
stop();
Symbol 802 MovieClip Frame 3
stop();
Symbol 802 MovieClip Frame 4
stop();
Symbol 802 MovieClip Frame 5
stop();
Symbol 802 MovieClip Frame 6
stop();
Symbol 802 MovieClip Frame 7
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("splat", this);
someSound.start(0, 1);
}
Symbol 810 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 2
stop();
Symbol 831 MovieClip Frame 3
stop();
Symbol 831 MovieClip Frame 4
stop();
Symbol 831 MovieClip Frame 5
stop();
Symbol 831 MovieClip Frame 6
stop();
Symbol 831 MovieClip Frame 7
stop();
Symbol 831 MovieClip Frame 8
stop();
Symbol 833 MovieClip Frame 30
_root.newlevel();
Symbol 841 MovieClip Frame 27
_root.spawnitem2();
Symbol 841 MovieClip Frame 60
_root.spawnitem();
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 2
stop();
Instance of Symbol 844 MovieClip in Symbol 846 MovieClip Frame 2
onClipEvent (load) {
W = this._width;
}
onClipEvent (enterFrame) {
if (_root.char._alpha != 100) {
_parent._visible = true;
_width = (_width - 1);
}
if (_width <= 2) {
if (_root.gunspeedholder == 3) {
_root.gunspeedholder = _root.onlygunspeed;
}
_parent._visible = false;
this._width = W;
_root.char._alpha = 100;
_parent.gotoAndStop(1);
}
}
Symbol 846 MovieClip Frame 3
stop();
Instance of Symbol 844 MovieClip in Symbol 846 MovieClip Frame 3
onClipEvent (load) {
W = this._width;
}
onClipEvent (enterFrame) {
if (_root.gunspeedholder == 3) {
_parent._visible = true;
_width = (_width - 1);
}
if (_width <= 2) {
if (_root.char._alpha != 50) {
_root.char._alpha = 100;
}
_root.gunspeedholder = _root.quickgunhold;
_parent._visible = false;
this._width = W;
_parent.gotoAndStop(1);
}
}
Symbol 854 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 2
stop();
Symbol 854 MovieClip Frame 3
stop();
Symbol 863 MovieClip Frame 27
roll = random(2) + 1;
if (roll == 1) {
_root.spawn5();
}
Symbol 863 MovieClip Frame 60
roll = random(3) + 1;
if (roll == 1) {
_root.spawn4();
}
Symbol 871 MovieClip Frame 1
stop();
Symbol 871 MovieClip Frame 2
stop();
Symbol 875 MovieClip Frame 1
stop();
Instance of Symbol 600 MovieClip "flare" in Symbol 875 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.endfade._currentframe == 1) {
stop();
}
}
Symbol 878 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 879 MovieClip Frame 46
stop();
_root.gotoAndStop(8);
Symbol 880 MovieClip Frame 1
stop();
Symbol 880 MovieClip Frame 2
stop();
Symbol 880 MovieClip Frame 3
stop();
Symbol 890 Button
on (press) {
_root.restartgame();
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 944 Button
on (press) {
gotoAndStop (1);
if (_root.forever == true) {
_root.showonce = false;
}
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 948 Button
on (press) {
if (_root.deathscreen.insidedeath._currentframe != 2) {
_root.forever = true;
_root.showonce._x = -24455;
_root.showonce._visible = false;
gotoAndStop (2);
if (_root.coins >= 20) {
_root.deathscreen.insidedeath.one.excla._visible = false;
}
if (_root.coins >= 40) {
_root.deathscreen.insidedeath.two.excla._visible = false;
}
if (_root.coins >= 120) {
_root.deathscreen.insidedeath.three.excla._visible = false;
}
if (_root.coins >= 30) {
_root.deathscreen.insidedeath.four.excla._visible = false;
}
if (_root.coins >= 65) {
_root.deathscreen.insidedeath.five.excla._visible = false;
}
if (_root.coins >= 120) {
_root.deathscreen.insidedeath.six.excla._visible = false;
}
if (_root.coins >= 40) {
_root.deathscreen.insidedeath.seven.excla._visible = false;
}
if (_root.coins >= 90) {
_root.deathscreen.insidedeath.eight.excla._visible = false;
}
if (_root.coins >= 130) {
_root.deathscreen.insidedeath.nine.excla._visible = false;
}
if (_root.coins >= 70) {
_root.deathscreen.insidedeath.ten.excla._visible = false;
}
if (_root.coins >= 120) {
_root.deathscreen.insidedeath.eleven.excla._visible = false;
}
if (_root.coins >= 200) {
_root.deathscreen.insidedeath.twelve.excla._visible = false;
}
if (_root.coins >= 100) {
_root.deathscreen.insidedeath.thirteen.excla._visible = false;
}
if (_root.coins >= 130) {
_root.deathscreen.insidedeath.fourteen.excla._visible = false;
}
if (_root.coins >= 150) {
_root.deathscreen.insidedeath.fifteen.excla._visible = false;
}
if (_root.coins >= 160) {
_root.deathscreen.insidedeath.sixteen.excla._visible = false;
}
if (_root.coins >= 170) {
_root.deathscreen.insidedeath.seventeen.excla._visible = false;
}
if (_root.coins >= 200) {
_root.deathscreen.insidedeath.eighteen.excla._visible = false;
}
if (_root.upgrade25 == false) {
_root.deathscreen.insidedeath.two._alpha = 50;
}
if (_root.upgrade26 == false) {
_root.deathscreen.insidedeath.three._alpha = 50;
}
if (_root.upgrade31 == false) {
_root.deathscreen.insidedeath.five._alpha = 50;
}
if (_root.upgrade32 == false) {
_root.deathscreen.insidedeath.six._alpha = 50;
}
if (_root.upgrade28 == false) {
_root.deathscreen.insidedeath.eight._alpha = 50;
}
if (_root.upgrade29 == false) {
_root.deathscreen.insidedeath.nine._alpha = 50;
}
if (_root.upgrade34 == false) {
_root.deathscreen.insidedeath.eleven._alpha = 50;
}
if (_root.upgrade35 == false) {
_root.deathscreen.insidedeath.twelve._alpha = 50;
}
if (_root.upgrade37 == false) {
_root.deathscreen.insidedeath.fourteen._alpha = 50;
}
if (_root.upgrade38 == false) {
_root.deathscreen.insidedeath.fifteen._alpha = 50;
}
if (_root.upgrade45 == false) {
_root.deathscreen.insidedeath.seventeen._alpha = 50;
}
if (_root.upgrade46 == false) {
_root.deathscreen.insidedeath.eighteen._alpha = 50;
}
}
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 952 Button
on (press) {
if (_root.deathscreen.insidedeath._currentframe != 3) {
_root.forever = true;
_root.showonce._visible = false;
gotoAndStop (3);
if (_root.paid == true) {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(2);
}
if (_root.paid2 == true) {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(2);
}
if (_root.paid3 == true) {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(2);
}
if (_root.paid4 == true) {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(2);
}
if (_root.coins >= 150) {
_root.deathscreen.insidedeath.uzibut.excla._visible = false;
}
if (_root.coins >= 220) {
_root.deathscreen.insidedeath.shotgunbut.excla._visible = false;
}
if (_root.coins >= 400) {
_root.deathscreen.insidedeath.laserbut.excla._visible = false;
}
}
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 955 Button
on (press) {
if (_root.deathscreen.insidedeath._currentframe != 4) {
_root.forever = true;
_root.showonce._visible = false;
gotoAndStop (4);
if (_root.upgrade1 == false) {
_root.deathscreen.insidedeath.oh2._alpha = 50;
}
if (_root.upgrade2 == false) {
_root.deathscreen.insidedeath.oh3._alpha = 50;
}
if (_root.upgrade3 == false) {
_root.deathscreen.insidedeath.oh4._alpha = 50;
}
if (_root.upgrade4 == false) {
_root.deathscreen.insidedeath.oh5._alpha = 50;
}
if (_root.upgrade5 == false) {
_root.deathscreen.insidedeath.oh6._alpha = 50;
}
if (_root.upgrade7 == false) {
_root.deathscreen.insidedeath.oh8._alpha = 50;
}
if (_root.upgrade8 == false) {
_root.deathscreen.insidedeath.oh9._alpha = 50;
}
if (_root.upgrade9 == false) {
_root.deathscreen.insidedeath.oh10._alpha = 50;
}
if (_root.upgrade10 == false) {
_root.deathscreen.insidedeath.oh11._alpha = 50;
}
if (_root.upgrade13 == false) {
_root.deathscreen.insidedeath.oh13._alpha = 50;
}
if (_root.upgrade14 == false) {
_root.deathscreen.insidedeath.oh14._alpha = 50;
}
if (_root.upgrade40 == false) {
_root.deathscreen.insidedeath.oh16._alpha = 50;
}
if (_root.upgrade41 == false) {
_root.deathscreen.insidedeath.oh17._alpha = 50;
}
if (_root.upgrade42 == false) {
_root.deathscreen.insidedeath.oh18._alpha = 50;
}
if (_root.upgrade43 == false) {
_root.deathscreen.insidedeath.oh19._alpha = 50;
}
if (_root.coins >= 5) {
_root.deathscreen.insidedeath.oh1.excla._visible = true;
}
if (_root.coins >= 20) {
_root.deathscreen.insidedeath.oh2.excla._visible = false;
}
if (_root.coins >= 50) {
_root.deathscreen.insidedeath.oh3.excla._visible = false;
}
if (_root.coins >= 100) {
_root.deathscreen.insidedeath.oh4.excla._visible = false;
}
if (_root.coins >= 150) {
_root.deathscreen.insidedeath.oh5.excla._visible = false;
}
if (_root.coins >= 200) {
_root.deathscreen.insidedeath.oh6.excla._visible = false;
}
if (_root.coins >= 15) {
_root.deathscreen.insidedeath.oh7.excla._visible = false;
}
if (_root.coins >= 35) {
_root.deathscreen.insidedeath.oh8.excla._visible = false;
}
if (_root.coins >= 85) {
_root.deathscreen.insidedeath.oh9.excla._visible = false;
}
if (_root.coins >= 150) {
_root.deathscreen.insidedeath.oh10.excla._visible = false;
}
if (_root.coins >= 200) {
_root.deathscreen.insidedeath.oh11.excla._visible = false;
}
if (_root.coins >= 10) {
_root.deathscreen.insidedeath.oh12.excla._visible = false;
}
if (_root.coins >= 40) {
_root.deathscreen.insidedeath.oh13.excla._visible = false;
}
if (_root.coins >= 100) {
_root.deathscreen.insidedeath.oh14.excla._visible = false;
}
if (_root.coins >= 30) {
_root.deathscreen.insidedeath.oh15.excla._visible = false;
}
if (_root.coins >= 50) {
_root.deathscreen.insidedeath.oh16.excla._visible = false;
}
if (_root.coins >= 75) {
_root.deathscreen.insidedeath.oh17.excla._visible = false;
}
if (_root.coins >= 100) {
_root.deathscreen.insidedeath.oh18.excla._visible = false;
}
if (_root.coins >= 150) {
_root.deathscreen.insidedeath.oh19.excla._visible = false;
}
}
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 981 MovieClip Frame 1
stop();
Symbol 981 MovieClip Frame 2
stop();
Symbol 981 MovieClip Frame 3
stop();
Symbol 981 MovieClip Frame 4
stop();
Symbol 981 MovieClip Frame 5
stop();
Symbol 981 MovieClip Frame 6
stop();
Symbol 981 MovieClip Frame 7
stop();
Symbol 981 MovieClip Frame 8
stop();
Symbol 981 MovieClip Frame 9
stop();
Symbol 981 MovieClip Frame 10
stop();
Symbol 981 MovieClip Frame 11
stop();
Symbol 981 MovieClip Frame 12
stop();
Symbol 981 MovieClip Frame 13
stop();
Symbol 981 MovieClip Frame 14
stop();
Symbol 981 MovieClip Frame 15
stop();
Symbol 981 MovieClip Frame 16
stop();
Symbol 981 MovieClip Frame 17
stop();
Symbol 981 MovieClip Frame 18
stop();
Symbol 981 MovieClip Frame 19
stop();
Symbol 981 MovieClip Frame 20
stop();
Symbol 981 MovieClip Frame 21
stop();
Instance of Symbol 580 MovieClip "coinitem" in Symbol 982 MovieClip Frame 1
onClipEvent (load) {
if (_name != "coinitem") {
gravity = 0;
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_name != "coinitem") {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 1;
removeMovieClip(this);
}
if (_y > 550) {
removeMovieClip(this);
}
}
}
Symbol 992 MovieClip Frame 1
stop();
Symbol 992 MovieClip Frame 2
stop();
Symbol 995 MovieClip Frame 1
stop();
Symbol 995 MovieClip Frame 2
stop();
Symbol 998 MovieClip Frame 1
stop();
Symbol 998 MovieClip Frame 2
stop();
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1002 MovieClip Frame 2
stop();
Symbol 1004 MovieClip Frame 1
stop();
Symbol 1004 MovieClip Frame 2
stop();
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1006 MovieClip Frame 2
stop();
Symbol 1007 MovieClip Frame 1
stop();
Symbol 1007 MovieClip Frame 2
stop();
Symbol 1008 MovieClip Frame 1
stop();
Symbol 1008 MovieClip Frame 2
stop();
Symbol 1009 MovieClip Frame 1
stop();
Symbol 1009 MovieClip Frame 2
stop();
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1011 MovieClip Frame 1
stop();
Symbol 1011 MovieClip Frame 2
stop();
Symbol 1012 MovieClip Frame 1
stop();
Symbol 1012 MovieClip Frame 2
stop();
Symbol 1013 MovieClip Frame 1
stop();
Symbol 1013 MovieClip Frame 2
stop();
Symbol 1014 MovieClip Frame 1
stop();
Symbol 1014 MovieClip Frame 2
stop();
Symbol 1015 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 2
stop();
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1016 MovieClip Frame 2
stop();
Symbol 1017 MovieClip Frame 1
stop();
Symbol 1017 MovieClip Frame 2
stop();
Symbol 1018 MovieClip Frame 1
stop();
Symbol 1018 MovieClip Frame 2
stop();
Symbol 1024 MovieClip Frame 1
stop();
Symbol 1024 MovieClip Frame 2
stop();
Symbol 1027 MovieClip Frame 1
stop();
Instance of Symbol 580 MovieClip "coinitem" in Symbol 1027 MovieClip Frame 1
onClipEvent (load) {
if (_name != "coinitem") {
gravity = 0;
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_name != "coinitem") {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 1;
removeMovieClip(this);
}
if (_y > 550) {
removeMovieClip(this);
}
}
}
Symbol 1027 MovieClip Frame 2
stop();
Symbol 1027 MovieClip Frame 3
stop();
Symbol 1029 MovieClip Frame 1
stop();
Symbol 1029 MovieClip Frame 2
stop();
Symbol 1031 MovieClip Frame 1
stop();
Symbol 1031 MovieClip Frame 2
stop();
Symbol 1034 MovieClip Frame 1
stop();
Symbol 1034 MovieClip Frame 2
stop();
Symbol 1038 MovieClip Frame 1
stop();
Instance of Symbol 580 MovieClip "coinitem" in Symbol 1038 MovieClip Frame 1
onClipEvent (load) {
if (_name != "coinitem") {
gravity = 0;
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_name != "coinitem") {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 1;
removeMovieClip(this);
}
if (_y > 550) {
removeMovieClip(this);
}
}
}
Symbol 1038 MovieClip Frame 2
stop();
Symbol 1038 MovieClip Frame 3
stop();
Symbol 1043 MovieClip Frame 1
stop();
Symbol 1043 MovieClip Frame 2
stop();
Symbol 1046 MovieClip Frame 1
stop();
Instance of Symbol 580 MovieClip "coinitem" in Symbol 1046 MovieClip Frame 1
onClipEvent (load) {
if (_name != "coinitem") {
gravity = 0;
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_name != "coinitem") {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 1;
removeMovieClip(this);
}
if (_y > 550) {
removeMovieClip(this);
}
}
}
Symbol 1046 MovieClip Frame 2
stop();
Symbol 1046 MovieClip Frame 3
stop();
Symbol 1050 MovieClip Frame 1
stop();
Symbol 1050 MovieClip Frame 2
stop();
Symbol 1053 MovieClip Frame 1
stop();
Instance of Symbol 580 MovieClip "coinitem" in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
if (_name != "coinitem") {
gravity = 0;
speed = 4;
}
}
onClipEvent (enterFrame) {
if (_name != "coinitem") {
if (switcher == false) {
_x = (_x + speed);
}
if (switcher == true) {
_x = (_x - speed);
}
gravity++;
_y = (_y + gravity);
if (gravity > 15) {
gravity = 15;
}
if (_root.holder.ground.hitTest(_x, _y + 3, true)) {
if (gravity > 15) {
gravity = (-gravity) + 4;
} else {
gravity = -10;
}
}
while (_root.holder.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
if (_root.holder.ground.hitTest(_x, _y - 3, true)) {
_y = (_y+1);
gravity = 3;
}
if (_root.holder.ground.hitTest(_x + 3, _y, true)) {
switcher = true;
}
if (_root.holder.ground.hitTest(_x - 3, _y, true)) {
switcher = false;
}
if (_root.char.hitTest(this)) {
_root.coin = _root.coin + 1;
removeMovieClip(this);
}
if (_y > 550) {
removeMovieClip(this);
}
}
}
Symbol 1053 MovieClip Frame 2
stop();
Symbol 1053 MovieClip Frame 3
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 2
stop();
Symbol 1064 MovieClip Frame 1
stop();
Instance of Symbol 938 MovieClip in Symbol 1064 MovieClip Frame 1
onClipEvent (load) {
bob = random(42) + 1;
gotoAndStop(bob);
}
Instance of Symbol 986 MovieClip "showonce" in Symbol 1064 MovieClip Frame 1
onClipEvent (load) {
if (_root.forever == true) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.forever == true) {
_visible = false;
}
}
Symbol 1064 MovieClip Frame 2
stop();
Instance of Symbol 992 MovieClip "one" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade25 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 5) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(4);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "5 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Boxes With Coins Randomly Drop";
}
}
on (press) {
if ((_root.coin >= 5) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade25 = true;
_root.coin = _root.coin - 5;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 995 MovieClip "two" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade26 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade25 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 10) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(5);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "10 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Barrels with x5 Coins Inside Drop";
}
}
on (press) {
if (((_root.coin >= 10) and (_currentframe == 1)) and (_root.upgrade25 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade26 = true;
_root.coin = _root.coin - 10;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 998 MovieClip "three" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade27 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade26 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 120) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(6);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "120 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "TNT Will drop that destroys Eggs on Impact";
}
}
on (press) {
if (((_root.coin >= 120) and (_currentframe == 1)) and (_root.upgrade26 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade27 = true;
_root.coin = _root.coin - 120;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1002 MovieClip "seven" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade28 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 40) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(7);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "40 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Invincible Powerup for 5secs Will Drop";
}
}
on (press) {
if ((_root.coin >= 40) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade28 = true;
_root.coin = _root.coin - 30;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1004 MovieClip "eight" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade29 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade28 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 90) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(8);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "90 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Fast Shooting Powerup Will Drop";
}
}
on (press) {
if (((_root.coin >= 90) and (_currentframe == 1)) and (_root.upgrade28 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade29 = true;
_root.coin = _root.coin - 90;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1006 MovieClip "nine" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade30 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade29 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 130) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(9);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "130 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Destroy All Eggs Powerup Will Drop";
}
}
on (press) {
if (((_root.coin >= 130) and (_currentframe == 1)) and (_root.upgrade29 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade30 = true;
_root.coin = _root.coin - 130;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1007 MovieClip "four" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade31 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 30) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(10);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "30 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Eggs have a chance of dropping x2 Coins";
}
}
on (press) {
if ((_root.coin >= 30) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade31 = true;
_root.coin = _root.coin - 30;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1008 MovieClip "five" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade32 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade31 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 65) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(11);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "65 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "A random cloud will drop coins";
}
}
on (press) {
if (((_root.coin >= 65) and (_currentframe == 1)) and (_root.upgrade31 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade32 = true;
_root.coin = _root.coin - 65;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1009 MovieClip "six" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade33 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade32 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 120) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(12);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "120 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Eggs may Drop x5 Coins";
}
}
on (press) {
if (((_root.coin >= 120) and (_currentframe == 1)) and (_root.upgrade32 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade33 = true;
_root.coin = _root.coin - 120;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1010 MovieClip "ten" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade34 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 70) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(13);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "70 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Press Space to fire Fireworks";
}
}
on (press) {
if ((_root.coin >= 70) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.firespell._visible = true;
_root.upgrade34 = true;
_root.coin = _root.coin - 70;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1011 MovieClip "eleven" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade35 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade34 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 120) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(14);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "120 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Press Q To Launch a thunder Cloud";
}
}
on (press) {
if (((_root.coin >= 120) and (_currentframe == 1)) and (_root.upgrade34 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade35 = true;
_root.coin = _root.coin - 120;
_root.lightningspell._visible = true;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1012 MovieClip "twelve" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade36 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade35 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 200) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(15);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "200 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Press E To Release White Orb of Destruction";
}
}
on (press) {
if (((_root.coin >= 200) and (_currentframe == 1)) and (_root.upgrade35 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade36 = true;
_root.coin = _root.coin - 200;
_root.orbspell._visible = true;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1013 MovieClip "thirteen" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade37 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 100) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(16);
_root.deathscreen.insidedeath.floating._x = _root._xmouse - 144.7;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "100 Coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Hold W in air to use jetpack";
}
}
on (press) {
if ((_root.coin >= 100) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade37 = true;
_root.fuelnum._visible = true;
_root.char.jet._visible = true;
_root.coin = _root.coin - 100;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1014 MovieClip "fourteen" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade38 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade37 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 130) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(17);
_root.deathscreen.insidedeath.floating._x = _root._xmouse - 144.7;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "130 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "+20 Fuel Pickups will drop";
}
}
on (press) {
if (((_root.coin >= 130) and (_currentframe == 1)) and (_root.upgrade37 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade38 = true;
_root.coin = _root.coin - 130;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1015 MovieClip "fifteen" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade39 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade38 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 150) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(18);
_root.deathscreen.insidedeath.floating._x = _root._xmouse - 144.7;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "150 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "+50 fuel pack will drop";
}
}
on (press) {
if (((_root.coin >= 150) and (_currentframe == 1)) and (_root.upgrade38 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade39 = true;
_root.coin = _root.coin - 150;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1016 MovieClip "seventeen" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade46 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade45 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 170) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(20);
_root.deathscreen.insidedeath.floating._x = _root._xmouse - 144.7;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "170 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "A shield to keep you safe from 1 hit";
}
}
on (press) {
if (((_root.coin >= 170) and (_currentframe == 1)) and (_root.upgrade45 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade46 = true;
_root.shieldnum = 2;
_root.coin = _root.coin - 150;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1017 MovieClip "eighteen" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade47 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade46 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 200) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(21);
_root.deathscreen.insidedeath.floating._x = _root._xmouse - 144.7;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "200 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "A strong shield to save you from 3 hits";
}
}
on (press) {
if (((_root.coin >= 200) and (_currentframe == 1)) and (_root.upgrade46 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade47 = true;
_root.shieldnum = 3;
_root.coin = _root.coin - 200;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1018 MovieClip "sixteen" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
if (_root.upgrade45 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 160) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(19);
_root.deathscreen.insidedeath.floating._x = _root._xmouse - 144.7;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "160 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Health packs will drop. Each heals one heart up to your maximum.";
}
}
on (press) {
if ((_root.coin >= 160) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade45 = true;
_root.coin = _root.coin - 160;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Symbol 1064 MovieClip Frame 3
stop();
Instance of Symbol 1027 MovieClip "shotgunbut" in Symbol 1064 MovieClip Frame 3
onClipEvent (load) {
if (_root.gunholder == 2) {
gotoAndStop (3);
} else if (paid == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 220) {
excla._visible = true;
} else {
excla._visible = false;
}
if ((_root.paid == true) and (_currentframe != 3)) {
gotoAndStop (2);
}
}
on (press) {
if (_currentframe == 1) {
if (_root.coin >= 220) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.coin = _root.coin - 220;
_root.paid = true;
gotoAndStop (2);
}
}
if (_currentframe == 2) {
if (_root.paid == true) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
gotoAndStop (3);
_root.gunholder = 2;
_root.deathscreen.insidedeath.pistolbut.gotoAndStop(1);
if (_root.paid2 == true) {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(1);
}
if (_root.paid3 == true) {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(1);
}
if (_root.paid4 == true) {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(1);
}
}
}
}
on (rollOver) {
inside.gotoAndStop(2);
}
on (rollOut) {
inside.gotoAndStop(1);
}
Instance of Symbol 1031 MovieClip "pistolbut" in Symbol 1064 MovieClip Frame 3
onClipEvent (load) {
if (_root.gunholder == 1) {
gotoAndStop (3);
}
}
on (press) {
if (_currentframe == 1) {
gotoAndStop (3);
_root.gunholder = 1;
if (_root.paid == true) {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(1);
}
if (_root.paid2 == true) {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(1);
}
if (_root.paid3 == true) {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(1);
}
if (_root.paid4 == true) {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(1);
}
}
}
on (rollOver) {
inside.gotoAndStop(2);
}
on (rollOut) {
inside.gotoAndStop(1);
}
Instance of Symbol 1038 MovieClip "uzibut" in Symbol 1064 MovieClip Frame 3
onClipEvent (load) {
if (_root.gunholder == 3) {
gotoAndStop (3);
} else if (paid2 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 150) {
excla._visible = true;
} else {
excla._visible = false;
}
if ((_root.paid2 == true) and (_currentframe != 3)) {
gotoAndStop (2);
}
}
on (press) {
if (_currentframe == 1) {
if (_root.coin >= 150) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.paid2 = true;
_root.coin = _root.coin - 150;
gotoAndStop (2);
}
}
if (_currentframe == 2) {
if (_root.paid2 == true) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
gotoAndStop (3);
_root.gunholder = 3;
_root.deathscreen.insidedeath.pistolbut.gotoAndStop(1);
if (_root.paid == true) {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(1);
}
if (_root.paid3 == true) {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(1);
}
if (_root.paid4 == true) {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(1);
}
}
}
}
on (rollOver) {
inside.gotoAndStop(2);
}
on (rollOut) {
inside.gotoAndStop(1);
}
Instance of Symbol 1046 MovieClip "laserbut" in Symbol 1064 MovieClip Frame 3
onClipEvent (load) {
if (_root.gunholder == 4) {
gotoAndStop (3);
} else if (paid3 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 400) {
excla._visible = true;
} else {
excla._visible = false;
}
if ((_root.paid3 == true) and (_currentframe != 3)) {
gotoAndStop (2);
}
}
on (press) {
if (_currentframe == 1) {
if (_root.coin >= 400) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.paid3 = true;
_root.coin = _root.coin - 400;
gotoAndStop (2);
}
}
if (_currentframe == 2) {
if (_root.paid3 == true) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
gotoAndStop (3);
_root.gunholder = 4;
_root.deathscreen.insidedeath.pistolbut.gotoAndStop(1);
if (_root.paid == true) {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(1);
}
if (_root.paid2 == true) {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(1);
}
if (_root.paid4 == true) {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.cassbut.gotoAndStop(1);
}
}
}
}
on (rollOver) {
inside.gotoAndStop(2);
}
on (rollOut) {
inside.gotoAndStop(1);
}
Instance of Symbol 1053 MovieClip "cassbut" in Symbol 1064 MovieClip Frame 3
onClipEvent (load) {
if (_root.gunholder == 5) {
gotoAndStop (3);
} else if (paid4 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if ((_root.paid4 == true) and (_currentframe != 3)) {
gotoAndStop (2);
}
}
on (press) {
if (_currentframe == 1) {
if (_root.coin >= 800) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.paid4 = true;
_root.coin = _root.coin - 800;
gotoAndStop (2);
}
}
if (_currentframe == 2) {
if (_root.paid4 == true) {
gotoAndStop (3);
_root.gunholder = 5;
_root.deathscreen.insidedeath.pistolbut.gotoAndStop(1);
if (_root.paid == true) {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.shotgunbut.gotoAndStop(1);
}
if (_root.paid2 == true) {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.uzibut.gotoAndStop(1);
}
if (_root.paid3 == true) {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(2);
} else {
_root.deathscreen.insidedeath.laserbut.gotoAndStop(1);
}
}
}
}
on (rollOver) {
inside.gotoAndStop(2);
}
on (rollOut) {
inside.gotoAndStop(1);
}
Symbol 1064 MovieClip Frame 4
stop();
Instance of Symbol 1061 MovieClip "oh1" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade1 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 5) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(1);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "5 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Upgrade HP by +1 Heart";
}
}
on (press) {
if ((_root.coin >= 5) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade1 = true;
_root.health = _root.health + 1;
_root.coin = _root.coin - 5;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh2" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade2 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade1 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 20) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(1);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "20 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Upgrade HP by +1 Heart";
}
}
on (press) {
if (((_root.coin >= 20) and (_currentframe == 1)) and (_root.upgrade1 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade2 = true;
_root.health = _root.health + 1;
_root.coin = _root.coin - 20;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh3" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade3 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade2 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 50) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(1);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "50 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Upgrade HP by +1 Heart";
}
}
on (press) {
if (((_root.coin >= 50) and (_currentframe == 1)) and (_root.upgrade2 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade3 = true;
_root.health = _root.health + 1;
_root.coin = _root.coin - 50;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh4" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade4 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade3 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 100) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(1);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "100 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Upgrade HP by +1 Heart";
}
}
on (press) {
if (((_root.coin >= 100) and (_currentframe == 1)) and (_root.upgrade3 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade4 = true;
_root.health = _root.health + 1;
_root.coin = _root.coin - 100;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh5" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade5 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade4 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 150) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(1);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "150 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Upgrade HP by +1 Heart";
}
}
on (press) {
if (((_root.coin >= 150) and (_currentframe == 1)) and (_root.upgrade4 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade5 = true;
_root.health = _root.health + 1;
_root.coin = _root.coin - 150;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh6" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade5 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade5 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 200) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(1);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "200 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Upgrade HP by +1 Heart";
}
}
on (press) {
if (((_root.coin >= 200) and (_currentframe == 1)) and (_root.upgrade5 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade6 = true;
_root.health = _root.health + 1;
_root.coin = _root.coin - 200;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh7" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade7 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 15) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(2);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "15 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Shooting Speed";
}
}
on (press) {
if ((_root.coin >= 15) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade7 = true;
_root.gunspeedholder = _root.gunspeedholder - 1;
_root.onlygunspeed = _root.onlygunspeed - 1;
_root.coin = _root.coin - 15;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh8" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade8 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade7 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 35) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(2);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "35 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Shooting Speed";
}
}
on (press) {
if (((_root.coin >= 35) and (_currentframe == 1)) and (_root.upgrade7 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade8 = true;
_root.gunspeedholder = _root.gunspeedholder - 1;
_root.onlygunspeed = _root.onlygunspeed - 1;
_root.coin = _root.coin - 35;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh9" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade9 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade8 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 85) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(2);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "85 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Shooting Speed";
}
}
on (press) {
if (((_root.coin >= 85) and (_currentframe == 1)) and (_root.upgrade8 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade9 = true;
_root.gunspeedholder = _root.gunspeedholder - 1;
_root.onlygunspeed = _root.onlygunspeed - 1;
_root.coin = _root.coin - 85;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh10" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade10 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade9 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 150) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(2);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "150 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Shooting Speed";
}
}
on (press) {
if (((_root.coin >= 150) and (_currentframe == 1)) and (_root.upgrade9 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade10 = true;
_root.gunspeedholder = _root.gunspeedholder - 1;
_root.onlygunspeed = _root.onlygunspeed - 1;
_root.coin = _root.coin - 150;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh11" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade11 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade10 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 200) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(2);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "200 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Shooting Speed x2";
}
}
on (press) {
if (((_root.coin >= 200) and (_currentframe == 1)) and (_root.upgrade10 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade11 = true;
_root.gunspeedholder = _root.gunspeedholder - 2;
_root.onlygunspeed = _root.onlygunspeed - 1;
_root.coin = _root.coin - 200;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh12" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade13 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 10) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(3);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "10 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jump Height";
}
}
on (press) {
if ((_root.coin >= 10) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade13 = true;
_root.jumpheightholder = _root.jumpheightholder + 1;
_root.coin = _root.coin - 10;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh13" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade14 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade13 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 40) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(3);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "40 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jump Height";
}
}
on (press) {
if (((_root.coin >= 40) and (_currentframe == 1)) and (_root.upgrade13 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade14 = true;
_root.jumpheightholder = _root.jumpheightholder + 1;
_root.coin = _root.coin - 10;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh14" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade15 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade14 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 100) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(3);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "100 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jump Height";
}
}
on (press) {
if (((_root.coin >= 100) and (_currentframe == 1)) and (_root.upgrade14 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade15 = true;
_root.jumpheightholder = _root.jumpheightholder + 1;
_root.coin = _root.coin - 10;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh15" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade40 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.coin > 30) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(16);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "30 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jetpack fuel by 25";
}
}
on (press) {
if ((_root.coin >= 30) and (_currentframe == 1)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade40 = true;
_root.fuelcap = _root.fuelcap + 25;
_root.coin = _root.coin - 30;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh16" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade41 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade40 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 50) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(16);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "50 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jetpack fuel by 25";
}
}
on (press) {
if (((_root.coin >= 50) and (_currentframe == 1)) and (_root.upgrade40 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade41 = true;
_root.fuelcap = _root.fuelcap + 25;
_root.coin = _root.coin - 50;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh17" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade42 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade41 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 75) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(16);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "75 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jetpack fuel by 25";
}
}
on (press) {
if (((_root.coin >= 75) and (_currentframe == 1)) and (_root.upgrade41 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade42 = true;
_root.fuelcap = _root.fuelcap + 25;
_root.coin = _root.coin - 75;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh18" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade43 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade42 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 100) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(16);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "100 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jetpack fuel by 50";
}
}
on (press) {
if (((_root.coin >= 100) and (_currentframe == 1)) and (_root.upgrade42 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade43 = true;
_root.fuelcap = _root.fuelcap + 50;
_root.coin = _root.coin - 100;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Instance of Symbol 1061 MovieClip "oh19" in Symbol 1064 MovieClip Frame 4
onClipEvent (load) {
if (_root.upgrade44 == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.upgrade43 == false) {
_alpha = 50;
} else {
_alpha = 100;
}
if (_root.coin > 150) {
excla._visible = true;
} else {
excla._visible = false;
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.deathscreen.insidedeath.floating.pic.gotoAndStop(16);
_root.deathscreen.insidedeath.floating._x = _root._xmouse;
_root.deathscreen.insidedeath.floating._y = _root._ymouse;
_root.deathscreen.insidedeath.floating.coinread.text = "150 coins";
_root.deathscreen.insidedeath.floating.wordsread.text = "Increase Jetpack fuel by 50";
}
}
on (press) {
if (((_root.coin >= 150) and (_currentframe == 1)) and (_root.upgrade43 == true)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("latch", this);
someSound.start(0, 1);
}
_root.upgrade44 = true;
_root.fuelcap = _root.fuelcap + 50;
_root.coin = _root.coin - 150;
gotoAndStop (2);
}
}
on (releaseOutside) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (rollOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
on (dragOut) {
_root.deathscreen.insidedeath.floating._x = -100;
_root.deathscreen.insidedeath.floating._y = -100;
}
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 40
stop();
Symbol 1075 Button
on (press) {
stopAllSounds();
_root.gotoAndStop(5);
}
on (rollOver) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("lol", this);
someSound.start(0, 1);
}
}
Symbol 1076 MovieClip Frame 40
stop();