Frame 1
musicon = 0;
muted = 0;
soundchosen = 1;
function doSomething() {
}
function doSomething2() {
getURL ("http://www.unhappyface.net", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned3 = new ContextMenuItem("Galaxy", doSomething);
Functioned = new ContextMenuItem("By Klaushouse", doSomething);
Functioned2 = new ContextMenuItem("Visit My Website", doSomething2);
MENU.customItems.push(Functioned3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
stop();
this.createEmptyMovieClip("mask_mc", 1);
preloader_mc.setMask("mask_mc");
mask_mc._x = 150;
mask_mc._y = 200;
var total = _root.getBytesTotal();
var X = 0;
var Y = 0;
mask_mc.lineStyle(1, 0, 100);
mask_mc.onEnterFrame = function () {
loaded = _root.getBytesLoaded();
this.clear();
var _local3 = Math.floor((loaded / total) * 100);
if (loaded != total) {
loaded_txt.text = _local3 + "%";
this.beginFill(0);
this.moveTo(X, Y);
this.lineTo(X, Y + 12);
this.lineTo(X + (_local3 * 2), Y + 12);
this.lineTo(X + (_local3 * 2), Y);
this.lineTo(X, Y);
this.endFill();
} else {
_root.gotoAndStop(2);
this.removeMovieClip();
}
};
Frame 2
stop();
xspeed = 0;
yspeed = 0;
i = 1;
MenuSound = new Sound(this);
MenuSound.attachSound("MenuSound");
Instance of Symbol 10 MovieClip "main" in Frame 2
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(38))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
unloadMovie (_root.arrowsormouse);
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
unloadMovie (_root.arrowsormouse);
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 17 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("mode");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("mode");
}
Instance of Symbol 20 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("how");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("how");
}
Instance of Symbol 24 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://www.unhappyface.net", _blank);
}
Instance of Symbol 27 MovieClip in Frame 2
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Instance of Symbol 31 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("credits");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("credits");
}
Frame 3
stop();
xspeed = 0;
yspeed = 0;
Instance of Symbol 10 MovieClip "main" in Frame 3
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 43 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("menu");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("menu");
}
Frame 4
stop();
xspeed = 0;
yspeed = 0;
Instance of Symbol 10 MovieClip "main" in Frame 4
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(38))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
unloadMovie (_root.arrowsormouse);
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
unloadMovie (_root.arrowsormouse);
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
unloadMovie (_root.arrowsormouse);
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 43 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("menu");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 47 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("normalgame");
MenuSound.stop();
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("normalgame");
MenuSound.stop();
}
Instance of Symbol 50 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("singlegame");
_root.MenuSound.stop();
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("singlegame");
_root.MenuSound.stop();
}
Instance of Symbol 53 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("endlessgame");
_root.MenuSound.stop();
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("endlessgame");
_root.MenuSound.stop();
}
Frame 5
stop();
Instance of Symbol 10 MovieClip "main" in Frame 5
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 63 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://sbb.newgrounds.com/", _blank);
}
Instance of Symbol 43 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("menu");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 67 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://khuskan.newgrounds.com/", _blank);
}
Instance of Symbol 71 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://nirodha.newgrounds.com/", _blank);
}
Frame 6
truescore = 0;
blue_got = 0;
red_got = 0;
purple_got = 0;
green_got = 0;
orange_got = 0;
black_got = 0;
yellow_got = 0;
stop();
MenuSound.stop();
musicon = 0;
levelon = 10;
ballsize = 11;
scoremax = 0;
score = 0;
speedin = 0;
speed = 0;
slowmoin = 0;
slowmo = 0;
friction = 0;
frictionin = 0;
invisible = 0;
invisiblein = 0;
xspeed = 0;
yspeed = 0;
magnet = 0;
magnetin = 0;
special = 0;
randomnum = 0;
specialinuse = 0;
blue00 = 1;
blue01 = 1;
blue02 = 1;
blue03 = 1;
blue04 = 1;
blue05 = 1;
blue06 = 1;
blue07 = 1;
blue08 = 1;
blue09 = 1;
blue10 = 1;
blue11 = 1;
blue12 = 1;
blue13 = 1;
blue14 = 1;
blue15 = 1;
blue16 = 1;
blue17 = 1;
blue18 = 1;
blue19 = 1;
blue20 = 1;
blue21 = 1;
blue22 = 1;
blue23 = 1;
blue24 = 1;
blue25 = 1;
blue26 = 1;
blue27 = 1;
blue28 = 1;
blue29 = 1;
blue30 = 1;
blue31 = 1;
blue32 = 1;
blue33 = 1;
blue34 = 1;
blue35 = 1;
red00 = 1;
red01 = 1;
red02 = 1;
red03 = 1;
red04 = 1;
red05 = 1;
red06 = 1;
red07 = 1;
red08 = 1;
red09 = 1;
red10 = 1;
red11 = 1;
red12 = 1;
red13 = 1;
red14 = 1;
red15 = 1;
red16 = 1;
red17 = 1;
red18 = 1;
_root.main.gotoAndStop(11);
BG1Sound = new Sound(this);
BG1Sound.attachSound("BG1Sound");
BG2Sound = new Sound(this);
BG2Sound.attachSound("BG2Sound");
Instance of Symbol 10 MovieClip "main" in Frame 6
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (_root.friction == 0) {
speed = 0.3;
} else if (_root.friction == 1) {
speed = 2;
}
if (Key.isDown(37) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 74 MovieClip in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.slowmoin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.slowmoin = 0;
if (_root.specialinuse == 0) {
_root.slowmomc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax + 100;
_root.purple_got = _root.purple_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 82 MovieClip in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.magnetin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(800);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.magnetin = 0;
if (_root.specialinuse == 0) {
_root.magnetmc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax + 100;
_root.green_got = _root.green_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red02" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red02 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 32 MovieClip "blue09" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue09 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue10" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue10 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue11" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue11 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 83 MovieClip "red14" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red14 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red11" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red11 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red12" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red12 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red13" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red13 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red06" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red06 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red08" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red08 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red04" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red04 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red09" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red09 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red16" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red16 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red10" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red10 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red00" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red00 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red15" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red15 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red17" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red17 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red07" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red07 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red01" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red01 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red05" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red05 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red03" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red03 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("endlesslose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 32 MovieClip "blue08" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue08 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue00" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue00 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue01" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue01 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 84 MovieClip in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.speedin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.speedin = 0;
if (_root.specialinuse == 0) {
_root.speedmc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax + 100;
_root.orange_got = _root.orange_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 32 MovieClip "blue30" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue30 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue17" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue17 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue04" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue04 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue20" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue20 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue32" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue32 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue18" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue18 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue34" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue34 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue33" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue33 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue07" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue07 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue13" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue13 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue25" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue25 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue22" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue22 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue27" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue27 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue06" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue06 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue05" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue05 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue31" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue31 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue19" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue19 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue15" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue15 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue28" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue28 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue35" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue35 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue26" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue26 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue21" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue21 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue14" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue14 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue29" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue29 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue16" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue16 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue12" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue12 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue03" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue03 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue24" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue24 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue23" in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue23 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax + 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 88 MovieClip in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.invisiblein == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.invisiblein = 0;
if (_root.specialinuse == 0) {
_root.invisiblemc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax + 100;
_root.black_got = _root.black_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 89 MovieClip in Frame 6
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.frictionin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.frictionin = 0;
if (_root.specialinuse == 0) {
_root.frictionmc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax + 100;
_root.yellow_got = _root.yellow_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 96 MovieClip in Frame 6
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Instance of Symbol 99 MovieClip in Frame 6
on (release) {
if (_root.muted == 0) {
_root.BG2Sound.stop();
_root.BG1Sound.start(0, 999);
_root.soundchosen = 1;
}
}
Instance of Symbol 101 MovieClip in Frame 6
on (release) {
if (_root.muted == 0) {
_root.BG1Sound.stop();
_root.BG2Sound.start(0, 999);
_root.soundchosen = 2;
}
}
Instance of Symbol 103 MovieClip in Frame 6
on (release) {
_root.BG1Sound.stop();
_root.BG2Sound.stop();
_root.main._visible = true;
_root.gotoAndStop("menu");
}
Frame 7
stop();
_root.main.gotoAndStop(1);
BG1Sound.stop();
BG2Sound.stop();
_root.main._visible = true;
MenuSound = new Sound(this);
MenuSound.attachSound("MenuSound");
MenuSound.start(0, 99999);
_root.musicon = 1;
namevar = "No Name";
Instance of Symbol 10 MovieClip "main" in Frame 7
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 114 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("endlessgame");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("endlessgame");
}
Instance of Symbol 119 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("menu");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 27 MovieClip in Frame 7
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Frame 8
blue_got = 0;
second = 0;
stop();
MenuSound.stop();
musicon = 0;
ballsize = 10;
scoremax = 0;
score = 0;
i = 0;
xspeed = 0;
slow = 0;
speed = 0;
slowmo = 0;
yspeed = 0;
blue00 = 1;
red0 = 1;
red1 = 0;
red2 = 0;
red3 = 0;
red4 = 0;
red5 = 0;
red6 = 0;
red7 = 0;
red8 = 0;
red9 = 0;
red10 = 0;
red11 = 0;
red12 = 0;
red13 = 0;
red14 = 0;
red15 = 0;
red16 = 0;
red17 = 0;
red18 = 1;
red19 = 0;
red20 = 0;
red21 = 0;
red22 = 0;
red23 = 0;
red24 = 0;
red25 = 0;
red26 = 0;
red27 = 0;
red28 = 0;
red29 = 0;
red30 = 0;
red31 = 0;
red32 = 0;
red33 = 0;
red34 = 0;
red35 = 0;
_root.main.gotoAndStop(11);
BG1Sound = new Sound(this);
BG1Sound.attachSound("BG1Sound");
BG2Sound = new Sound(this);
BG2Sound.attachSound("BG2Sound");
Instance of Symbol 83 MovieClip "red2" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red2 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red14" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red14 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red11" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red11 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red12" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red12 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red13" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red13 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red6" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red6 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red8" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red8 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red4" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red4 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red9" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red9 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red16" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red16 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red10" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red10 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red0" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red0 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red15" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red15 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red17" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red17 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red7" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red7 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red1" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red1 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red5" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red5 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red3" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red3 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 32 MovieClip "blue00" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
}
onClipEvent (enterFrame) {
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.i = 1;
_root.addred.nextFrame();
_root.blue_got = _root.blue_got + 1;
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
Instance of Symbol 83 MovieClip "red20" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red20 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red32" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red32 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red29" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red29 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red30" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red30 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red31" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red31 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red24" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red24 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red26" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red26 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red22" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red22 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red27" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red27 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red34" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red34 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red28" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red28 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red18" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red18 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red33" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red33 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red35" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red35 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red25" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red25 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red19" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red19 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red23" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red23 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red21" in Frame 8
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.red21 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("singlelose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 96 MovieClip in Frame 8
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Instance of Symbol 99 MovieClip in Frame 8
on (release) {
if (_root.muted == 0) {
_root.BG2Sound.stop();
_root.BG1Sound.start(0, 999);
_root.soundchosen = 1;
}
}
Instance of Symbol 101 MovieClip in Frame 8
on (release) {
if (_root.muted == 0) {
_root.BG1Sound.stop();
_root.BG2Sound.start(0, 999);
_root.soundchosen = 2;
}
}
Instance of Symbol 103 MovieClip in Frame 8
on (release) {
_root.BG1Sound.stop();
_root.BG2Sound.stop();
_root.main._visible = true;
_root.gotoAndStop("menu");
}
Frame 9
stop();
_root.main.gotoAndStop(1);
BG1Sound.stop();
BG2Sound.stop();
_root.main._visible = true;
MenuSound = new Sound(this);
MenuSound.attachSound("MenuSound");
MenuSound.start(0, 99999);
_root.musicon = 1;
timeseconds = second + " seconds";
Instance of Symbol 114 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("singlegame");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("singlegame");
}
Instance of Symbol 119 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("menu");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 27 MovieClip in Frame 9
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Frame 10
stop();
_root.main.gotoAndStop(1);
BG1Sound.stop();
BG2Sound.stop();
_root.main._visible = true;
MenuSound = new Sound(this);
MenuSound.attachSound("MenuSound");
MenuSound.start(0, 99999);
_root.musicon = 1;
timeseconds = second + " seconds";
namevar = "No Name";
Instance of Symbol 31 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("credits");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("credits");
}
Frame 11
truescore = 0;
blue_got = 0;
red_got = 0;
purple_got = 0;
green_got = 0;
orange_got = 0;
black_got = 0;
yellow_got = 0;
stop();
MenuSound.stop();
musicon = 0;
ballsize = 11;
scoremax = 100;
score = 100;
speedin = 0;
speed = 0;
slowmoin = 0;
slowmo = 0;
friction = 0;
frictionin = 0;
invisible = 0;
invisiblein = 0;
xspeed = 0;
yspeed = 0;
magnet = 0;
magnetin = 0;
special = 0;
randomnum = 0;
specialinuse = 0;
blue00 = 1;
blue01 = 0;
blue02 = 0;
blue03 = 0;
blue04 = 0;
blue05 = 0;
blue06 = 0;
blue07 = 0;
blue08 = 0;
blue09 = 0;
blue10 = 0;
blue11 = 0;
blue12 = 0;
blue13 = 0;
blue14 = 0;
blue15 = 0;
blue16 = 0;
blue17 = 0;
blue18 = 0;
blue19 = 0;
blue20 = 0;
blue21 = 0;
blue22 = 0;
blue23 = 0;
blue24 = 0;
blue25 = 0;
blue26 = 0;
blue27 = 0;
blue28 = 0;
blue29 = 0;
blue30 = 0;
blue31 = 0;
blue32 = 0;
blue33 = 0;
blue34 = 0;
blue35 = 0;
red00 = 1;
red01 = 0;
red02 = 0;
red03 = 0;
red04 = 0;
red05 = 0;
red06 = 0;
red07 = 0;
red08 = 0;
red09 = 0;
red10 = 0;
red11 = 0;
red12 = 0;
red13 = 0;
red14 = 0;
red15 = 0;
red16 = 0;
red17 = 0;
red18 = 0;
levelon = 7;
_root.main.gotoAndStop(11);
BG1Sound = new Sound(this);
BG1Sound.attachSound("BG1Sound");
BG2Sound = new Sound(this);
BG2Sound.attachSound("BG2Sound");
Instance of Symbol 189 MovieClip "levels" in Frame 11
onClipEvent (load) {
function __f_enterFrame(eventObj) {
if (_root.score >= 400) {
_root.gotoAndStop("menu");
}
}
this.addEventListener("enterFrame", __f_enterFrame);
}
Instance of Symbol 10 MovieClip "main" in Frame 11
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (_root.friction == 0) {
speed = 0.3;
} else if (_root.friction == 1) {
speed = 2;
}
if (Key.isDown(37) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 74 MovieClip in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.slowmoin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.slowmoin = 0;
if (_root.specialinuse == 0) {
_root.slowmomc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax - 100;
_root.purple_got = _root.purple_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 82 MovieClip in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.magnetin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(800);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.magnetin = 0;
if (_root.specialinuse == 0) {
_root.magnetmc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax - 100;
_root.green_got = _root.green_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 83 MovieClip "red02" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red02 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 32 MovieClip "blue09" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue09 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue10" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue10 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue11" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue11 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 83 MovieClip "red14" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red14 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red11" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red11 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red12" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red12 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red13" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red13 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red06" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red06 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red08" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red08 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red04" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red04 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red09" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red09 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red16" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red16 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red10" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red10 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red00" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red00 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red15" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red15 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red17" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red16 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red07" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red06 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red01" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red01 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red05" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red05 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 83 MovieClip "red03" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
onClipEvent (enterFrame) {
if (_root.red03 == 1) {
if (_root.slowmo == 1) {
speedglow = 0.5;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
if (this.hitTest(_root.main)) {
_root.red_got = _root.red_got + 1;
if ((_root.ballsize - 10) <= 0) {
_root.gotoAndStop("normallose");
}
_root.ballsize = _root.ballsize - 10;
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
sf = speedglow;
}
}
}
Instance of Symbol 32 MovieClip "blue08" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue08 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue00" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue00 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue01" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue01 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 84 MovieClip in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.speedin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.speedin = 0;
if (_root.specialinuse == 0) {
_root.speedmc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax - 100;
_root.orange_got = _root.orange_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 32 MovieClip "blue30" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue30 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue17" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue17 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue04" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue04 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue20" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue20 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue32" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue32 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue18" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue18 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue34" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue34 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue33" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue33 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue07" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue07 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue13" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue13 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue25" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue25 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue22" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue22 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue27" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue27 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue06" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue06 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue05" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue05 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue31" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue31 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue19" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue19 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue15" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue15 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue28" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue28 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue35" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue35 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue26" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue26 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue21" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue21 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue14" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue14 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue29" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue29 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue16" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue16 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue12" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue12 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue03" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue03 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue24" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue24 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 32 MovieClip "blue23" in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
enemySpeed = 30;
radToDeg = 57.2957795130823;
degToRad = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (_root.blue23 == 1) {
if (_root.magnet == 0) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
} else if (_root.magnet == 1) {
xdist = this._x - _root.main._x;
ydist = this._y - _root.main._y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (dist >= this) {
easing = dist / 25;
targetRotation = (Math.atan2(ydist, xdist) * radToDeg) - 90;
var difference = (this._rotation - targetRotation);
if (difference > 180) {
targetRotation = targetRotation + 360;
} else if (difference < -180) {
targetRotation = targetRotation - 360;
}
var changeInRotation = ((targetRotation - this._rotation) / easing);
this._rotation = this._rotation + changeInRotation;
this._y = this._y - (Math.cos(this._rotation * degToRad) * enemySpeed);
this._x = this._x - ((-Math.sin(this._rotation * degToRad)) * enemySpeed);
} else {
this._y = _root.main._y;
this._x = _root.main._x;
}
if (this.hitTest(_root.main)) {
_root.scoremax = _root.scoremax - 10;
_root.blue_got = _root.blue_got + 1;
_root.truescore = _root.truescore + 10;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
}
Instance of Symbol 88 MovieClip in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.invisiblein == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.invisiblein = 0;
if (_root.specialinuse == 0) {
_root.invisiblemc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax - 100;
_root.black_got = _root.black_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 89 MovieClip in Frame 11
onClipEvent (load) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
onClipEvent (enterFrame) {
if (_root.frictionin == 1) {
if (_root.slowmo == 1) {
speedglow = 2;
}
if (_root.speed == 1) {
speedglow = 15;
}
this._x = this._x - speedglow;
if (this._x <= -25) {
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
if (this.hitTest(_root.main)) {
_root.frictionin = 0;
if (_root.specialinuse == 0) {
_root.frictionmc.gotoAndPlay(2);
}
_root.scoremax = _root.scoremax - 100;
_root.yellow_got = _root.yellow_got + 1;
_root.truescore = _root.truescore + 100;
_root.ballsize = _root.ballsize + 1;
if (_root.ballsize >= 200) {
_root.ballsize = 200;
}
_root.main.gotoAndStop(_root.ballsize);
this._y = this._y + speedglow;
this._x = 820;
this._y = random(600);
speedglow = random(10) + 1;
}
}
}
Instance of Symbol 96 MovieClip in Frame 11
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Instance of Symbol 99 MovieClip in Frame 11
on (release) {
if (_root.muted == 0) {
_root.BG2Sound.stop();
_root.BG1Sound.start(0, 999);
_root.soundchosen = 1;
}
}
Instance of Symbol 101 MovieClip in Frame 11
on (release) {
if (_root.muted == 0) {
_root.BG1Sound.stop();
_root.BG2Sound.start(0, 999);
_root.soundchosen = 2;
}
}
Instance of Symbol 103 MovieClip in Frame 11
on (release) {
_root.BG1Sound.stop();
_root.BG2Sound.stop();
_root.main._visible = true;
_root.gotoAndStop("menu");
}
Frame 12
stop();
_root.main.gotoAndStop(1);
BG1Sound.stop();
BG2Sound.stop();
_root.main._visible = true;
MenuSound = new Sound(this);
MenuSound.attachSound("MenuSound");
MenuSound.start(0, 99999);
_root.musicon = 1;
Instance of Symbol 10 MovieClip "main" in Frame 12
onClipEvent (load) {
speed = 0.3;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(37) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed + speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(39) && (Key.isDown(38))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(39) && (Key.isDown(40))) {
_root.xspeed = _root.xspeed - speed;
_root.yspeed = _root.yspeed + speed;
} else if (Key.isDown(37)) {
_root.xspeed = _root.xspeed + speed;
} else if (Key.isDown(39)) {
_root.xspeed = _root.xspeed - speed;
} else if (Key.isDown(38)) {
_root.yspeed = _root.yspeed - speed;
} else if (Key.isDown(40)) {
_root.yspeed = _root.yspeed + speed;
}
}
Instance of Symbol 114 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("normalgame");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("normalgame");
}
Instance of Symbol 119 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.main)) {
_root.gotoAndStop("menu");
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("menu");
}
Instance of Symbol 27 MovieClip in Frame 12
on (release) {
if (_root.muted == 0) {
this.gotoAndStop(2);
_root.muted = 1;
} else if (_root.muted == 1) {
this.gotoAndStop(1);
_root.muted = 0;
}
}
Frame 13
stop();
_root.main.gotoAndStop(1);
BG1Sound.stop();
BG2Sound.stop();
_root.main._visible = true;
MenuSound = new Sound(this);
MenuSound.attachSound("MenuSound");
MenuSound.start(0, 99999);
_root.musicon = 1;
normalwinscore = (_root.truescore + (_root.blue_got * 10)) - (_root.red_got * 100);
blueadd = _root.blue_got * 10;
redminus = _root.red_got * 100;
bluescoreadd = ("+" + blueadd) + " score";
redscoreminus = ("-" + redminus) + " score";
namevar = "No Name";
Symbol 10 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 1
if ((_root.main._y <= 0) && (_root.yspeed < 0)) {
_root.yspeed = 0;
}
if ((_root.main._y >= 600) && (_root.yspeed > 0)) {
_root.yspeed = 0;
}
if ((_root.main._x <= 0) && (_root.xspeed > 0)) {
_root.xspeed = 0;
}
if ((_root.main._x >= 800) && (_root.xspeed < 0)) {
_root.xspeed = 0;
}
_root.main._x = _root.main._x - _root.xspeed;
_root.main._y = _root.main._y + _root.yspeed;
if (_root.scoremax > _root.score) {
_root.score = _root.score + 1;
_root.special = _root.special + 1;
}
if (_root.special >= 100) {
_root.special = 0;
_root.randomnum = random(10);
if ((_root.randomnum == 1) && (_root.levelon >= 4)) {
_root.magnetin = 1;
} else if (_root.randomnum == 3) {
_root.slowmoin = 1;
} else if ((_root.randomnum == 5) && (_root.levelon >= 2)) {
_root.speedin = 1;
} else if ((_root.randomnum == 7) && (_root.levelon >= 6)) {
_root.invisiblein = 1;
} else if ((_root.randomnum == 9) && (_root.levelon >= 8)) {
_root.frictionin = 1;
}
}
if (_root.levelon == 1) {
if (_root.score >= 200) {
_root.levels.gotoAndPlay("level2");
_root.levelon = 2;
_root.blue01 = 1;
_root.blue02 = 1;
_root.blue03 = 1;
_root.blue04 = 1;
_root.red01 = 1;
_root.red02 = 1;
}
} else if (_root.levelon == 2) {
if (_root.score >= 1500) {
_root.levels.gotoAndPlay("level3");
_root.levelon = 3;
_root.blue05 = 1;
_root.blue06 = 1;
_root.blue07 = 1;
_root.blue08 = 1;
_root.red03 = 1;
_root.red04 = 1;
}
}
Symbol 14 MovieClip Frame 2
if ((_root.main._y <= 0) && (_root.yspeed < 0)) {
_root.yspeed = 0;
}
if ((_root.main._y >= 600) && (_root.yspeed > 0)) {
_root.yspeed = 0;
}
if ((_root.main._x <= 0) && (_root.xspeed > 0)) {
_root.xspeed = 0;
}
if ((_root.main._x >= 800) && (_root.xspeed < 0)) {
_root.xspeed = 0;
}
_root.main._x = _root.main._x - _root.xspeed;
_root.main._y = _root.main._y + _root.yspeed;
if (_root.scoremax > _root.score) {
_root.score = _root.score + 1;
_root.special = _root.special + 1;
}
if (_root.special >= 100) {
_root.special = 0;
_root.randomnum = random(10);
if ((_root.randomnum == 1) && (_root.levelon >= 4)) {
_root.magnetin = 1;
} else if (_root.randomnum == 3) {
_root.slowmoin = 1;
} else if ((_root.randomnum == 5) && (_root.levelon >= 2)) {
_root.speedin = 1;
} else if ((_root.randomnum == 7) && (_root.levelon >= 6)) {
_root.invisiblein = 1;
} else if ((_root.randomnum == 9) && (_root.levelon >= 8)) {
_root.frictionin = 1;
}
}
if (_root.levelon == 1) {
if (_root.score >= 200) {
_root.levels.gotoAndPlay("level2");
_root.levelon = 2;
_root.blue01 = 1;
_root.blue02 = 1;
_root.blue03 = 1;
_root.blue04 = 1;
_root.red01 = 1;
_root.red02 = 1;
}
} else if (_root.levelon == 2) {
if (_root.score >= 1500) {
_root.levels.gotoAndPlay("level3");
_root.levelon = 3;
_root.blue05 = 1;
_root.blue06 = 1;
_root.blue07 = 1;
_root.blue08 = 1;
_root.red03 = 1;
_root.red04 = 1;
}
}
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 20 MovieClip Frame 1
stop();
Symbol 20 MovieClip Frame 2
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 24 MovieClip Frame 3
stop();
Symbol 27 MovieClip Frame 1
stop();
if (_root.muted == 1) {
gotoAndStop (2);
}
if (_root.musicon == 0) {
_root.musicon = 1;
_root.MenuSound.start(0, 999);
}
Symbol 27 MovieClip Frame 2
stop();
_root.MenuSound.stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 3
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
_root.slowmo = 1;
_root.specialinuse = 1;
Symbol 78 MovieClip Frame 320
_root.slowmo = 0;
_root.specialinuse = 0;
gotoAndStop (1);
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
_root.magnet = 1;
_root.specialinuse = 1;
Symbol 81 MovieClip Frame 154
_root.magnet = 0;
_root.specialinuse = 0;
gotoAndStop (1);
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
_root.speed = 1;
_root.specialinuse = 1;
Symbol 87 MovieClip Frame 320
_root.speed = 0;
_root.specialinuse = 0;
gotoAndStop (1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
_root.specialinuse = 1;
_root.main._visible = false;
Symbol 92 MovieClip Frame 320
_root.specialinuse = 0;
_root.main._visible = true;
gotoAndStop (1);
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
_root.specialinuse = 1;
_root.friction = 1;
_root.xspeed = 0;
_root.yspeed = 0;
Symbol 95 MovieClip Frame 320
_root.specialinuse = 0;
_root.friction = 0;
gotoAndStop (1);
Symbol 96 MovieClip Frame 1
stop();
if (_root.muted == 1) {
gotoAndStop (2);
}
if (_root.soundchosen == 1) {
_root.BG1Sound.start(0, 999);
} else if (_root.soundchosen == 2) {
_root.BG2Sound.start(0, 999);
}
Symbol 96 MovieClip Frame 2
stop();
_root.BG1Sound.stop();
_root.BG2Sound.stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
_root.red1 = 1;
Symbol 123 MovieClip Frame 3
stop();
_root.red2 = 1;
Symbol 123 MovieClip Frame 4
stop();
_root.red3 = 1;
Symbol 123 MovieClip Frame 5
stop();
_root.red4 = 1;
Symbol 123 MovieClip Frame 6
stop();
_root.red5 = 1;
Symbol 123 MovieClip Frame 7
stop();
_root.red6 = 1;
Symbol 123 MovieClip Frame 8
stop();
_root.red7 = 1;
Symbol 123 MovieClip Frame 9
stop();
_root.red8 = 1;
Symbol 123 MovieClip Frame 10
stop();
_root.red9 = 1;
Symbol 123 MovieClip Frame 11
stop();
_root.red11 = 1;
Symbol 123 MovieClip Frame 12
stop();
_root.red12 = 1;
Symbol 123 MovieClip Frame 13
stop();
_root.red13 = 1;
Symbol 123 MovieClip Frame 14
stop();
_root.red14 = 1;
Symbol 123 MovieClip Frame 15
stop();
_root.red15 = 1;
Symbol 123 MovieClip Frame 16
stop();
_root.red16 = 1;
Symbol 123 MovieClip Frame 17
stop();
_root.red17 = 1;
Symbol 123 MovieClip Frame 18
stop();
_root.red18 = 1;
Symbol 123 MovieClip Frame 19
stop();
_root.red19 = 1;
Symbol 123 MovieClip Frame 20
stop();
_root.red20 = 1;
Symbol 123 MovieClip Frame 21
stop();
_root.red21 = 1;
Symbol 123 MovieClip Frame 22
stop();
_root.red22 = 1;
Symbol 123 MovieClip Frame 23
stop();
_root.red23 = 1;
Symbol 123 MovieClip Frame 24
stop();
_root.red24 = 1;
Symbol 123 MovieClip Frame 25
stop();
_root.red25 = 1;
Symbol 123 MovieClip Frame 26
stop();
_root.red26 = 1;
Symbol 123 MovieClip Frame 27
stop();
_root.red27 = 1;
Symbol 123 MovieClip Frame 28
stop();
_root.red28 = 1;
Symbol 123 MovieClip Frame 29
stop();
_root.red29 = 1;
Symbol 123 MovieClip Frame 30
stop();
_root.red30 = 1;
Symbol 123 MovieClip Frame 31
stop();
_root.red31 = 1;
Symbol 123 MovieClip Frame 32
stop();
_root.red32 = 1;
Symbol 123 MovieClip Frame 33
stop();
_root.red33 = 1;
Symbol 123 MovieClip Frame 34
stop();
_root.red34 = 1;
Symbol 123 MovieClip Frame 35
stop();
_root.red35 = 1;
Symbol 123 MovieClip Frame 36
_root.gotoAndStop("singlewin");
Symbol 125 MovieClip Frame 32
_root.second = _root.second + 1;
Instance of Symbol 168 MovieClip in Symbol 170 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y - 120;
}
Instance of Symbol 168 MovieClip in Symbol 170 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y - 120;
}
Instance of Symbol 177 MovieClip in Symbol 179 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y - 20;
}
Instance of Symbol 183 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y - 120;
}
Instance of Symbol 183 MovieClip in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y - 120;
}
Instance of Symbol 177 MovieClip in Symbol 187 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y + 10;
}
Symbol 189 MovieClip Frame 100
stop();
_root.levelon = 1;
Symbol 189 MovieClip Frame 200
stop();
_root.levelon = 2;
Symbol 189 MovieClip Frame 300
stop();
_root.levelon = 3;
Symbol 189 MovieClip Frame 400
stop();
_root.levelon = 4;
Symbol 189 MovieClip Frame 500
stop();
_root.levelon = 5;
Symbol 189 MovieClip Frame 600
stop();
_root.levelon = 6;
Symbol 189 MovieClip Frame 700
stop();
_root.levelon = 7;
Symbol 189 MovieClip Frame 800
stop();
_root.levelon = 8;
Symbol 189 MovieClip Frame 900
stop();
_root.levelon = 9;
Instance of Symbol 170 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = 600;
this._y = random(600);
speedship = random(20) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x - speedship;
if (this._x <= -600) {
this._x = 600;
this._y = random(600);
speedship = random(20) + 1;
}
}
Instance of Symbol 172 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = 600;
this._y = random(600);
speedship = random(4) + 2;
}
onClipEvent (enterFrame) {
this._x = this._x - speedship;
if (this._x <= -600) {
this._x = 600;
this._y = random(600);
speedship = random(4) + 2;
}
}
Instance of Symbol 174 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = -600;
this._y = random(600);
speedship = random(4) + 2;
}
onClipEvent (enterFrame) {
this._x = this._x + speedship;
if (this._x > 600) {
this._x = -600;
this._y = random(600);
speedship = random(4) + 2;
}
}
Instance of Symbol 179 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = 600;
this._y = random(600);
speedship = random(10) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x - speedship;
if (this._x <= -600) {
this._x = 600;
this._y = random(600);
speedship = random(10) + 1;
}
}
Instance of Symbol 184 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = -600;
this._y = random(600);
speedship = random(20) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + speedship;
if (this._x > 600) {
this._x = -600;
this._y = random(600);
speedship = random(20) + 1;
}
}
Instance of Symbol 187 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = -600;
this._y = random(600);
speedship = random(10) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + speedship;
if (this._x > 600) {
this._x = -600;
this._y = random(600);
speedship = random(10) + 1;
}
}
Instance of Symbol 170 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = 600;
this._y = random(600);
speedship = random(20) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x - speedship;
if (this._x <= -600) {
this._x = 600;
this._y = random(600);
speedship = random(20) + 1;
}
}
Instance of Symbol 170 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = 600;
this._y = random(600);
speedship = random(20) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x - speedship;
if (this._x <= -600) {
this._x = 600;
this._y = random(600);
speedship = random(20) + 1;
}
}
Instance of Symbol 179 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = 600;
this._y = random(600);
speedship = random(10) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x - speedship;
if (this._x <= -600) {
this._x = 600;
this._y = random(600);
speedship = random(10) + 1;
}
}
Instance of Symbol 184 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = -600;
this._y = random(600);
speedship = random(20) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + speedship;
if (this._x > 600) {
this._x = -600;
this._y = random(600);
speedship = random(20) + 1;
}
}
Instance of Symbol 184 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = -600;
this._y = random(600);
speedship = random(20) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + speedship;
if (this._x > 600) {
this._x = -600;
this._y = random(600);
speedship = random(20) + 1;
}
}
Instance of Symbol 187 MovieClip in Symbol 189 MovieClip Frame 901
onClipEvent (load) {
this._x = -600;
this._y = random(600);
speedship = random(10) + 1;
}
onClipEvent (enterFrame) {
this._x = this._x + speedship;
if (this._x > 600) {
this._x = -600;
this._y = random(600);
speedship = random(10) + 1;
}
}
Symbol 189 MovieClip Frame 1000
stop();
_root.levelon = 10;
Symbol 190 MovieClip Frame 1
if ((_root.main._y <= 0) && (_root.yspeed < 0)) {
_root.yspeed = 0;
}
if ((_root.main._y >= 600) && (_root.yspeed > 0)) {
_root.yspeed = 0;
}
if ((_root.main._x <= 0) && (_root.xspeed > 0)) {
_root.xspeed = 0;
}
if ((_root.main._x >= 800) && (_root.xspeed < 0)) {
_root.xspeed = 0;
}
_root.main._x = _root.main._x - _root.xspeed;
_root.main._y = _root.main._y + _root.yspeed;
if (_root.scoremax < _root.score) {
_root.score = _root.score - 1;
_root.special = _root.special + 1;
}
if (_root.special >= 100) {
_root.special = 0;
_root.randomnum = random(10);
if ((_root.randomnum == 1) && (_root.levelon >= 4)) {
_root.magnetin = 1;
} else if (_root.randomnum == 3) {
_root.slowmoin = 1;
} else if ((_root.randomnum == 5) && (_root.levelon >= 2)) {
_root.speedin = 1;
} else if ((_root.randomnum == 7) && (_root.levelon >= 6)) {
_root.invisiblein = 1;
} else if ((_root.randomnum == 9) && (_root.levelon >= 8)) {
_root.frictionin = 1;
}
}
if (_root.score == 0) {
if (_root.levelon == 1) {
_root.levels.gotoAndPlay("level2");
_root.score = 200;
_root.scoremax = 200;
_root.levelon = 2;
_root.blue01 = 1;
_root.blue02 = 1;
_root.blue03 = 1;
_root.blue04 = 1;
_root.red01 = 1;
_root.red02 = 1;
} else if (_root.levelon == 2) {
_root.levels.gotoAndPlay("level3");
_root.scoremax = 400;
_root.score = 400;
_root.levelon = 3;
_root.blue05 = 1;
_root.blue06 = 1;
_root.blue07 = 1;
_root.blue08 = 1;
_root.red03 = 1;
_root.red04 = 1;
} else if (_root.levelon == 3) {
_root.levels.gotoAndPlay("level4");
_root.scoremax = 800;
_root.score = 800;
_root.levelon = 4;
_root.blue09 = 1;
_root.blue10 = 1;
_root.blue11 = 1;
_root.blue12 = 1;
_root.red05 = 1;
_root.red06 = 1;
} else if (_root.levelon == 4) {
_root.levels.gotoAndPlay("leveL5");
_root.scoremax = 1500;
_root.score = 1500;
_root.levelon = 5;
_root.blue13 = 1;
_root.blue14 = 1;
_root.blue15 = 1;
_root.blue16 = 1;
_root.red07 = 1;
_root.red08 = 1;
} else if (_root.levelon == 5) {
_root.levels.gotoAndPlay("level6");
_root.scoremax = 2000;
_root.score = 2000;
_root.levelon = 6;
_root.blue17 = 1;
_root.blue18 = 1;
_root.blue19 = 1;
_root.blue20 = 1;
_root.red09 = 1;
_root.red10 = 1;
} else if (_root.levelon == 6) {
_root.levels.gotoAndPlay("level7");
_root.scoremax = 2500;
_root.score = 2500;
_root.levelon = 7;
_root.blue21 = 1;
_root.blue22 = 1;
_root.blue23 = 1;
_root.blue24 = 1;
_root.red11 = 1;
_root.red12 = 1;
} else if (_root.levelon == 7) {
_root.levels.gotoAndPlay("level8");
_root.scoremax = 3000;
_root.score = 3000;
_root.levelon = 8;
_root.blue25 = 1;
_root.blue26 = 1;
_root.blue27 = 1;
_root.blue28 = 1;
_root.red13 = 1;
_root.red14 = 1;
} else if (_root.levelon == 8) {
_root.levels.gotoAndPlay("level9");
_root.scoremax = 4000;
_root.score = 4000;
_root.levelon = 9;
_root.blue29 = 1;
_root.blue30 = 1;
_root.blue31 = 1;
_root.blue32 = 1;
_root.red14 = 1;
_root.red15 = 1;
} else if (_root.levelon == 9) {
_root.levels.gotoAndPlay("level10");
_root.scoremax = 5000;
_root.score = 5000;
_root.levelon = 10;
_root.blue33 = 1;
_root.blue34 = 1;
_root.blue35 = 1;
_root.red16 = 1;
_root.red17 = 1;
_root.red18 = 1;
} else if (_root.levelon == 10) {
_root.gotoAndPlay("normalwin");
}
}
Symbol 190 MovieClip Frame 2
if ((_root.main._y <= 0) && (_root.yspeed < 0)) {
_root.yspeed = 0;
}
if ((_root.main._y >= 600) && (_root.yspeed > 0)) {
_root.yspeed = 0;
}
if ((_root.main._x <= 0) && (_root.xspeed > 0)) {
_root.xspeed = 0;
}
if ((_root.main._x >= 800) && (_root.xspeed < 0)) {
_root.xspeed = 0;
}
_root.main._x = _root.main._x - _root.xspeed;
_root.main._y = _root.main._y + _root.yspeed;
if (_root.scoremax < _root.score) {
_root.score = _root.score - 1;
_root.special = _root.special + 1;
}
if (_root.special >= 100) {
_root.special = 0;
_root.randomnum = random(10);
if ((_root.randomnum == 1) && (_root.levelon >= 4)) {
_root.magnetin = 1;
} else if (_root.randomnum == 3) {
_root.slowmoin = 1;
} else if ((_root.randomnum == 5) && (_root.levelon >= 2)) {
_root.speedin = 1;
} else if ((_root.randomnum == 7) && (_root.levelon >= 6)) {
_root.invisiblein = 1;
} else if ((_root.randomnum == 9) && (_root.levelon >= 8)) {
_root.frictionin = 1;
}
}
if (_root.score == 0) {
if (_root.levelon == 1) {
_root.levels.gotoAndPlay("level2");
_root.score = 200;
_root.scoremax = 200;
_root.levelon = 2;
_root.blue01 = 1;
_root.blue02 = 1;
_root.blue03 = 1;
_root.blue04 = 1;
_root.red01 = 1;
_root.red02 = 1;
} else if (_root.levelon == 2) {
_root.levels.gotoAndPlay("level3");
_root.scoremax = 400;
_root.score = 400;
_root.levelon = 3;
_root.blue05 = 1;
_root.blue06 = 1;
_root.blue07 = 1;
_root.blue08 = 1;
_root.red03 = 1;
_root.red04 = 1;
} else if (_root.levelon == 3) {
_root.levels.gotoAndPlay("level4");
_root.scoremax = 800;
_root.score = 800;
_root.levelon = 4;
_root.blue09 = 1;
_root.blue10 = 1;
_root.blue11 = 1;
_root.blue12 = 1;
_root.red05 = 1;
_root.red06 = 1;
} else if (_root.levelon == 4) {
_root.levels.gotoAndPlay("leveL5");
_root.scoremax = 1500;
_root.score = 1500;
_root.levelon = 5;
_root.blue13 = 1;
_root.blue14 = 1;
_root.blue15 = 1;
_root.blue16 = 1;
_root.red07 = 1;
_root.red08 = 1;
} else if (_root.levelon == 5) {
_root.levels.gotoAndPlay("level6");
_root.scoremax = 2000;
_root.score = 2000;
_root.levelon = 6;
_root.blue17 = 1;
_root.blue18 = 1;
_root.blue19 = 1;
_root.blue20 = 1;
_root.red09 = 1;
_root.red10 = 1;
} else if (_root.levelon == 6) {
_root.levels.gotoAndPlay("level7");
_root.scoremax = 2500;
_root.score = 2500;
_root.levelon = 7;
_root.blue21 = 1;
_root.blue22 = 1;
_root.blue23 = 1;
_root.blue24 = 1;
_root.red11 = 1;
_root.red12 = 1;
} else if (_root.levelon == 7) {
_root.levels.gotoAndPlay("level8");
_root.scoremax = 3000;
_root.score = 3000;
_root.levelon = 8;
_root.blue25 = 1;
_root.blue26 = 1;
_root.blue27 = 1;
_root.blue28 = 1;
_root.red13 = 1;
_root.red14 = 1;
} else if (_root.levelon == 8) {
_root.levels.gotoAndPlay("level9");
_root.scoremax = 4000;
_root.score = 4000;
_root.levelon = 9;
_root.blue29 = 1;
_root.blue30 = 1;
_root.blue31 = 1;
_root.blue32 = 1;
_root.red14 = 1;
_root.red15 = 1;
} else if (_root.levelon == 9) {
_root.levels.gotoAndPlay("level10");
_root.scoremax = 5000;
_root.score = 5000;
_root.levelon = 10;
_root.blue33 = 1;
_root.blue34 = 1;
_root.blue35 = 1;
_root.red16 = 1;
_root.red17 = 1;
_root.red18 = 1;
} else if (_root.levelon == 10) {
_root.gotoAndPlay("normalwin");
}
}