Frame 1
stop();
Frame 2
Score = 0;
Strikes = 0;
P1Hit = 0;
P2Hit = 0;
Imps = 0;
LastImpKilled = getTimer();
stop();
Frame 3
GameType = 2;
MaxImps = 0;
stop();
Instance of Symbol 126 MovieClip in Frame 3
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (_root.GameType == 1) {
if ((_root.Score > 500) && (_root.Score <= 1000)) {
_root.MaxImps = 1;
} else if ((_root.Score > 1000) && (_root.Score <= 2500)) {
_root.MaxImps = 2;
} else if (_root.Score > 2500) {
_root.MaxImps = 3;
} else {
_root.MaxImps = 0;
}
}
if ((_root.Imps < _root.MaxImps) && (getTimer() > ((_root.LastImpKilled + 8000) - (_root.Score / 2)))) {
if (_root.Imp2.speed == 5) {
if (_root.Imp3.speed == 5) {
if (_root.Imp4.speed == 5) {
} else {
_root.Imp4.removeMovieClip();
_root.Imp.duplicateMovieClip("Imp4", 60000, {_x:Math.round((Math.random() * 550) + 25), _y:Math.round((Math.random() * 550) + 25), rot:Math.round(Math.random() * 360), speed:5, dangerous:0, SpawnTime:getTimer()});
_root.Imps++;
_root.LastImpKilled = getTimer() - 5000;
}
} else {
_root.Imp3.removeMovieClip();
_root.Imp.duplicateMovieClip("Imp3", 60001, {_x:Math.round((Math.random() * 550) + 25), _y:Math.round((Math.random() * 550) + 25), rot:Math.round(Math.random() * 360), speed:5, dangerous:0, SpawnTime:getTimer()});
_root.Imps++;
_root.LastImpKilled = getTimer() - 5000;
}
} else {
_root.Imp2.removeMovieClip();
_root.Imp.duplicateMovieClip("Imp2", 60002, {_x:Math.round((Math.random() * 550) + 25), _y:Math.round((Math.random() * 550) + 25), rot:Math.round(Math.random() * 360), speed:5, dangerous:0, SpawnTime:getTimer()});
_root.Imps++;
_root.LastImpKilled = getTimer() - 5000;
}
}
if (random(45 - Math.floor(_root.Score / 500)) == 0) {
a = random(4);
if (a == 0) {
xstart = -5;
ystart = random(611) - 5;
}
if (a == 1) {
xstart = 605;
ystart = random(611) - 5;
}
if (a == 2) {
xstart = random(611) - 5;
ystart = -5;
}
if (a == 3) {
xstart = random(611) - 5;
ystart = 605;
}
crot = Math.round(57.2957795130823 * Math.atan((ystart - 300) / (xstart - 300)));
if ((xstart - 300) > 0) {
crot = crot + 180;
}
if (((xstart - 300) <= 0) && ((ystart - 300) > 0)) {
crot = crot + 360;
}
crot = crot + (random(15) - 7);
cspeed = random(3) + 3;
_root.Couple.duplicateMovieClip("Couple" + i, 100 + i, {_x:xstart, _y:ystart, speed:cspeed, rot:crot, Bval:random(4), Gval:random(4)});
_root["Couple" + i].swapDepths(_root.Cupid);
i++;
}
}
Instance of Symbol 138 MovieClip "Imp" in Frame 3
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
SpawnTime = 0;
this.removeMovieClip();
}
if (speed == 5) {
if (random(3) == 0) {
if (rot == 0) {
rot = 354;
} else {
rot = rot - 6;
}
} else if (random(2) == 0) {
if (rot == 354) {
rot = 0;
} else {
rot = rot + 6;
}
}
if (SpawnTime <= (getTimer() - 3000)) {
this._alpha = 100;
dangerous = 1;
} else {
if (this._alpha == 100) {
this._alpha = 20;
} else {
this._alpha = 100;
}
dangerous = 0;
}
this._x = this._x + (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y + (speed * Math.sin((rot * Math.PI) / 180));
this._rotation = rot;
if (this.hitTest(_root.Arrow2)) {
_root.Arrow2.removeMovieClip();
speed = 2;
}
if (this._x > 570) {
this._x = 570;
if (rot >= 180) {
rot = rot - 180;
} else {
rot = rot + 180;
}
}
if (this._y > 570) {
this._y = 570;
if (rot >= 180) {
rot = rot - 180;
} else {
rot = rot + 180;
}
}
if (this._x < 30) {
this._x = 30;
if (rot >= 180) {
rot = rot - 180;
} else {
rot = rot + 180;
}
}
if (this._y < 30) {
this._y = 30;
if (rot >= 180) {
rot = rot - 180;
} else {
rot = rot + 180;
}
}
} else if (speed == 2) {
_root.ImpDeath2.removeMovieClip();
_root.ImpDeath.duplicateMovieClip("ImpDeath2", _root.getNextHighestDepth(), {_x:this._x + 10, _y:this._y + 10, _rotation:this._rotation});
this._x = -100;
this._y = -100;
_root.Score = _root.Score + 50;
_root.LastImpKilled = getTimer();
_root.Imps--;
SpawnTime = 0;
this.removeMovieClip();
} else if (speed == 6) {
_root.ImpDeath2.removeMovieClip();
_root.ImpSucceed.duplicateMovieClip("ImpDeath2", _root.getNextHighestDepth(), {_x:this._x + 10, _y:this._y + 10, _rotation:this._rotation});
this._x = -100;
this._y = -100;
_root.LastImpKilled = getTimer();
_root.Imps--;
SpawnTime = 0;
this.removeMovieClip();
}
}
Instance of Symbol 210 MovieClip "Couple" in Frame 3
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
if (speed >= 3) {
this._rotation = 90 + rot;
if (_currentframe < 3) {
this._x = this._x + (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y + (speed * Math.sin((rot * Math.PI) / 180));
}
if ((((this._x > 650) || (this._x < -50)) || (this._y > 650)) || (this._y < -50)) {
speed = 1;
}
} else if (speed == 1) {
this.removeMovieClip();
}
}
Instance of Symbol 225 MovieClip "ImpSpawn" in Frame 3
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
if (this.hitTest(_root.Arrow2)) {
_root.Arrow2.removeMovieClip();
_root.ImpDeath2.removeMovieClip();
_root.ImpDeath.duplicateMovieClip("ImpDeath2", _root.getNextHighestDepth(), {_x:this._x + 10, _y:this._y + 10, _rotation:this._rotation});
_root.Score = _root.Score + 50;
_root.LastImpKilled = getTimer();
_root.Imps--;
this.removeMovieClip();
}
}
Instance of Symbol 236 MovieClip "ImpSucceed" in Frame 3
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
}
Instance of Symbol 237 MovieClip "ImpDeath" in Frame 3
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
}
Instance of Symbol 255 MovieClip "Cupid" in Frame 3
onClipEvent (load) {
rot = 0;
speed = 8;
Justfired1 = 0;
}
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
this._rotation = rot;
if (Key.isDown(32) && ((Justfired1 + 500) < getTimer())) {
Justfired1 = getTimer();
}
if (Key.isDown(65)) {
if (rot == 0) {
rot = 354;
} else {
rot = rot - 6;
}
}
if (Key.isDown(68)) {
if (rot == 354) {
rot = 0;
} else {
rot = rot + 6;
}
}
if (Key.isDown(87)) {
this._x = this._x + (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y + (speed * Math.sin((rot * Math.PI) / 180));
}
if (Key.isDown(83)) {
this._x = this._x - (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y - (speed * Math.sin((rot * Math.PI) / 180));
}
if (this._x > 590) {
this._x = 590;
}
if (this._y > 590) {
this._y = 590;
}
if (this._x < 10) {
this._x = 10;
}
if (this._y < 10) {
this._y = 10;
}
}
Instance of Symbol 257 MovieClip "Arrow" in Frame 3
onClipEvent (load) {
}
Instance of Symbol 265 MovieClip "Cupid2" in Frame 3
onClipEvent (load) {
rot = 180;
speed = 8;
Justfired2 = 0;
}
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
this._rotation = rot;
if (Key.isDown(13) && ((Justfired2 + 500) < getTimer())) {
Justfired2 = getTimer();
}
if (Key.isDown(37)) {
if (rot == 0) {
rot = 354;
} else {
rot = rot - 6;
}
}
if (Key.isDown(39)) {
if (rot == 354) {
rot = 0;
} else {
rot = rot + 6;
}
}
if (Key.isDown(38)) {
this._x = this._x + (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y + (speed * Math.sin((rot * Math.PI) / 180));
}
if (Key.isDown(40)) {
this._x = this._x - (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y - (speed * Math.sin((rot * Math.PI) / 180));
}
if (this._x > 590) {
this._x = 590;
}
if (this._y > 590) {
this._y = 590;
}
if (this._x < 10) {
this._x = 10;
}
if (this._y < 10) {
this._y = 10;
}
}
Frame 4
GameType = 1;
stop();
Instance of Symbol 255 MovieClip "Cupid" in Frame 4
onClipEvent (load) {
rot = 0;
speed = 8;
Justfired = 0;
}
onClipEvent (enterFrame) {
if ((_root._currentframe != 3) && (_root._currentframe != 4)) {
this.removeMovieClip();
}
this._rotation = rot;
if ((Key.isDown(32) || (Key.isDown(13))) && ((Justfired + 500) < getTimer())) {
Justfired = getTimer();
}
if (Key.isDown(37) || (Key.isDown(65))) {
if (rot == 0) {
rot = 350;
} else {
rot = rot - 10;
}
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (rot == 350) {
rot = 0;
} else {
rot = rot + 10;
}
}
if (Key.isDown(38) || (Key.isDown(87))) {
this._x = this._x + (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y + (speed * Math.sin((rot * Math.PI) / 180));
}
if (Key.isDown(40) || (Key.isDown(83))) {
this._x = this._x - (speed * Math.cos((rot * Math.PI) / 180));
this._y = this._y - (speed * Math.sin((rot * Math.PI) / 180));
}
if (this._x > 590) {
this._x = 590;
}
if (this._y > 590) {
this._y = 590;
}
if (this._x < 10) {
this._x = 10;
}
if (this._y < 10) {
this._y = 10;
}
}
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Symbol 5 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 26 Button
on (release) {
gotoAndPlay (5);
}
Symbol 30 Button
on (release) {
_root.play();
}
Symbol 70 Button
on (release) {
_root.play();
}
Symbol 71 MovieClip Frame 143
_parent.play();
stop();
Symbol 96 MovieClip Frame 309
_parent.play();
Symbol 97 MovieClip Frame 1
_root.stop();
BytesLoaded = _root.getBytesLoaded();
BytesTotal = _root.getBytesTotal();
PercentLoaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
TimePassed = Math.round(getTimer() / 1000);
TimeLeft = Math.round(((Percentloaded * getTimer()) / 10) - TimePassed);
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 97 MovieClip Frame 2
gotoAndPlay (1);
Symbol 97 MovieClip Frame 3
stop();
Symbol 97 MovieClip Frame 5
stop();
Symbol 97 MovieClip Frame 6
stop();
Symbol 97 MovieClip Frame 7
_root.play();
Symbol 103 Button
on (release) {
gotoAndPlay (18);
}
Symbol 105 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 107 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 110 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 121 MovieClip Frame 17
gotoAndPlay (15);
Symbol 121 MovieClip Frame 38
gotoAndPlay (37);
Symbol 175 MovieClip Frame 1
gotoAndStop(_parent.Bval + 2);
Symbol 209 MovieClip Frame 1
gotoAndStop(_parent.Gval + 2);
Symbol 210 MovieClip Frame 1
if (this.hitTest(_root.Arrow2)) {
_root.Arrow2.removeMovieClip();
_root.P1Hit++;
gotoAndPlay (4);
} else if (this.hitTest(_root.Arrow3)) {
_root.Arrow3.removeMovieClip();
_root.P2Hit++;
gotoAndPlay (4);
}
if (this.hitTest(_root.Imp2) && (_root.Imp2.dangerous == 1)) {
_root.Imp2.speed = 6;
gotoAndPlay (26);
}
if (this.hitTest(_root.Imp3) && (_root.Imp3.dangerous == 1)) {
_root.Imp3.speed = 6;
gotoAndPlay (26);
}
if (this.hitTest(_root.Imp4) && (_root.Imp4.dangerous == 1)) {
_root.Imp4.speed = 6;
gotoAndPlay (26);
}
Symbol 210 MovieClip Frame 2
gotoAndPlay (1);
Symbol 210 MovieClip Frame 4
_root.Score = _root.Score + 100;
Symbol 210 MovieClip Frame 23
this.removeMovieClip();
stop();
Symbol 210 MovieClip Frame 26
_root.Strikes++;
Symbol 210 MovieClip Frame 34
this.removeMovieClip();
stop();
Symbol 223 MovieClip Frame 46
_parent.play();
Symbol 224 MovieClip Frame 46
_parent.play();
Symbol 225 MovieClip Frame 1
this._rotation = rot;
stop();
Symbol 225 MovieClip Frame 2
stop();
Symbol 225 MovieClip Frame 3
if (Inum == 2) {
_root.Imp2.removeMovieClip();
_root.Imp.duplicateMovieClip("Imp2", 60002, {_x:this._x, _y:this._x, rot:this._rotation, speed:5, dangerous:1});
this.removeMovieClip();
} else if (Inum == 3) {
_root.Imp3.removeMovieClip();
_root.Imp.duplicateMovieClip("Imp3", 60001, {_x:this._x, _y:this._x, rot:rot, speed:5, dangerous:1});
this.removeMovieClip();
} else if (Inum == 4) {
_root.Imp4.removeMovieClip();
_root.Imp.duplicateMovieClip("Imp4", 60000, {_x:this._x, _y:this._x, rot:rot, speed:5, dangerous:1});
this.removeMovieClip();
}
Symbol 225 MovieClip Frame 4
gotoAndPlay (3);
Symbol 236 MovieClip Frame 38
this.removeMovieClip();
Symbol 237 MovieClip Frame 29
this.removeMovieClip();
Symbol 255 MovieClip Frame 1
if ((Justfired1 > (getTimer() - 10)) || (Justfired > (getTimer() - 10))) {
gotoAndPlay (3);
}
Symbol 255 MovieClip Frame 2
gotoAndPlay (1);
Symbol 255 MovieClip Frame 8
_root.Arrow.duplicateMovieClip("Arrow2", 10, {_x:_root.Cupid._x, _y:_root.Cupid._y, _rotation:_root.Cupid.rot});
Symbol 255 MovieClip Frame 14
gotoAndPlay (1);
Symbol 257 MovieClip Frame 14
this._x = -100;
this._y = -100;
this.removeMovieClip();
Symbol 265 MovieClip Frame 1
if (Justfired2 > (getTimer() - 10)) {
gotoAndPlay (3);
}
Symbol 265 MovieClip Frame 2
gotoAndPlay (1);
Symbol 265 MovieClip Frame 8
_root.Arrow.duplicateMovieClip("Arrow3", 12, {_x:_root.Cupid2._x, _y:_root.Cupid2._y, _rotation:_root.Cupid2.rot});
Symbol 265 MovieClip Frame 14
gotoAndPlay (1);
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 10) {
this._alpha = 0;
_root.gotoAndStop(6);
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 9) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 8) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 7) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 6) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 5) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 4) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 3) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 2) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P1Hit >= 1) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 10) {
this._alpha = 0;
_root.gotoAndStop(7);
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 9) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 8) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 7) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 6) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 5) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 4) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 3) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 2) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.P2Hit >= 1) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Symbol 270 Button
on (press) {
if (_currentframe == 1) {
gotoAndStop (5);
} else {
gotoAndStop(_currentframe - 1);
}
}
Symbol 271 Button
on (press) {
if (_currentframe == 5) {
gotoAndStop (1);
} else {
gotoAndStop(_currentframe + 1);
}
}
Symbol 282 MovieClip Frame 1
stop();
Instance of Symbol 287 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Strikes >= 3) {
this._alpha = 0;
_root.gotoAndPlay(5);
} else {
this._alpha = 100;
}
}
Instance of Symbol 287 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Strikes >= 2) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
} else {
this._alpha = 100;
}
}
Instance of Symbol 287 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Strikes >= 1) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
} else {
this._alpha = 100;
}
}
Symbol 293 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 295 MovieClip Frame 17
gotoAndPlay (15);
Symbol 298 MovieClip Frame 17
gotoAndPlay (15);
Symbol 301 MovieClip Frame 17
gotoAndPlay (15);