Frame 6
var MenuSoundTimer = 0;
var TempX = 0;
var TempY = 0;
var TempR = 0;
var PTC;
var TCol = new Object();
var TColObj;
Shot = new Sound();
Shot.attachSound("ShotSound");
Pop = new Sound();
Pop.attachSound("PopSound");
Impact = new Sound();
Impact.attachSound("ImpactSound");
Hit = new Sound();
Hit.attachSound("HitSound");
Firework1 = new Sound();
Firework1.attachSound("Firework1");
Firework2 = new Sound();
Firework2.attachSound("Firework2");
Firework3 = new Sound();
Firework3.attachSound("Firework3");
Firework4 = new Sound();
Firework4.attachSound("Firework4");
var FireworkArray = new Array(Firework1, Firework2, Firework3, Firework4);
Stud = new Sound();
Stud.attachSound("Stud");
Octopus = new Sound();
Octopus.attachSound("Octopus");
Legion = new Sound();
Legion.attachSound("Legion");
Frame 8
if (MenuSoundTimer == 4) {
TempR = 10 + Math.ceil(Math.random() * 10);
TempX = Math.random() * Stage.width;
TempY = Math.random() * Stage.height;
a = 0;
while (a < TempR) {
PTC = MMParticles.attachMovie("Particle", MMParticles.getNextHighestDepth(), MMParticles.getNextHighestDepth());
PTC.Shape.gotoAndStop("Teardrop");
PTC._x = TempX;
PTC._y = TempY;
PTC._rotation = (a * 360) / TempR;
TCol.ra = Math.ceil(Math.random() * 100);
TCol.ga = Math.ceil(Math.random() * 100);
TCol.ba = Math.ceil(Math.random() * 100);
TCol.aa = 100;
TColObj = new Color(PTC);
TColObj.setTransform(TCol);
a++;
}
MenuSoundTimer = 0;
} else {
MenuSoundTimer++;
}
Frame 9
gotoAndPlay ("MMMain");
Frame 10
var Ready = false;
Octopus.start();
Octopus.onSoundComplete = function () {
Octopus.start();
};
Frame 12
gotoAndPlay ("SSMenuMain");
Frame 80
var Score = 0;
var FinalScore = 0;
var Orbs = 400;
var GreenOrbPoints = 30;
var RedOrbPoints = -30;
var NoRed = true;
var PowerupTimer = 0;
var TextTimer = 0;
var GameTimer2 = 0;
var GameTimer = 3000;
var GreenPulse = false;
var TimeBonus = 5000;
var SpeedBonus = 2000;
var SpeedTimer = 0;
var SoundTime = 0;
Ready = true;
Frame 81
ScoreText.text = Score;
OrbsText.text = Orbs;
if (Orbs <= 0) {
if (GameTimer <= 0) {
TimeBonus = 0;
}
SpeedBonus = Math.ceil(SpeedBonus / (((GameTimer2 - SpeedTimer) / 90) + 1));
FinalScore = (Score + TimeBonus) + SpeedBonus;
Orbs = 0;
OrbsText.text = Orbs;
gotoAndPlay ("SSGameOverStart");
}
if (CamShaker.Cam.Speed > 1.15) {
SpeedTimer++;
}
if (PowerupTimer > 0) {
PowerupTimer--;
} else {
NoRed = false;
GreenPulse = false;
}
if (TextTimer > 0) {
TextTimer--;
PowerupText._visible = true;
} else {
PowerupText._visible = false;
}
GameTimer2++;
if (GameTimer > 0) {
GameTimer--;
TimeText.text = Math.ceil(GameTimer / 30);
}
if (SoundTime > 0) {
SoundTime--;
}
Frame 82
gotoAndPlay ("SSGameMain");
Frame 84
Ready = false;
TimeBonusText.text = "Time Bonus: +" + TimeBonus;
SpeedBonusText.text = "Speed Bonus: +" + SpeedBonus;
ScoreText.text = "Total: " + FinalScore;
Frame 85
gotoAndPlay ("SSGameOver");
Frame 86
function NewFairy() {
if (FairyNumber < 5) {
FairyNumber = FairyNumber + 1;
Fairy[FairyNumber] = Fairies.attachMovie("Fairy", "Fairy" + FairyNumber, Fairies.getNextHighestDepth());
Fairy[FairyNumber]._x = -100;
Fairy[FairyNumber]._y = -100;
Gadget[FairyNumber] = Gadgets.attachMovie("Gadget", "Gadget" + FairyNumber, Gadgets.getNextHighestDepth());
Gadget[FairyNumber]._x = (Gadget[FairyNumber]._width / 2) + (20 * FairyNumber);
Gadget[FairyNumber]._y = (Gadget[FairyNumber]._height / 2) + (20 * FairyNumber);
PTC = Gadget[FairyNumber].attachMovie("Fairy", "DummyFairy", Gadget[FairyNumber].getNextHighestDepth());
PTC._x = Gadget[FairyNumber].FairyWindow._x;
PTC._y = Gadget[FairyNumber].FairyWindow._y;
PTC.gotoAndStop("Pause");
AttackHolder[FairyNumber] = Attacks.createEmptyMovieClip("AttackHolder" + FairyNumber, Attacks.getNextHighestDepth());
}
}
function BeginFight() {
if (FairyNumber >= 2) {
Directions._visible = false;
a = 1;
while (a <= FairyNumber) {
Gadget[a]._visible = false;
MenuBox._visible = false;
BrandingButton._visible = false;
Fairy[a]._x = Math.random() * Stage.width;
Fairy[a]._y = Math.random() * Stage.height;
Fairy[a].LifeBar = Fairies.attachMovie("LifeBar", "LifeBar" + a, Fairies.getNextHighestDepth());
Fairy[a].LifeBar._x = 20;
Fairy[a].LifeBar._y = 20 * a;
ColTemp = new Color(Fairy[a].LifeBar);
ColTemp.setTransform(Fairy[a].Col);
Ready = true;
_root._quality = "LOW";
a++;
}
}
}
function Victory(Winner) {
Victor = Winner;
Ready = false;
_root._quality = "HIGH";
a = 1;
while (a <= FairyNumber) {
Fairy[a].gotoAndPlay("Main");
Fairy[a].LifeBar.swapDepths(0);
Fairy[a].LifeBar.removeMovieClip();
a++;
}
Fairy[Winner].Graphic.Eyes._x = 0;
Fairy[Winner].Graphic.Eyes._y = 0;
Fairy[Winner].Graphic.Wings._x = 0;
Fairy[Winner].Graphic.Wings._y = 0;
gotoAndPlay ("PGVictory");
}
function DeleteFairy(ID) {
FairyNumber = FairyNumber - 1;
Fairy[ID].swapDepths(0);
Fairy[ID].removeMovieClip();
Fairy[ID] = undefined;
Gadget[ID].swapDepths(0);
Gadget[ID].removeMovieClip();
Gadget[ID] = undefined;
AttackHolder[ID].swapDepths(0);
AttackHolder[ID].removeMovieClip();
AttackHolder[ID] = undefined;
Fairy.sort();
Gadget.sort();
AttackHolder.sort();
}
var PTC;
var a;
var FairyNumber = 0;
var Fairy = new Array(0, undefined);
var Gadget = new Array(0, undefined);
var AttackHolder = new Array(0, undefined);
var Ready = false;
var ColTmp = new Color();
var VTimer = 0;
var Victor;
NewFairy();
Gadget[1].BlueBar.Slider._x = 0;
NewFairy();
Gadget[2].RedBar.Slider._x = 0;
Gadget[2]._y = Gadget[2]._y + 150;
Legion.start();
Legion.onSoundComplete = function () {
Legion.start();
};
Frame 87
if (!Ready) {
a = 1;
while (a <= FairyNumber) {
Fairy[a].Enemy = Fairy[a - 1];
Fairy[a].Col.ra = (Gadget[a].RedBar.Slider._x * 100) / Gadget[a].RedBar.Bar._width;
Fairy[a].Col.ga = (Gadget[a].GreenBar.Slider._x * 100) / Gadget[a].GreenBar.Bar._width;
Fairy[a].Col.ba = (Gadget[a].BlueBar.Slider._x * 100) / Gadget[a].BlueBar.Bar._width;
Fairy[a].Col.aa = 100;
Fairy[a].ColImt.setTransform(Fairy[a].Col);
Fairy[a].Col.ra = (Gadget[a].RedBar.Slider._x * 100) / Gadget[a].RedBar.Bar._width;
Fairy[a].ID = a;
Fairy[a].PTCStrength = 15 + ((Gadget[a].StrSpdBar.Slider._x * 85) / Gadget[a].StrSpdBar.Bar._width);
Fairy[a].PTCSpeed = 15 + (85 - ((Gadget[a].StrSpdBar.Slider._x * 85) / Gadget[a].StrSpdBar.Bar._width));
Gadget[a].ID = a;
ColTemp = new Color(AttackHolder[a]);
ColTemp.setTransform(Fairy[a].Col);
b = 1;
while (b <= 5) {
Fairy[a].AttackPathArray[b] = Gadget[a].AttackPathArray[b];
Fairy[a].AttackShapeArray[b] = Gadget[a].AttackShapeArray[b];
b++;
}
Gadget[a].DummyFairy.Col.ra = (Gadget[a].RedBar.Slider._x * 100) / Gadget[a].RedBar.Bar._width;
Gadget[a].DummyFairy.Col.ga = (Gadget[a].GreenBar.Slider._x * 100) / Gadget[a].GreenBar.Bar._width;
Gadget[a].DummyFairy.Col.ba = (Gadget[a].BlueBar.Slider._x * 100) / Gadget[a].BlueBar.Bar._width;
Gadget[a].DummyFairy.Col.aa = 100;
Gadget[a].DummyFairy.ColImt.setTransform(Gadget[a].DummyFairy.Col);
a++;
}
Fairy[1].Enemy = Fairy[FairyNumber];
}
Frame 88
gotoAndPlay ("PGMain");
Frame 92
VTimer++;
Fairy[Victor]._x = Fairy[Victor]._x - ((Fairy[Victor]._x - (Stage.width / 2)) / 30);
Fairy[Victor]._y = Fairy[Victor]._y - ((Fairy[Victor]._y - (Stage.height / 2)) / 30);
Fairy[Victor]._xscale = Fairy[Victor]._xscale - ((Fairy[Victor]._xscale - 2000) / 30);
Fairy[Victor]._yscale = Fairy[Victor]._yscale - ((Fairy[Victor]._yscale - 2000) / 30);
if (VTimer == 90) {
a = 1;
while (a <= FairyNumber) {
Gadget[a]._visible = true;
MenuBox._visible = true;
BrandingButton._visible = true;
Fairy[a]._x = -100;
Fairy[a]._y = -100;
Fairy[a]._xscale = 100;
Fairy[a]._yscale = 100;
Fairy[a].Dead = false;
VTimer = 0;
Directions._visible = true;
gotoAndPlay ("PGMain");
a++;
}
}
Frame 93
gotoAndPlay ("PGVictory");
Frame 94
Stud.start();
Stud.onSoundComplete = function () {
Stud.start();
};
Frame 95
Started = false;
Frame 96
gotoAndPlay ("BSMenu");
Frame 97
_quality = "MEDIUM";
Frame 168
var Score = 0;
var ProjMult = 1;
var PowMult = 1;
var HitWorth = 5;
var PowTime = 0;
var BrickRand = 0.2;
var UberTime = 0;
var ShotSoundTime = 0;
Started = true;
var Min = 1;
var Sec = 0;
var Mili = 0;
if (Mode == "Time") {
LifeBar._visible = false;
}
if (Mode == "Survival") {
MinText._visible = false;
SecText._visible = false;
}
Frame 169
if (PowTime > 0) {
PowTime--;
} else {
PowMult = 1;
}
if (UberTime > 0) {
UberTime--;
} else {
BrickRand = 0.2;
}
if (Score < 0) {
Score = 0;
}
ScoreText.text = Score;
if (ShotSoundTime > 0) {
ShotSoundTime--;
}
if ((Mode == "Survival") && (LifeBar.Mask._xscale <= 0)) {
LifeBar.Mask = 0;
gotoAndPlay ("BSGameOverStart");
}
if (Mode == "Time") {
if (Mili <= 0) {
Mili = 25;
if (Sec <= 0) {
Sec = 59;
if (Min <= 0) {
BrickRand = 0;
Mili = 0;
Sec = 0;
Min = 0;
MinText.text = Min + ":";
SecText.text = "0" + Sec;
gotoAndPlay ("BSGameOverStart");
} else {
Min--;
}
} else {
Sec--;
}
} else {
Mili--;
}
MinText.text = Min + ":";
if (Sec < 10) {
SecText.text = "0" + Sec;
} else {
SecText.text = Sec;
}
}
Frame 170
gotoAndPlay ("BSMain");
Frame 171
Started = false;
_quality = "HIGH";
Frame 258
ScoreText.text = Score;
Frame 259
gotoAndPlay ("BSGameOver");
Symbol 11 MovieClip [LogoParticle] Frame 81
this.swapDepths(0);
this.removeMovieClip();
Symbol 37 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 47 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 79 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 79 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 90 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 90 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 98 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 98 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 106 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 106 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 114 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 114 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 122 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 122 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 130 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 130 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 138 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 138 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 145 MovieClip Frame 133
_root.play();
Symbol 146 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 148 Button
on (release) {
getURL ("http://www.Particlasm.com/", "_blank");
}
Symbol 154 MovieClip Frame 10
stop();
Symbol 159 MovieClip Frame 10
stop();
Symbol 164 MovieClip Frame 10
stop();
Symbol 169 MovieClip Frame 10
stop();
Symbol 174 MovieClip Frame 10
stop();
Symbol 179 MovieClip Frame 10
stop();
Symbol 184 MovieClip Frame 10
stop();
Symbol 189 MovieClip Frame 10
stop();
Symbol 194 MovieClip Frame 10
stop();
Symbol 197 MovieClip Frame 20
stop();
Symbol 198 MovieClip Frame 1
_root.stop();
var PTC;
var a;
var CurrentItem;
var Rand;
var Rand2;
LogoSound = new Sound();
LogoSound.attachSound("HitSound");
Symbol 198 MovieClip Frame 5
CurrentItem = LogoP;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 9
CurrentItem = LogoC;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 13
CurrentItem = LogoR;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 17
CurrentItem = LogoT;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 21
CurrentItem = LogoI;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 25
CurrentItem = LogoA;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 29
CurrentItem = LogoM;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 33
CurrentItem = LogoA2;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 37
CurrentItem = LogoS;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 41
CurrentItem = LogoL;
Rand = Math.random() * 360;
Rand2 = 5 + Math.ceil(Math.random() * 5);
a = 1;
while (a <= Rand2) {
PTC = LogoParticleHolder.attachMovie("LogoParticle", LogoParticleHolder.getNextHighestDepth(), LogoParticleHolder.getNextHighestDepth());
PTC._x = CurrentItem._x;
PTC._y = CurrentItem._y;
PTC._rotation = Rand + ((a * 360) / Rand2);
a++;
}
LogoSound.start();
Symbol 198 MovieClip Frame 131
stop();
_root.play();
Symbol 217 MovieClip Frame 10
gotoAndPlay ("Run");
Symbol 217 MovieClip Frame 19
gotoAndPlay ("Jump");
Symbol 219 Button
on (release) {
stopAllSounds();
Shot.start();
gotoAndPlay (94);
}
on (rollOver) {
Pop.start();
}
Symbol 230 Button
on (release) {
stopAllSounds();
Hit.start();
gotoAndPlay (10);
}
on (rollOver) {
Pop.start();
}
Symbol 238 MovieClip Frame 6
if (Math.random() > 0.5) {
gotoAndPlay ("Flap");
}
Symbol 244 MovieClip Frame 2
if (Math.random() < 0.97) {
gotoAndPlay ("Open");
}
Symbol 247 Button
on (release) {
stopAllSounds();
Hit.start();
gotoAndPlay (86);
}
on (rollOver) {
Pop.start();
}
Symbol 250 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 256 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
on (rollOver) {
Pop.start();
}
Symbol 287 MovieClip [PointPowerup2] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.Cam.Hero.Destroyer.Hit.hitTest(this)) {
_root.PowMult = _root.PowMult * 4;
_root.PowTime = 300;
_root.Pop.start();
this.gotoAndPlay("Death");
}
Symbol 287 MovieClip [PointPowerup2] Frame 3
gotoAndPlay ("Main");
Symbol 287 MovieClip [PointPowerup2] Frame 16
this.swapDepths(0);
this.removeMovieClip();
Symbol 308 MovieClip [BackgroundParticles] Frame 1
if (Math.ceil(Math.random() * 2) == 2) {
this._xscale = this._xscale * -1;
}
gotoAndStop(Math.ceil(Math.random() * 20));
this.onEnterFrame = function () {
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
};
Symbol 311 MovieClip [BrickWall] Frame 1
function Explode() {
a = 0;
while (a < 10) {
if (a < 5) {
PTC = _root.Cam.Hero.MovingCamera.Proj.attachMovie("Shrapnel", _root.Cam.Hero.MovingCamera.Proj.getNextHighestDepth(), _root.Cam.Hero.MovingCamera.Proj.getNextHighestDepth());
PTC._x = this._x;
PTC._y = this._y;
PTC._rotation = Math.random() * 359;
}
PTC = _root.Cam.Hero.MovingCamera.Harmless.attachMovie("Puff", _root.Cam.Hero.MovingCamera.Harmless.getNextHighestDepth(), _root.Cam.Hero.MovingCamera.Harmless.getNextHighestDepth());
PTC._x = (this._x + (Math.random() * 20)) - (Math.random() * 20);
PTC._y = (this._y + (Math.random() * 20)) - (Math.random() * 20);
PTC._rotation = Math.random() * 359;
a++;
}
_root.Score = _root.Score + ((_root.HitWorth * _root.PowMult) * _root.ProjMult);
PTC = _root.Cam.Hero.MovingCamera.Harmless.attachMovie("PointParticle", _root.Cam.Hero.MovingCamera.Harmless.getNextHighestDepth(), _root.Cam.Hero.MovingCamera.Harmless.getNextHighestDepth());
PTC._x = this._x;
PTC._y = this._y;
PTC.PointParticleText.text = "+" + ((_root.HitWorth * _root.PowMult) * _root.ProjMult);
if (_root.ShotSoundTime <= 0) {
_root.Shot.start();
_root.ShotSoundTime = _root.ShotSoundTime + 1;
}
_root.Cam.gotoAndPlay("CameraShake");
this.swapDepths(0);
this.removeMovieClip();
}
var PTC;
Symbol 311 MovieClip [BrickWall] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.Cam.Hero.Destroyer.Hit.hitTest(this)) {
_root.ProjMult = 1;
_root.LifeBar.Mask._xscale = _root.LifeBar.Mask._xscale - 2;
Explode();
}
if (_root.Cam.Hero.MovingCamera.Proj.hitTest((((this._x + this._parent._x) + this._parent._parent._x) + this._parent._parent._parent._x) + this._parent._parent._parent._parent._x, (((this._y + this._parent._y) + this._parent._parent._y) + this._parent._parent._parent._y) + this._parent._parent._parent._parent._y, true)) {
_root.ProjMult++;
Explode();
}
Symbol 311 MovieClip [BrickWall] Frame 3
gotoAndPlay ("Main");
Symbol 314 MovieClip [PointParticle] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
Symbol 314 MovieClip [PointParticle] Frame 3
gotoAndPlay ("Main");
Symbol 317 MovieClip [Puff] Frame 11
this.swapDepths(0);
this.removeMovieClip();
Symbol 322 MovieClip [PointPowerup] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.Cam.Hero.Destroyer.Hit.hitTest(this)) {
_root.PowMult = _root.PowMult * 2;
_root.PowTime = 300;
_root.Pop.start();
this.gotoAndPlay("Death");
}
Symbol 322 MovieClip [PointPowerup] Frame 3
gotoAndPlay ("Main");
Symbol 322 MovieClip [PointPowerup] Frame 16
this.swapDepths(0);
this.removeMovieClip();
Symbol 327 MovieClip [UberBrickPowerup] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.Cam.Hero.Destroyer.Hit.hitTest(this)) {
_root.BrickRand = 0.7;
_root.UberTime = _root.UberTime + 150;
_root.Pop.start();
this.gotoAndPlay("Death");
}
Symbol 327 MovieClip [UberBrickPowerup] Frame 3
gotoAndPlay ("Main");
Symbol 327 MovieClip [UberBrickPowerup] Frame 16
this.swapDepths(0);
this.removeMovieClip();
Symbol 331 MovieClip [Shrapnel] Frame 15
this.swapDepths(0);
this.removeMovieClip();
Symbol 336 MovieClip [LifePowerup] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.Cam.Hero.Destroyer.Hit.hitTest(this)) {
if ((_root.LifeBar.Mask._xscale + 25) <= 100) {
_root.LifeBar.Mask._xscale = _root.LifeBar.Mask._xscale + 25;
} else {
_root.LifeBar.Mask._xscale = 100;
}
_root.Pop.start();
this.gotoAndPlay("Death");
}
Symbol 336 MovieClip [LifePowerup] Frame 3
gotoAndPlay ("Main");
Symbol 336 MovieClip [LifePowerup] Frame 16
this.swapDepths(0);
this.removeMovieClip();
Symbol 341 MovieClip [TimePowerup] Frame 2
if (_root.Deleter.hitTest(this)) {
this.swapDepths(0);
this.removeMovieClip();
}
if (_root.Cam.Hero.Destroyer.Hit.hitTest(this)) {
_root.Sec = _root.Sec + 10;
if (_root.Sec > 59) {
_root.Sec = _root.Sec - 59;
_root.Min = _root.Min + 1;
}
_root.Pop.start();
this.gotoAndPlay("Death");
}
Symbol 341 MovieClip [TimePowerup] Frame 3
gotoAndPlay ("Main");
Symbol 341 MovieClip [TimePowerup] Frame 16
this.swapDepths(0);
this.removeMovieClip();
Symbol 344 MovieClip [Square] Frame 3
gotoAndPlay ("Main");
Symbol 350 MovieClip [Bomb] Frame 1
var PTC;
Symbol 350 MovieClip [Bomb] Frame 2
if (this.Bomb.hitTest(_root.CamShaker.Cam.Surfer) && (this._parent._parent._xscale > 200)) {
a = 0;
while (a < 20) {
PTC = _root.CamShaker.Cam.Squares.attachMovie("FlameShot", _root.CamShaker.Cam.Squares.getNextHighestDepth(), _root.CamShaker.Cam.Squares.getNextHighestDepth());
PTC._x = 0;
PTC._y = 0;
PTC._rotation = Math.random() * 359;
a++;
}
_root.Score = _root.Score + _root.RedOrbPoints;
if (_root.Score < 0) {
_root.Score = 0;
}
if (_root.SoundTime <= 0) {
_root.Impact.start();
_root.SoundTime = _root.SoundTime + 1;
}
_root.Orbs = _root.Orbs - 1;
_root.BackLight.gotoAndPlay("Red");
_root.CamShaker.gotoAndPlay("Shake");
this.swapDepths(0);
this.removeMovieClip();
}
Symbol 350 MovieClip [Bomb] Frame 3
gotoAndPlay ("Main");
Symbol 353 MovieClip [FlameShot] Frame 1
if (Math.random() < 0.3) {
gotoAndPlay ("Out");
}
if (Math.random() < 0.3) {
gotoAndPlay ("In");
}
Symbol 353 MovieClip [FlameShot] Frame 11
this.swapDepths(0);
this.removeMovieClip();
Symbol 353 MovieClip [FlameShot] Frame 23
this.swapDepths(0);
this.removeMovieClip();
Symbol 353 MovieClip [FlameShot] Frame 35
this.swapDepths(0);
this.removeMovieClip();
Symbol 356 MovieClip [GreenOrb] Frame 1
var PTC;
Symbol 356 MovieClip [GreenOrb] Frame 2
if (this.Orb.hitTest(_root.CamShaker.Cam.Surfer) && (this._parent._parent._xscale > 200)) {
a = 0;
while (a < 20) {
PTC = _root.CamShaker.Cam.Squares.attachMovie("GreenShot", _root.CamShaker.Cam.Squares.getNextHighestDepth(), _root.CamShaker.Cam.Squares.getNextHighestDepth());
PTC._x = 0;
PTC._y = 0;
PTC._rotation = Math.random() * 359;
a++;
}
if (_root.SoundTime <= 0) {
_root.Hit.start();
_root.SoundTime = _root.SoundTime + 1;
}
_root.Score = _root.Score + _root.GreenOrbPoints;
_root.Orbs = _root.Orbs - 1;
_root.BackLight.gotoAndPlay("Green");
_root.CamShaker.gotoAndPlay("Shake");
this.swapDepths(0);
this.removeMovieClip();
}
Symbol 356 MovieClip [GreenOrb] Frame 3
gotoAndPlay ("Main");
Symbol 359 MovieClip [GreenShot] Frame 1
if (Math.random() < 0.3) {
gotoAndPlay ("Out");
}
if (Math.random() < 0.3) {
gotoAndPlay ("In");
}
Symbol 359 MovieClip [GreenShot] Frame 11
this.swapDepths(0);
this.removeMovieClip();
Symbol 359 MovieClip [GreenShot] Frame 23
this.swapDepths(0);
this.removeMovieClip();
Symbol 359 MovieClip [GreenShot] Frame 35
this.swapDepths(0);
this.removeMovieClip();
Symbol 362 MovieClip [PowerupOrb] Frame 1
var PTC;
var Rand;
Symbol 362 MovieClip [PowerupOrb] Frame 2
if (this.Orb.hitTest(_root.CamShaker.Cam.Surfer) && (this._parent._parent._xscale > 200)) {
a = 0;
while (a < 20) {
PTC = _root.CamShaker.Cam.Squares.attachMovie("BlueShot", _root.CamShaker.Cam.Squares.getNextHighestDepth(), _root.CamShaker.Cam.Squares.getNextHighestDepth());
PTC._x = 0;
PTC._y = 0;
PTC._rotation = Math.random() * 359;
a++;
}
if (_root.SoundTime <= 0) {
_root.Shot.start();
_root.SoundTime = _root.SoundTime + 1;
}
Rand = Math.ceil(Math.random() * 4);
if (Rand == 1) {
_root.NoRed = true;
_root.PowerupTimer = 150;
_root.TextTimer = 60;
_root.PowerupText.text = "No Bombs!!";
}
if (Rand == 2) {
_root.TextTimer = 60;
_root.PowerupText.text = "10 Orbs Added!";
_root.Orbs = _root.Orbs + 10;
}
if (Rand == 3) {
_root.TextTimer = 60;
_root.PowerupText.text = "Score +1000!";
_root.Score = _root.Score + 1000;
}
if (Rand == 4) {
_root.GreenPulse = true;
_root.PowerupTimer = 30;
_root.TextTimer = 60;
_root.PowerupText.text = "Green Pulse!";
}
_root.BackLight.gotoAndPlay("Blue");
_root.CamShaker.gotoAndPlay("Shake");
this.swapDepths(0);
this.removeMovieClip();
}
Symbol 362 MovieClip [PowerupOrb] Frame 3
gotoAndPlay ("Main");
Symbol 365 MovieClip [BlueShot] Frame 1
if (Math.random() < 0.3) {
gotoAndPlay ("Out");
}
if (Math.random() < 0.3) {
gotoAndPlay ("In");
}
Symbol 365 MovieClip [BlueShot] Frame 26
this.swapDepths(0);
this.removeMovieClip();
Symbol 365 MovieClip [BlueShot] Frame 53
this.swapDepths(0);
this.removeMovieClip();
Symbol 365 MovieClip [BlueShot] Frame 80
this.swapDepths(0);
this.removeMovieClip();
Symbol 367 MovieClip [Fairy] Frame 1
var Speed = 10;
var Ease = 60;
var Bounce = 0;
var Enemy;
var Damage = 3;
var Col = new Object();
var ColImt = new Color(Graphic.Body);
var SpkCol;
var AttackPathArray = new Array();
var AttackShapeArray = new Array();
var ID = 0;
var PTCStrength = 100;
var PTCSpeed = 100;
var NextX = (Math.random() * Stage.width);
var NextY = (Math.random() * Stage.height);
var a = 0;
var b = 0;
var rand = 0;
var LifeBar;
var Dead = false;
var PTC;
Symbol 367 MovieClip [Fairy] Frame 2
if (_root.Ready) {
PTC = _root.Harmless.attachMovie("Sparkle", _root.Harmless.getNextHighestDepth(), _root.Harmless.getNextHighestDepth());
PTC._x = (this._x + (Math.random() * 50)) - (Math.random() * 50);
PTC._y = (this._y + (Math.random() * 50)) - (Math.random() * 50);
SpkCol = new Color(PTC);
SpkCol.setTransform(Col);
if ((((this._x < (NextX + Ease)) && (this._x > (NextX - Ease))) && (this._y < (NextY + Ease))) && (this._y > (NextY - Ease))) {
NextY = Math.random() * Stage.height;
NextX = Math.random() * Stage.width;
}
Bounce = (Math.abs(this._x - (this._x + ((NextX - this._x) / Speed))) + Math.abs(this._y - (this._y + ((NextY - this._y) / Speed)))) * 2;
this._x = this._x + ((NextX - this._x) / Speed);
this._y = this._y + ((NextY - this._y) / Speed);
Graphic.Wings._x = -(((Enemy._x - this._x) * (Graphic.Body._width / 1.5)) / Stage.width);
Graphic.Eyes._x = ((Enemy._x - this._x) * (Graphic.Body._width / 1.5)) / Stage.width;
Graphic.Wings._y = -(((Enemy._y - this._y) * (Graphic.Body._height / 1.5)) / Stage.height);
Graphic.Eyes._y = ((Enemy._y - this._y) * (Graphic.Body._height / 1.5)) / Stage.height;
a = 0;
while (a < _root.Fairy.length) {
if (_root.Fairy[a] != this) {
if (this.hitTest(_root.Fairy[a])) {
b = 1;
while (b <= 10) {
PTC = _root.Harmless.attachMovie("Hit", _root.Harmless.getNextHighestDepth(), _root.Harmless.getNextHighestDepth());
PTC._x = this._x;
PTC._y = this._y;
PTC._rotation = 36 * b;
b++;
}
_root.FireworkArray[Math.floor(Math.random() * 3)].start();
NextX = this._x + ((this._x - _root.Fairy[a]._x) * 6);
NextY = this._y + ((this._y - _root.Fairy[a]._y) * 6);
LifeBar._xscale = LifeBar._xscale - Damage;
}
if (_root.AttackHolder[a].hitTest(this._x, this._y, true)) {
b = 1;
while (b <= 10) {
PTC = _root.Harmless.attachMovie("Hit", _root.Harmless.getNextHighestDepth(), _root.Harmless.getNextHighestDepth());
PTC._x = this._x;
PTC._y = this._y;
PTC._rotation = 36 * b;
b++;
}
_root.FireworkArray[Math.floor(Math.random() * 3)].start();
NextX = NextX + ((this._x - NextX) * 4);
NextY = NextY + ((this._y - NextY) * 4);
LifeBar._xscale = LifeBar._xscale - Damage;
}
}
a++;
}
if ((this._y + this._height) > Stage.height) {
NextY = this._y - Bounce;
}
if ((this._y - this._height) < 0) {
NextY = this._y + Bounce;
}
if ((this._x + this._width) > Stage.width) {
NextX = this._x - Bounce;
}
if ((this._x - this._width) < 0) {
NextX = this._x + Bounce;
}
a = 1;
while (a <= 5) {
if (Math.random() < (PTCSpeed / 1500)) {
_root.FireworkArray[Math.floor(Math.random() * 3)].start();
rand = Math.random() * 360;
b = 1;
while (b <= Math.round(PTCStrength / 4)) {
_root.PTC = _root.AttackHolder[ID].attachMovie("Particle", _root.AttackHolder[ID].getNextHighestDepth(), _root.AttackHolder[ID].getNextHighestDepth());
_root.PTC.gotoAndPlay(AttackPathArray[a]);
_root.PTC.Shape.gotoAndStop(AttackShapeArray[a]);
_root.PTC._x = this._x;
_root.PTC._y = this._y;
_root.PTC._rotation = ((b * 360) / Math.round(PTCStrength / 5)) + rand;
b++;
}
}
a++;
}
if (LifeBar._xscale <= 0) {
b = 1;
while (b <= 100) {
_root.PTC = _root.Harmless.attachMovie("DeathHit", _root.Harmless.getNextHighestDepth(), _root.Harmless.getNextHighestDepth());
_root.PTC._x = (this._x + (Math.random() * 100)) - (Math.random() * 100);
_root.PTC._y = (this._y + (Math.random() * 100)) - (Math.random() * 100);
_root.PTC._rotation = Math.random() * 360;
b++;
}
this.gotoAndStop("Pause");
this._x = -100;
this._y = -100;
Dead = true;
LifeBar.swapDepths(0);
LifeBar.removeMovieClip();
}
if (Enemy.Dead == true) {
a = 1;
while (a <= _root.FairyNumber) {
if ((_root.Fairy[a] != this) && (_root.Fairy[a].Dead == false)) {
Enemy = _root.Fairy[a];
}
if ((a == _root.FairyNumber) && (Enemy.Dead == true)) {
_root.Victory(ID);
}
a++;
}
}
}
Symbol 367 MovieClip [Fairy] Frame 3
gotoAndPlay ("Main");
Symbol 370 MovieClip [Hit] Frame 36
this.swapDepths(0);
this.removeMovieClip();
Symbol 382 MovieClip [Particle] Frame 34
this.swapDepths(0);
this.removeMovieClip();
Symbol 382 MovieClip [Particle] Frame 77
this.swapDepths(0);
this.removeMovieClip();
Symbol 382 MovieClip [Particle] Frame 131
this.swapDepths(0);
this.removeMovieClip();
Symbol 382 MovieClip [Particle] Frame 174
this.swapDepths(0);
this.removeMovieClip();
Symbol 382 MovieClip [Particle] Frame 220
this.swapDepths(0);
this.removeMovieClip();
Instance of Symbol 386 MovieClip "Slider" in Symbol 389 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.Bar._x + (this._parent.Bar._width / 2))) {
this._x = this._parent.Bar._x + (this._parent.Bar._width / 2);
}
if (this._x < (this._parent.Bar._x - (this._parent.Bar._width / 2))) {
this._x = this._parent.Bar._x - (this._parent.Bar._width / 2);
}
this._y = this._parent.Bar._y;
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 3
stop();
Symbol 407 MovieClip Frame 4
stop();
Symbol 407 MovieClip Frame 5
stop();
Instance of Symbol 407 MovieClip "Attack1Placer" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
var ID = 1;
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Square.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Square";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Circle.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Circle";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Ring.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Ring";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Teardrop.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Star.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Star";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack2Placer" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
var ID = 2;
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Square.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Square";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Circle.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Circle";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Ring.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Ring";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Teardrop.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Star.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Star";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack3Placer" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
var ID = 3;
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Square.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Square";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Circle.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Circle";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Ring.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Ring";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Teardrop.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Star.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Star";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack4Placer" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
var ID = 4;
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Square.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Square";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Circle.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Circle";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Ring.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Ring";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Teardrop.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Star.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Star";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack5Placer" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
var ID = 5;
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Square.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Square";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Circle.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Circle";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Ring.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Ring";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Teardrop.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Teardrop";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
if (this._parent.Star.hitTest(this)) {
this._parent._parent.AttackShapeArray[ID] = "Star";
this.gotoAndStop(this._parent._parent.AttackShapeArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack1Placer" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
var ID = 1;
this._parent._parent.AttackPathArray[ID] = "Straight";
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Curved.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Curved";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Flower.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Flower";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Loop.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Loop";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Straight.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Straight";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.ZigZag.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "ZigZag";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack2Placer" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
var ID = 2;
this._parent._parent.AttackPathArray[ID] = "Straight";
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Curved.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Curved";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Flower.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Flower";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Loop.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Loop";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Straight.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Straight";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.ZigZag.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "ZigZag";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack3Placer" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
var ID = 3;
this._parent._parent.AttackPathArray[ID] = "Straight";
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Curved.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Curved";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Flower.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Flower";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Loop.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Loop";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Straight.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Straight";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.ZigZag.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "ZigZag";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack4Placer" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
var ID = 4;
this._parent._parent.AttackPathArray[ID] = "Straight";
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Curved.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Curved";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Flower.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Flower";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Loop.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Loop";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Straight.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Straight";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.ZigZag.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "ZigZag";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
}
Instance of Symbol 407 MovieClip "Attack5Placer" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
var ID = 5;
this._parent._parent.AttackPathArray[ID] = "Straight";
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this._x > (this._parent.DragBounds._x + (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x + (this._parent.DragBounds._width / 2);
}
if (this._x < (this._parent.DragBounds._x - (this._parent.DragBounds._width / 2))) {
this._x = this._parent.DragBounds._x - (this._parent.DragBounds._width / 2);
}
if (this._y > (this._parent.DragBounds._y + (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y + (this._parent.DragBounds._height / 2);
}
if (this._y < (this._parent.DragBounds._y - (this._parent.DragBounds._height / 2))) {
this._y = this._parent.DragBounds._y - (this._parent.DragBounds._height / 2);
}
if (this._parent.Curved.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Curved";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Flower.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Flower";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Loop.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Loop";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.Straight.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "Straight";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
if (this._parent.ZigZag.hitTest(this)) {
this._parent._parent.AttackPathArray[ID] = "ZigZag";
this.gotoAndStop(this._parent._parent.AttackPathArray[ID]);
}
}
Symbol 415 Button
on (release) {
_root.DeleteFairy(ID);
}
Symbol 419 MovieClip [Gadget] Frame 1
var AttackPathArray = new Array();
var AttackShapeArray = new Array();
var ID = 0;
Instance of Symbol 384 MovieClip in Symbol 419 MovieClip [Gadget] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this._parent);
this._parent.swapDepths(this._parent._parent.getNextHighestDepth());
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Symbol 419 MovieClip [Gadget] Frame 3
gotoAndPlay ("Main");
Symbol 421 MovieClip [DeathHit] Frame 36
this.swapDepths(0);
this.removeMovieClip();
Symbol 422 MovieClip [Sparkle] Frame 31
this.swapDepths(0);
this.removeMovieClip();
Symbol 425 MovieClip [MMParticle] Frame 81
this.swapDepths(0);
this.removeMovieClip();
Symbol 433 MovieClip Frame 2
gotoAndPlay ("Normal");
Symbol 433 MovieClip Frame 7
gotoAndPlay ("Normal");
Symbol 433 MovieClip Frame 12
gotoAndPlay ("Normal");
Symbol 433 MovieClip Frame 17
gotoAndPlay ("Normal");
Symbol 437 MovieClip Frame 2
if (Key.isDown(37) && (this._rotation > -45)) {
this._rotation = this._rotation - 5;
}
if (Key.isDown(39) && (this._rotation < 45)) {
this._rotation = this._rotation + 5;
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
this._rotation = this._rotation - (5 * (this._rotation / Math.abs(this._rotation)));
}
this.Burners._yscale = ((_root.CamShaker.Cam.Speed - 1) * 100) / (_root.CamShaker.Cam.MaxSpeed - 1);
Symbol 437 MovieClip Frame 3
gotoAndPlay ("Main");
Symbol 438 MovieClip Frame 1
function Colorize(Num) {
var _local1 = new Object();
_local1.ga = 0;
if (Num > (SquareNumber / 2)) {
_local1.ra = 100 - Math.round(((SquareNumber - Num) * 200) / SquareNumber);
_local1.ba = Math.round(((SquareNumber - Num) * 100) / SquareNumber);
_local1.aa = 100;
} else {
_local1.ra = 100 - Math.round((Num * 200) / SquareNumber);
_local1.ba = Math.round((Num * 100) / SquareNumber);
_local1.aa = 100;
}
ColorArray[Num].setTransform(_local1);
}
var SquareNumber = 40;
var SquareSpacing = 1.2;
var MaxSpeed = 1.2;
var Speed = 1.01;
var Dodge = 0.25;
var CurrentSquare = 31;
var OuterSquare = 800;
Rotation = 3;
var GreenStreamX = ((Math.random() * 9999) - (Math.random() * 9999));
var GreenStreamY = ((Math.random() * 9999) - (Math.random() * 9999));
var PTC;
SquareArray = new Array(SquareNumber);
ParticleArray = new Array(SquareNumber);
ModX = new Array(SquareNumber);
ModY = new Array(SquareNumber);
var ModR = 0;
var a;
var b;
var FinalX = 0;
var FinalY = 0;
var MoveX = 0;
var MoveY = 0;
var NewX = 0;
var NewY = 0;
ColorArray = new Array(SquareNumber);
a = 1;
while (a < SquareNumber) {
SquareArray[a] = this.Squares.attachMovie("Square", "Square" + a, this.Squares.getNextHighestDepth());
SquareArray[a]._xscale = SquareArray[a - 1]._xscale * SquareSpacing;
ModX[a] = NewX;
ModY[a] = NewY;
if ((a == 1) || (a == 0)) {
SquareArray[a]._xscale = 1;
}
SquareArray[a]._yscale = SquareArray[a]._xscale;
SquareArray[a]._x = 0;
SquareArray[a]._y = 0;
ColorArray[a] = new Color(SquareArray[a].Square);
ParticleArray[a] = SquareArray[a].createEmptyMovieClip("PARTICLEZZZ", SquareArray[a].getNextHighestDepth());
b = 0;
while (b < (Math.random() * 5)) {
PTC = ParticleArray[a].attachMovie("Star", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Star._x = SquareArray[a].Square._width + (Math.random() * 3000);
PTC._rotation = Math.random() * 359;
b++;
}
Colorize(a);
a++;
}
Symbol 438 MovieClip Frame 2
a = 1;
while (a < SquareNumber) {
Colorize(a);
if (SquareArray[a]._xscale <= Math.pow(SquareSpacing, SquareNumber - 1)) {
SquareArray[a]._xscale = SquareArray[a]._xscale * Speed;
SquareArray[a]._yscale = SquareArray[a]._xscale;
FinalX = (ModX[a] + MoveX) * SquareArray[a]._xscale;
FinalY = (ModY[a] + MoveY) * SquareArray[a]._yscale;
FinalX = FinalX * Speed;
FinalY = FinalY * Speed;
SquareArray[a]._x = FinalX;
SquareArray[a]._y = FinalY;
SquareArray[a]._rotation = ModR;
} else {
SquareArray[a].clear();
SquareArray[a]._xscale = 1;
SquareArray[a]._yscale = 1;
ModX[a] = NewX;
ModY[a] = NewY;
SquareArray[a]._rotation = ModR;
if (CurrentSquare != 1) {
CurrentSquare--;
} else {
CurrentSquare = SquareNumber - 1;
}
b = a;
while (b <= (a + SquareNumber)) {
if (b <= SquareNumber) {
SquareArray[b].swapDepths(SquareArray[b]._parent.getNextHighestDepth());
} else {
SquareArray[b - SquareNumber].swapDepths(SquareArray[b - SquareNumber]._parent.getNextHighestDepth());
}
b++;
}
ParticleArray[a].swapDepths(0);
ParticleArray[a].removeMovieClip();
ParticleArray[a] = SquareArray[a].createEmptyMovieClip("PARTICLEZZZ", SquareArray[a].getNextHighestDepth());
if (_root.Ready == true) {
if ((_root.NoRed == false) && ((((SquareArray[CurrentSquare]._y > OuterSquare) || (SquareArray[CurrentSquare]._y < (-OuterSquare))) || (SquareArray[CurrentSquare]._x > OuterSquare)) || (SquareArray[CurrentSquare]._x < (-OuterSquare)))) {
b = 0;
while (b < Math.ceil(Math.random() * 4)) {
PTC = ParticleArray[a].attachMovie("Bomb", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Bomb._x = (((-((ModX[CurrentSquare] + MoveX) * 100)) * Speed) + (Math.random() * 100)) - (Math.random() * 100);
PTC.Bomb._y = (((-((ModY[CurrentSquare] + MoveY) * 100)) * Speed) + (Math.random() * 100)) - (Math.random() * 100);
PTC._rotation = -ModR;
b++;
}
}
GreenStreamX = GreenStreamX + ((Math.random() * 30) - (Math.random() * 30));
GreenStreamY = GreenStreamY + ((Math.random() * 30) - (Math.random() * 30));
if ((GreenStreamX > (OuterSquare * 4)) || (GreenStreamX < ((-OuterSquare) * 4))) {
GreenStreamX = GreenStreamX / 4;
}
if ((GreenStreamY > (OuterSquare * 4)) || (GreenStreamY < ((-OuterSquare) * 4))) {
GreenStreamY = GreenStreamY / 4;
}
if (Math.random() < 0.001) {
GreenStreamX = (Math.random() * 2000) - (Math.random() * 2000);
GreenStreamY = (Math.random() * 2000) - (Math.random() * 2000);
}
PTC = ParticleArray[a].attachMovie("GreenOrb", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Orb._x = GreenStreamX + (Math.random() * 100);
PTC.Orb._y = GreenStreamY + (Math.random() * 100);
if (_root.GreenPulse == true) {
b = 0;
while (b < 10) {
PTC = ParticleArray[a].attachMovie("GreenOrb", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Orb._x = GreenStreamX + (Math.random() * 200);
PTC.Orb._y = GreenStreamY + (Math.random() * 200);
b++;
}
}
if (Math.random() < 0.01) {
PTC = ParticleArray[a].attachMovie("PowerupOrb", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Orb._x = GreenStreamX + (Math.random() * 100);
PTC.Orb._y = GreenStreamY + (Math.random() * 100);
}
PTC = ParticleArray[a].attachMovie("GreenOrb", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Orb._x = OuterSquare + (Math.random() * 500);
PTC.Orb._y = OuterSquare + (Math.random() * 500);
PTC._rotation = Math.random() * 359;
}
b = 0;
while (b < (10 + (Math.random() * 10))) {
PTC = ParticleArray[a].attachMovie("Star", ParticleArray[a].getNextHighestDepth(), ParticleArray[a].getNextHighestDepth());
PTC.Star._x = SquareArray[a].Square._width + (Math.random() * 3500);
PTC._rotation = Math.random() * 359;
b++;
}
}
a++;
}
if (Key.isDown(38) && (MoveY < 30)) {
MoveY = MoveY + Dodge;
}
if (Key.isDown(40) && (MoveY > -30)) {
MoveY = MoveY + (-Dodge);
}
if (Key.isDown(37) && (MoveX < 30)) {
MoveX = MoveX + Dodge;
}
if (Key.isDown(39) && (MoveX > -30)) {
MoveX = MoveX + (-Dodge);
}
if (Key.isDown(90)) {
ModR = ModR + Rotation;
}
if (Key.isDown(88)) {
ModR = ModR - Rotation;
}
if (Key.isDown(16) && (Speed < MaxSpeed)) {
Speed = Speed + 0.003;
}
if (Key.isDown(17) && (Speed > 1)) {
if (Speed < 1.005) {
Speed = 1;
} else {
Speed = Speed - 0.003;
}
}
Symbol 438 MovieClip Frame 3
gotoAndPlay ("Main");
Symbol 439 MovieClip Frame 2
gotoAndPlay ("Normal");
Symbol 457 Button
on (release) {
stopAllSounds();
Hit.start();
gotoAndPlay ("MMStart");
}
on (rollOver) {
Pop.start();
}
Symbol 461 Button
on (release) {
Hit.start();
gotoAndPlay ("SSBegin");
}
on (rollOver) {
Pop.start();
}
Symbol 468 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 484 Button
on (release) {
gotoAndPlay ("SSMenuMain");
}
Symbol 490 Button
on (release) {
getURL ("http://www.mofunzone.com/online_games/extreme_particle_suite.shtml", "_blank");
}
Symbol 495 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 498 Button
on (release) {
_root.BeginFight();
}
Symbol 499 Button
on (release) {
_root.NewFairy();
}
Symbol 500 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("MMStart");
}
Instance of Symbol 384 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this._parent);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Symbol 508 Button
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 512 MovieClip Frame 1
var Jump = 0;
var UpSwitch = false;
var X;
var Y;
Symbol 512 MovieClip Frame 2
if ((Key.isDown(38) && (Jump < 2)) && (UpSwitch == false)) {
UpSwitch = true;
Jump++;
Y = -80;
this.Graphic.gotoAndPlay("Jump");
}
if (!Key.isDown(38)) {
UpSwitch = false;
}
if ((Y < 50) && (Jump > 0)) {
Y = Y + 10;
}
if (((this._y + Y) > 180) && (Jump > 0)) {
this._y = 180;
Jump = 0;
Y = 0;
this.Graphic.gotoAndPlay("Run");
}
if (Key.isDown(37)) {
X = -40;
}
if (Key.isDown(39)) {
X = 40;
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
if ((X < 0) || (X > 0)) {
X = X - ((Math.abs(X) / X) * 5);
}
}
if ((this._x > ((Stage.width / 2) - 50)) && (X > 0)) {
X = 0;
}
if ((this._x < (((-Stage.width) / 2) + 50)) && (X < 0)) {
X = 0;
}
this._y = this._y + Y;
this._x = this._x + X;
Symbol 512 MovieClip Frame 3
gotoAndPlay ("Main");
Symbol 513 MovieClip Frame 1
var PTC;
a = 0;
while (a < 20) {
PTC = this.BackgroundParticles.attachMovie("BackgroundParticles", this.BackgroundParticles.getNextHighestDepth(), this.BackgroundParticles.getNextHighestDepth());
PTC._x = (Math.random() * Stage.width) - (Math.random() * Stage.width);
PTC._y = 0;
if (Math.random() > 0.5) {
PTC._x = PTC._x + (PTC._width * 2);
}
a++;
}
Symbol 513 MovieClip Frame 2
MovingCamera._x = MovingCamera._x - 30;
BackgroundParticles._x = BackgroundParticles._x - 10;
if (Math.random() < 0.1) {
PTC = this.BackgroundParticles.attachMovie("BackgroundParticles", this.BackgroundParticles.getNextHighestDepth(), this.BackgroundParticles.getNextHighestDepth());
PTC._x = ((-this.BackgroundParticles._x) + (Stage.width / 2)) + PTC._width;
PTC._y = 0;
if (Math.random() > 0.5) {
PTC._x = PTC._x + (PTC._width * 2);
}
}
if (_root.Started) {
if (Math.random() < _root.BrickRand) {
PTC = this.MovingCamera.Items.attachMovie("BrickWall", this.MovingCamera.Items.getNextHighestDepth(), this.MovingCamera.Items.getNextHighestDepth());
PTC._x = ((-this.MovingCamera._x) + (Stage.width / 2)) + PTC._width;
PTC._y = ((Math.random() * Stage.height) / 2) - ((Math.random() * Stage.height) / 2);
}
if (Math.random() < 0.003) {
PTC = this.MovingCamera.Items.attachMovie("PointPowerup", this.MovingCamera.Items.getNextHighestDepth(), this.MovingCamera.Items.getNextHighestDepth());
PTC._x = ((-this.MovingCamera._x) + (Stage.width / 2)) + PTC._width;
PTC._y = ((Math.random() * Stage.height) / 2) - ((Math.random() * Stage.height) / 2);
}
if (Math.random() < 0.001) {
PTC = this.MovingCamera.Items.attachMovie("PointPowerup2", this.MovingCamera.Items.getNextHighestDepth(), this.MovingCamera.Items.getNextHighestDepth());
PTC._x = ((-this.MovingCamera._x) + (Stage.width / 2)) + PTC._width;
PTC._y = ((Math.random() * Stage.height) / 2) - ((Math.random() * Stage.height) / 2);
}
if (Math.random() < 0.001) {
PTC = this.MovingCamera.Items.attachMovie("UberBrickPowerup", this.MovingCamera.Items.getNextHighestDepth(), this.MovingCamera.Items.getNextHighestDepth());
PTC._x = ((-this.MovingCamera._x) + (Stage.width / 2)) + PTC._width;
PTC._y = ((Math.random() * Stage.height) / 2) - ((Math.random() * Stage.height) / 2);
}
if ((Math.random() < 0.003) && (_root.Mode == "Survival")) {
PTC = this.MovingCamera.Items.attachMovie("LifePowerup", this.MovingCamera.Items.getNextHighestDepth(), this.MovingCamera.Items.getNextHighestDepth());
PTC._x = ((-this.MovingCamera._x) + (Stage.width / 2)) + PTC._width;
PTC._y = ((Math.random() * Stage.height) / 2) - ((Math.random() * Stage.height) / 2);
}
if ((Math.random() < 0.001) && (_root.Mode == "Time")) {
PTC = this.MovingCamera.Items.attachMovie("TimePowerup", this.MovingCamera.Items.getNextHighestDepth(), this.MovingCamera.Items.getNextHighestDepth());
PTC._x = ((-this.MovingCamera._x) + (Stage.width / 2)) + PTC._width;
PTC._y = ((Math.random() * Stage.height) / 2) - ((Math.random() * Stage.height) / 2);
}
}
Symbol 513 MovieClip Frame 3
gotoAndPlay ("Main");
Symbol 514 MovieClip Frame 1
var Shake = 1;
Symbol 514 MovieClip Frame 3
gotoAndPlay ("Normal");
Symbol 514 MovieClip Frame 4
if (Shake == 2) {
Shake = 1;
this.gotoAndPlay(this._currentframe + 1);
} else {
Shake = 2;
}
Symbol 518 Button
on (release) {
_root.Mode = "Time";
gotoAndPlay ("BSBegin");
_root.Shot.start();
}
on (rollOver) {
_root.Pop.start();
}
Symbol 522 Button
on (release) {
_root.Mode = "Survival";
gotoAndPlay ("BSBegin");
_root.Shot.start();
}
on (rollOver) {
_root.Pop.start();
}
Symbol 524 MovieClip Frame 77
stop();
Symbol 525 MovieClip Frame 77
stop();
Symbol 527 MovieClip Frame 77
stop();
Symbol 531 Button
on (release) {
stopAllSounds();
gotoAndPlay ("MMStart");
_root.Shot.start();
}
on (rollOver) {
_root.Pop.start();
}
Symbol 551 Button
on (release) {
getURL ("http://www.mofunzone.com/online_games/extreme_particle_suite.shtml", "_blank");
}
Symbol 555 Button
on (release) {
gotoAndPlay ("BSMenu");
}
Symbol 559 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}