Frame 1
function doSomething() {
getURL ("http://www.eggysgames.com/", "_blank");
}
function doSomething2() {
getURL ("http://www.apple-juice.newgrounds.com/", "blank");
}
function doSomething3() {
getURL ("http://www.armorgames.com/", "blank");
}
stop();
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Eggy", doSomething);
Functioned2 = new ContextMenuItem("Apple Juice", doSomething2);
Functioned3 = new ContextMenuItem("Armorgames", doSomething3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
MENU.builtInItems.quality = true;
_root.menu = MENU;
myURL = _url;
okDomains = ["armorgames.com", "games.armorgames.com", "preview.armorgames.com", "www.andkon.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"];
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 = "0";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=1505QBA84D4A3");
}
urls_allowed = ["armorgames.com", "games.armorgames.com", "preview.armorgames.com", "www.andkon.com", "www.chat.kongregate.com", "www.kongregate.com", "www.armorgames.com", "www.games.armorgames.com", "www.preview.armorgames.com"];
Instance of Symbol 154 MovieClip in Frame 1
on (press) {
getURL ("http://www.eggysgames.com", "blank");
}
Instance of Symbol 165 MovieClip in Frame 1
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 172 MovieClip in Frame 1
on (press) {
getURL ("http://www.aura-core.com/", "blank");
}
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 240 MovieClip in Frame 4
on (press) {
getURL ("http://www.eggysgames.com", "_blank");
}
Frame 5
function nextsong() {
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("gardenparty");
my_sound.start(0, 1);
my_sound.onSoundComplete = nextsong2;
}
function nextsong2() {
stopAllSounds();
my_sound2 = new Sound();
my_sound2.attachSound("platformride");
my_sound2.start(0, 1);
my_sound2.onSoundComplete = nextsong;
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
stopAllSounds();
nextsong();
var CPMStarContentSpotID = "0";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=1505QBA84D4A3");
__com_mochibot__("af0ffd7f", this, 10301, true);
Instance of Symbol 18 MovieClip in Frame 5
/* no clip actions */
Instance of Symbol 24 MovieClip in Frame 5
/* no clip actions */
Instance of Symbol 154 MovieClip in Frame 5
on (press) {
getURL ("http://www.eggysgames.com", "blank");
}
Instance of Symbol 165 MovieClip in Frame 5
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 172 MovieClip in Frame 5
on (press) {
getURL ("http://www.aura-core.com/", "blank");
}
Frame 6
function onEnterFrame() {
if (stopall == false) {
score++;
eggspawner++;
boxtimer++;
cloudtimer++;
upgradespawn++;
if ((globaltimer == 15) and (doonce == false)) {
doonce = true;
boxspeed = boxspeed + 1;
boxspawn = boxspawn - 20;
showanim.gotoAndStop(2);
}
if ((globaltimer == 25) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 33) and (doonce == false)) {
doonce = true;
boxspawn = boxspawn - 10;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 40) and (doonce == false)) {
doonce = true;
removeground();
showanim.gotoAndStop(3);
}
if ((globaltimer == 50) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 65) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 85) and (doonce == false)) {
doonce = true;
boxspeed = boxspeed + 1;
boxspawn = boxspawn - 20;
showanim.gotoAndStop(2);
}
if ((globaltimer == 95) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 115) and (doonce == false)) {
doonce = true;
removeground();
showanim.gotoAndStop(3);
}
if ((globaltimer == 125) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 135) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 150) and (doonce == false)) {
doonce = true;
boxspeed = boxspeed + 1;
boxspawn = boxspawn - 10;
showanim.gotoAndStop(2);
}
if ((globaltimer == 165) and (doonce == false)) {
doonce = true;
removeground();
showanim.gotoAndStop(3);
}
if ((globaltimer == 185) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 200) and (doonce == false)) {
doonce = true;
harderboxes = harderboxes + 2;
showanim.gotoAndStop(3);
}
if ((globaltimer == 250) and (doonce == false)) {
doonce = true;
boxspeed = boxspeed + 1;
boxspawn = boxspawn - 10;
showanim.gotoAndStop(2);
}
if ((globaltimer == 350) and (doonce == false)) {
doonce = true;
boxspeed = boxspeed + 1;
boxspawn = boxspawn - 10;
showanim.gotoAndStop(2);
}
if (boxtimer > boxspawn) {
duplicateMovieClip (ground.boxholders, "newboxholders" + i, i);
randomer = random(6) + harderboxes;
ground["newboxholders" + i].gotoAndStop(randomer);
boxtimer = 0;
i = i + 1;
}
if ((upgradespawn > 500) and (_root.boxspeed > 1)) {
duplicateMovieClip (upgrade, "newupgrade" + i, i);
i = i + 1;
upgradespawn = 0;
}
if (cloudtimer > 150) {
roll = random(3) + 1;
if (maxclouds < 4) {
if (roll == 1) {
duplicateMovieClip (cloud1, "newcloud1" + i, i);
}
if (roll == 2) {
duplicateMovieClip (cloud2, "newcloud2" + i, i);
}
if (roll == 3) {
duplicateMovieClip (cloud3, "newcloud3" + i, i);
}
maxclouds = maxclouds + 1;
cloudtimer = 0 + random(50);
i = i + 1;
}
}
if (eggspawner > 80) {
if (maxeggs < 10) {
duplicateMovieClip (pickupegg, "newpickupegg" + i, i);
maxeggs = maxeggs + 1;
i = i + 1;
}
eggspawner = 0;
}
if (i > 190) {
i = 0;
}
if (insanemode == false) {
letsadd = letsadd + 0.03;
}
if (insanemode == true) {
letsadd = letsadd + 1;
}
if (letsadd > 1) {
globaltimer = globaltimer + 1;
letsadd = 0;
doonce = false;
}
if (killground1 == true) {
_root.ground.insideground.gblock1._y = _root.ground.insideground.gblock1._y + 4;
_root.ablock1._y = _root.ablock1._y + 4;
}
if (killground2 == true) {
_root.ground.insideground.gblock2._y = _root.ground.insideground.gblock2._y + 4;
_root.ablock2._y = _root.ablock2._y + 4;
}
if (killground3 == true) {
_root.ground.insideground.gblock3._y = _root.ground.insideground.gblock3._y + 4;
_root.ablock3._y = _root.ablock3._y + 4;
}
}
}
function boxcode(mc) {
if (stopall == false) {
mc._y = mc._y - 10;
if (char.hit.hitTest(mc) and (char._currentframe != 4)) {
char.myspeeder = boxspeed;
}
if (laser.hitTest(mc) and (mc._currentframe == 1)) {
mc.gotoAndPlay(2);
}
mc._y = mc._y + 10;
}
}
function restartgame() {
endlevel();
_root.upgradebox.timer = 0;
_root.upgradebox.starttimer = false;
upgradebox.gotoAndStop(1);
score = 0;
char.gotoAndStop(1);
stopall = false;
fadeout.gotoAndStop(1);
char._x = 344;
char._y = 260;
char.gravity = 0;
ground.insideground.gblock1._y = 0;
ablock1._y = 449.05;
ground.insideground.gblock2._y = 0;
ablock2._y = 449.05;
ground.insideground.gblock3._y = 0;
ablock3._y = 449.05;
maxeggs = 0;
killground1 = false;
killground2 = false;
killground3 = false;
letsadd = 0;
globaltimer = 0;
harderboxes = 1;
boxspawn = 100;
boxspeed = 3;
}
function endlevel() {
xx = 0;
while (xx < 200) {
removeMovieClip("newpickupegg" + xx);
removeMovieClip("newcloud1" + xx);
removeMovieClip("newcloud2" + xx);
removeMovieClip("newcloud3" + xx);
removeMovieClip("newupgrade" + xx);
removeMovieClip(ground["newboxholders" + xx]);
xx++;
}
}
function removeground() {
roll = random(3) + 1;
if ((roll == 1) and (killground1 == true)) {
roll = 2;
}
if ((roll == 2) and (killground2 == true)) {
roll = 3;
}
if ((roll == 3) and (killground3 == true)) {
roll = 1;
}
if ((roll == 1) and (killground1 == true)) {
roll = 2;
}
if ((roll == 2) and (killground2 == true)) {
roll = 3;
}
if ((roll == 1) and (killground1 == false)) {
killground1 = true;
}
if ((roll == 2) and (killground2 == false)) {
killground2 = true;
}
if ((roll == 3) and (killground3 == false)) {
killground3 = true;
}
}
stop();
i = 0;
upgradespawn = 0;
harderboxes = 1;
boxtimer = 0;
boxspawn = 100;
boxspeed = 3;
timesit = 1;
globaltimer = 0;
cloudtimer = 148;
eggspawner = 0;
maxclouds = 0;
maxeggs = 0;
score = 0;
stopall = true;
letsadd = 0;
insanemode = false;
doonce = false;
killground1 = false;
killground2 = false;
killground3 = false;
Instance of Symbol 24 MovieClip "cloud1" in Frame 6
onClipEvent (load) {
_x = 850;
_y = (100 + random(50));
bob = random(4) + 1;
gotoAndStop(bob);
}
onClipEvent (enterFrame) {
if (_root.stopall == false) {
if (_name != "cloud1") {
_x = (_x - 2);
if (_x < -150) {
_root.maxclouds = _root.maxclouds - 1;
removeMovieClip(this);
}
if (this.hitTest(_root.char) and (this._alpha > 50)) {
this._alpha = this._alpha - 10;
} else if ((this.hitTest(_root.char) == false) and (this._alpha < 100)) {
this._alpha = this._alpha + 10;
}
}
}
}
Instance of Symbol 18 MovieClip "cloud3" in Frame 6
onClipEvent (load) {
_x = 850;
_y = (100 + random(50));
bob = random(4) + 1;
gotoAndStop(bob);
}
onClipEvent (enterFrame) {
if (_root.stopall == false) {
if (_name != "cloud3") {
_x = (_x - 2);
if (_x < -150) {
_root.maxclouds = _root.maxclouds - 1;
removeMovieClip(this);
}
if (this.hitTest(_root.char) and (this._alpha > 50)) {
this._alpha = this._alpha - 10;
} else if ((this.hitTest(_root.char) == false) and (this._alpha < 100)) {
this._alpha = this._alpha + 10;
}
}
}
}
Instance of Symbol 311 MovieClip "cloud2" in Frame 6
onClipEvent (load) {
_x = 850;
_y = (100 + random(50));
bob = random(4) + 1;
gotoAndStop(bob);
}
onClipEvent (enterFrame) {
if (_root.stopall == false) {
if (_name != "cloud2") {
_x = (_x - 2);
if (_x < -150) {
_root.maxclouds = _root.maxclouds - 1;
removeMovieClip(this);
}
if (this.hitTest(_root.char) and (this._alpha > 50)) {
this._alpha = this._alpha - 10;
} else if ((this.hitTest(_root.char) == false) and (this._alpha < 100)) {
this._alpha = this._alpha + 10;
}
}
}
}
Instance of Symbol 357 MovieClip "char" in Frame 6
onClipEvent (load) {
function checkrightwall() {
while ((_root.ground.hitTest((_x + (hit._width / 2)) + _root.boxspeed, _y - (hit._height / 2), true) or _root.ground.hitTest((_x + (hit._width / 2)) + _root.boxspeed, _y - 3, true)) or _root.ground.hitTest((_x + (hit._width / 2)) + _root.boxspeed, _y - hit._height, true)) {
_x = (_x - 0.1);
}
}
function checkleftwall() {
while ((_root.ground.hitTest((_x - (hit._width / 2)) - _root.boxspeed, _y - (hit._height / 2), true) or _root.ground.hitTest((_x - (hit._width / 2)) - _root.boxspeed, _y - 3, true)) or _root.ground.hitTest((_x - (hit._width / 2)) - _root.boxspeed, _y - hit._height, true)) {
_x = (_x + 0.1);
}
}
gravity = 0;
speed = 7;
addon = false;
jumpheight = 14;
scale = _xscale;
}
onClipEvent (enterFrame) {
if ((_currentframe != 4) and (_root.stopall == false)) {
if ((myspeeder > _root.boxspeed) and (_root.boxspeed >= 0)) {
myspeeder = _root.boxspeed;
}
_x = (_x - myspeeder);
myspeeder = 0;
checkleftwall();
checkrightwall();
gravity = gravity + 1;
_y = (_y + gravity);
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true) and (_currentframe != 3)) {
gotoAndStop (2);
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
if (gravity >= 0) {
gotoAndStop (1);
}
} else if ((((!_root.ground.hitTest(_x, _y + 3, true)) and (!Key.isDown(38))) or ((!_root.ground.hitTest(_x + (_width / 2), _y + 3, true)) and (!Key.isDown(38)))) or ((!_root.ground.hitTest(_x - (_width / 2), _y + 3, true)) and (!Key.isDown(38)))) {
if (gravity >= 0) {
gotoAndStop (3);
}
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true) and (_currentframe != 3)) {
gotoAndStop (2);
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
if (gravity >= 0) {
gotoAndStop (1);
}
} else if ((((!_root.ground.hitTest(_x, _y + 3, true)) and (!Key.isDown(38))) or ((!_root.ground.hitTest(_x + (_width / 2), _y + 3, true)) and (!Key.isDown(38)))) or ((!_root.ground.hitTest(_x - (_width / 2), _y + 3, true)) and (!Key.isDown(38)))) {
if (gravity >= 0) {
gotoAndStop (3);
}
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
if (gravity >= 0) {
gotoAndStop (1);
}
}
if (Key.isDown(38) and (gravity == 0)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
}
}
if ((_root.ground.hitTest(_x + (hit._width / 2), (_y - hit._height) - 12, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, (_y - hit._height) - 12, true)) {
_y = (_y + 2);
gravity = 2;
if (_root.upgradebox.timer2 > 98) {
_root.upgradebox.timer2 = 98;
}
}
}
if (((_y > 500) or (_x < -50)) or (_x > 700)) {
if (_root.fadeout._currentframe == 1) {
_root.stopall = true;
_root.fadeout.gotoAndPlay(2);
}
}
}
Instance of Symbol 382 MovieClip "pickupegg" in Frame 6
onClipEvent (load) {
if (_name != "pickupegg") {
_x = (random(500) + 100);
_y = (random(200) + 100);
letsgo = false;
speed = 5;
bob = true;
}
}
onClipEvent (enterFrame) {
if (letsgo == true) {
speed++;
_alpha = (_alpha - 2);
if (speed > 15) {
speed = 15;
}
if (bob == true) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("popegg");
my_sound2.start(0, 1);
bob = false;
}
}
X = _root.eggdie._x - _x;
Y = _root.eggdie._y - _y;
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) + 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Instance of Symbol 390 MovieClip in Frame 6
onClipEvent (load) {
beenpressed = false;
bob = false;
fred = false;
john = false;
_root.sound = true;
bob = 70000 /* 0x011170 */;
this.swapDepths(bob);
}
onClipEvent (enterFrame) {
if (!Key.isDown(81)) {
john = false;
}
if (Key.isDown(81)) {
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(83)) {
bob = false;
}
if (Key.isDown(83)) {
if ((_root.sound == true) and (bob == false)) {
_root.sound = false;
stopAllSounds();
bob = true;
} else if ((_root.sound == false) and (bob == false)) {
_root.sound = true;
_root.nextsong();
bob = true;
}
}
if (!Key.isDown(80)) {
fred = false;
}
if (Key.isDown(80) and (_root.fadeout._currentframe == 1)) {
if ((_root.stopall == true) and (fred == false)) {
_root.stopall = false;
_root.pausefade._visible = false;
fred = true;
}
if ((_root.stopall == false) and (fred == false)) {
_root.stopall = true;
_root.pausefade._visible = true;
fred = true;
}
}
}
Instance of Symbol 394 MovieClip "multi" in Frame 6
onClipEvent (load) {
_root.multicount = 0;
bob = 50000;
this.swapDepths(bob);
}
onClipEvent (enterFrame) {
if (_root.multicount < 0) {
_root.multicount = 0;
}
if (_root.multicount > 0) {
_root.multicount = _root.multicount - 0.01;
}
if ((_root.multicount >= 2) and (_currentframe == 1)) {
gotoAndStop (2);
}
if (_root.score > 99) {
_x = 195;
}
if (_root.score > 999) {
_x = 205;
}
if (_root.score > 9999) {
_x = 215;
}
if (_root.score > 99999) {
_x = 225;
}
if (_root.score > 999999) {
_x = 235;
}
if (_root.score > 9999999) {
_x = 245;
}
if (_root.score > 99999999) {
_x = 255;
}
}
Instance of Symbol 408 MovieClip "upgradebox" in Frame 6
onClipEvent (load) {
timer = 0;
timer2 = 0;
timer3 = 0;
bob = 0;
fred = 0;
lol = 0;
xgrab = false;
starttimer = false;
starttimer2 = false;
starttimer3 = false;
depthswap = 80000 /* 0x013880 */;
this.swapDepths(depthswap);
}
onClipEvent (enterFrame) {
if (_root.stopall == false) {
if (Key.isDown(32) and (_currentframe == 2)) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("eggappear");
my_sound2.start(0, 1);
}
duplicateMovieClip (_root.pickupegg, "newpickupegg" + _root.i, _root.i);
_root.maxeggs = _root.maxeggs + 1;
_root.i = _root.i + 1;
duplicateMovieClip (_root.pickupegg, "newpickupegg" + _root.i, _root.i);
_root.maxeggs = _root.maxeggs + 1;
_root.i = _root.i + 1;
duplicateMovieClip (_root.pickupegg, "newpickupegg" + _root.i, _root.i);
_root.maxeggs = _root.maxeggs + 1;
_root.i = _root.i + 1;
duplicateMovieClip (_root.pickupegg, "newpickupegg" + _root.i, _root.i);
_root.maxeggs = _root.maxeggs + 1;
_root.i = _root.i + 1;
duplicateMovieClip (_root.pickupegg, "newpickupegg" + _root.i, _root.i);
_root.maxeggs = _root.maxeggs + 1;
_root.i = _root.i + 1;
gotoAndStop (1);
}
if ((Key.isDown(32) and (_currentframe == 3)) and (timer == 0)) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("pausesound");
my_sound2.start(0, 1);
}
bob = _root.boxspeed;
lol = _root.boxtimer;
lol2 = _root.letsadd;
fred = _root.globaltimer;
_root.boxspeed = 0;
starttimer = true;
gotoAndStop (1);
}
if (starttimer == true) {
timer++;
_root.letsadd = lol2;
_root.boxtimer = lol;
_root.globaltimer = fred;
}
if (timer > 100) {
timer = 0;
_root.boxspeed = bob;
_root.globaltimer = fred;
starttimer = false;
}
if ((Key.isDown(32) and (_currentframe == 4)) and (timer2 == 0)) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("shrinksound");
my_sound2.start(0, 1);
}
starttimer2 = true;
if (_root.char._xscale > 0) {
xgrab = false;
}
if (_root.char._xscale < 0) {
xgrab = true;
}
_root.char._xscale = 50;
_root.char._yscale = 50;
if (xgrab == false) {
_root.char.scale = _root.char._xscale;
_root.char._xscale = _root.char.scale;
}
if (xgrab == true) {
_root.char.scale = _root.char._xscale;
_root.char._xscale = -_root.char.scale;
}
_root.char.jumpheight = 16;
_root.char.hit.gotoAndStop(2);
gotoAndStop (1);
}
if (starttimer2 == true) {
timer2++;
}
if (timer2 > 150) {
if (_root.char._xscale > 0) {
xgrab = false;
}
if (_root.char._xscale < 0) {
xgrab = true;
}
_root.char._xscale = 105.622863769531;
_root.char._yscale = 105.622863769531;
_root.char.scale = _root.char._xscale;
_root.char.jumpheight = 14;
if (xgrab == false) {
_root.char.scale = _root.char._xscale;
_root.char._xscale = _root.char.scale;
}
if (xgrab == true) {
_root.char.scale = _root.char._xscale;
_root.char._xscale = -_root.char.scale;
}
timer2 = 0;
_root.char.hit.gotoAndStop(1);
starttimer2 = false;
}
if ((Key.isDown(32) and (_currentframe == 5)) and (_root.laser._currentframe == 1)) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("lasersound");
my_sound2.start(0, 1);
}
_root.laser._x = _root.char._x + 10;
_root.laser._y = _root.char._y - 20;
_root.laser.gotoAndPlay(2);
gotoAndStop (1);
}
if (Key.isDown(32) and (_currentframe == 6)) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("speedupsound");
}
my_sound2.start(0, 1);
starttimer3 = true;
_root.char.speed = 15;
_root.char.jumpheight = 20;
gotoAndStop (1);
}
if (starttimer3 == true) {
timer3++;
}
if (timer3 > 250) {
_root.char.speed = 7;
_root.char.jumpheight = 14;
timer3 = 0;
starttimer3 = false;
}
}
}
Instance of Symbol 414 MovieClip "ui" in Frame 6
onClipEvent (load) {
bob = 20000;
this.swapDepths(bob);
}
Instance of Symbol 430 MovieClip "upgrade" in Frame 6
onClipEvent (load) {
if (_name != "upgrade") {
_x = 850;
_y = (random(200) + 100);
letsgo = false;
speed = _root.boxspeed - 1;
}
}
onClipEvent (enterFrame) {
if (_name != "upgrade") {
if (_root.stopall == false) {
if (_root.boxspeed == 0) {
speed = 0;
} else {
speed = _root.boxspeed - 1;
}
_x = (_x - speed);
if (_root.char.hitTest(hit)) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("powerupsound");
my_sound2.start(0, 1);
}
bob = random(4) + 2;
_root.upgradebox.gotoAndStop(bob);
removeMovieClip(this);
}
if (_x < -500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 433 MovieClip "laser" in Frame 6
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if ((_root.char._xscale < 0) and (_currentframe == 1)) {
_xscale = (-scale);
} else if ((_root.char._xscale > 0) and (_currentframe == 1)) {
_xscale = scale;
}
}
Instance of Symbol 448 MovieClip "fadeout" in Frame 6
onClipEvent (load) {
bob = 100000 /* 0x0186A0 */;
this.swapDepths(bob);
}
Instance of Symbol 452 MovieClip "pausefade" in Frame 6
onClipEvent (load) {
_visible = false;
bob = 110000 /* 0x01ADB0 */;
this.swapDepths(bob);
}
Instance of Symbol 454 MovieClip "startblank" in Frame 6
onClipEvent (load) {
depthswap = 800000 /* 0x0C3500 */;
this.swapDepths(depthswap);
}
Instance of Symbol 470 MovieClip "instructions" in Frame 6
onClipEvent (load) {
depthswap = 8000000 /* 0x7A1200 */;
this.swapDepths(depthswap);
}
Symbol 18 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 24 MovieClip Frame 3
stop();
Symbol 24 MovieClip Frame 4
stop();
Instance of Symbol 18 MovieClip in Symbol 26 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 1
/* no clip actions */
Symbol 33 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.loader.gotoAndStop(2);
}
Symbol 33 MovieClip Frame 2
gotoAndPlay (1);
Symbol 45 Button
on (press) {
_root.adBox.swapDepths(32535);
removeMovieClip(_root.adBox);
_root.play();
}
Symbol 46 MovieClip Frame 27
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 21
stop();
Symbol 123 MovieClip Frame 22
prevFrame();
Symbol 137 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 123 MovieClip "node1" in Symbol 154 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 195 MovieClip Frame 20
stop();
Symbol 216 MovieClip Frame 189
_root.play();
Symbol 221 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 226 MovieClip Frame 81
_root.nextFrame();
Symbol 240 MovieClip Frame 144
_root.nextFrame();
Symbol 248 Button
on (release) {
_root.gotoAndStop("gameframe");
}
Symbol 253 Button
on (release) {
getURL ("www.armorgames.com");
}
Symbol 258 MovieClip Frame 1
gotoAndStop(random(30));
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 7
stop();
Symbol 280 MovieClip Frame 1
stop();
Instance of Symbol 274 MovieClip "hit" in Symbol 280 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndPlay (2);
_root.char.gravity = -40;
_root.char.gotoAndStop(3);
}
}
Symbol 280 MovieClip Frame 2
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("springsound");
my_sound2.start(0, 1);
}
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("breaksound");
my_sound2.start(0, 1);
}
Symbol 282 MovieClip Frame 6
stop();
Instance of Symbol 298 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.clr.play();
} else {
this.clr.stop();
}
}
Symbol 300 MovieClip Frame 1
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 2
stop();
Instance of Symbol 280 MovieClip in Symbol 300 MovieClip Frame 2
onClipEvent (enterFrame) {
_y = (_y - 10);
if ((_root.char.hitTest(hit) and (_currentframe == 1)) and (_root.char._currentframe != 4)) {
_root.char.gravity = -20;
gotoAndPlay (2);
}
_y = (_y + 10);
if (_root.stopall == true) {
stop();
} else if (_currentframe != 1) {
play();
}
}
Symbol 300 MovieClip Frame 3
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 4
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 5
stop();
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 5
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 5
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 5
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 6
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 7
stop();
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 7
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 8
stop();
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 8
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 9
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 9
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 9
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 9
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 292 MovieClip in Symbol 300 MovieClip Frame 9
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 10
stop();
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 10
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 11
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 12
stop();
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 13
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 292 MovieClip in Symbol 300 MovieClip Frame 13
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 14
stop();
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 14
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 15
stop();
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 15
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 16
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 16
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 16
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 16
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 17
stop();
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 280 MovieClip in Symbol 300 MovieClip Frame 17
onClipEvent (enterFrame) {
_y = (_y - 10);
if ((_root.char.hitTest(hit) and (_currentframe == 1)) and (_root.char._currentframe != 4)) {
_root.char.gravity = -20;
gotoAndPlay (2);
}
if (_root.stopall == true) {
stop();
} else if (_currentframe != 1) {
play();
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 18
stop();
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 18
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 18
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 18
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 18
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 18
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 18
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 19
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 19
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 19
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 19
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 19
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 20
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 20
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 20
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 20
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 20
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 20
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 20
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 21
stop();
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 21
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 292 MovieClip in Symbol 300 MovieClip Frame 21
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 292 MovieClip in Symbol 300 MovieClip Frame 21
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 22
stop();
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 282 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_currentframe != 6) {
_root.boxcode(this);
}
if (_root.char.hitTest(this) and (_currentframe == 1)) {
gotoAndPlay (2);
}
_y = (_y + 10);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 22
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Symbol 300 MovieClip Frame 23
stop();
Instance of Symbol 299 MovieClip in Symbol 300 MovieClip Frame 23
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 288 MovieClip in Symbol 300 MovieClip Frame 23
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hit.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 23
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 23
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Instance of Symbol 271 MovieClip in Symbol 300 MovieClip Frame 23
onClipEvent (enterFrame) {
_root.boxcode(this);
}
Symbol 300 MovieClip Frame 24
stop();
Instance of Symbol 292 MovieClip in Symbol 300 MovieClip Frame 24
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 292 MovieClip in Symbol 300 MovieClip Frame 24
onClipEvent (enterFrame) {
_y = (_y - 10);
if (_root.char.hitTest(this.hit) and (_root.char._currentframe != 4)) {
_root.char.gotoAndStop(4);
}
_y = (_y + 10);
}
Instance of Symbol 300 MovieClip "boxholders" in Symbol 306 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.stopall == false) {
if (_name != "boxholders") {
_x = (_x - _root.boxspeed);
if (_x < -500) {
removeMovieClip(this);
}
}
}
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 334 MovieClip Frame 16
gotoAndPlay (5);
Symbol 352 MovieClip Frame 30
stop();
_root.fadeout.gotoAndPlay(2);
_root.stopall = true;
Symbol 356 MovieClip Frame 11
Symbol 357 MovieClip Frame 1
stop();
Instance of Symbol 324 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 357 MovieClip Frame 2
stop();
Instance of Symbol 328 MovieClip in Symbol 357 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 357 MovieClip Frame 3
stop();
Instance of Symbol 334 MovieClip "jump" in Symbol 357 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 357 MovieClip Frame 4
stop();
Instance of Symbol 352 MovieClip "die" in Symbol 357 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 357 MovieClip Frame 5
stop();
Instance of Symbol 356 MovieClip in Symbol 357 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 368 MovieClip Frame 1
stop();
Instance of Symbol 368 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
col = new Color(this);
cntfrm = Math.floor(Math.random() * 10) + 1;
this.gotoAndStop(cntfrm);
}
Symbol 381 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 381 MovieClip Frame 2
_root.score = _root.score + (100 * _root.timesit);
_root.maxeggs = _root.maxeggs - 1;
_root.multicount = _root.multicount + 1.1;
Symbol 381 MovieClip Frame 5
stop();
Instance of Symbol 381 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (currentFrame <= 1)) {
_parent.letsgo = true;
}
if (_root.eggdie.hitTest(hit) and (currentFrame <= 1)) {
play();
}
}
Symbol 384 MovieClip Frame 35
_root.showanim.gotoAndStop(1);
Symbol 386 MovieClip Frame 35
_root.showanim.gotoAndStop(1);
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("hardersound");
my_sound2.start(0, 1);
}
Instance of Symbol 384 MovieClip in Symbol 387 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 387 MovieClip Frame 3
stop();
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("hardersound");
my_sound2.start(0, 1);
}
Instance of Symbol 386 MovieClip in Symbol 387 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.stopall == true) {
stop();
} else {
play();
}
}
Symbol 393 MovieClip Frame 1
play();
Symbol 393 MovieClip Frame 20
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Instance of Symbol 393 MovieClip "firsthold" in Symbol 394 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.multicount >= 2) and (_root.multicount <= 2.99)) {
hold = "x2";
_root.timesit = 2;
}
if ((_root.multicount >= 3) and (_root.multicount <= 3.99)) {
hold = "x3";
_root.timesit = 3;
}
if ((_root.multicount >= 4) and (_root.multicount <= 4.99)) {
hold = "x4";
_root.timesit = 4;
}
if ((_root.multicount >= 5) and (_root.multicount <= 5.99)) {
hold = "x5";
_root.timesit = 5;
}
if ((_root.multicount >= 6) and (_root.multicount <= 6.99)) {
hold = "x6";
_root.timesit = 6;
}
if ((_root.multicount >= 7) and (_root.multicount <= 7.99)) {
hold = "x7";
_root.timesit = 7;
}
if (_currentframe == 20) {
_root.multicount = _root.multicount - 1;
if (_root.multicount >= 1) {
gotoAndPlay (1);
} else {
_root.timesit = 1;
_parent.gotoAndStop(1);
}
}
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
stop();
Instance of Symbol 381 MovieClip in Symbol 408 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(hit) and (currentFrame <= 1)) {
_parent.letsgo = true;
}
if (_root.eggdie.hitTest(hit) and (currentFrame <= 1)) {
play();
}
}
Instance of Symbol 381 MovieClip in Symbol 408 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(hit) and (currentFrame <= 1)) {
_parent.letsgo = true;
}
if (_root.eggdie.hitTest(hit) and (currentFrame <= 1)) {
play();
}
}
Instance of Symbol 381 MovieClip in Symbol 408 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(hit) and (currentFrame <= 1)) {
_parent.letsgo = true;
}
if (_root.eggdie.hitTest(hit) and (currentFrame <= 1)) {
play();
}
}
Symbol 408 MovieClip Frame 3
stop();
Symbol 408 MovieClip Frame 4
stop();
Symbol 408 MovieClip Frame 5
stop();
Symbol 408 MovieClip Frame 6
stop();
Instance of Symbol 419 MovieClip in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
col = new Color(this);
cntfrm = Math.floor(Math.random() * 10) + 1;
this.gotoAndStop(cntfrm);
}
Symbol 426 MovieClip Frame 1
stop();
_root.ui.total++;
Symbol 426 MovieClip Frame 2
_root.ui.score = _root.ui.score + 1;
bp = new Sound();
beep = Math.floor(Math.random() * 10) + 1;
if (beep == 1) {
bp.attachSound("beep1");
} else if (beep == 2) {
bp.attachSound("beep1");
} else if (beep == 3) {
bp.attachSound("beep3");
} else if (beep == 4) {
bp.attachSound("beep3");
} else if (beep == 5) {
bp.attachSound("beep3");
} else if (beep == 6) {
bp.attachSound("beep6");
} else if (beep == 7) {
bp.attachSound("beep6");
} else if (beep == 8) {
bp.attachSound("beep8");
} else if (beep == 9) {
bp.attachSound("beep8");
} else if (beep == 10) {
bp.attachSound("beep10");
}
bp.setVolume(99);
bp.start(0, 1);
Symbol 426 MovieClip Frame 5
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 21
_root.laser._x = -110;
_root.laser._y = -80;
Symbol 439 Button
on (press) {
_root.restartgame();
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 21
stop();
if (_root.bestscore < _root.score) {
_root.bestscore = _root.score;
}
if (_root.bestglobaltimer < _root.globaltimer) {
_root.bestglobaltimer = _root.globaltimer;
}
Instance of Symbol 441 MovieClip in Symbol 448 MovieClip Frame 21
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.restartgame();
}
}
Symbol 460 MovieClip Frame 1
stop();
_root.ui.total++;
Symbol 460 MovieClip Frame 2
_root.ui.score = _root.ui.score + 1;
bp = new Sound();
beep = Math.floor(Math.random() * 10) + 1;
if (beep == 1) {
bp.attachSound("beep1");
} else if (beep == 2) {
bp.attachSound("beep1");
} else if (beep == 3) {
bp.attachSound("beep3");
} else if (beep == 4) {
bp.attachSound("beep3");
} else if (beep == 5) {
bp.attachSound("beep3");
} else if (beep == 6) {
bp.attachSound("beep6");
} else if (beep == 7) {
bp.attachSound("beep6");
} else if (beep == 8) {
bp.attachSound("beep8");
} else if (beep == 9) {
bp.attachSound("beep8");
} else if (beep == 10) {
bp.attachSound("beep10");
}
bp.setVolume(99);
bp.start(0, 1);
Symbol 460 MovieClip Frame 5
stop();
Symbol 469 Button
on (press) {
_root.startblank._visible = false;
_root.instructions._visible = false;
_root.stopall = false;
}
Instance of Symbol 382 MovieClip "pickupegg" in Symbol 470 MovieClip Frame 1
onClipEvent (load) {
if (_name != "pickupegg") {
_x = (random(500) + 100);
_y = (random(200) + 100);
letsgo = false;
speed = 5;
bob = true;
}
}
onClipEvent (enterFrame) {
if (letsgo == true) {
speed++;
_alpha = (_alpha - 2);
if (speed > 15) {
speed = 15;
}
if (bob == true) {
if (_root.sound == true) {
my_sound2 = new Sound();
my_sound2.attachSound("popegg");
my_sound2.start(0, 1);
bob = false;
}
}
X = _root.eggdie._x - _x;
Y = _root.eggdie._y - _y;
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) + 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.stopall == true) {
stop();
} else {
play();
}
}