Frame 121
FairyColor1 = new Color(Fairy1.Glow);
FairyColor2 = new Color(Fairy2.Glow);
FairyColor2.setRGB("0xff0000");
EasyColor = new Color(Easy);
MediumColor = new Color(Medium);
HardColor = new Color(Hard);
var GeneralProbability = 0.1;
_quality = "HIGH";
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.GeneralProbability = 0.5;
_root.EasyColor.setRGB(16777215);
_root.MediumColor.setRGB(16777215);
_root.HardColor.setRGB(255);
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.GeneralProbability = 0.3;
_root.EasyColor.setRGB(16777215);
_root.MediumColor.setRGB(255);
_root.HardColor.setRGB(16777215);
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.GeneralProbability = 0.1;
_root.EasyColor.setRGB(255);
_root.MediumColor.setRGB(16777215);
_root.HardColor.setRGB(16777215);
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor1.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
SetColor = new Color(this);
_root.FairyColor2.setRGB("0x" + SetColor.getRGB().toString(16));
}
}
Instance of Symbol 53 MovieClip in Frame 121
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndPlay("Begin");
}
}
Frame 123
gotoAndPlay (122);
Frame 124
function Fairy1Multiple(ParticleName, Num) {
i = 0;
while (i < 360) {
C = C + 1;
RPC = Fairy1Shots.attachMovie(ParticleName, C, C);
ParticleColor = new Color(RPC);
ParticleColor.setRGB("0x" + FairyColor1.getRGB().toString(16));
RPC._x = Fairy1._x;
RPC._y = Fairy1._y;
RPC._rotation = i;
RPC._xscale = Size;
RPC._yscale = Size;
i = i + (360 / num);
}
}
function Fairy2Multiple(ParticleName, Num) {
i = 0;
while (i < 360) {
C = C + 1;
RPC = Fairy2Shots.attachMovie(ParticleName, C, C);
ParticleColor = new Color(RPC);
ParticleColor.setRGB("0x" + FairyColor2.getRGB().toString(16));
RPC._x = Fairy2._x;
RPC._y = Fairy2._y;
RPC._rotation = i;
RPC._xscale = Size;
RPC._yscale = Size;
i = i + (360 / num);
}
}
function EmitParticle(X, Y, ParticleName, Rotate) {
C = C + 1;
RPC = Particles.attachMovie(ParticleName, C, C);
RPC._x = (X + (Math.random() * XOffset)) - (Math.random() * XOffset);
RPC._y = (Y + (Math.random() * YOffset)) - (Math.random() * YOffset);
if ((Rotate = true)) {
RPC._rotation = Math.random() * 359;
}
}
function Face(Fairy, Face) {
Fairy.Wings._x = -(((Face._x - Fairy._x) * (Fairy.Body._width / 2)) / Stage.width);
Fairy.Eyes._x = ((Face._x - Fairy._x) * (Fairy.Body._width / 2)) / Stage.width;
Fairy.Wings._y = -(((Face._y - Fairy._y) * (Fairy.Body._height / 2)) / Stage.height);
Fairy.Eyes._y = ((Face._y - Fairy._y) * (Fairy.Body._height / 2)) / Stage.height;
}
var C = 0;
var Rand = Math.ceil(Math.random() * 3);
var RPC;
var F2X = Fairy2._x;
var F2Y = Fairy2._y;
var Fairy2Hits = 0;
var Fairy1Hits = 0;
var Phase = "none";
Player1 = new Color(Leader.Player1);
Player2 = new Color(Leader.Player2);
Player1.setRGB("0x" + FairyColor1.getRGB().toString(16));
Player2.setRGB("0x" + FairyColor2.getRGB().toString(16));
var Ticker = 0;
var PlayerStrength;
var Shape = 1;
var Size;
var Path;
VictoryText._visible = false;
_quality = "LOW";
Bash = new Sound();
Bash.attachSound("BashSound");
PhotonHit = new Sound();
PhotonHit.attachSound("PhotonHitSound");
Photon = new Sound();
Photon.attachSound("PhotonSound");
Frame 125
if (Ticker >= 90) {
C = 0;
_quality = "HIGH";
gotoAndPlay (131);
}
if (Ticker <= -90) {
C = 0;
_quality = "HIGH";
gotoAndPlay (128);
}
if (Strength < 500) {
Strength = Strength + Math.ceil(Math.random() * 10);
} else {
Strength = 500;
}
StrengthTxt.text = Strength;
Leader.Line._rotation = Ticker;
Shape = Math.ceil(Math.random() * 4);
Path = Math.ceil(Math.random() * 2);
if (Math.random() <= GeneralProbability) {
Photon.start();
Size = Math.ceil(Math.random() * 400) + 100;
Fairy2Multiple("Particle", Math.ceil(Math.random() * 9) + 1);
}
if (Key.isDown(32) && (Strength > 20)) {
Photon.start();
Size = Strength + 100;
Fairy1Multiple("Particle", Math.ceil(Strength / 20) + 2);
Strength = Math.ceil(Strength * 0.75);
}
EmitParticle((Fairy1._x + ((Math.random() * Fairy1._width) / 2)) - ((Math.random() * Fairy1._width) / 2), (Fairy1._y + ((Math.random() * Fairy1._height) / 2)) - ((Math.random() * Fairy1._height) / 2), "Spark");
EmitParticle((Fairy2._x + ((Math.random() * Fairy2._width) / 2)) - ((Math.random() * Fairy2._width) / 2), (Fairy2._y + ((Math.random() * Fairy2._height) / 2)) - ((Math.random() * Fairy2._height) / 2), "Spark");
Face(Fairy1, Fairy2);
Face(Fairy2, Fairy1);
if (Fairy1.hitTest(Fairy2)) {
Bash.start();
Fairy1Hits = Fairy1Hits + 1;
Panel.Fairy1Hits.text = (Fairy1Hits + " of ") + Victory;
Fairy2Hits = Fairy2Hits + 1;
Panel.Fairy2Hits.text = (Fairy2Hits + " of ") + Victory;
EmitParticle((Fairy1._x + Fairy2._x) / 2, (Fairy1._y + Fairy2._y) / 2, "Flash");
}
if (Fairy2Shots.hitTest(Fairy1._x, Fairy1._y, true)) {
Bash.start();
Fairy1Hits = Fairy1Hits + 1;
Panel.Fairy1Hits.text = (Fairy1Hits + " of ") + Victory;
EmitParticle(Fairy1._x, Fairy1._y, "Flash");
Bash.start();
Ticker = Ticker + 0.5;
}
if (Fairy1Shots.hitTest(Fairy2._x, Fairy2._y, true)) {
Bash.start();
Fairy2Hits = Fairy2Hits + 1;
Panel.Fairy2Hits.text = (Fairy2Hits + " of ") + Victory;
EmitParticle(Fairy2._x, Fairy2._y, "Flash");
Bash.start();
Ticker = Ticker - 0.5;
}
Fairy1._x = (Fairy1._x + _xmouse) / 2;
Fairy1._y = (Fairy1._y + _ymouse) / 2;
if ((((Fairy2._x < (F2X + 60)) && (Fairy2._x > (F2X - 60))) && (Fairy2._y < (F2Y + 60))) && (Fairy2._y > (F2Y - 60))) {
F2X = Stage.width * Math.random();
F2Y = Stage.height * Math.random();
}
Fairy2._x = Fairy2._x - ((Fairy2._x - F2X) / 10);
Fairy2._y = Fairy2._y - ((Fairy2._y - F2Y) / 10);
Frame 126
gotoAndPlay (125);
Frame 128
C = C + 1;
RPC = Particles.attachMovie("Flash", C, C);
RPC._x = Math.random() * Stage.width;
RPC._y = Math.random() * Stage.height;
i = 0;
while (i < 4) {
C = C + 1;
RPC = Particles.attachMovie("Firework", C, C);
ParticleColor = new Color(RPC);
RPC._x = Math.random() * Stage.width;
RPC._y = Math.random() * Stage.height;
switch (Math.ceil(Math.random() * 3)) {
case 1 :
ParticleColor.setRGB("0xff0000");
break;
case 2 :
ParticleColor.setRGB("0x00ff00");
break;
case 3 :
ParticleColor.setRGB("0x0000ff");
}
i++;
}
Frame 129
if (C > 600) {
gotoAndPlay (121);
} else {
gotoAndPlay (128);
}
Frame 131
C = C + 5;
Frame 132
if (C > 600) {
gotoAndPlay (121);
} else {
gotoAndPlay (131);
}
Symbol 5 MovieClip [Spark] Frame 21
this.swapDepths(0);
this.removeMovieClip();
Symbol 8 MovieClip [Flash] Frame 39
this.swapDepths(0);
this.removeMovieClip();
Symbol 16 MovieClip Frame 1
if (_root.Shape == 1) {
gotoAndStop (2);
}
if (_root.Shape == 2) {
gotoAndStop (3);
}
if (_root.Shape == 3) {
gotoAndStop (4);
}
if (_root.Shape == 4) {
gotoAndStop (5);
}
Symbol 17 MovieClip [Particle] Frame 1
if (_root.Path == 1) {
gotoAndPlay (2);
}
if (_root.Path == 2) {
gotoAndPlay (37);
}
Symbol 17 MovieClip [Particle] Frame 36
this.swapDepths(0);
this.removeMovieClip();
Symbol 17 MovieClip [Particle] Frame 77
this.swapDepths(0);
this.removeMovieClip();
Symbol 18 MovieClip [Firework] Frame 31
this.swapDepths(0);
this.removeMovieClip();
Symbol 23 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 28 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.play();
}
Symbol 28 MovieClip Frame 2
gotoAndPlay (1);
Symbol 37 MovieClip Frame 2
if (Math.random() > 0.03) {
gotoAndPlay (1);
}
Symbol 44 MovieClip Frame 6
if (Math.random() > 0.5) {
gotoAndPlay (1);
}