Frame 1
Stage.showMenu = false;
var CPMStarContentSpotID = "711Q0B947801";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=" + CPMStarContentSpotID);
Frame 97
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);
}
__com_mochibot__("d3ba13d5", this, 10301, true);
stop();
var savefile = SharedObject.getLocal("boxmen");
_root.oldlevel = savefile.data.level;
if (savefile.data.level == undefined) {
_root.oldlevel = 2;
}
Frame 98
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 2;
savefile.data.level = _root.level;
savefile.flush();
Instance of Symbol 223 MovieClip "hud_music" in Frame 98
on (release) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if ((this._currentframe == 2) || (this._currentframe == 3)) {
this.gotoAndStop(1);
}
}
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 99
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 0;
_root.hud_music.gotoAndStop(2);
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Frame 100
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 4;
savefile.data.level = _root.level;
savefile.flush();
Frame 101
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 6;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (_root.button1.button_on == true) {
_root.spikes._alpha = 20;
_root.killbox1._y = -200;
} else if (_root.button1.button_on == false) {
_root.spikes._alpha = 100;
_root.killbox1._y = 250;
}
}
Frame 102
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 6;
savefile.data.level = _root.level;
savefile.flush();
Frame 103
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 1;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Frame 104
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 8;
savefile.data.level = _root.level;
savefile.flush();
Frame 105
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 1;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 105
onClipEvent (load) {
_root.lever1.lever_right = false;
}
onClipEvent (enterFrame) {
if (_root.lever1.lever_right == false) {
_root.spikes1._alpha = 100;
_root.killbox1._y = 297;
} else if (_root.lever1.lever_right == true) {
_root.spikes1._alpha = 20;
_root.killbox1._y = -500;
}
}
Frame 106
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 10;
savefile.data.level = _root.level;
savefile.flush();
Frame 107
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 2;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 107
onClipEvent (load) {
_root.lever1.lever_right = false;
}
onClipEvent (enterFrame) {
if (_root.lever1.lever_right == false) {
_root.spikes1._alpha = 100;
_root.killbox1._y = 150;
} else if (_root.lever1.lever_right == true) {
_root.spikes1._alpha = 20;
_root.killbox1._y = -500;
}
}
Frame 108
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 12;
savefile.data.level = _root.level;
savefile.flush();
Frame 109
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 2;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 109
onClipEvent (enterFrame) {
_root.ground.lift._y = _root.ground.lift._y - (_root.generator1.power / 60);
_root.lift._y = _root.lift._y - (_root.generator1.power / 60);
if (_root.ground.lift._y > 425) {
_root.ground.lift._y = 425;
_root.lift._y = 425;
}
if (_root.ground.lift._y < 100) {
_root.ground.lift._y = 100;
_root.lift._y = 100;
}
}
Frame 110
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 14;
savefile.data.level = _root.level;
savefile.flush();
Frame 111
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 2;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 111
onClipEvent (load) {
_root.lever1.lever_right = false;
_root.lever2.lever_right = true;
}
onClipEvent (enterFrame) {
if (_root.lever1.lever_right == true) {
_root.spikes._alpha = 20;
_root.killbox1._y = -200;
} else if (_root.lever1.lever_right == false) {
_root.spikes._alpha = 100;
_root.killbox1._y = 402;
}
}
Frame 112
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 16;
savefile.data.level = _root.level;
savefile.flush();
Frame 113
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 1;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Frame 114
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 18;
savefile.data.level = _root.level;
savefile.flush();
Frame 115
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 15;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Frame 116
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 20;
savefile.data.level = _root.level;
savefile.flush();
Frame 117
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 4;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 117
onClipEvent (load) {
_root.lever1.lever_right = false;
_root.lever2.lever_right = true;
_root.lever3.lever_right = false;
stay_on = false;
}
onClipEvent (enterFrame) {
if (_root.lever1.lever_right == true) {
_root.spikes3._alpha = 100;
_root.killbox3._y = 400;
} else if (_root.lever1.lever_right == false) {
_root.spikes3._alpha = 20;
_root.killbox3._y = -500;
}
if (_root.lever2.lever_right == true) {
_root.spikes4._alpha = 20;
_root.killbox4._y = -400;
} else if (_root.lever2.lever_right == false) {
_root.spikes4._alpha = 100;
_root.killbox4._y = 400;
}
if (_root.lever3.lever_right == true) {
_root.spikes1._alpha = 20;
_root.killbox1._y = -200;
_root.spikes2._alpha = 100;
_root.killbox2._y = 475;
} else if (_root.lever3.lever_right == false) {
_root.spikes1._alpha = 100;
_root.killbox1._y = 475;
_root.spikes2._alpha = 20;
_root.killbox2._y = -200;
}
if (_root.button1.button_on == true) {
stay_on = true;
}
if (stay_on == true) {
_root.button1.button_on = true;
_root.killbox5._y = 375;
_root.spikes5._alpha = 100;
} else if (stay_on == false) {
_root.killbox5._y = -200;
_root.spikes5._alpha = 20;
}
}
Frame 118
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 22;
savefile.data.level = _root.level;
savefile.flush();
Frame 119
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 6;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 119
onClipEvent (enterFrame) {
_root.ground.lift._y = _root.ground.lift._y - (_root.generator1.power / 6);
_root.lift._y = _root.lift._y - (_root.generator1.power / 6);
if (_root.ground.lift._y > 275) {
_root.ground.lift._y = 275;
_root.lift._y = 275;
}
if (_root.ground.lift._y < 60) {
_root.ground.lift._y = 60;
_root.lift._y = 60;
}
}
Frame 120
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 24;
savefile.data.level = _root.level;
savefile.flush();
Frame 121
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 1;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 121
onClipEvent (load) {
_root.lever1.lever_right = false;
_root.lever2.lever_right = false;
stay_on = false;
stay_onn = false;
}
onClipEvent (enterFrame) {
if (_root.button1.button_on == true) {
_root.ground.gotoAndStop(2);
_root.spikes2._alpha = 20;
_root.killbox2._y = _root.killbox2._y - 200;
_root.killbox8._y = 129;
_root.wall._alpha = 100;
} else if (_root.button1.button_on == false) {
_root.ground.gotoAndStop(1);
_root.spikes2._alpha = 100;
_root.killbox2._y = 97;
_root.killbox8._y = _root.killbox8._y - 200;
_root.wall._alpha = 20;
}
if (_root.lever1.lever_right == true) {
_root.spikes1._alpha = 20;
_root.killbox1._y = _root.killbox1._y - 250;
} else if (_root.lever1.lever_right == false) {
_root.spikes1._alpha = 100;
_root.killbox1._y = 97;
}
_root.lift._x = _root.ground.lift._x;
_root.ground.lift._x = _root.ground.lift._x + (_root.generator1.power / 9);
_root.ground.lift._x = _root.ground.lift._x - 4;
if (_root.ground.lift._x > 550) {
_root.ground.lift._x = 550;
}
if (_root.ground.lift._x < 0) {
_root.ground.lift._x = 0;
}
if (_root.button2.button_on == true) {
stay_on = true;
}
if (stay_on == true) {
_root.button2.button_on = true;
_root.killbox4._y = _root.killbox4._y + 200;
_root.spikes5._alpha = 20;
} else if (stay_on == false) {
_root.killbox4._y = 466;
_root.spikes5._alpha = 100;
}
if (_root.button4.button_on == true) {
stay_onn = true;
_root.spikes4._alpha = 20;
_root.killbox5._y = _root.killbox5._y + 500;
} else if (root.button4.button_on == false) {
_root.spikes4._alpha = 100;
_root.killbox5._y = 272;
}
if (stay_onn == true) {
_root.button4.button_on = true;
}
if (_root.button3.button_on == true) {
_root.killbox7._y = _root.killbox7._y - 200;
_root.spikes7._alpha = 20;
} else if (_root.button3.button_on == false) {
_root.killbox7._y = 472;
_root.spikes7._alpha = 100;
}
if (_root.lever2.lever_right == true) {
_root.killbox6._y = _root.killbox6._y - 200;
_root.spikes6._alpha = 20;
} else if (_root.lever2.lever_right == false) {
_root.killbox6._y = 470;
_root.spikes6._alpha = 100;
}
}
Frame 122
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 26;
savefile.data.level = _root.level;
savefile.flush();
Frame 123
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 8;
_root.hud_face._visible = true;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 10 MovieClip in Frame 123
onClipEvent (load) {
killbox_on = true;
timer = 0;
_root.lever1.lever_right = true;
stay_on = false;
}
onClipEvent (enterFrame) {
if ((_root.button1.button_on == true) && (_root.button2.button_on == true)) {
_root.ground.gotoAndStop(2);
_root.walls.gotoAndStop(2);
stay_on = true;
}
if (stay_on == true) {
_root.button1.button_on = true;
_root.button2.button_on = true;
}
if (_root.button3.button_on == true) {
killbox_on = false;
}
if (killbox_on == false) {
timer++;
_root.button3.button_on = true;
}
if (timer > 80) {
timer = 0;
killbox_on = true;
}
if (killbox_on == false) {
_root.spikes3._alpha = 20;
_root.killbox3._y = _root.killbox3._y + 250;
} else if (killbox_on == true) {
_root.spikes3._alpha = 100;
_root.killbox3._y = 423;
}
if (_root.lever1.lever_right == false) {
_root.spikes1._alpha = 20;
_root.spikes4._alpha = 100;
_root.killbox1._y = _root.killbox1._y + 250;
_root.killbox4._y = 423;
} else if (_root.lever1.lever_right == true) {
_root.spikes1._alpha = 100;
_root.spikes4._alpha = 20;
_root.killbox1._y = 423;
_root.killbox4._y = _root.killbox4._y + 250;
}
if (_root.lever2.lever_right == true) {
_root.spikes2._alpha = 20;
_root.spikes5._alpha = 100;
_root.killbox2._y = _root.killbox2._y + 250;
_root.killbox5._y = 423;
} else if (_root.lever2.lever_right == false) {
_root.spikes2._alpha = 100;
_root.spikes5._alpha = 20;
_root.killbox2._y = 423;
_root.killbox5._y = _root.killbox5._y + 250;
}
}
Frame 124
function onEnterFrame() {
grav = 0;
hud_face._visible = false;
}
level = 2;
savefile.data.level = _root.level;
savefile.flush();
Frame 125
grav = 0;
speedl = 0;
speedr = 0;
speedmax = 6;
inertia = 1.2;
friend_count = 0;
spawnable = true;
dead = false;
jump = false;
allowed_friends = 0;
_root.hud_face._visible = false;
if (Key.isDown(16)) {
shift_down = true;
} else {
shift_down = false;
}
function onEnterFrame() {
if (Key.isDown(82)) {
_root.restart.play();
}
if (dead == false) {
hero._x = hero._x - speedl;
hero._x = hero._x + speedr;
if ((Key.isDown(37) && (!Key.isDown(39))) && (!Key.isDown(40))) {
hero._xscale = -100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedl < speedmax) {
speedl = speedl + inertia;
}
} else if (speedl > 0) {
speedl = speedl - inertia;
}
if ((Key.isDown(39) && (!Key.isDown(37))) && (!Key.isDown(40))) {
hero._xscale = 100;
if (grav == 0) {
hero.gotoAndStop("run");
}
if (speedr < speedmax) {
speedr = speedr + inertia;
}
} else if (speedr > 0) {
speedr = speedr - inertia;
}
if (!Key.isDown(38)) {
what = false;
}
if ((Key.isDown(38) && (grav < 3)) && (what == false)) {
what = true;
jump = true;
}
if (jump == true) {
hero._y = hero._y - 12.5;
hero.gotoAndStop("jump");
}
if ((((!Key.isDown(37)) && (!Key.isDown(40))) && (!Key.isDown(39))) && (grav == 0)) {
hero.gotoAndStop("idle");
}
if (((Key.isDown(37) && (Key.isDown(39))) && (grav == 0)) && (!Key.isDown(40))) {
hero.gotoAndStop("idle");
}
if ((grav > 0) && (jump == false)) {
hero.gotoAndStop("fall");
}
if (Key.isDown(40) && (grav == 0)) {
hero.gotoAndStop("crouch");
}
grav++;
hero._y = hero._y + grav;
while (_root.ground.hitTest(hero._x, hero._y - 1, true)) {
grav = 0;
hero._y--;
jump = false;
}
while (_root.ground.hitTest(hero._x, hero._y - 50, true)) {
hero._y++;
jump = false;
}
while (_root.ground.hitTest(hero._x - 10, hero._y - 25, true)) {
speedl = 0;
hero._x++;
}
while (_root.ground.hitTest(hero._x + 10, hero._y - 25, true)) {
speedr = 0;
hero._x--;
}
touching = false;
i = 0;
while (i < 50) {
if (hero.hitbox.hitTest(_root["friend" + i].hitbox)) {
touching = true;
}
i++;
}
if (((Key.isDown(16) && (shift_down == false)) && (touching == false)) && (allowed_friends > 0)) {
newfriend = _root.attachMovie("friend", "friend" + friend_count, friend_count++);
allowed_friends = allowed_friends - 1;
newfriend._x = hero._x;
newfriend._y = hero._y;
shift_down = true;
}
if (!Key.isDown(16)) {
shift_down = false;
}
if (Key.isDown(16) && (allowed_friends == 0)) {
hud_face.gotoAndPlay(2);
}
i = 0;
while (i < 20) {
if (hero.hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (hero._y > 500) {
dead = true;
}
if (_root.hero.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
}
if (dead == true) {
hero.gotoAndStop("dead");
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
i = 0;
while (i < 10) {
_root["button" + i].button_on = false;
if (hero.hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedl > speedr)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if (hero.hitbox.hitTest(_root["lever" + i].hitbox) && (speedr > speedl)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 10) {
if (hero.hitbox.hitTest(_root["generator" + i].hitbox) && ((speedl > 0) || (speedr > 0))) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
}
stop();
Instance of Symbol 409 MovieClip "secret" in Frame 125
onClipEvent (load) {
goo = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hero.hitbox.hitTest(_root.roof)) {
goo = true;
}
if (goo == true) {
this._alpha = this._alpha + 0.5;
}
}
Instance of Symbol 424 MovieClip "text" in Frame 125
onClipEvent (load) {
go = false;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.hero.hitbox.hitTest(_root.home)) {
go = true;
}
if (go == true) {
this.gotoAndStop(2);
this._alpha = this._alpha + 0.4;
}
}
Symbol 8 MovieClip [fps] Frame 1
fps = 30;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
onEnterFrame = function () {
var _local1 = new Date();
timepassed = (((_local1.getMilliseconds() - lasttime) >= 0) ? (_local1.getMilliseconds() - lasttime) : (1000 + (_local1.getMilliseconds() - lasttime)));
fps = Math.round(10000 / timepassed) / 10;
lasttime = _local1.getMilliseconds();
};
Symbol 10 MovieClip Frame 1
_visible = false;
Symbol 21 MovieClip Frame 1
stop();
_visible = false;
Symbol 42 MovieClip Frame 26
gotoAndPlay ("loop");
Symbol 54 MovieClip Frame 8
stop();
Symbol 55 MovieClip Frame 14
gotoAndPlay ("loop");
Symbol 55 MovieClip Frame 21
gotoAndPlay ("loop");
Symbol 70 MovieClip [friend] Frame 1
function onEnterFrame() {
if (dead == false) {
grav++;
this._y = this._y + grav;
while (_root.ground.hitTest(this._x, this._y - 1, true)) {
grav = 0;
this._y--;
jump = false;
}
while (_root.ground.hitTest(this._x, this._y - 50, true)) {
this._y++;
}
while (_root.ground.hitTest(this._x - 10, this._y - 25, true)) {
this._x++;
this._xscale = 100;
}
while (_root.ground.hitTest(this._x + 10, this._y - 25, true)) {
this._x--;
this._xscale = -100;
}
if (runner == true) {
i = 0;
while (i < 50) {
if (this.hitfront.hitTest(_root["friend" + i].hitfront) && (!(i === this_friend_count))) {
if (_xscale == 100) {
_xscale = -100;
} else if (_xscale == -100) {
_xscale = 100;
}
}
if (this.hitfront.hitTest(_root["friend" + i].hitback) && (!(i === this_friend_count))) {
if (_xscale == 100) {
_xscale = -100;
} else if (_xscale == -100) {
_xscale = 100;
}
}
if (this.runnerbox.hitTest(_root["friend" + i].runnerbox) && (!(i === this_friend_count))) {
dead = true;
}
if (this.hitbox.hitTest(_root["friend" + i].jumpbox) && (!(i === this_friend_count))) {
if ((sound._currentframe == 3) && (jump == false)) {
sound.gotoAndStop(6);
} else if ((sound._currentframe == 6) && (jump == false)) {
sound.gotoAndStop(3);
}
jump = true;
grav = 0;
sound.gotoAndStop(3);
}
i++;
}
i = 0;
while (i < 10) {
if (hitbox.hitTest(_root["generator" + i].hitbox) && (dead == false)) {
_root["generator" + i].power++;
_root["generator" + i].z._alpha = 100;
}
i++;
}
if (this._xscale == 100) {
this._x = this._x + speed;
}
if (this._xscale == -100) {
this._x = this._x - speed;
}
if (jump == true) {
_y = (_y - 8.2);
gotoAndStop ("jump");
} else if (jump == false) {
gotoAndStop ("run");
}
if ((grav > 3) && (!(_currentframe === 15))) {
gotoAndStop ("fall");
}
}
i = 0;
while (i < 50) {
if (this.jumpbox.hitTest(_root["friend" + i].hitbox) && (!(i === this_friend_count))) {
crouching.gotoAndPlay("jumpedon");
}
if (this.hitbox.hitTest(_root.cube.hitbox)) {
_root.cube.gotoAndPlay("hit");
}
i++;
}
i = 0;
while (i < 10) {
if (hitbox.hitTest(_root["button" + i].hitbox)) {
_root["button" + i].button_on = true;
}
i++;
}
i = 0;
while (i < 10) {
if ((hitbox.hitTest(_root["lever" + i].hitbox) && (runner == true)) && (_xscale == -100)) {
_root["lever" + i].lever_right = false;
_root["lever" + i].sound.gotoAndStop(3);
}
if ((hitbox.hitTest(_root["lever" + i].hitbox) && (runner == true)) && (_xscale == 100)) {
_root["lever" + i].lever_right = true;
_root["lever" + i].sound.gotoAndStop(2);
}
i++;
}
}
i = 0;
while (i < 20) {
if (hitbox.hitTest(_root["killbox" + i])) {
dead = true;
}
i++;
}
if (_y > 500) {
dead = true;
}
if (dead == true) {
gotoAndStop ("dead");
}
if (this.hitTest(_root.restart.hitbox)) {
this.swapDepths(9999);
this.removeMovieClip();
}
if (_root._currentframe == 97) {
this.swapDepths(9999);
this.removeMovieClip();
}
if (this.hitTest(_root.nextlevel.hitbox)) {
this.swapDepths(9999);
this.removeMovieClip();
}
if (dead == true) {
deathtimer++;
if (deathtimer > 120) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
}
stop();
grav = 0;
speed = 5;
runner = false;
jump = false;
this_friend_count = _root.friend_count;
collide = false;
dead = false;
this._xscale = _root.hero._xscale;
if (_root.hero._currentframe == 1) {
this.gotoAndStop("idle");
sound.gotoAndStop(5);
}
if (_root.hero._currentframe == 8) {
this.gotoAndStop("run");
sound.gotoAndStop(4);
runner = true;
}
if ((_root.hero._currentframe == 14) || (_root.hero._currentframe == 21)) {
sound.gotoAndStop(3);
runner = true;
jump = true;
}
if (_root.hero._currentframe == 27) {
this.gotoAndStop("crouch");
sound.gotoAndStop(2);
}
Instance of Symbol 57 MovieClip in Symbol 70 MovieClip [friend] Frame 36
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 59 MovieClip in Symbol 70 MovieClip [friend] Frame 36
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 61 MovieClip in Symbol 70 MovieClip [friend] Frame 36
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 63 MovieClip in Symbol 70 MovieClip [friend] Frame 36
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 70 MovieClip [friend] Frame 36
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 67 MovieClip in Symbol 70 MovieClip [friend] Frame 36
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Symbol 79 MovieClip [cloud] Frame 1
function onEnterFrame() {
_x = (_x - speed);
if (_x < -690) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
stop();
gotoAndStop(random(3) + 2);
size = random(70) + 30;
_xscale = size;
_yscale = size;
speed = (random(3) / 6) + (this._y / 300);
Symbol 94 Button
on (release) {
_root.play();
}
Symbol 95 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 95 MovieClip Frame 2
gotoAndPlay (1);
Symbol 102 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1415&subid=loading", "_blank");
};
Symbol 107 Button
on (release) {
getURL ("http://www.greg-anims.com", "_blank");
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 10
stop();
Symbol 146 MovieClip Frame 1
this._parent.stop();
this.link.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1415&subid=splash", "_blank");
};
Symbol 146 MovieClip Frame 151
this._parent.stop();
this.link.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1415&subid=splash", "_blank");
};
Symbol 146 MovieClip Frame 161
stop();
this._parent.play();
Symbol 157 Button
on (release) {
getURL ("http://www.greg-anims.com", "_blank");
}
Symbol 162 Button
on (release) {
this.gotoAndStop(2);
}
Symbol 164 Button
on (release) {
this.gotoAndStop(3);
}
Symbol 166 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 167 MovieClip Frame 1
stop();
_quality = "HIGH";
Symbol 167 MovieClip Frame 2
_quality = "MEDIUM";
Symbol 167 MovieClip Frame 3
_quality = "LOW";
Symbol 173 Button
on (release) {
var savefile = SharedObject.getLocal("boxmen");
if (savefile.data.level == undefined) {
_root.level = 2;
} else {
_root.level = savefile.data.level;
}
gotoAndStop(_root.level +96);
}
Symbol 178 Button
on (release) {
getURL ("http://www.greg-anims.com", "_blank");
}
Symbol 183 Button
on (release) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1415&subid=menu", "_blank");
}
Symbol 192 Button
on (release) {
_root.level = 2;
savefile.data.level = _root.level;
savefile.flush();
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
_root.prevFrame();
_root.nextFrame();
Symbol 195 MovieClip Frame 7
gotoAndStop (1);
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
_root.nextFrame();
Symbol 196 MovieClip Frame 7
gotoAndStop (1);
Symbol 204 Button
on (release) {
_root.nextlevel.play();
}
on (keyPress "<Space>") {
_root.nextlevel.play();
}
Symbol 208 Button
on (release) {
_root.restart.play();
}
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 11
stop();
Symbol 218 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 223 MovieClip Frame 1
stop();
stopAllSounds();
Symbol 223 MovieClip Frame 2
stop();
Symbol 228 Button
on (release) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1415&subid=walkthrough&action=walkthrough_boxmen", "_blank");
}
Symbol 229 MovieClip Frame 1
function onEnterFrame() {
timer++;
if (timer == (cloudtimer + 200)) {
timer = 0;
cloudtimer = random(200);
newcloud = attachMovie("cloud", "cloud" + cloud_count, cloud_count++);
newcloud._x = 750;
newcloud._y = random(400);
}
}
timer = 0;
cloudtimer = random(200);
cloud_count = 0;
Symbol 231 MovieClip Frame 1
_visible = true;
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 16
function onEnterFrame() {
timer++;
if (timer == 60) {
_root.nextlevel.play();
}
}
stop();
timer = 0;
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip Frame 16
onClipEvent (load) {
size = 50 + random(100);
_xscale = size;
_yscale = size;
up = random(30) - 6;
grav = 0;
timer = 0;
startfade = random(60);
gravity = random(3) + 1;
fadetime = random(6) + 2;
spin = random(40);
speed = random(24) - 12;
}
onClipEvent (enterFrame) {
this._y = this._y - up;
grav = grav + (gravity / 2);
_y = (_y + grav);
_rotation = (_rotation + spin);
timer++;
if (timer > startfade) {
_alpha = (_alpha - fadetime);
}
_x = (_x + speed);
if ((speed > 0) && (!(speed === 0))) {
speed = speed - (random(10) + 1);
}
if ((speed < 0) && (!(speed === 0))) {
speed = speed + (random(10) + 1);
}
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Symbol 275 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 290 MovieClip Frame 33
gotoAndPlay ("loop");
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 304 MovieClip in Symbol 307 MovieClip Frame 33
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 306 MovieClip in Symbol 307 MovieClip Frame 33
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 61 MovieClip in Symbol 307 MovieClip Frame 33
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 63 MovieClip in Symbol 307 MovieClip Frame 33
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 65 MovieClip in Symbol 307 MovieClip Frame 33
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 67 MovieClip in Symbol 307 MovieClip Frame 33
onClipEvent (load) {
up = random(10) + 2;
grav = 0;
spin = random(20) + 5;
speed = random(10) - 5;
timer = 0;
timeend = random(40) + 20;
}
onClipEvent (enterFrame) {
timer++;
_y = (_y - up);
_y = (_y + grav);
grav = grav + 0.666666666666667;
_rotation = (_rotation + spin);
if (timer > timeend) {
_alpha = (_alpha - 15);
}
_x = (_x * 0.95);
_x = (_x + speed);
if (_alpha <= 0) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
Symbol 310 MovieClip Frame 1
_visible = false;
Symbol 314 MovieClip Frame 1
function onEnterFrame() {
if (button_on == true) {
gotoAndStop ("on");
} else if (button_on == false) {
gotoAndStop ("off");
}
}
stop();
button_on = false;
Symbol 322 MovieClip Frame 1
_visible = false;
Symbol 327 MovieClip Frame 1
_visible = false;
Symbol 330 MovieClip Frame 1
stop();
_visible = false;
Symbol 332 MovieClip Frame 1
function onEnterFrame() {
if (lever_right == true) {
gotoAndStop ("right");
} else if (lever_right == false) {
gotoAndStop ("left");
}
}
stop();
Symbol 335 MovieClip Frame 1
_visible = false;
Symbol 341 MovieClip Frame 1
_visible = false;
Symbol 353 MovieClip Frame 1
stop();
_visible = false;
Symbol 354 MovieClip Frame 1
function onEnterFrame() {
this.z._alpha = this.z._alpha - 10;
electricity._alpha = power * 2;
power = power - 0.7;
if (power < 0) {
power = 0;
}
if (power > 100) {
power = 100;
}
if (electricity._alpha > 100) {
electricity._alpha = 100;
}
if (this.z._alpha > 80) {
sound.play();
} else if (this.z._alpha < 80) {
sound.gotoAndStop(1);
}
}
power = 0;
this.z._alpha = 0;
Symbol 357 MovieClip Frame 1
_visible = false;
Symbol 362 MovieClip Frame 1
_visible = false;
Symbol 366 MovieClip Frame 1
_visible = false;
Symbol 369 MovieClip Frame 1
_visible = false;
Symbol 376 MovieClip Frame 1
_visible = false;
Symbol 385 MovieClip Frame 1
stop();
_visible = false;
Symbol 399 MovieClip Frame 1
stop();
_visible = false;
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
_visible = false;
Symbol 407 MovieClip Frame 1
_visible = false;
Symbol 418 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 423 Button
on (release) {
getURL ("http://www.greg-anims.com", "_blank");
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 70
stop();