Frame 1
globalvolume = new Sound();
things = 0;
killall = false;
massscore = 0;
_root.kongregateServices.connect();
Instance of Symbol 49 MovieClip "thing" in Frame 1
onClipEvent (load) {
_root.stop();
}
Frame 5
Stage.showMenu = false;
stop();
stopAllSounds();
Instance of Symbol 66 MovieClip in Frame 5
on (release) {
_root.gotoAndPlay("level1");
}
Instance of Symbol 72 MovieClip in Frame 5
on (release) {
_root.gotoAndPlay("survival");
}
Instance of Symbol 84 MovieClip in Frame 5
on (release) {
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=139", "_blank");
}
Instance of Symbol 27 MovieClip in Frame 5
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Instance of Symbol 27 MovieClip in Frame 5
on (release) {
getURL ("http://senor-taco.deviantart.com", "_blank");
}
Frame 20
stop();
stop();
level = 1;
Instance of Symbol 93 MovieClip "lowerfield" in Frame 20
onClipEvent (enterFrame) {
this._x = _root.camera._x - 825;
this._y = _root.camera._y - 600;
}
Instance of Symbol 95 MovieClip "upperfield" in Frame 20
onClipEvent (enterFrame) {
this._x = (_root.camera._x - 275) - 550;
this._y = (_root.camera._y - 200) - 400;
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 161 MovieClip "orb1" in Frame 20
onClipEvent (load) {
TN = 0;
top = 100;
max = 1;
ass = false;
F = 1;
BF = 0.9;
yspeed = 0;
xspeed = 0;
acceleration = 0.7;
friction = 0.95;
xspeed = 0;
yspeed = 0;
pooass = 1;
mass = 30;
r = mass;
this._height = r * 2;
this._width = r * 2;
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(30);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
doit = false;
doityo = false;
}
onClipEvent (enterFrame) {
if (_root.level == 1) {
if (mass > 45) {
this.play();
if (ass == true) {
this.stop();
}
spoot = this._width * 0.89;
if ((pooass == 1) && (doityo == true)) {
r = r * 1.2;
mass = mass * 1.11;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (_root.level == 2) {
if (mass > 49.9) {
this.play();
if (pood == true) {
this.stop();
}
spoot = this._width;
if ((pooass == 1) && (doit == true)) {
r = r * 0.89;
mass = mass * 0.89;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (mass > 120) {
_root.fadeoot.play();
}
if (_root.things == 0) {
_root.fadeoot.play();
}
if (this._x > 2500) {
this._x = -2500;
}
if (this._x < -2500) {
this._x = 2500;
}
if (this._y < -2500) {
this._y = 2500;
}
if (this._y > 2500) {
this._y = -2500;
}
if (r < mass) {
r = r + 0.6;
}
this._height = r * 2;
this._width = r * 2;
if (Key.isDown(39)) {
xspeed = xspeed + acceleration;
}
if (Key.isDown(37)) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
yspeed = yspeed - acceleration;
}
if (Key.isDown(40)) {
yspeed = yspeed + acceleration;
}
yspeed = yspeed * friction;
xspeed = xspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 163 MovieClip "camera" in Frame 20
onClipEvent (enterFrame) {
this._x = _root.orb1._x;
this._y = _root.orb1._y;
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb3" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(30) + 5;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 20
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
thingyjoe = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(70) + 45;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 177 MovieClip in Frame 20
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 180 MovieClip in Frame 20
onClipEvent (load) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 182 MovieClip "fadeoot" in Frame 20
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 185 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = ((_root.camera._x + 275) - this._width) + 5;
this._y = ((_root.camera._y + 200) - this._height) - 10;
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 189 MovieClip "inst" in Frame 20
onClipEvent (enterFrame) {
this._x = _root.camera._x - 275;
this._y = _root.camera._y - 200;
}
Instance of Symbol 191 MovieClip "sounds" in Frame 20
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 89 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = (_root.camera._x - 275) + 20;
this._y = (_root.camera._y + 200) - 30.9;
}
Frame 21
stop();
level = 2;
_root.orb1.gotoAndStop(30);
Instance of Symbol 163 MovieClip "camera" in Frame 21
onClipEvent (enterFrame) {
this._x = _root.orb1._x;
this._y = _root.orb1._y;
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 161 MovieClip "orb1" in Frame 21
onClipEvent (load) {
TN = 0;
top = 100;
max = 1;
ass = false;
F = 1;
BF = 0.9;
yspeed = 0;
xspeed = 0;
acceleration = 0.7;
friction = 0.95;
xspeed = 0;
yspeed = 0;
pooass = 1;
mass = 30;
r = mass;
this._height = r * 2;
this._width = r * 2;
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(30);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
doit = false;
}
onClipEvent (enterFrame) {
if (_root.level == 1) {
if (mass > 45) {
this.play();
if (ass == true) {
this.stop();
}
spoot = this._width * 0.89;
if (pooass == 1) {
r = r * 1.2;
mass = mass * 1.11;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (_root.level == 2) {
if (mass > 49.9) {
this.play();
if (pood == true) {
this.stop();
}
spoot = this._width;
if ((pooass == 1) && (doit == true)) {
r = r * 0.89;
mass = mass * 0.89;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (mass > 130) {
_root.fadeoot2.play();
}
if (_root.things == 0) {
_root.fadeoot2.play();
}
if (this._x > 2500) {
this._x = -2500;
}
if (this._x < -2500) {
this._x = 2500;
}
if (this._y < -2500) {
this._y = 2500;
}
if (this._y > 2500) {
this._y = -2500;
}
if (r < mass) {
r = r + 0.6;
}
this._height = r * 2;
this._width = r * 2;
if (Key.isDown(39)) {
xspeed = xspeed + acceleration;
}
if (Key.isDown(37)) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
yspeed = yspeed - acceleration;
}
if (Key.isDown(40)) {
yspeed = yspeed + acceleration;
}
yspeed = yspeed * friction;
xspeed = xspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 163 MovieClip "camera" in Frame 21
onClipEvent (enterFrame) {
this._x = _root.orb1._x;
this._y = _root.orb1._y;
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 21
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 21
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 205 MovieClip in Frame 21
onClipEvent (load) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 206 MovieClip "fadeoot2" in Frame 21
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Frame 22
stop();
level = 3;
_root.orb1.gotoAndStop(60);
Instance of Symbol 161 MovieClip "orb1" in Frame 22
onClipEvent (load) {
TN = 0;
top = 100;
max = 1;
ass = false;
F = 1;
BF = 0.9;
yspeed = 0;
xspeed = 0;
acceleration = 0.7;
friction = 0.95;
xspeed = 0;
yspeed = 0;
pooass = 1;
mass = 30;
r = mass;
this._height = r * 2;
this._width = r * 2;
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(30);
}
if (_root.level == 3) {
this.gotoAndStop(60);
}
doit = false;
}
onClipEvent (enterFrame) {
if (_root.level == 1) {
if (mass > 45) {
this.play();
if (ass == true) {
this.stop();
}
spoot = this._width * 0.89;
if (pooass == 1) {
r = r * 1.2;
mass = mass * 1.11;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (_root.level == 2) {
if (mass > 49.9) {
this.play();
if (pood == true) {
this.stop();
}
spoot = this._width;
if ((pooass == 1) && (doit == true)) {
r = r * 0.89;
mass = mass * 0.89;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (_root.level == 3) {
if (mass > 49.9) {
this.play();
if (pood == true) {
this.stop();
}
spoot = this._width;
if ((pooass == 1) && (doit == true)) {
r = r * 0.89;
mass = mass * 0.89;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (mass > 130) {
_root.fadeoot3.play();
}
if (_root.things == 0) {
_root.fadeoot3.play();
}
if (this._x > 2500) {
this._x = -2500;
}
if (this._x < -2500) {
this._x = 2500;
}
if (this._y < -2500) {
this._y = 2500;
}
if (this._y > 2500) {
this._y = -2500;
}
if (r < mass) {
r = r + 0.6;
}
this._height = r * 2;
this._width = r * 2;
if (Key.isDown(39)) {
xspeed = xspeed + acceleration;
}
if (Key.isDown(37)) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
yspeed = yspeed - acceleration;
}
if (Key.isDown(40)) {
yspeed = yspeed + acceleration;
}
yspeed = yspeed * friction;
xspeed = xspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 172 MovieClip "orb34" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(50000));
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(10) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orb2" in Frame 22
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
max = 1;
F = 1;
thingyjoe = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(45) + 12;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 22
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 209 MovieClip in Frame 22
onClipEvent (load) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 210 MovieClip "fadeoot3" in Frame 22
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Frame 23
_root.kongregateStats.submit("LevelModeComplete", 1);
stop();
Instance of Symbol 27 MovieClip in Frame 23
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Frame 24
stop();
killall = true;
massscore = int(massscore * 100) / 100;
Instance of Symbol 230 MovieClip in Frame 24
on (release) {
submitOurScore(_root.playername, _root.massscore);
_root.kongregateStats.submit("HighScore", _root.massscore);
_root.gotoAndPlay("menu");
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=139", "_blank");
}
Instance of Symbol 209 MovieClip in Frame 29
onClipEvent (load) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Frame 30
stop();
level = 5;
killall = false;
Instance of Symbol 93 MovieClip "lowerfield" in Frame 30
onClipEvent (enterFrame) {
this._x = _root.camera._x - 825;
this._y = _root.camera._y - 600;
}
Instance of Symbol 95 MovieClip "upperfield" in Frame 30
onClipEvent (enterFrame) {
this._x = (_root.camera._x - 275) - 550;
this._y = (_root.camera._y - 200) - 400;
}
Instance of Symbol 163 MovieClip "camera" in Frame 30
onClipEvent (enterFrame) {
this._x = _root.orb1._x;
this._y = _root.orb1._y;
}
Instance of Symbol 172 MovieClip "orbrock" in Frame 30
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
thingos = true;
mass = random(22) + 2;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
this._x = random(4000) - 2000;
this._y = random(4000) - 2000;
poop = this._width;
thing = random(2);
if (thing == 1) {
this._width = -this._width;
}
dostuff = false;
}
onClipEvent (enterFrame) {
if (_root.killall == true) {
this.unloadMovie();
}
if (dostuff == true) {
if (D < ((_root.orb1.spoot + poop) / 2)) {
if (mass < _root.orb1.mass) {
this.gotoAndStop(2);
if (thingos == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 15);
_root.boom.gotoAndPlay(2);
}
thingos = false;
} else {
_root.gotoAndPlay("gameoover");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
xmouse = _xmouse;
ymouse = _ymouse;
}
}
Instance of Symbol 161 MovieClip "orb1" in Frame 30
onClipEvent (load) {
TN = 0;
top = 100;
max = 1;
ass = false;
F = 1;
BF = 0.9;
yspeed = 0;
xspeed = 0;
acceleration = 0.7;
friction = 0.95;
xspeed = 0;
yspeed = 0;
pooass = 1;
mass = 25;
r = mass;
this._height = r * 2;
this._width = r * 2;
if (_root.level == 1) {
this.gotoAndStop(1);
}
if (_root.level == 2) {
this.gotoAndStop(30);
}
if (_root.level == 3) {
this.gotoAndStop(3);
}
if (_root.level == 5) {
this.gotoAndStop(1);
mass = 25;
}
doit = false;
}
onClipEvent (enterFrame) {
_root.massscore = mass;
if (_root.level == 5) {
if (mass > 45) {
this.play();
if (ass == true) {
this.stop();
}
spoot = this._width * 0.89;
if (pooass == 1) {
r = r * 1.2;
mass = mass * 1.11;
pooass = 2;
}
} else {
spoot = this._width;
}
if (mass > 60) {
this.play();
if (pood == true) {
this.stop();
}
spoot = this._width;
if ((pooass == 1) && (doit == true)) {
r = r * 0.89;
mass = mass * 0.89;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (_root.level == 1) {
if (mass > 45) {
this.play();
if (ass == true) {
this.stop();
}
spoot = this._width * 0.89;
if (pooass == 1) {
r = r * 1.2;
mass = mass * 1.11;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if (_root.level == 2) {
if (mass > 49.9) {
this.play();
if (pood == true) {
this.stop();
}
spoot = this._width;
if ((pooass == 1) && (doit == true)) {
r = r * 0.89;
mass = mass * 0.89;
pooass = 2;
}
} else {
spoot = this._width;
}
}
if ((!_root.level) == 5) {
if (mass > 200) {
_root.gotoAndStop("level2");
}
if (_root.things == 0) {
_root.gotoAndStop("level2");
}
}
if (this._x > 2500) {
this._x = -2500;
}
if (this._x < -2500) {
this._x = 2500;
}
if (this._y < -2500) {
this._y = 2500;
}
if (this._y > 2500) {
this._y = -2500;
}
if (r < mass) {
r = r + 0.6;
}
this._height = r * 2;
this._width = r * 2;
if (Key.isDown(39)) {
xspeed = xspeed + acceleration;
}
if (Key.isDown(37)) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
yspeed = yspeed - acceleration;
}
if (Key.isDown(40)) {
yspeed = yspeed + acceleration;
}
yspeed = yspeed * friction;
xspeed = xspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 163 MovieClip "camera" in Frame 30
onClipEvent (enterFrame) {
this._x = _root.orb1._x;
this._y = _root.orb1._y;
}
Instance of Symbol 232 MovieClip "poopiesggg" in Frame 30
onClipEvent (load) {
count = 0;
count2 = 0;
count3 = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (count == 399) {
_root.things = _root.things + 1;
i = random(1000);
duplicateMovieClip (_root.orbrock, "orbrock" + i, 100 + i);
}
count++;
if (count == 400) {
count = 0;
}
if (count2 == 300) {
_root.things = _root.things + 1;
i = random(1000);
duplicateMovieClip (_root.orbplanet, "orbplanet" + i, 100 + i);
}
count2++;
if (count2 == 301) {
count2 = 0;
}
if (count3 == 200) {
_root.things = _root.things + 1;
i = random(1000);
duplicateMovieClip (_root.orbsun, "orbsun" + i, 100 + i);
}
count3++;
if (count3 == 201) {
count3 = 0;
}
}
Instance of Symbol 202 MovieClip "orbsun" in Frame 30
onClipEvent (load) {
_root.things++;
TN = 0;
top = 100;
max = 1;
F = 1;
BF = 0.9;
n = i;
thingyjoe = 1;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(2);
mass = random(70) + 57;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
begin = false;
somevar = 100;
dead = false;
die = false;
gghg = true;
}
onClipEvent (enterFrame) {
if (_root.killall == true) {
this.unloadMovie();
}
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("gameoover");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 144 MovieClip "orbplanet" in Frame 30
onClipEvent (load) {
_root.things++;
setProperty(this, _name , random(5000000));
TN = 0;
top = 100;
thingyjoe = 1;
max = 1;
F = 1;
BF = 0.9;
n = i;
yspeed = 0;
xspeed = 0;
this._x = random(2000) - 1000;
this._y = random(2000) - 1000;
this.gotoAndStop(random(5) + 1);
mass = random(60) + 40;
r = mass;
this._height = r * 2;
this._width = r * 2;
count = 0;
gghg = true;
begin = false;
somevar = 100;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.killall == true) {
this.unloadMovie();
}
if (begin == true) {
if (die == true) {
if (thingyjoe == 1) {
_root.sounds.gotoAndPlay(2);
thingyjoe = 2;
}
this._alpha = this._alpha - 6;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
mass = 0.25;
force = force * 10;
somevar = somevar - 6;
if (somevar <= 0) {
die = false;
this._visible = false;
mass = 0;
dead = true;
}
}
if ((dead == false) && (D < ((_root.orb1.spoot + (this._width * 0.89)) / 2))) {
if (mass < _root.orb1.mass) {
die = true;
if (gghg == true) {
_root.orb1.mass = _root.orb1.mass + (mass / 10);
gghg = false;
}
} else {
_root.gotoAndPlay("blank");
}
}
XD = this._x - _root.orb1._x;
YD = this._y - _root.orb1._y;
D = Math.sqrt((XD * XD) + (YD * YD));
angel = Math.atan(XD / YD);
if ((YD < 0) and (XD < 0)) {
angel = -3.14159265358979 + angel;
}
if ((YD < 0) and (XD > 0)) {
angel = Math.PI + angel;
}
force = (10 / (D + 100)) * _root.orb1.mass;
Xforce = force * Math.sin(angel);
Yforce = force * Math.cos(angel);
Xoff = Xforce / mass;
Yoff = Yforce / mass;
if ((Xforce < 0) && (Xforce > -1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Xforce > 0) && (Xforce < 1)) {
Xforce = 0;
Xoff = 0;
xspeed = xspeed - Xoff;
}
if ((Yforce < 0) && (Yforce > -1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
if ((Yforce > 0) && (Yforce < 1)) {
Yforce = 0;
Yoff = 0;
yspeed = yspeed - Yoff;
}
xspeed = xspeed + Xoff;
yspeed = yspeed + Yoff;
xpos = xpos + xspeed;
ypos = ypos + yspeed;
this._x = this._x - xspeed;
this._y = this._y - yspeed;
_root.orb1.force = (50 / (D + 100)) * this.mass;
_root.orb1.Xforce = _root.orb1.force * Math.sin(angel);
_root.orb1.Yforce = _root.orb1.force * Math.cos(angel);
_root.orb1.Xoff = _root.orb1.Xforce / _root.orb1.mass;
_root.orb1.Yoff = _root.orb1.Yforce / _root.orb1.mass;
if (D > 100) {
if ((_root.orb1.Xforce < 0) && (_root.orb1.Xforce > -4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Xforce > 0) && (_root.orb1.Xforce < 4)) {
_root.orb1.Xforce = 0;
_root.orb1.Xoff = 0;
_root.orb1.xspeed = _root.orb1.xspeed - _root.orb1.Xoff;
}
if ((_root.orb1.Yforce < 0) && (_root.orb1.Yforce > -4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
if ((_root.orb1.Yforce > 0) && (_root.orb1.Yforce < 4)) {
_root.orb1.Yforce = 0;
_root.orb1.Yoff = 0;
_root.orb1.yspeed = _root.orb1.yspeed - _root.orb1.Yoff;
}
}
_root.orb1.xspeed = _root.orb1.xspeed + _root.orb1.Xoff;
_root.orb1.yspeed = _root.orb1.yspeed + _root.orb1.Yoff;
_root.orb1.xpos = _root.orb1.xpos + _root.orb1.xspeed;
_root.orb1.ypos = _root.orb1.ypos + _root.orb1.yspeed;
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
}
}
Instance of Symbol 177 MovieClip in Frame 30
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 185 MovieClip in Frame 30
onClipEvent (enterFrame) {
this._x = ((_root.camera._x + 275) - this._width) + 5;
this._y = ((_root.camera._y + 200) - this._height) - 10;
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 189 MovieClip "inst" in Frame 30
onClipEvent (enterFrame) {
this._x = _root.camera._x - 275;
this._y = _root.camera._y - 200;
}
Instance of Symbol 89 MovieClip in Frame 30
onClipEvent (enterFrame) {
this._x = (_root.camera._x - 275) + 20;
this._y = (_root.camera._y + 200) - 30.9;
}
Instance of Symbol 234 MovieClip in Frame 49
onClipEvent (load) {
if (_root.level == 1) {
_root.gotoAndPlay("level1");
}
if (_root.level == 2) {
_root.gotoAndPlay("level2");
}
if (_root.level == 3) {
_root.gotoAndPlay("level3");
}
if (_root.level == 5) {
_root.gotoAndPlay("gameoover");
}
}
Instance of Symbol 2 MovieClip "inside" in Symbol 3 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
starty = this._y;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._x < (startx - 550)) {
this._x = startx;
}
if (this._x > (startx + 550)) {
this._x = startx;
}
if (this._y > (starty + 400)) {
this._y = starty;
}
if (this._y < (starty - 400)) {
this._y = starty;
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 5 MovieClip "inside" in Symbol 6 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
starty = this._y;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._x < (startx - 550)) {
this._x = startx;
}
if (this._x > (startx + 550)) {
this._x = startx;
}
if (this._y > (starty + 400)) {
this._y = starty;
}
if (this._y < (starty - 400)) {
this._y = starty;
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 27 MovieClip "bar" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
this._width = this._width * (_root.percentLoaded / 100);
if (_root.percentLoaded >= 100) {
_root.thing.stuff.gotoAndStop(2);
}
}
Symbol 36 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 49 MovieClip Frame 1
gotoAndPlay (2);
Instance of Symbol 27 MovieClip in Symbol 49 MovieClip Frame 1
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 49 MovieClip Frame 81
stop();
Instance of Symbol 48 MovieClip in Symbol 49 MovieClip Frame 81
onClipEvent (enterFrame) {
chance = random(90);
if (chance == 1) {
play();
}
}
Symbol 86 Button
on (release) {
_root.globalvolume.setVolume(0);
gotoAndPlay (2);
}
Symbol 88 Button
on (release) {
_root.globalvolume.setVolume(100);
gotoAndPlay (1);
}
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Instance of Symbol 92 MovieClip "inside" in Symbol 93 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
starty = this._y;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._x < (startx - 550)) {
this._x = startx;
}
if (this._x > (startx + 550)) {
this._x = startx;
}
if (this._y > (starty + 400)) {
this._y = starty;
}
if (this._y < (starty - 400)) {
this._y = starty;
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Instance of Symbol 94 MovieClip "inside" in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
starty = this._y;
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (this._x < (startx - 550)) {
this._x = startx;
}
if (this._x > (startx + 550)) {
this._x = startx;
}
if (this._y > (starty + 400)) {
this._y = starty;
}
if (this._y < (starty - 400)) {
this._y = starty;
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
Symbol 111 MovieClip Frame 79
stop();
_parent.begin = true;
Symbol 119 MovieClip Frame 80
stop();
_parent.begin = true;
Symbol 129 MovieClip Frame 80
stop();
_parent.begin = true;
Symbol 137 MovieClip Frame 80
stop();
_parent.begin = true;
Symbol 143 MovieClip Frame 80
stop();
_parent.begin = true;
Symbol 144 MovieClip Frame 1
stop();
Instance of Symbol 97 MovieClip "inside" in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 144 MovieClip Frame 2
stop();
Symbol 144 MovieClip Frame 3
stop();
Symbol 144 MovieClip Frame 4
stop();
Symbol 144 MovieClip Frame 5
stop();
Symbol 144 MovieClip Frame 6
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
play();
Symbol 161 MovieClip Frame 16
doityo = true;
Symbol 161 MovieClip Frame 30
stop();
ass = true;
Symbol 161 MovieClip Frame 44
doit = true;
Symbol 161 MovieClip Frame 60
stop();
pood = true;
Symbol 163 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 166 MovieClip Frame 79
stop();
_parent.dostuff = true;
Symbol 171 MovieClip Frame 15
_parent._visible = false;
_parent.mass = 0;
Symbol 172 MovieClip Frame 1
stop();
Instance of Symbol 168 MovieClip in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 172 MovieClip Frame 2
stop();
force = force * 10;
mass = 0.25;
_root.sounds.gotoAndPlay(2);
Instance of Symbol 171 MovieClip "fade" in Symbol 172 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!this.hitTest(_root.orb1)) {
this._visible = false;
}
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.upperfield.inside._x = _root.upperfield.inside._x - (_root.orb1.xspeed / 2);
_root.lowerfield.inside._x = _root.lowerfield.inside._x - (_root.orb1.xspeed / 4);
_root.upperfield.inside._y = _root.upperfield.inside._y - (_root.orb1.yspeed / 2);
_root.lowerfield.inside._y = _root.lowerfield.inside._y - (_root.orb1.yspeed / 4);
}
Symbol 180 MovieClip Frame 50
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 30
_root.gotoAndStop("level2");
Symbol 182 MovieClip Frame 60
gotoAndPlay (1);
Symbol 189 MovieClip Frame 414
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 24
gotoAndStop (1);
Symbol 201 MovieClip Frame 79
stop();
_parent.begin = true;
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 193 MovieClip "inside" in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 202 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 50
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 30
_root.gotoAndStop("level3");
Symbol 206 MovieClip Frame 60
gotoAndPlay (1);
Symbol 209 MovieClip Frame 50
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 30
_root.gotoAndStop("end");
Symbol 210 MovieClip Frame 60
gotoAndPlay (1);
Symbol 221 Button
on (release) {
_root.gotoAndPlay("menu");
}