Frame 1
function goTo() {
getURL ("http://www.MoFunZone.com");
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
this.menu = newMenu;
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stopAllSounds();
__com_mochibot__("f7f44673", this, 10301, true);
Frame 3
play();
stopAllSounds();
Frame 288
stopAllSounds();
lead = new Sound();
lead.attachSound("intro");
lead.start();
lead.setVolume(30);
_root.menuu = 1;
Instance of Symbol 157 MovieClip "star2" in Frame 288
on (press) {
startDrag (_root.star.field);
}
on (release) {
}
Instance of Symbol 160 MovieClip in Frame 288
on (press) {
getURL ("http://www.mofunzone.com", "_blank");
}
Instance of Symbol 157 MovieClip "star2" in Frame 288
on (press) {
startDrag (_root.star.field);
}
on (release) {
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 288
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.adeout.play();
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 288
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.nextFrame();
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 288
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.gotoAndStop("highscors");
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 288
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.gotoAndStop("contact");
}
Instance of Symbol 172 MovieClip in Frame 288
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
if (_root.showthis == 1) {
this._visible = eval (true)();
} else {
this._visible = eval (false)();
}
Mouse.hide();
this._x = _root._xmouse;
this.getNextHighestDepth();
}
Instance of Symbol 174 MovieClip in Frame 288
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
if (_root.showthis == 1) {
this._visible = eval (true)();
} else {
this._visible = eval (false)();
}
Mouse.hide();
this._y = _root._ymouse;
this.getNextHighestDepth();
}
Instance of Symbol 178 MovieClip in Frame 288
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 322
_global.between = 1;
Mouse.show();
_root.menuu = 1;
stop();
Instance of Symbol 165 MovieClip "tutorial" in Frame 322
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.adeout.play();
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 322
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.nextFrame();
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 322
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
getURL ("http://www.mofunzone.com/game_scores/geovector/highscores.shtml", "_blank");
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 322
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.gotoAndStop("contact");
}
Instance of Symbol 160 MovieClip in Frame 322
on (press) {
getURL ("http://www.mofunzone.com");
}
Frame 323
stop();
Instance of Symbol 165 MovieClip "tutorial" in Frame 323
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.nextFrame();
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 323
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.prevFrame();
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.play();
}
Frame 324
stop();
Instance of Symbol 165 MovieClip "tutorial" in Frame 324
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.prevFrame();
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
}
Frame 325
stop();
Frame 326
stop();
Frame 327
stop();
Instance of Symbol 165 MovieClip "tutorial" in Frame 327
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.prevFrame();
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
}
Frame 328
stop();
Instance of Symbol 165 MovieClip "tutorial" in Frame 328
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.gotoAndStop("startgamemenu");
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 328
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.prevFrame();
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
}
Frame 329
stop();
mochi.MochiScores.showLeaderboard({boardID:"2f9ed885e9ddbbff"});
Frame 330
_root.gotoAndStop("startgamemenu");
Instance of Symbol 165 MovieClip "tutorial" in Frame 331
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
_root.gotoAndStop("startgamemenu");
}
Frame 332
Mouse.hide();
_root.menuu = 1;
loadVariablesNum ("http://gamefilez.mofunzone.com/game_scores/geovector/mfz2.php", 0);
_global.startgame = 0;
_global.pawse = 0;
_global.endgame = 0;
var misses = 0;
_root.gamescore = 0;
_root.youwin = 0;
_root.scoresent = 0;
_root.hits = 0;
_root.menuu = 0;
i = 1;
_root.star2._alpha = 10;
_root.lives = 5;
_root.bluecircle = 1;
_root.bluesqure = 0;
_root.redcircle = 0;
_root.yellowcircle = 0;
onMouseDown = function () {
if (((_global.pawse == 0) && (_global.endgame == 0)) && (_global.startgame == 1)) {
_root.gun.barrel.gotoAndPlay(2);
ftstp = new Sound();
ftstp.attachSound("ftstp");
ftstp.start();
_root.misses = _root.misses + 1;
if (_root.bluecircle == 1) {
i++;
_root.blueball.duplicateMovieClip("blueball" + i, _root.getNextHighestDepth());
}
if (_root.redcircle == 1) {
i++;
_root.redball.duplicateMovieClip("redball" + i, _root.getNextHighestDepth());
}
if (_root.yellowcircle == 1) {
i++;
_root.yellowball.duplicateMovieClip("yellowball" + i, _root.getNextHighestDepth());
}
if (_root.bluesqure == 1) {
i++;
_root.bluesquare.duplicateMovieClip("bluesquare" + i, _root.getNextHighestDepth());
}
if (_root.redsqure == 1) {
i++;
_root.redsquare.duplicateMovieClip("redsquare" + i, _root.getNextHighestDepth());
}
if (_root.yellowsqure == 1) {
i++;
_root.yellowsquare.duplicateMovieClip("yellowsquare" + i, _root.getNextHighestDepth());
}
if (_root.bluetraingle == 1) {
i++;
_root.bluetriangle.duplicateMovieClip("bluetriangle" + i, _root.getNextHighestDepth());
}
if (_root.redtraingle == 1) {
i++;
_root.redtriangle.duplicateMovieClip("redtriangle" + i, _root.getNextHighestDepth());
}
if (_root.yellowtraingle == 1) {
i++;
_root.yellowtriangle.duplicateMovieClip("yellowtriangle" + i, _root.getNextHighestDepth());
}
if (i > 6) {
i = 0;
}
}
};
stop();
_root.gun.play();
Instance of Symbol 224 MovieClip "gun" in Frame 332
onClipEvent (load) {
ms = 4;
}
onClipEvent (enterFrame) {
if (_global.pawse == 0) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "blueball" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
death = 0;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 14) {
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
d++;
}
_root.blueball.death = 0;
if (death == 1) {
_root.part._x = this._x;
_root.part._y = this._y;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.blueball._visible = false;
_root.blueball._x = _root.gun._x;
_root.blueball._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 231 MovieClip "part" in Frame 332
onClipEvent (load) {
xspeed = random(6) - 3;
yspeed = random(6) - 3;
}
onClipEvent (enterFrame) {
_root.part.stop();
_root.part.xspeed = 0;
_root.part.yspeed = 0;
if (this._currentframe == 20) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_root.part.gotoAndStop(21);
}
Instance of Symbol 233 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.lives == 0) {
_global.endgame = 1;
}
_root.gamescorekeep = _root.gamescore;
if (Key.isDown(80)) {
chang = 1;
count = 0;
}
if (!Key.isDown(80)) {
if (chang == 1) {
chang = 0;
if (_global.endgame == 0) {
if (_global.pawse == 0) {
_global.pawse = 1;
_root.menuu = 1;
} else if (_global.pawse == 1) {
_global.pawse = 0;
_root.menuu = 0;
}
}
}
}
if (Key.isDown(81)) {
_root.redcircle = 0;
_root.bluecircle = 1;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(87)) {
_root.redcircle = 1;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(69)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 1;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(65)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 1;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(83)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 1;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(68)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 1;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(90)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 1;
_root.redtraingle = 0;
_root.yellowtraingle = 0;
}
if (Key.isDown(88)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 1;
_root.yellowtraingle = 0;
}
if (Key.isDown(67)) {
_root.redcircle = 0;
_root.bluecircle = 0;
_root.yellowcircle = 0;
_root.bluesqure = 0;
_root.redsqure = 0;
_root.yellowsqure = 0;
_root.bluetraingle = 0;
_root.redtraingle = 0;
_root.yellowtraingle = 1;
}
}
Instance of Symbol 226 MovieClip "redball" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
death = 0;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 14) {
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
_root.redball.death = 0;
d++;
}
if (death == 1) {
_root.partred._x = this._x;
_root.partred._y = this._y;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.redball._visible = false;
_root.redball._x = _root.gun._x;
_root.redball._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 231 MovieClip "partred" in Frame 332
onClipEvent (load) {
xspeed = random(6) - 3;
yspeed = random(6) - 3;
}
onClipEvent (enterFrame) {
_root.partred.stop();
_root.partred.xspeed = 0;
_root.partred.yspeed = 0;
if (this._currentframe == 20) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_root.partred.gotoAndStop(21);
}
Instance of Symbol 226 MovieClip "yellowball" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
death = 0;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 14) {
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
d++;
}
_root.yellowball.death = 0;
if (death == 1) {
_root.partyellow._x = this._x;
_root.partyellow._y = this._y;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.yellowball._visible = false;
_root.yellowball._x = _root.gun._x;
_root.yellowball._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 231 MovieClip "partyellow" in Frame 332
onClipEvent (load) {
xspeed = random(6) - 3;
yspeed = random(6) - 3;
}
onClipEvent (enterFrame) {
_root.partyellow.stop();
_root.partyellow.xspeed = 0;
_root.partyellow.yspeed = 0;
if (this._currentframe == 20) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_root.partyellow.gotoAndStop(21);
}
Instance of Symbol 235 MovieClip "bluesquare" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 30) {
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
_root.bluesquare.death = 0;
d++;
}
if (death == 1) {
_root.part._x = this._x;
_root.part._y = this._y;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.bluesquare._visible = false;
_root.bluesquare._x = _root.gun._x;
_root.bluesquare._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 235 MovieClip "redsquare" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 30) {
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
_root.redsquare.death = 0;
d++;
}
if (death == 1) {
_root.partred._x = this._x;
_root.partred._y = this._y;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.redsquare._visible = false;
_root.redsquare._x = _root.gun._x;
_root.redsquare._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 235 MovieClip "yellowsquare" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 30) {
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
d++;
}
_root.yellowsquare.death = 0;
if (death == 1) {
_root.partyellow._x = this._x;
_root.partyellow._y = this._y;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.yellowsquare._visible = false;
_root.yellowsquare._x = _root.gun._x;
_root.yellowsquare._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 237 MovieClip "bluetriangle" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 30) {
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
_root.bluetriangle.death = 0;
d++;
}
if (death == 1) {
_root.part._x = this._x;
_root.part._y = this._y;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
_root.part.duplicateMovieClip("part" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.bluetriangle._visible = false;
_root.bluetriangle._x = _root.gun._x;
_root.bluetriangle._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 237 MovieClip "redtriangle" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 30) {
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
_root.redtriangle.death = 0;
d++;
}
if (death == 1) {
_root.partred._x = this._x;
_root.partred._y = this._y;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
_root.partred.duplicateMovieClip("partred" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.redtriangle._visible = false;
_root.redtriangle._x = _root.gun._x;
_root.redtriangle._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 237 MovieClip "yellowtriangle" in Frame 332
onClipEvent (load) {
ms = 9;
lol = 0;
i = 1;
missratio = 0;
miss = random(missratio + 1) - (missratio / 2);
_root.whatismiss = miss;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
d = 0;
while (d < 30) {
if (this.hitTest(_root["trienemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["trienemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["squareenemyyellow" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyblue" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyred" + d].hitbox)) {
death = 1;
}
if (this.hitTest(_root["circleenemyyellow" + d].hitbox)) {
death = 1;
}
d++;
}
_root.yellowtriangle.death = 0;
if (death == 1) {
_root.partyellow._x = this._x;
_root.partyellow._y = this._y;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
_root.partyellow.duplicateMovieClip("partyellow" + i, _root.getNextHighestDepth());
i++;
this.removeMovieClip();
}
if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.gun.appear)) {
this._visible = false;
}
if (lol == 0) {
_x = _root.gun._x;
_y = _root.gun._y;
_rotation = _root.gun._rotation;
lol = 1;
}
if (lol == 1) {
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
}
}
_root.yellowtriangle._visible = false;
_root.yellowtriangle._x = _root.gun._x;
_root.yellowtriangle._y = _root.gun._y;
if (this._currentframe > 1) {
this.ms = 0;
}
if (this._currentframe == 7) {
this.removeMovieClip();
}
}
Instance of Symbol 240 MovieClip "gamemaker" in Frame 332
onClipEvent (load) {
function spawnSquareYellow() {
e++;
_root.squareenemyyellow.duplicateMovieClip("squareenemyyellow" + e, _root.getNextHighestDepth());
}
function spawnCircleYellow() {
e++;
_root.circleenemyyellow.duplicateMovieClip("circleenemyyellow" + e, _root.getNextHighestDepth());
}
function spawnCircleRed() {
e++;
_root.circleenemyred.duplicateMovieClip("circleenemyred" + e, _root.getNextHighestDepth());
}
function spawnCircleBlue() {
e++;
_root.circleenemyblue.duplicateMovieClip("circleenemyblue" + e, _root.getNextHighestDepth());
}
function spawnSquareBlue() {
e++;
_root.squareenemyblue.duplicateMovieClip("squareenemyblue" + e, _root.getNextHighestDepth());
}
function spawnSquareRed() {
e++;
_root.squareenemyred.duplicateMovieClip("squareenemyred" + e, _root.getNextHighestDepth());
}
function spawnTriangleBlue() {
e++;
_root.trienemyblue.duplicateMovieClip("trienemyblue" + e, _root.getNextHighestDepth());
}
function spawnTriangleRed() {
e++;
_root.trienemyred.duplicateMovieClip("trienemyred" + e, _root.getNextHighestDepth());
}
function spawnTriangleYellow() {
e++;
_root.trienemyyellow.duplicateMovieClip("trienemyyellow" + e, _root.getNextHighestDepth());
}
_root.levelno = 1;
_root.hits = 0;
count = 0;
level = 1;
e = 0;
}
onClipEvent (enterFrame) {
if (_root.lives < 0) {
_root.lives = 0;
}
_root.levelsDone = level;
if (((_global.pawse == 0) && (_global.endgame == 0)) && (_global.startgame == 1)) {
if (level == 1) {
count = count + 1;
} else {
count = count + 0.5;
}
}
_root.levell = level;
_root.countaa = count;
if (level == 1) {
if (count == 1) {
_root.star2._alpha = 30;
count = count + 50;
}
if (count == 60) {
spawnCircleBlue();
}
if (count == 91) {
spawnCircleBlue();
}
if (count == 120) {
spawnCircleBlue();
}
if (count == 151) {
spawnCircleBlue();
}
if (count == 179) {
spawnCircleBlue();
}
if (count == 221) {
spawnCircleBlue();
}
if (count == 251) {
spawnCircleBlue();
}
if (count == 299) {
spawnCircleBlue();
}
if (count == 351) {
spawnCircleBlue();
}
if (count == 450) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 500) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 600) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 700) {
level = 2;
count = 0;
}
}
if (level == 2) {
if (count == 1) {
_root.star2._alpha = 40;
_root.levelno = 2;
count = count + 60;
}
if (count == 80) {
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 110) {
spawnCircleBlue();
}
if (count == 140) {
spawnCircleRed();
spawnCircleRed();
}
if (count == 170) {
spawnCircleRed();
}
if (count == 200) {
spawnCircleBlue();
}
if (count == 230) {
spawnCircleRed();
}
if (count == 250) {
spawnCircleBlue();
}
if (count == 260) {
spawnCircleBlue();
}
if (count == 280) {
spawnCircleRed();
spawnCircleRed();
spawnCircleBlue();
}
if (count == 300) {
spawnCircleRed();
spawnCircleRed();
spawnCircleBlue();
}
if (count == 320) {
spawnCircleBlue();
spawnCircleRed();
spawnCircleBlue();
}
if (count == 350) {
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
}
if (count == 400) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 430) {
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 530) {
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
}
if (count == 630) {
}
if (count == 630) {
level = 3;
count = 0;
}
}
if (level == 3) {
if (count == 1) {
_root.star2._alpha = 50;
_root.levelno = 3;
count = count + 40;
}
if (count == 50) {
spawnCircleYellow();
}
if (count == 65) {
spawnCircleBlue();
}
if (count == 80) {
spawnCircleRed();
}
if (count == 95) {
spawnCircleYellow();
}
if (count == 110) {
spawnCircleBlue();
}
if (count == 125) {
spawnCircleRed();
}
if (count == 140) {
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 155) {
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 170) {
spawnCircleRed();
spawnCircleRed();
}
if (count == 200) {
spawnCircleRed();
spawnCircleYellow();
spawnCircleBlue();
}
if (count == 240) {
spawnCircleRed();
spawnCircleRed();
}
if (count == 260) {
spawnCircleYellow();
}
if (count == 280) {
spawnCircleRed();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 310) {
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 380) {
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 410) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 440) {
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
}
if (count == 480) {
spawnCircleRed();
spawnCircleBlue();
spawnCircleYellow();
}
if (count == 505) {
spawnCircleRed();
spawnCircleBlue();
spawnCircleYellow();
}
if (count == 550) {
count = 0;
level = 4;
}
}
if (level == 4) {
if (count == 1) {
_root.star2._alpha = 60;
_root.levelno = 4;
count = count + 40;
}
if (count == 60) {
spawnCircleBlue();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 91) {
spawnCircleBlue();
spawnSquareBlue();
}
if (count == 120) {
spawnCircleRed();
spawnSquareBlue();
}
if (count == 151) {
spawnCircleRed();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 179) {
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnSquareBlue();
}
if (count == 221) {
spawnCircleRed();
spawnCircleRed();
spawnSquareBlue();
}
if (count == 251) {
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 299) {
spawnCircleBlue();
}
if (count == 351) {
spawnCircleBlue();
}
if (count == 450) {
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnCircleRed();
}
if (count == 500) {
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 600) {
spawnCircleYellow();
spawnCircleRed();
spawnCircleBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 700) {
level = 5;
count = 0;
}
}
if (level == 5) {
if (count == 1) {
_root.star2._alpha = 70;
_root.levelno = 5;
count = count + 50;
}
if (count == 80) {
spawnCircleBlue();
spawnSquareRed();
spawnSquareBlue();
}
if (count == 110) {
spawnCircleYellow();
}
if (count == 140) {
spawnSquareRed();
spawnCircleRed();
}
if (count == 170) {
spawnCircleRed();
spawnCircleYellow();
spawnSquareRed();
spawnSquareRed();
}
if (count == 200) {
spawnCircleBlue();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
}
if (count == 230) {
spawnCircleRed();
spawnSquareRed();
spawnSquareRed();
}
if (count == 250) {
spawnSquareBlue();
}
if (count == 280) {
spawnSquareRed();
spawnSquareRed();
}
if (count == 300) {
spawnCircleYellow();
}
if (count == 350) {
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 400) {
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 430) {
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 580) {
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnCircleRed();
spawnCircleYellow();
spawnCircleBlue();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
}
if (count == 700) {
}
if (count == 750) {
level = 6;
count = 0;
}
}
if (level == 6) {
if (count == 1) {
_root.star2._alpha = 80;
_root.levelno = 6;
count = count + 40;
}
if (count == 50) {
spawnSquareYellow();
}
if (count == 65) {
spawnSquareBlue();
}
if (count == 80) {
spawnSquareRed();
}
if (count == 95) {
spawnSquareYellow();
}
if (count == 110) {
spawnCircleBlue();
}
if (count == 125) {
spawnCircleRed();
}
if (count == 140) {
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 155) {
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 170) {
spawnCircleRed();
spawnSquareRed();
}
if (count == 200) {
spawnCircleRed();
spawnSquareYellow();
spawnSquareBlue();
}
if (count == 240) {
spawnCircleRed();
spawnCircleRed();
}
if (count == 260) {
spawnCircleYellow();
}
if (count == 280) {
spawnCircleRed();
spawnCircleBlue();
spawnSquareBlue();
}
if (count == 310) {
spawnCircleYellow();
spawnSquareYellow();
spawnCircleYellow();
}
if (count == 380) {
spawnCircleYellow();
spawnSquareYellow();
spawnCircleYellow();
}
if (count == 410) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 440) {
spawnSquareRed();
spawnCircleRed();
spawnSquareRed();
}
if (count == 480) {
spawnSquareRed();
spawnSquareBlue();
spawnSquareYellow();
}
if (count == 505) {
spawnCircleRed();
spawnCircleBlue();
spawnCircleYellow();
}
if (count == 560) {
count = 0;
level = 7;
}
}
if (level == 7) {
if (count == 1) {
_root.star2._alpha = 85;
_root.levelno = 7;
}
if (count == 60) {
spawnTriangleBlue();
spawnTriangleBlue();
spawnSquareBlue();
}
if (count == 91) {
spawnCircleBlue();
spawnTriangleBlue();
}
if (count == 120) {
spawnCircleRed();
spawnSquareBlue();
}
if (count == 151) {
spawnCircleRed();
spawnTriangleBlue();
spawnTriangleBlue();
spawnSquareBlue();
}
if (count == 179) {
spawnCircleYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareBlue();
}
if (count == 221) {
spawnCircleRed();
spawnSquareYellow();
spawnTriangleBlue();
}
if (count == 251) {
spawnSquareYellow();
spawnCircleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
}
if (count == 299) {
spawnTriangleBlue();
}
if (count == 351) {
spawnCircleYellow();
}
if (count == 450) {
spawnSquareYellow();
spawnTriangleBlue();
spawnSquareBlue();
spawnCircleRed();
}
if (count == 500) {
spawnCircleYellow();
spawnSquareYellow();
spawnTriangleBlue();
spawnSquareYellow();
spawnSquareRed();
spawnTriangleBlue();
}
if (count == 600) {
spawnCircleYellow();
spawnCircleRed();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnSquareYellow();
spawnSquareYellow();
}
if (count == 700) {
level = 8;
count = 0;
}
}
if (level == 8) {
if (count == 1) {
_root.star2._alpha = 90;
_root.levelno = 8;
count = count + 50;
}
if (count == 80) {
spawnCircleBlue();
spawnTriangleRed();
spawnTriangleBlue();
}
if (count == 110) {
spawnCircleYellow();
}
if (count == 140) {
spawnSquareRed();
spawnSquareBlue();
}
if (count == 170) {
spawnTriangleRed();
spawnCircleYellow();
spawnSquareBlue();
spawnTriangleRed();
}
if (count == 200) {
spawnCircleBlue();
spawnSquareBlue();
spawnTriangleBlue();
spawnSquareRed();
}
if (count == 230) {
spawnTriangleRed();
spawnTriangleRed();
spawnSquareBlue();
}
if (count == 250) {
spawnTriangleBlue();
}
if (count == 280) {
spawnCircleRed();
spawnSquareRed();
}
if (count == 300) {
spawnCircleYellow();
spawnTriangleRed();
spawnTriangleRed();
}
if (count == 350) {
spawnCircleYellow();
spawnCircleYellow();
spawnTriangleRed();
}
if (count == 400) {
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 430) {
spawnTriangleRed();
spawnTriangleRed();
spawnSquareRed();
spawnSquareRed();
spawnCircleYellow();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 580) {
spawnSquareBlue();
spawnSquareYellow();
spawnSquareRed();
spawnCircleBlue();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
}
if (count == 700) {
level = 9;
count = 0;
}
}
if (level == 9) {
if (count == 1) {
_root.star2._alpha = 100;
_root.levelno = 9;
count = count + 48;
}
if (count == 50) {
spawnSquareYellow();
}
if (count == 65) {
spawnCircleBlue();
}
if (count == 80) {
spawnTriangleRed();
}
if (count == 95) {
spawnCircleYellow();
}
if (count == 110) {
spawnTriangleBlue();
}
if (count == 125) {
spawnSquareRed();
}
if (count == 140) {
spawnCircleRed();
}
if (count == 155) {
spawnTriangleYellow();
}
if (count == 170) {
spawnSquareBlue();
}
if (count == 200) {
spawnCircleRed();
spawnSquareYellow();
}
if (count == 240) {
spawnCircleBlue();
spawnTriangleRed();
}
if (count == 280) {
spawnCircleYellow();
spawnSquareBlue();
}
if (count == 320) {
spawnTriangleBlue();
spawnSquareBlue();
}
if (count == 360) {
spawnCircleYellow();
spawnTriangleYellow();
}
if (count == 420) {
spawnTriangleYellow();
spawnSquareRed();
spawnCircleRed();
}
if (count == 480) {
spawnCircleYellow();
spawnTriangleBlue();
spawnSquareRed();
}
if (count == 540) {
spawnSquareBlue();
spawnCircleRed();
spawnTriangleRed();
}
if (count == 600) {
spawnTriangleYellow();
spawnCircleBlue();
spawnSquareYellow();
}
if (count == 700) {
spawnCircleRed();
spawnCircleBlue();
spawnCircleYellow();
spawnSquareRed();
spawnTriangleRed();
}
if (count == 800) {
spawnTriangleRed();
spawnTriangleYellow();
spawnCircleYellow();
spawnSquareBlue();
spawnSquareYellow();
}
if (count == 900) {
spawnCircleRed();
spawnTriangleBlue();
spawnSquareYellow();
spawnCircleBlue();
}
if (count == 1000) {
spawnCircleRed();
spawnCircleBlue();
spawnCircleYellow();
spawnSquareRed();
spawnTriangleRed();
spawnTriangleYellow();
}
if (count == 1100) {
spawnTriangleRed();
spawnTriangleYellow();
spawnCircleYellow();
spawnSquareBlue();
spawnSquareYellow();
spawnTriangleRed();
spawnTriangleYellow();
}
if (count == 1200) {
spawnCircleRed();
spawnTriangleBlue();
spawnSquareYellow();
spawnCircleBlue();
spawnCircleYellow();
spawnSquareBlue();
spawnSquareYellow();
}
if (count == 1300) {
spawnCircleRed();
spawnTriangleBlue();
spawnSquareYellow();
spawnCircleBlue();
spawnTriangleYellow();
spawnCircleRed();
spawnTriangleBlue();
spawnSquareYellow();
spawnCircleBlue();
spawnTriangleYellow();
}
if (count == 1400) {
spawnTriangleRed();
spawnCircleYellow();
spawnSquareBlue();
spawnSquareYellow();
spawnCircleRed();
spawnTriangleBlue();
spawnSquareYellow();
spawnCircleBlue();
spawnTriangleYellow();
spawnSquareRed();
spawnSquareRed();
}
if (count == 1550) {
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
spawnTriangleYellow();
}
if (count == 1650) {
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
spawnTriangleRed();
}
if (count == 1750) {
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
spawnTriangleBlue();
}
if (count == 1850) {
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
spawnSquareBlue();
}
if (count == 1950) {
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
spawnSquareRed();
}
if (count == 2050) {
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
spawnSquareYellow();
}
if (count == 2150) {
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
spawnCircleYellow();
}
if (count == 2250) {
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
spawnCircleRed();
}
if (count == 2350) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 2400) {
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
spawnCircleBlue();
}
if (count == 2550) {
_global.endgame = 1;
_root.youwin = 1;
}
}
if (e > 10) {
e = 0;
}
}
Instance of Symbol 245 MovieClip "circleenemyblue" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.circleenemyblue.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.remove == 1) {
ms = 0;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
if (_global.removee == 1) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["blueball" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingblue._x = this._x;
_root.scoreingblue._y = this._y;
f++;
f++;
_root.scoreingblue.duplicateMovieClip("scoreingblue" + f, _root.getNextHighestDepth());
_root["scoreingblue" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["blueball" + i].death = 1;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
this.ms = 0;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 231 MovieClip "bigpart" in Frame 332
onClipEvent (load) {
xspeed = random(10) - 5;
yspeed = random(10) - 5;
}
onClipEvent (enterFrame) {
_root.bigpart.stop();
_root.bigpart.xspeed = 0;
_root.bigpart.yspeed = 0;
if (this._currentframe == 20) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_root.bigpart.gotoAndStop(21);
}
Instance of Symbol 231 MovieClip "bigpartred" in Frame 332
onClipEvent (load) {
xspeed = random(10) - 5;
yspeed = random(10) - 5;
}
onClipEvent (enterFrame) {
_root.bigpartred.stop();
_root.bigpartred.xspeed = 0;
_root.bigpartred.yspeed = 0;
if (this._currentframe == 20) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_root.bigpartred.gotoAndStop(21);
}
Instance of Symbol 248 MovieClip "circleenemyred" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.circleenemyred.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["redball" + i]) && (this._currentframe < 112)) {
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingred._x = this._x;
_root.scoreingred._y = this._y;
f++;
f++;
_root.scoreingred.duplicateMovieClip("scoreingred" + f, _root.getNextHighestDepth());
_root["scoreingred" + f].scoredistshow.scorey = "+" + scoreDistance;
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
this.ms = 0;
_root["redball" + i].death = 1;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
this.ms = 0;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 251 MovieClip "circleenemyyellow" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.circleenemyyellow.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["yellowball" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingyellow._x = this._x;
_root.scoreingyellow._y = this._y;
f++;
f++;
_root.scoreingyellow.duplicateMovieClip("scoreingyellow" + f, _root.getNextHighestDepth());
_root["scoreingyellow" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["yellowball" + i].death = 1;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
this.ms = 0;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 231 MovieClip "bigpartyellow" in Frame 332
onClipEvent (load) {
xspeed = random(10) - 5;
yspeed = random(10) - 5;
}
onClipEvent (enterFrame) {
_root.bigpartyellow.stop();
_root.bigpartyellow.xspeed = 0;
_root.bigpartyellow.yspeed = 0;
if (this._currentframe == 20) {
this.removeMovieClip();
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_root.bigpartyellow.gotoAndStop(21);
}
Instance of Symbol 254 MovieClip "squareenemyblue" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.squareenemyblue.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["bluesquare" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingblue._x = this._x;
_root.scoreingblue._y = this._y;
f++;
f++;
_root.scoreingblue.duplicateMovieClip("scoreingblue" + f, _root.getNextHighestDepth());
_root["scoreingblue" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["bluesquare" + i].death = 1;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
this.ms = 0;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 257 MovieClip "squareenemyred" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.squareenemyred.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["redsquare" + i]) && (this._currentframe < 112)) {
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingred._x = this._x;
_root.scoreingred._y = this._y;
f++;
f++;
_root.scoreingred.duplicateMovieClip("scoreingred" + f, _root.getNextHighestDepth());
_root["scoreingred" + f].scoredistshow.scorey = "+" + scoreDistance;
this.gotoAndPlay(112);
this.ms = 0;
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root["redsquare" + i].death = 1;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 260 MovieClip "squareenemyyellow" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.squareenemyyellow.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["yellowsquare" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingyellow._x = this._x;
_root.scoreingyellow._y = this._y;
f++;
f++;
_root.scoreingyellow.duplicateMovieClip("scoreingyellow" + f, _root.getNextHighestDepth());
_root["scoreingyellow" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["yellowsquare" + i].death = 1;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 263 MovieClip "trienemyblue" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.trienemyblue.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["bluetriangle" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingblue._x = this._x;
_root.scoreingblue._y = this._y;
f++;
f++;
_root.scoreingblue.duplicateMovieClip("scoreingblue" + f, _root.getNextHighestDepth());
_root["scoreingblue" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["bluetriangle" + i].death = 1;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
_root.bigpart._x = this._x;
_root.bigpart._y = this._y;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
_root.bigpart.duplicateMovieClip("bigpart" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 266 MovieClip "trienemyred" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.trienemyred.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["redtriangle" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingred._x = this._x;
_root.scoreingred._y = this._y;
f++;
f++;
_root.scoreingred.duplicateMovieClip("scoreingred" + f, _root.getNextHighestDepth());
_root["scoreingred" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["redtriangle" + i].death = 1;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpartred._x = this._x;
_root.bigpartred._y = this._y;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
_root.bigpartred.duplicateMovieClip("bigpartred" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 269 MovieClip "trienemyyellow" in Frame 332
onClipEvent (load) {
f = Math.random(1000);
ms = random(10) / 10;
ms = ms + 0.7;
_root.trienemyyellow.ms = 0;
miss = 0;
scale = random(100) + 200;
this._xscale = scale;
this._yscale = scale;
spawn = random(4) + 1;
if (spawn == 1) {
this._x = random(500) + 25;
this._y = -50;
}
if (spawn == 2) {
this._x = random(500) + 25;
this._y = 450;
}
if (spawn == 3) {
this._x = -50;
this._y = random(350) + 25;
}
if (spawn == 4) {
this._x = 600;
this._y = random(350) + 25;
}
}
onClipEvent (enterFrame) {
if (_global.removee == 1) {
this.removeMovieClip();
}
if (_global.remove == 1) {
ms = 0;
}
if (_global.endgame == 1) {
ms = 0;
}
if (_global.pawse == 1) {
this._visible = false;
}
if (_global.pawse == 0) {
this._visible = true;
}
if (this._currentframe == 126) {
this.removeMovieClip();
}
i = 0;
while (i < 8) {
if (this.hitbox.hitTest(_root["yellowtriangle" + i]) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
ast = new Sound();
ast.attachSound("ast");
ast.start(0, 0);
_root.hits = _root.hits + 1;
if (this._x > _root.gun._x) {
xdist = this._x - _root.gun._x;
}
if (this._x <= _root.gun._x) {
xdist = _root.gun._x - this._x;
}
if (this._y > _root.gun._y) {
ydist = this._y - _root.gun._y;
}
if (this._y <= _root.gun._y) {
ydist = _root.gun._y - this._y;
}
scoreDistance = (ydist * ydist) + (xdist * xdist);
scoreDistance = scoreDistance / 100;
Math.round(scoreDistance);
Math.sqrt(scoreDistance);
scoreDistance = Math.round(scoreDistance);
_root.gamescore = _root.gamescore + scoreDistance;
_root.scoreingyellow._x = this._x;
_root.scoreingyellow._y = this._y;
f++;
f++;
_root.scoreingyellow.duplicateMovieClip("scoreingyellow" + f, _root.getNextHighestDepth());
_root["scoreingyellow" + f].scoredistshow.scorey = "+" + scoreDistance;
this.ms = 0;
_root["yellowtriangle" + i].death = 1;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
if (this.hitTest(_root.gun.appear) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
if (_root.lives > 0) {
_root.gun.play();
}
if (_root.hurt == 0) {
_root.lives = _root.lives - 1;
}
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
if ((ms == 0) && (this._currentframe < 112)) {
this.gotoAndPlay(112);
this.ms = 0;
_root.bigpartyellow._x = this._x;
_root.bigpartyellow._y = this._y;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
_root.bigpartyellow.duplicateMovieClip("bigpartyellow" + i, _root.getNextHighestDepth());
i++;
}
i++;
}
if (_global.pawse == 0) {
_x = ((_x + miss) + (Math.sin(_rotation * 0.01745329) * ms));
_y = ((_y + miss) + ((Math.cos(_rotation * 0.01745329) * ms) * -1));
Xd = _root.gun._x - _x;
Yd = _root.gun._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / 6.283185) + 90);
updateAfterEvent();
}
}
Instance of Symbol 157 MovieClip "star2" in Frame 332
on (press) {
startDrag (_root.star.field);
}
on (release) {
}
Instance of Symbol 293 MovieClip "scoreingblue" in Frame 332
onClipEvent (load) {
this.play();
}
onClipEvent (enterFrame) {
_root.scoreingred._visible = eval (false)();
if (this._currentframe == 49) {
this.removeMovieClip();
}
}
Instance of Symbol 293 MovieClip "scoreingyellow" in Frame 332
onClipEvent (load) {
this.play();
}
onClipEvent (enterFrame) {
_root.scoreingyellow._visible = eval (false)();
if (this._currentframe == 49) {
this.removeMovieClip();
}
}
Instance of Symbol 293 MovieClip "scoreingred" in Frame 332
onClipEvent (load) {
this.play();
}
onClipEvent (enterFrame) {
_root.scoreingblue._visible = eval (false)();
if (this._currentframe == 49) {
this.removeMovieClip();
}
}
Instance of Symbol 303 MovieClip in Frame 332
onClipEvent (load) {
played = 0;
}
onClipEvent (enterFrame) {
if ((_global.endgame == 1) && (played == 0)) {
this.play();
played = 1;
}
}
Instance of Symbol 330 MovieClip in Frame 332
onClipEvent (enterFrame) {
this.getNextHighestDepth();
updateAfterEvent();
if ((_global.pawse == 1) && (this._currentframe == 1)) {
this.play();
}
if ((_global.pawse == 0) && (this._currentframe > 1)) {
this.play();
}
}
Frame 333
Mouse.show();
_global.endgame = 1;
_root.menuu = 1;
_global.remove = 1;
stopAllSounds();
Instance of Symbol 348 MovieClip in Frame 333
onClipEvent (load) {
if (_root.youwin == 1) {
_root.gameOver = "-YOU WIN!!!-";
} else {
_root.gameOver = "-Game Over-";
}
_root.livRem = _root.lives + " lives";
_root.livesScore = ("+" + (_root.lives * 30000)) + "pts";
_root.levelsCom = _root.levelsDone + " levels";
_root.levelsScore = ("+" + (_root.levelsDone * 15000)) + "pts";
_root.accuracy = (_root.hits / _root.misses) * 100;
_root.accuracy = Math.floor(_root.accuracy);
if (_root.accuracy > 100) {
_root.accuracy = 100;
}
_root.percentageScore = (_root.hits / _root.misses) * 100;
if (_root.percentageScore > 100) {
_root.percentageScore = 100;
}
_root.percentageScore = _root.percentageScore * (_root.levelsDone * 240);
_root.percentageScore = Math.round(_root.percentageScore);
_root.finalScore = (((_root.lives * 30000) + (_root.levelsDone * 15000)) + _root.percentageScore) + _root.gamescorekeep;
_global.scoreSent = (((_root.lives * 30000) + (_root.levelsDone * 15000)) + _root.percentageScore) + _root.gamescorekeep;
_root.finalScore = _root.finalScore + " points";
_root.percentageScore = ("+" + _root.percentageScore) + "pts";
_root.accuracy = _root.accuracy + "%";
_root.gameScore = _root.gamescorekeep;
_root.gameScore = _root.gameScore + "pts";
}
Instance of Symbol 310 MovieClip in Frame 333
onClipEvent (enterFrame) {
if (_root.scoresent == 1) {
this.gotoAndStop(13);
}
}
on (rollOver) {
if (_root.scoresent == 0) {
this.gotoAndPlay(2);
}
}
on (rollOut) {
if (_root.scoresent == 0) {
this.gotoAndPlay(6);
}
}
on (press) {
if (_root.scoresent == 0) {
this.gotoAndStop(12);
}
}
on (release) {
if (_root.scoresent == 0) {
_root.gotoAndStop("higscore");
}
if (_root.scoresent == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 310 MovieClip in Frame 333
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(6);
}
on (press) {
this.gotoAndStop(12);
}
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
this.gotoAndStop(6);
}
Instance of Symbol 310 MovieClip in Frame 333
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(6);
}
on (press) {
this.gotoAndStop(12);
}
on (release) {
this.gotoAndStop(6);
_root.gotoAndPlay("zerg");
}
Instance of Symbol 157 MovieClip "star2" in Frame 333
on (press) {
startDrag (_root.star.field);
}
on (release) {
}
Frame 359
ambi = new Sound();
ambi.attachSound("ambi");
ambi.start(0, 99);
Frame 506
stop();
_root.menuu = 0;
loadVariablesNum ("http://gamefilez.mofunzone.com/game_scores/geovector/mfz.php?" + _global.scoreSent, 0);
Frame 507
_global.endgame = 1;
_root.gotoAndStop("startgame");
Frame 508
_root.menuu = 1;
_root.playertext.kerning = false;
_root.playertext = "NAME HERE";
now = new Date();
_root.epoch = now.getTime();
trace(_root.epoch);
lol = new Date();
_root.yeeear = now.getFullYear();
trace(_root.yeeear);
_root.scoresent = 1;
Instance of Symbol 157 MovieClip "star2" in Frame 508
on (press) {
startDrag (_root.star.field);
}
on (release) {
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 508
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.scoresent = 0;
_root.gotoAndStop("gameover");
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
}
Instance of Symbol 362 MovieClip in Frame 508
on (press) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Instance of Symbol 165 MovieClip "tutorial" in Frame 508
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://www.mofunzone.com/online_games/geovector.shtml", "_blank");
this.gotoAndStop(3);
}
on (release) {
this.gotoAndStop(1);
}
Frame 509
_root.gotoAndStop("gameover");
Symbol 32 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 42 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 74 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 74 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 85 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 85 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 93 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 93 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 101 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 101 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 109 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 109 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 117 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 117 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 125 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 125 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 133 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 133 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 140 MovieClip Frame 133
_root.play();
Symbol 141 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 364 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 365 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.31");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 153 MovieClip Frame 8
stop();
Symbol 156 MovieClip Frame 31
stop();
Symbol 156 MovieClip Frame 61
stop();
Symbol 157 MovieClip Frame 1
if (ozzy == undefined) {
ozzy = 1;
}
duplicateMovieClip (_root.star2.field2, field2 + ozzy, ozzy);
setProperty(_root.star2.field2, _rotation , random(360));
Instance of Symbol 156 MovieClip "field2" in Symbol 157 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.menuu == 1) && (done == undefined)) {
this.gotoAndPlay(32);
done = 1;
}
}
Symbol 157 MovieClip Frame 2
ozzy = ozzy + 1;
if (ozzy > 30) {
ozzy = 0;
}
gotoAndPlay (1);
Symbol 165 MovieClip Frame 1
stop();
stop();
Symbol 165 MovieClip Frame 2
rollover = new Sound();
rollover.attachSound("rollover");
rollover.start(0, 0);
Symbol 165 MovieClip Frame 3
db = new Sound();
db.attachSound("db");
db.start(0, 0);
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 35
_root.gotoAndPlay("startgame");
Symbol 208 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 36
stop();
Symbol 223 MovieClip Frame 30
stop();
Symbol 224 MovieClip Frame 1
stop();
_root.hurt = 0;
Symbol 224 MovieClip Frame 2
_root.hurt = 1;
if (_global.startgame == 1) {
photon = new Sound();
photon.attachSound("photon");
photon.start(0, 0);
}
Symbol 224 MovieClip Frame 36
if (_global.endgame == 1) {
this.gotoAndPlay(37);
} else {
gotoAndStop (1);
}
Symbol 224 MovieClip Frame 37
bango = new Sound();
bango.attachSound("bango");
bango.start(0, 0);
_global.remove = 1;
Symbol 224 MovieClip Frame 55
stop();
Symbol 245 MovieClip Frame 111
gotoAndPlay (1);
Symbol 245 MovieClip Frame 126
stop();
Symbol 248 MovieClip Frame 111
gotoAndPlay (1);
Symbol 248 MovieClip Frame 126
stop();
Symbol 251 MovieClip Frame 111
gotoAndPlay (1);
Symbol 251 MovieClip Frame 126
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 111
gotoAndPlay (1);
Symbol 254 MovieClip Frame 126
stop();
Symbol 257 MovieClip Frame 111
gotoAndPlay (1);
Symbol 257 MovieClip Frame 126
stop();
Symbol 260 MovieClip Frame 111
gotoAndPlay (1);
Symbol 260 MovieClip Frame 126
stop();
Symbol 263 MovieClip Frame 111
gotoAndPlay (1);
Symbol 263 MovieClip Frame 126
stop();
Symbol 266 MovieClip Frame 111
gotoAndPlay (1);
Symbol 266 MovieClip Frame 126
stop();
Symbol 269 MovieClip Frame 111
gotoAndPlay (1);
Symbol 269 MovieClip Frame 126
stop();
Symbol 272 MovieClip Frame 5
stop();
Symbol 272 MovieClip Frame 9
stop();
Symbol 275 MovieClip Frame 5
stop();
Symbol 275 MovieClip Frame 9
stop();
Symbol 278 MovieClip Frame 5
stop();
Symbol 278 MovieClip Frame 9
stop();
Instance of Symbol 272 MovieClip "yellowt" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.yellowtraingle == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.yellowtraingle == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Instance of Symbol 272 MovieClip "bluet" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.bluetraingle == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.bluetraingle == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Instance of Symbol 272 MovieClip "redt" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.redtraingle == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.redtraingle == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Instance of Symbol 275 MovieClip "yellowc" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.yellowcircle == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.yellowcircle == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Instance of Symbol 275 MovieClip "bluec" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.bluecircle == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.bluecircle == 0) && (this._currentframe > 5)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 275 MovieClip "redc" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.redcircle == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.redcircle == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Instance of Symbol 278 MovieClip "yellows" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.yellowsqure == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.yellowsqure == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Instance of Symbol 278 MovieClip "blues" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.bluesqure == 1) && (this._currentframe <= 5)) {
this.gotoAndPlay(6);
}
if (_root.bluesqure == 0) {
this.gotoAndStop(5);
}
}
Instance of Symbol 278 MovieClip "reds" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.redsqure == 1) && (this._currentframe < 6)) {
this.gotoAndPlay(6);
}
if ((_root.redsqure == 0) && (this._currentframe > 5)) {
this.gotoAndStop(5);
}
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 23
stop();
Instance of Symbol 285 MovieClip "l1" in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
done = 0;
}
onClipEvent (enterFrame) {
if ((_root.lives == 0) && (done == 0)) {
this.gotoAndPlay(2);
done = 1;
}
}
Instance of Symbol 285 MovieClip "l2" in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
done = 0;
}
onClipEvent (enterFrame) {
if ((_root.lives == 1) && (done == 0)) {
this.gotoAndPlay(2);
done = 1;
}
}
Instance of Symbol 285 MovieClip "l3" in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
done = 0;
}
onClipEvent (enterFrame) {
if ((_root.lives == 2) && (done == 0)) {
this.gotoAndPlay(2);
done = 1;
}
}
Instance of Symbol 285 MovieClip "l4" in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
done = 0;
}
onClipEvent (enterFrame) {
if ((_root.lives == 3) && (done == 0)) {
this.gotoAndPlay(2);
done = 1;
}
}
Symbol 293 MovieClip Frame 46
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 125
stop();
_root.gotoAndPlay("gameoverbegin");
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 6
stop();
Symbol 310 MovieClip Frame 11
gotoAndStop (1);
Symbol 310 MovieClip Frame 12
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
stop();
Instance of Symbol 310 MovieClip in Symbol 329 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(6);
}
on (press) {
this.gotoAndStop(12);
}
on (release) {
if (_global.pawse == 1) {
_global.remove = 1;
_root.gotoAndPlay("endstart");
}
this.gotoAndStop(6);
}
Instance of Symbol 310 MovieClip in Symbol 329 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(6);
}
on (press) {
this.gotoAndStop(12);
}
on (release) {
this.gotoAndStop(6);
if (_global.pawse == 1) {
stopAllSounds();
_global.removee == 1;
_root.gotoAndPlay("zerg");
}
}
Instance of Symbol 314 MovieClip "one" in Symbol 329 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
on (press) {
if (_global.pawse == 1) {
if ((!_global.between) == 1) {
stopAllSounds();
between = new Sound();
between.attachSound("between");
between.start(0, 0);
}
_global.jazzy = 0;
_global.long = 0;
_global.between = 1;
this.gotoAndStop(2);
this._parent.two.gotoAndStop(1);
this._parent.three.gotoAndStop(1);
this._parent.ex.gotoAndStop(1);
}
}
Instance of Symbol 314 MovieClip "two" in Symbol 329 MovieClip Frame 1
on (press) {
if (_global.pawse == 1) {
if ((!_global.long) == 1) {
stopAllSounds();
long = new Sound();
long.attachSound("long");
long.start(0, 0);
}
_global.between = 0;
_global.jazzy = 0;
_global.long = 1;
this.gotoAndStop(2);
this._parent.one.gotoAndStop(1);
this._parent.three.gotoAndStop(1);
this._parent.ex.gotoAndStop(1);
}
}
Instance of Symbol 314 MovieClip "three" in Symbol 329 MovieClip Frame 1
on (press) {
if (_global.pawse == 1) {
if ((!_global.jazzy) == 1) {
stopAllSounds();
jazzy = new Sound();
jazzy.attachSound("intro");
jazzy.start(0, 0);
}
_global.long = 0;
_global.between = 0;
_global.jazzy = 1;
this.gotoAndStop(2);
this._parent.two.gotoAndStop(1);
this._parent.one.gotoAndStop(1);
this._parent.ex.gotoAndStop(1);
}
}
Instance of Symbol 314 MovieClip "ex" in Symbol 329 MovieClip Frame 1
on (press) {
if (_global.pawse == 1) {
stopAllSounds();
_global.long = 0;
_global.between = 0;
_global.jazzy = 0;
this.gotoAndStop(2);
this._parent.two.gotoAndStop(1);
this._parent.three.gotoAndStop(1);
this._parent.one.gotoAndStop(1);
}
}
Instance of Symbol 314 MovieClip "low" in Symbol 329 MovieClip Frame 1
on (press) {
if (_global.pawse == 1) {
_quality = "LOW";
this.gotoAndStop(2);
this._parent.medium.gotoAndStop(1);
this._parent.high.gotoAndStop(1);
}
}
Instance of Symbol 314 MovieClip "medium" in Symbol 329 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
_quality = "MEDIUM";
}
on (press) {
if (_global.pawse == 1) {
_quality = "MEDIUM";
this.gotoAndStop(2);
this._parent.low.gotoAndStop(1);
this._parent.high.gotoAndStop(1);
}
}
Instance of Symbol 314 MovieClip "high" in Symbol 329 MovieClip Frame 1
on (press) {
if (_global.pawse == 1) {
_quality = "HIGH";
this.gotoAndStop(2);
this._parent.medium.gotoAndStop(1);
this._parent.low.gotoAndStop(1);
}
}
Instance of Symbol 310 MovieClip in Symbol 329 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(6);
}
on (press) {
this.gotoAndStop(12);
}
on (release) {
this.gotoAndStop(6);
if (_global.pawse == 1) {
stopAllSounds();
_global.removee == 1;
getURL ("http://www.mofunzone.com/");
}
}
Instance of Symbol 157 MovieClip "star2" in Symbol 329 MovieClip Frame 1
on (press) {
startDrag (_root.star.field);
}
on (release) {
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 4
stop();
boogie.setVolume(15);
Symbol 330 MovieClip Frame 11
boogie.setVolume(30);
Symbol 338 MovieClip Frame 1
lead.setVolume(0);
stopAllSounds();
_global.removee = 1;
Symbol 338 MovieClip Frame 56
_global.removee = 0;
Symbol 338 MovieClip Frame 82
_global.remove = 0;
lead.setVolume(50);
if (_global.jazzy == 1) {
jazzy = new Sound();
jazzy.attachSound("jazzy");
jazzy.start(0, 0);
}
if (_global.long == 1) {
long = new Sound();
long.attachSound("long");
long.start(0, 0);
}
if (_global.between == 1) {
between = new Sound();
between.attachSound("between");
between.start(0, 0);
}
Symbol 338 MovieClip Frame 90
_root.showthis = 1;
Symbol 338 MovieClip Frame 101
stop();
_global.startgame = 1;