Frame 1
function itemHandler1(obj, item) {
_quality = "LOW";
}
function itemHandler2(obj, item) {
_quality = "MEDIUM";
}
function itemHandler3(obj, item) {
_quality = "HIGH";
}
_quality = "HIGH";
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Quality -> LOW", itemHandler1);
item2 = new ContextMenuItem("Quality -> MEDIUM", itemHandler2);
item3 = new ContextMenuItem("Quality -> HIGH", itemHandler3);
myMenu.customItems.push(item1);
myMenu.customItems.push(item2);
myMenu.customItems.push(item3);
_root.menu = myMenu;
_root.musicplaying = true;
_root.conseen = false;
_root.conseen2 = false;
_root.controls = 1;
_root.difficulty = 1;
_root.gotoplace = 0;
_root.overNormal = false;
_root.overHard = false;
_root.overInsane = false;
_root.overc1 = false;
_root.overc2 = false;
_root.missToGo = 1;
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 2
Frame 3
Frame 4
stop();
Frame 5
stop();
Frame 6
var savefile = SharedObject.getLocal("mpoVersion010");
Frame 7
if (savefile.data.name1 == undefined) {
_root.name1 = "...";
} else {
_root.name1 = savefile.data.name1;
}
if (savefile.data.score1 == undefined) {
_root.score1 = 0;
} else {
_root.score1 = savefile.data.score1;
}
if (savefile.data.name2 == undefined) {
_root.name2 = "...";
} else {
_root.name2 = savefile.data.name2;
}
if (savefile.data.score2 == undefined) {
_root.score2 = 0;
} else {
_root.score2 = savefile.data.score2;
}
if (savefile.data.name3 == undefined) {
_root.name3 = "...";
} else {
_root.name3 = savefile.data.name3;
}
if (savefile.data.score3 == undefined) {
_root.score3 = 0;
} else {
_root.score3 = savefile.data.score3;
}
if (savefile.data.name4 == undefined) {
_root.name4 = "...";
} else {
_root.name4 = savefile.data.name4;
}
if (savefile.data.score4 == undefined) {
_root.score4 = 0;
} else {
_root.score4 = savefile.data.score4;
}
if (savefile.data.name5 == undefined) {
_root.name5 = "...";
} else {
_root.name5 = savefile.data.name5;
}
if (savefile.data.score5 == undefined) {
_root.score5 = 0;
} else {
_root.score5 = savefile.data.score5;
}
if (savefile.data.name6 == undefined) {
_root.name6 = "...";
} else {
_root.name6 = savefile.data.name6;
}
if (savefile.data.score6 == undefined) {
_root.score6 = 0;
} else {
_root.score6 = savefile.data.score6;
}
if (savefile.data.name7 == undefined) {
_root.name7 = "...";
} else {
_root.name7 = savefile.data.name7;
}
if (savefile.data.score7 == undefined) {
_root.score7 = 0;
} else {
_root.score7 = savefile.data.score7;
}
if (savefile.data.name8 == undefined) {
_root.name8 = "...";
} else {
_root.name8 = savefile.data.name8;
}
if (savefile.data.score8 == undefined) {
_root.score8 = 0;
} else {
_root.score8 = savefile.data.score8;
}
if (savefile.data.name9 == undefined) {
_root.name9 = "...";
} else {
_root.name9 = savefile.data.name9;
}
if (savefile.data.score9 == undefined) {
_root.score9 = 0;
} else {
_root.score9 = savefile.data.score9;
}
if (savefile.data.name10 == undefined) {
_root.name10 = "...";
} else {
_root.name10 = savefile.data.name10;
}
if (savefile.data.score10 == undefined) {
_root.score10 = 0;
} else {
_root.score10 = savefile.data.score10;
}
if (savefile.data.challenge1icon == undefined) {
_root.challenge1icon = 0;
} else {
_root.challenge1icon = savefile.data.challenge1icon;
}
if (savefile.data.challenge2icon == undefined) {
_root.challenge1icon = 0;
} else {
_root.challenge2icon = savefile.data.challenge2icon;
}
if (savefile.data.challenge3icon == undefined) {
_root.challenge3icon = 0;
} else {
_root.challenge3icon = savefile.data.challenge3icon;
}
if (savefile.data.challenge4icon == undefined) {
_root.challenge4icon = 0;
} else {
_root.challenge4icon = savefile.data.challenge4icon;
}
if (savefile.data.challenge5icon == undefined) {
_root.challenge5icon = 0;
} else {
_root.challenge5icon = savefile.data.challenge5icon;
}
if (savefile.data.level1icon == undefined) {
_root.level1icon = 0;
} else {
_root.level1icon = savefile.data.level1icon;
}
if (savefile.data.level2icon == undefined) {
_root.level2icon = 0;
} else {
_root.level2icon = savefile.data.level2icon;
}
if (savefile.data.level3icon == undefined) {
_root.level3icon = 0;
} else {
_root.level3icon = savefile.data.level3icon;
}
if (savefile.data.level4icon == undefined) {
_root.level4icon = 0;
} else {
_root.level4icon = savefile.data.level4icon;
}
if (savefile.data.level5icon == undefined) {
_root.level5icon = 0;
} else {
_root.level5icon = savefile.data.level5icon;
}
if (savefile.data.level6icon == undefined) {
_root.level6icon = 0;
} else {
_root.level6icon = savefile.data.level6icon;
}
if (savefile.data.level7icon == undefined) {
_root.level7icon = 0;
} else {
_root.level7icon = savefile.data.level7icon;
}
if (savefile.data.level8icon == undefined) {
_root.level8icon = 0;
} else {
_root.level8icon = savefile.data.level8icon;
}
if (savefile.data.level9icon == undefined) {
_root.level9icon = 0;
} else {
_root.level9icon = savefile.data.level9icon;
}
if (savefile.data.level10icon == undefined) {
_root.level10icon = 0;
} else {
_root.level10icon = savefile.data.level10icon;
}
if (savefile.data.level11icon == undefined) {
_root.level11icon = 0;
} else {
_root.level11icon = savefile.data.level11icon;
}
if (savefile.data.level12icon == undefined) {
_root.level12icon = 0;
} else {
_root.level12icon = savefile.data.level12icon;
}
if (savefile.data.level10icon == undefined) {
_root.level13icon = 0;
} else {
_root.level13icon = savefile.data.level13icon;
}
if (savefile.data.level13icon == undefined) {
_root.level13icon = 0;
} else {
_root.level13icon = savefile.data.level13icon;
}
if (savefile.data.level14icon == undefined) {
_root.level14icon = 0;
} else {
_root.level14icon = savefile.data.level14icon;
}
if (savefile.data.level15icon == undefined) {
_root.level15icon = 0;
} else {
_root.level15icon = savefile.data.level15icon;
}
if (savefile.data.levelFicon == undefined) {
_root.levelFicon = 0;
} else {
_root.levelFicon = savefile.data.levelFicon;
}
if (savefile.data.medal1 == undefined) {
_root.medal1 = false;
} else {
_root.medal1 = savefile.data.medal1;
}
if (savefile.data.medal2 == undefined) {
_root.medal2 = false;
} else {
_root.medal2 = savefile.data.medal2;
}
if (savefile.data.medal3 == undefined) {
_root.medal3 = false;
} else {
_root.medal3 = savefile.data.medal3;
}
if (savefile.data.medal4 == undefined) {
_root.medal4 = false;
} else {
_root.medal4 = savefile.data.medal4;
}
if (savefile.data.medal5 == undefined) {
_root.medal5 = false;
} else {
_root.medal5 = savefile.data.medal5;
}
if (savefile.data.medal6 == undefined) {
_root.medal6 = false;
} else {
_root.medal6 = savefile.data.medal6;
}
if (savefile.data.medal7 == undefined) {
_root.medal7 = false;
} else {
_root.medal7 = savefile.data.medal7;
}
if (savefile.data.medal8 == undefined) {
_root.medal8 = false;
} else {
_root.medal8 = savefile.data.medal8;
}
if (savefile.data.medal9 == undefined) {
_root.medal9 = false;
} else {
_root.medal9 = savefile.data.medal9;
}
if (savefile.data.medal10 == undefined) {
_root.medal10 = false;
} else {
_root.medal10 = savefile.data.medal10;
}
if (savefile.data.medal11 == undefined) {
_root.medal11 = false;
} else {
_root.medal11 = savefile.data.medal11;
}
if (savefile.data.medal12 == undefined) {
_root.medal12 = false;
} else {
_root.medal12 = savefile.data.medal12;
}
if (savefile.data.medal13 == undefined) {
_root.medal13 = false;
} else {
_root.medal13 = savefile.data.medal13;
}
if (savefile.data.medal14 == undefined) {
_root.medal14 = false;
} else {
_root.medal14 = savefile.data.medal14;
}
if (savefile.data.medal15 == undefined) {
_root.medal15 = false;
} else {
_root.medal15 = savefile.data.medal15;
}
if (savefile.data.medal16 == undefined) {
_root.medal16 = false;
} else {
_root.medal16 = savefile.data.medal16;
}
if (savefile.data.medal17 == undefined) {
_root.medal17 = false;
} else {
_root.medal17 = savefile.data.medal17;
}
if (savefile.data.medal18 == undefined) {
_root.medal18 = false;
} else {
_root.medal18 = savefile.data.medal18;
}
if (savefile.data.medalsCount == undefined) {
_root.medalsCount = 0;
} else {
_root.medalsCount = savefile.data.medalsCount;
}
Frame 8
bTutorial = false;
credscore = 0;
chall1bestScore = 0;
if (_root.chall1acc == undefined) {
_root.chall1acc = false;
}
chall2bestScore = 0;
if (_root.chall2acc == undefined) {
_root.chall1acc = false;
}
chall3bestScore = 0;
if (_root.chall3acc == undefined) {
_root.chall3acc = false;
}
chall4bestScore = 0;
if (_root.chall4acc == undefined) {
_root.chall4acc = false;
}
chall5bestScore = 0;
if (_root.chall5acc == undefined) {
_root.chall5acc = false;
}
miss1bestScore = 0;
if (_root.m1acc == undefined) {
_root.m1acc = false;
}
miss2bestScore = 0;
if (_root.m2acc == undefined) {
_root.m2acc = false;
}
miss3bestScore = 0;
if (_root.m3acc == undefined) {
_root.m3acc = false;
}
miss4bestScore = 0;
if (_root.m4acc == undefined) {
_root.m4acc = false;
}
miss5bestScore = 0;
if (_root.m5acc == undefined) {
_root.m5acc = false;
}
miss6bestScore = 0;
if (_root.m6acc == undefined) {
_root.m6acc = false;
}
miss7bestScore = 0;
if (_root.m7acc == undefined) {
_root.m7acc = false;
}
miss8bestScore = 0;
if (_root.m8acc == undefined) {
_root.m8acc = false;
}
miss9bestScore = 0;
if (_root.m9acc == undefined) {
_root.m9acc = false;
}
miss10bestScore = 0;
if (_root.m10acc == undefined) {
_root.m10acc = false;
}
miss11bestScore = 0;
if (_root.m11acc == undefined) {
_root.m11acc = false;
}
miss12bestScore = 0;
if (_root.m12acc == undefined) {
_root.m12acc = false;
}
miss13bestScore = 0;
if (_root.m13acc == undefined) {
_root.m13acc = false;
}
miss14bestScore = 0;
if (_root.m14acc == undefined) {
_root.m14acc = false;
}
miss15bestScore = 0;
if (_root.m15acc == undefined) {
_root.m15acc = false;
}
missFinalbestScore = 0;
Frame 167
stop();
_root.worldtogo = 0;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amenuloop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amenuloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 175
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 179
stop();
_root.highpressed = false;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amenuloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Frame 185
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 3) {
_root.gotoAndPlay("conbef2");
}
if (_root.gotoplace == 4) {
_root.gotoAndPlay("cred");
}
if (_root.gotoplace == 11) {
_root.gotoAndPlay("world1");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
Frame 187
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 187
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 191
_root.gotoAndStop("mainmenustop");
Frame 193
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 193
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 198
stop();
credscore = 300;
Frame 204
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 5) {
_root.gotoAndPlay("cred2");
}
Frame 206
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 206
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 211
stop();
if (_root.medal6 == false) {
_root.medal6 = true;
_root.savefile.data.medal6 = _root.medal6;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m6get");
}
Frame 217
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 4) {
_root.gotoAndPlay("cred");
}
Frame 219
_root.onEnterFrame = function () {
if (((_root.difficulty == 1) && (_root.overHard == false)) && (_root.overInsane == false)) {
_root.difNormal.gotoAndStop(3);
_root.difHard.gotoAndStop(1);
_root.difInsane.gotoAndStop(1);
}
if ((_root.difficulty == 1) && (_root.overHard == true)) {
_root.difNormal.gotoAndStop(3);
_root.difHard.gotoAndStop(2);
_root.difInsane.gotoAndStop(1);
}
if ((_root.difficulty == 1) && (_root.overInsane == true)) {
_root.difNormal.gotoAndStop(3);
_root.difHard.gotoAndStop(1);
_root.difInsane.gotoAndStop(2);
}
if (((_root.difficulty == 2) && (_root.overNormal == false)) && (_root.overInsane == false)) {
_root.difNormal.gotoAndStop(1);
_root.difHard.gotoAndStop(3);
_root.difInsane.gotoAndStop(1);
}
if ((_root.difficulty == 2) && (_root.overNormal == true)) {
_root.difNormal.gotoAndStop(2);
_root.difHard.gotoAndStop(3);
_root.difInsane.gotoAndStop(1);
}
if ((_root.difficulty == 2) && (_root.overInsane == true)) {
_root.difNormal.gotoAndStop(1);
_root.difHard.gotoAndStop(3);
_root.difInsane.gotoAndStop(2);
}
if (((_root.difficulty == 3) && (_root.overNormal == false)) && (_root.overHard == false)) {
_root.difNormal.gotoAndStop(1);
_root.difHard.gotoAndStop(1);
_root.difInsane.gotoAndStop(3);
}
if ((_root.difficulty == 3) && (_root.overNormal == true)) {
_root.difNormal.gotoAndStop(2);
_root.difHard.gotoAndStop(1);
_root.difInsane.gotoAndStop(3);
}
if ((_root.difficulty == 3) && (_root.overHard == true)) {
_root.difNormal.gotoAndStop(1);
_root.difHard.gotoAndStop(2);
_root.difInsane.gotoAndStop(3);
}
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 219
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 224
stop();
Frame 230
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
if (_root.worldtogo == 1) {
_root.gotoAndPlay("world1");
}
if (_root.worldtogo == 2) {
_root.gotoAndPlay("world2");
}
if (_root.worldtogo == 3) {
_root.gotoAndPlay("world3");
}
if (_root.worldtogo == 4) {
_root.gotoAndPlay("world4");
}
if (_root.worldtogo == 0) {
_root.gotoAndPlay("world1");
}
}
Frame 232
_root.conseen2 = true;
_root.onEnterFrame = function () {
if ((_root.controls == 1) && (_root.overc2 == false)) {
_root.controls1.gotoAndStop(3);
_root.controls2.gotoAndStop(1);
}
if ((_root.controls == 1) && (_root.overc2 == true)) {
_root.controls1.gotoAndStop(3);
_root.controls2.gotoAndStop(2);
}
if ((_root.controls == 2) && (_root.overc1 == false)) {
_root.controls1.gotoAndStop(1);
_root.controls2.gotoAndStop(3);
}
if ((_root.controls == 2) && (_root.overc1 == true)) {
_root.controls1.gotoAndStop(2);
_root.controls2.gotoAndStop(3);
}
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 232
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 237
stop();
Frame 243
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
if (_root.worldtogo == 1) {
_root.gotoAndPlay("world1");
}
if (_root.worldtogo == 2) {
_root.gotoAndPlay("world2");
}
if (_root.worldtogo == 3) {
_root.gotoAndPlay("world3");
}
if (_root.worldtogo == 4) {
_root.gotoAndPlay("world4");
}
if (_root.worldtogo == 0) {
_root.gotoAndPlay("world1");
}
}
Frame 245
_root.conseen = true;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 245
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 250
stop();
Frame 256
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
Frame 258
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 258
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 263
stop();
Frame 269
if (_root.challToGo == 1) {
_root.gotoAndPlay("challenge1");
}
if (_root.challToGo == 2) {
_root.gotoAndPlay("challenge2");
}
if (_root.challToGo == 3) {
_root.gotoAndPlay("challenge3");
}
if (_root.challToGo == 4) {
_root.gotoAndPlay("challenge4");
}
if (_root.challToGo == 5) {
_root.gotoAndPlay("challenge5");
}
Frame 271
_root.conseen2 = true;
_root.onEnterFrame = function () {
if ((_root.controls == 1) && (_root.overc2 == false)) {
_root.controls1.gotoAndStop(3);
_root.controls2.gotoAndStop(1);
}
if ((_root.controls == 1) && (_root.overc2 == true)) {
_root.controls1.gotoAndStop(3);
_root.controls2.gotoAndStop(2);
}
if ((_root.controls == 2) && (_root.overc1 == false)) {
_root.controls1.gotoAndStop(1);
_root.controls2.gotoAndStop(3);
}
if ((_root.controls == 2) && (_root.overc1 == true)) {
_root.controls1.gotoAndStop(2);
_root.controls2.gotoAndStop(3);
}
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 271
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 276
stop();
Frame 282
if (_root.missToGo == 0) {
_root.gotoAndPlay("missiontut");
}
if (_root.missToGo == 1) {
_root.gotoAndPlay("mission1");
}
if (_root.missToGo == 2) {
_root.gotoAndPlay("mission2");
}
if (_root.missToGo == 3) {
_root.gotoAndPlay("mission3");
}
if (_root.missToGo == 4) {
_root.gotoAndPlay("mission4");
}
if (_root.missToGo == 5) {
_root.gotoAndPlay("mission5");
}
if (_root.missToGo == 6) {
_root.gotoAndPlay("mission6");
}
if (_root.missToGo == 7) {
_root.gotoAndPlay("mission7");
}
if (_root.missToGo == 8) {
_root.gotoAndPlay("mission8");
}
if (_root.missToGo == 9) {
_root.gotoAndPlay("mission9");
}
if (_root.missToGo == 10) {
_root.gotoAndPlay("mission10");
}
Frame 284
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 284
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 289
stop();
if (_root.medal12 == false) {
_root.medal12 = true;
_root.savefile.data.medal12 = _root.medal12;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m12get");
}
Frame 295
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
if (_root.worldtogo == 1) {
_root.gotoAndPlay("world1");
}
if (_root.worldtogo == 2) {
_root.gotoAndPlay("world2");
}
if (_root.worldtogo == 3) {
_root.gotoAndPlay("world3");
}
if (_root.worldtogo == 4) {
_root.gotoAndPlay("world4");
}
if (_root.worldtogo == 0) {
_root.gotoAndPlay("world1");
}
}
Frame 297
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 297
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 302
medNum._alpha = 0;
m1icon._alpha = 0;
m2icon._alpha = 0;
m3icon._alpha = 0;
m4icon._alpha = 0;
m5icon._alpha = 0;
m6icon._alpha = 0;
m7icon._alpha = 0;
m8icon._alpha = 0;
m9icon._alpha = 0;
m10icon._alpha = 0;
m11icon._alpha = 0;
m12icon._alpha = 0;
m13icon._alpha = 0;
m14icon._alpha = 0;
m15icon._alpha = 0;
m16icon._alpha = 0;
m17icon._alpha = 0;
m18icon._alpha = 0;
_root.medNum.medalsNumber.text = _root.medalsCount;
if (_root.medal1 == true) {
m1icon.gotoAndStop(2);
} else {
m1icon.gotoAndStop(1);
}
if (_root.medal2 == true) {
m2icon.gotoAndStop(2);
} else {
m2icon.gotoAndStop(1);
}
if (_root.medal3 == true) {
m3icon.gotoAndStop(2);
} else {
m3icon.gotoAndStop(1);
}
if (_root.medal4 == true) {
m4icon.gotoAndStop(2);
} else {
m4icon.gotoAndStop(1);
}
if (_root.medal5 == true) {
m5icon.gotoAndStop(2);
} else {
m5icon.gotoAndStop(1);
}
if (_root.medal6 == true) {
m6icon.gotoAndStop(2);
} else {
m6icon.gotoAndStop(1);
}
if (_root.medal7 == true) {
m7icon.gotoAndStop(2);
} else {
m7icon.gotoAndStop(1);
}
if (_root.medal8 == true) {
m8icon.gotoAndStop(2);
} else {
m8icon.gotoAndStop(1);
}
if (_root.medal9 == true) {
m9icon.gotoAndStop(2);
} else {
m9icon.gotoAndStop(1);
}
if (_root.medal10 == true) {
m10icon.gotoAndStop(2);
} else {
m10icon.gotoAndStop(1);
}
if (_root.medal11 == true) {
m11icon.gotoAndStop(2);
} else {
m11icon.gotoAndStop(1);
}
if (_root.medal12 == true) {
m12icon.gotoAndStop(2);
} else {
m12icon.gotoAndStop(1);
}
if (_root.medal13 == true) {
m13icon.gotoAndStop(2);
} else {
m13icon.gotoAndStop(1);
}
if (_root.medal14 == true) {
m14icon.gotoAndStop(2);
} else {
m14icon.gotoAndStop(1);
}
if (_root.medal15 == true) {
m15icon.gotoAndStop(2);
} else {
m15icon.gotoAndStop(1);
}
if (_root.medal16 == true) {
m16icon.gotoAndStop(2);
} else {
m16icon.gotoAndStop(1);
}
if (_root.medal17 == true) {
m17icon.gotoAndStop(2);
} else {
m17icon.gotoAndStop(1);
}
if (_root.medal18 == true) {
m18icon.gotoAndStop(2);
} else {
m18icon.gotoAndStop(1);
}
Frame 303
medNum._alpha = 20;
m1icon._alpha = 20;
m2icon._alpha = 20;
m3icon._alpha = 20;
m4icon._alpha = 20;
m5icon._alpha = 20;
m6icon._alpha = 20;
m7icon._alpha = 20;
m8icon._alpha = 20;
m9icon._alpha = 20;
m10icon._alpha = 20;
m11icon._alpha = 20;
m12icon._alpha = 20;
m13icon._alpha = 20;
m14icon._alpha = 20;
m15icon._alpha = 20;
m16icon._alpha = 20;
m17icon._alpha = 20;
m18icon._alpha = 20;
Frame 304
medNum._alpha = 40;
m1icon._alpha = 40;
m2icon._alpha = 40;
m3icon._alpha = 40;
m4icon._alpha = 40;
m5icon._alpha = 40;
m6icon._alpha = 40;
m7icon._alpha = 40;
m8icon._alpha = 40;
m9icon._alpha = 40;
m10icon._alpha = 40;
m11icon._alpha = 40;
m12icon._alpha = 40;
m13icon._alpha = 40;
m14icon._alpha = 40;
m15icon._alpha = 40;
m16icon._alpha = 40;
m17icon._alpha = 40;
m18icon._alpha = 40;
Frame 305
medNum._alpha = 60;
m1icon._alpha = 60;
m2icon._alpha = 60;
m3icon._alpha = 60;
m4icon._alpha = 60;
m5icon._alpha = 60;
m6icon._alpha = 60;
m7icon._alpha = 60;
m8icon._alpha = 60;
m9icon._alpha = 60;
m10icon._alpha = 60;
m11icon._alpha = 60;
m12icon._alpha = 60;
m13icon._alpha = 60;
m14icon._alpha = 60;
m15icon._alpha = 60;
m16icon._alpha = 60;
m17icon._alpha = 60;
m18icon._alpha = 60;
Frame 306
medNum._alpha = 80;
m1icon._alpha = 80;
m2icon._alpha = 80;
m3icon._alpha = 80;
m4icon._alpha = 80;
m5icon._alpha = 80;
m6icon._alpha = 80;
m7icon._alpha = 80;
m8icon._alpha = 80;
m9icon._alpha = 80;
m10icon._alpha = 80;
m11icon._alpha = 80;
m12icon._alpha = 80;
m13icon._alpha = 80;
m14icon._alpha = 80;
m15icon._alpha = 80;
m16icon._alpha = 80;
m17icon._alpha = 80;
m18icon._alpha = 80;
Frame 307
stop();
medNum._alpha = 100;
m1icon._alpha = 100;
m2icon._alpha = 100;
m3icon._alpha = 100;
m4icon._alpha = 100;
m5icon._alpha = 100;
m6icon._alpha = 100;
m7icon._alpha = 100;
m8icon._alpha = 100;
m9icon._alpha = 100;
m10icon._alpha = 100;
m11icon._alpha = 100;
m12icon._alpha = 100;
m13icon._alpha = 100;
m14icon._alpha = 100;
m15icon._alpha = 100;
m16icon._alpha = 100;
m17icon._alpha = 100;
m18icon._alpha = 100;
Frame 313
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
if (_root.worldtogo == 1) {
_root.gotoAndPlay("world1");
}
if (_root.worldtogo == 2) {
_root.gotoAndPlay("world2");
}
if (_root.worldtogo == 3) {
_root.gotoAndPlay("world3");
}
if (_root.worldtogo == 4) {
_root.gotoAndPlay("world4");
}
if (_root.worldtogo == 0) {
_root.gotoAndPlay("world1");
}
}
Frame 315
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 315
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 321
ch1tag._alpha = 0;
ch2tag._alpha = 0;
ch3tag._alpha = 0;
ch4tag._alpha = 0;
ch5tag._alpha = 0;
ch1tag.sc.ch1highscore.text = _root.chall1bestScore;
ch2tag.sc.ch2highscore.text = _root.chall2bestScore;
ch3tag.sc.ch3highscore.text = _root.chall3bestScore;
ch4tag.sc.ch4highscore.text = _root.chall4bestScore;
ch5tag.sc.ch5highscore.text = _root.chall5bestScore;
if (_root.chall1bestScore != 0) {
_root.chall1acc = true;
_root.challenge1icon = 1;
_root.savefile.data.challenge1icon = _root.challenge1icon;
_root.savefile.flush();
ch1tag.gotoAndStop(2);
} else if (_root.savefile.data.challenge1icon == 1) {
_root.chall1acc = true;
ch1tag.gotoAndStop(2);
} else {
ch1tag.gotoAndStop(1);
}
if (_root.chall2bestScore != 0) {
_root.chall2acc = true;
_root.challenge2icon = 2;
_root.savefile.data.challenge2icon = _root.challenge2icon;
_root.savefile.flush();
ch2tag.gotoAndStop(3);
} else if (_root.savefile.data.challenge2icon == 2) {
_root.chall2acc = true;
ch2tag.gotoAndStop(3);
} else if ((_root.savefile.data.challenge2icon == 1) || (_root.chall1acc == true)) {
ch2tag.gotoAndStop(2);
} else {
ch2tag.gotoAndStop(1);
}
if (_root.chall3bestScore != 0) {
_root.chall3acc = true;
_root.challenge3icon = 2;
_root.savefile.data.challenge3icon = _root.challenge3icon;
_root.savefile.flush();
ch3tag.gotoAndStop(3);
} else if (_root.savefile.data.challenge3icon == 2) {
_root.chall3acc = true;
ch3tag.gotoAndStop(3);
} else if ((_root.savefile.data.challenge3icon == 1) || (_root.chall2acc == true)) {
ch3tag.gotoAndStop(2);
} else {
ch3tag.gotoAndStop(1);
}
if (_root.chall4bestScore != 0) {
_root.chall4acc = true;
_root.challenge4icon = 2;
_root.savefile.data.challenge4icon = _root.challenge4icon;
_root.savefile.flush();
ch4tag.gotoAndStop(3);
} else if (_root.savefile.data.challenge4icon == 2) {
_root.chall4acc = true;
ch4tag.gotoAndStop(3);
} else if ((_root.savefile.data.challenge4icon == 1) || (_root.chall3acc == true)) {
ch4tag.gotoAndStop(2);
} else {
ch4tag.gotoAndStop(1);
}
if (_root.chall5bestScore != 0) {
_root.chall5acc = true;
_root.challenge5icon = 2;
_root.savefile.data.challenge5icon = _root.challenge5icon;
_root.savefile.flush();
ch5tag.gotoAndStop(3);
} else if (_root.savefile.data.challenge5icon == 2) {
_root.chall5acc = true;
ch5tag.gotoAndStop(3);
} else if ((_root.savefile.data.challenge5icon == 1) || (_root.chall4acc == true)) {
ch5tag.gotoAndStop(2);
} else {
ch5tag.gotoAndStop(1);
}
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00aw1loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amenuloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Frame 322
ch1tag._alpha = 20;
ch2tag._alpha = 20;
ch3tag._alpha = 20;
ch4tag._alpha = 20;
ch5tag._alpha = 20;
Frame 323
ch1tag._alpha = 40;
ch2tag._alpha = 40;
ch3tag._alpha = 40;
ch4tag._alpha = 40;
ch5tag._alpha = 40;
Frame 324
ch1tag._alpha = 60;
ch2tag._alpha = 60;
ch3tag._alpha = 60;
ch4tag._alpha = 60;
ch5tag._alpha = 60;
Frame 325
ch1tag._alpha = 80;
ch2tag._alpha = 80;
ch3tag._alpha = 80;
ch4tag._alpha = 80;
ch5tag._alpha = 80;
Frame 326
ch1tag._alpha = 100;
ch2tag._alpha = 100;
ch3tag._alpha = 100;
ch4tag._alpha = 100;
ch5tag._alpha = 100;
stop();
Frame 332
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 31) {
_root.gotoAndPlay("cont2");
}
if (_root.gotoplace == 32) {
_root.gotoAndPlay("conbef");
}
if (_root.gotoplace == 11) {
if (_root.worldtogo == 1) {
_root.gotoAndPlay("world1");
}
if (_root.worldtogo == 2) {
_root.gotoAndPlay("world2");
}
if (_root.worldtogo == 3) {
_root.gotoAndPlay("world3");
}
if (_root.worldtogo == 4) {
_root.gotoAndPlay("world4");
}
if (_root.worldtogo == 0) {
_root.gotoAndPlay("world1");
}
}
Frame 334
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 334
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 339
if ((_root.medal13 == false) && (_root.suicidal == true)) {
_root.medal13 = true;
_root.savefile.data.medal13 = _root.medal13;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m13get");
}
Frame 347
if (dead == true) {
_root.reasondisplay.gotoAndStop(randRange(1, 15));
} else {
_root.reasondisplay.gotoAndStop(randRange(16, 28));
}
Frame 361
stop();
Frame 369
gotoAndPlay ("missiontut");
Frame 375
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
_root.gotoAndPlay("world1");
}
Frame 377
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 377
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 382
if (_root.medal7 == false) {
_root.medal7 = true;
_root.savefile.data.medal7 = _root.medal7;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m7get");
}
Frame 396
stop();
Frame 404
gotoAndPlay ("missiontut");
Frame 410
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
_root.gotoAndPlay("world1");
}
Frame 412
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 412
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 417
if ((_root.medal13 == false) && (_root.suicidal == true)) {
_root.medal13 = true;
_root.savefile.data.medal13 = _root.medal13;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m13get");
}
Frame 425
if (dead == true) {
_root.reasondisplay.gotoAndStop(randRange(1, 15));
} else {
_root.reasondisplay.gotoAndStop(randRange(16, 28));
}
Frame 433
_root.alsorandom.gotoAndStop(randRange(1, 49));
Frame 439
stop();
Frame 447
if (mission == 1) {
gotoAndPlay ("mission1");
}
if (mission == 2) {
gotoAndPlay ("mission2");
}
if (mission == 3) {
gotoAndPlay ("mission3");
}
if (mission == 4) {
gotoAndPlay ("mission4");
}
if (mission == 5) {
gotoAndPlay ("mission5");
}
if (mission == 6) {
gotoAndPlay ("mission6");
}
if (mission == 7) {
gotoAndPlay ("mission7");
}
if (mission == 8) {
gotoAndPlay ("mission8");
}
if (mission == 9) {
gotoAndPlay ("mission9");
}
if (mission == 10) {
gotoAndPlay ("mission10");
}
if (mission == 11) {
gotoAndPlay ("mission11");
}
if (mission == 12) {
gotoAndPlay ("mission12");
}
if (mission == 13) {
gotoAndPlay ("mission13");
}
if (mission == 14) {
gotoAndPlay ("mission14");
}
if (mission == 15) {
gotoAndPlay ("mission15");
}
if (mission == 16) {
gotoAndPlay ("mission16");
}
Frame 453
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
_root.gotoAndPlay("world1");
}
if (_root.gotoplace == 12) {
_root.gotoAndPlay("world2");
}
if (_root.gotoplace == 13) {
_root.gotoAndPlay("world3");
}
if (_root.gotoplace == 14) {
_root.gotoAndPlay("world4");
}
Frame 455
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 455
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 460
if (((_root.medal8 == false) && (_root.mission == 1)) && (_root.hurtorb == false)) {
_root.medal8 = true;
_root.savefile.data.medal8 = _root.medal8;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m8get");
}
if (((_root.medal9 == false) && (_root.mission == 7)) && (_root.timeleft > 39.9)) {
_root.medal9 = true;
_root.savefile.data.medal9 = _root.medal9;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m9get");
}
if (((_root.medal10 == false) && (_root.mission == 12)) && (_root.timeleft > 29.9)) {
_root.medal10 = true;
_root.savefile.data.medal10 = _root.medal10;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m10get");
}
if (((_root.medal14 == false) && (_root.mission == 5)) && (_root.controls == 2)) {
_root.medal14 = true;
_root.savefile.data.medal14 = _root.medal14;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m14get");
}
if (((_root.medal15 == false) && (_root.mission == 9)) && (_root.difficulty == 2)) {
_root.medal15 = true;
_root.savefile.data.medal15 = _root.medal15;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m15get");
}
if (((_root.medal16 == false) && (_root.mission == 13)) && (_root.difficulty == 3)) {
_root.medal16 = true;
_root.savefile.data.medal16 = _root.medal16;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m16get");
}
Frame 476
if (_root.difficulty == 1) {
_root.diffshow.gotoAndStop(1);
_root.multshow.gotoAndStop(1);
}
if (difficulty == 2) {
_root.diffshow.gotoAndStop(2);
_root.multshow.gotoAndStop(2);
}
if (difficulty == 3) {
_root.diffshow.gotoAndStop(3);
_root.multshow.gotoAndStop(3);
}
Frame 496
stop();
Frame 504
if (mission == 1) {
gotoAndPlay ("mission1");
}
if (mission == 2) {
gotoAndPlay ("mission2");
}
if (mission == 3) {
gotoAndPlay ("mission3");
}
if (mission == 4) {
gotoAndPlay ("mission4");
}
if (mission == 5) {
gotoAndPlay ("mission5");
}
if (mission == 6) {
gotoAndPlay ("mission6");
}
if (mission == 7) {
gotoAndPlay ("mission7");
}
if (mission == 8) {
gotoAndPlay ("mission8");
}
if (mission == 9) {
gotoAndPlay ("mission9");
}
if (mission == 10) {
gotoAndPlay ("mission10");
}
if (mission == 11) {
gotoAndPlay ("mission11");
}
if (mission == 12) {
gotoAndPlay ("mission12");
}
if (mission == 13) {
gotoAndPlay ("mission13");
}
if (mission == 14) {
gotoAndPlay ("mission14");
}
if (mission == 15) {
gotoAndPlay ("mission15");
}
if (mission == 16) {
gotoAndPlay ("mission16");
}
Frame 510
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 11) {
_root.gotoAndPlay("world1");
}
if (_root.gotoplace == 12) {
_root.gotoAndPlay("world2");
}
if (_root.gotoplace == 13) {
_root.gotoAndPlay("world3");
}
if (_root.gotoplace == 14) {
_root.gotoAndPlay("world4");
}
Frame 512
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 512
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 517
if ((_root.medal13 == false) && (_root.suicidal == true)) {
_root.medal13 = true;
_root.savefile.data.medal13 = _root.medal13;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m13get");
}
Frame 525
if (dead == true) {
_root.reasondisplay.gotoAndStop(randRange(1, 15));
} else {
_root.reasondisplay.gotoAndStop(randRange(16, 28));
}
Frame 533
_root.alsorandom2.gotoAndStop(randRange(1, 44));
Frame 539
stop();
Frame 547
if (challenge == 1) {
gotoAndPlay ("challenge1");
}
if (challenge == 2) {
gotoAndPlay ("challenge2");
}
if (challenge == 3) {
gotoAndPlay ("challenge3");
}
if (challenge == 4) {
gotoAndPlay ("challenge4");
}
if (challenge == 5) {
gotoAndPlay ("challenge5");
}
Frame 553
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 31) {
_root.gotoAndPlay("cont2");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
Frame 555
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 555
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 560
if (((_root.medal1 == false) && (_root.challenge == 1)) && (_root.timeleft > 19.9)) {
_root.medal1 = true;
_root.savefile.data.medal1 = _root.medal1;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m1get");
}
if (((_root.medal2 == false) && (_root.challenge == 2)) && (_root.shotsLeft > 69)) {
_root.medal2 = true;
_root.savefile.data.medal2 = _root.medal2;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m2get");
}
if (((_root.medal3 == false) && (_root.challenge == 3)) && (_root.timeleft > 19.9)) {
_root.medal3 = true;
_root.savefile.data.medal3 = _root.medal3;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m3get");
}
if (((_root.medal4 == false) && (_root.challenge == 4)) && (_root.shotsLeft > 69)) {
_root.medal4 = true;
_root.savefile.data.medal4 = _root.medal4;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m4get");
}
if (((_root.medal5 == false) && (_root.challenge == 5)) && (_root.stars == 3)) {
_root.medal5 = true;
_root.savefile.data.medal5 = _root.medal5;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m5get");
}
Frame 576
if (challenge == 1) {
_root.diffshow.gotoAndStop(4);
_root.multshow.gotoAndStop(1);
}
if (challenge == 2) {
_root.diffshow.gotoAndStop(1);
_root.multshow.gotoAndStop(1);
}
if (challenge == 3) {
_root.diffshow.gotoAndStop(2);
_root.multshow.gotoAndStop(2);
}
if (challenge == 4) {
_root.diffshow.gotoAndStop(5);
_root.multshow.gotoAndStop(2);
}
if (challenge == 5) {
_root.diffshow.gotoAndStop(3);
_root.multshow.gotoAndStop(3);
}
Frame 596
stop();
Frame 604
if (challenge == 1) {
gotoAndPlay ("challenge1");
}
if (challenge == 2) {
gotoAndPlay ("challenge2");
}
if (challenge == 3) {
gotoAndPlay ("challenge3");
}
if (challenge == 4) {
gotoAndPlay ("challenge4");
}
if (challenge == 5) {
gotoAndPlay ("challenge5");
}
Frame 610
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 31) {
_root.gotoAndPlay("cont2");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
Frame 612
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 612
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 618
m1tag._alpha = 0;
m2tag._alpha = 0;
m3tag._alpha = 0;
m4tag._alpha = 0;
m5tag._alpha = 0;
trackscore._alpha = 0;
subbutten._alpha = 0;
circles._alpha = 0;
m1tag.sc.m1highscore.text = _root.miss1bestScore;
m2tag.sc.m2highscore.text = _root.miss2bestScore;
m3tag.sc.m3highscore.text = _root.miss3bestScore;
m4tag.sc.m4highscore.text = _root.miss4bestScore;
m5tag.sc.m5highscore.text = _root.miss5bestScore;
_root.score = ((((((((((((((((((((_root.credscore + _root.chall1bestScore) + _root.chall2bestScore) + _root.chall3bestScore) + _root.chall4bestScore) + _root.chall5bestScore) + _root.miss1bestScore) + _root.miss2bestScore) + _root.miss3bestScore) + _root.miss4bestScore) + _root.miss5bestScore) + _root.miss6bestScore) + _root.miss7bestScore) + _root.miss8bestScore) + _root.miss9bestScore) + _root.miss10bestScore) + _root.miss11bestScore) + _root.miss12bestScore) + _root.miss13bestScore) + _root.miss14bestScore) + _root.miss15bestScore) + _root.missFinalbestScore;
trackscore.scorefield.text = _root.score;
if ((_root.medal17 == false) && (_root.score > 19999)) {
_root.medal17 = true;
_root.savefile.data.medal17 = _root.medal17;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m17get");
}
if ((_root.medal11 == false) && (_root.score > 9999)) {
_root.medal11 = true;
_root.savefile.data.medal11 = _root.medal11;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m11get");
}
if ((_root.miss1bestScore != 0) || (_root.savefile.data.level1icon == 1)) {
_root.m1acc = true;
_root.level1icon = 1;
_root.savefile.data.level1icon = _root.level1icon;
_root.savefile.flush();
m1tag.gotoAndStop(2);
} else {
m1tag.gotoAndStop(1);
}
if ((_root.miss2bestScore != 0) || (_root.savefile.data.level2icon == 1)) {
_root.m2acc = true;
_root.level2icon = 1;
_root.savefile.data.level2icon = _root.level2icon;
_root.savefile.flush();
m2tag.gotoAndStop(2);
} else {
m2tag.gotoAndStop(1);
}
if ((_root.miss3bestScore != 0) || (_root.savefile.data.level3icon == 1)) {
_root.m3acc = true;
_root.level3icon = 1;
_root.savefile.data.level3icon = _root.level3icon;
_root.savefile.flush();
m3tag.gotoAndStop(2);
} else {
m3tag.gotoAndStop(1);
}
if ((_root.miss4bestScore != 0) || (_root.savefile.data.level4icon == 1)) {
_root.m4acc = true;
_root.level4icon = 1;
_root.savefile.data.level4icon = _root.level4icon;
_root.savefile.flush();
m4tag.gotoAndStop(2);
} else {
m4tag.gotoAndStop(1);
}
if ((_root.miss5bestScore != 0) || (_root.savefile.data.level5icon == 1)) {
_root.m5acc = true;
_root.level5icon = 1;
_root.savefile.data.level5icon = _root.level5icon;
_root.savefile.flush();
m5tag.gotoAndStop(2);
} else {
m5tag.gotoAndStop(1);
}
_root.submitpressed = false;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss4loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amenuloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Frame 619
m1tag._alpha = 20;
m2tag._alpha = 20;
m3tag._alpha = 20;
m4tag._alpha = 20;
m5tag._alpha = 20;
trackscore._alpha = 20;
subbutten._alpha = 20;
circles._alpha = 20;
Frame 620
m1tag._alpha = 40;
m2tag._alpha = 40;
m3tag._alpha = 40;
m4tag._alpha = 40;
m5tag._alpha = 40;
trackscore._alpha = 40;
subbutten._alpha = 40;
circles._alpha = 40;
Frame 621
m1tag._alpha = 60;
m2tag._alpha = 60;
m3tag._alpha = 60;
m4tag._alpha = 60;
m5tag._alpha = 60;
trackscore._alpha = 60;
subbutten._alpha = 60;
circles._alpha = 60;
Frame 622
m1tag._alpha = 80;
m2tag._alpha = 80;
m3tag._alpha = 80;
m4tag._alpha = 80;
m5tag._alpha = 80;
trackscore._alpha = 80;
subbutten._alpha = 80;
circles._alpha = 80;
Frame 623
m1tag._alpha = 100;
m2tag._alpha = 100;
m3tag._alpha = 100;
m4tag._alpha = 100;
m5tag._alpha = 100;
trackscore._alpha = 100;
subbutten._alpha = 100;
circles._alpha = 100;
stop();
Frame 629
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 3) {
_root.gotoAndPlay("conbef2");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
if (_root.gotoplace == 30) {
_root.gotoAndPlay("quest");
}
if (_root.gotoplace == 40) {
_root.gotoAndPlay("world2");
}
if (_root.gotoplace == 80) {
_root.gotoAndPlay("medals");
}
Frame 631
if (((_root.m1acc == true) && (_root.m2acc == true)) && (_root.m3acc == true)) {
_root.w2icons = true;
} else if (((_root.m1acc == true) && (_root.m2acc == true)) && (_root.m4acc == true)) {
_root.w2icons = true;
} else if (((_root.m1acc == true) && (_root.m2acc == true)) && (_root.m5acc == true)) {
_root.w2icons = true;
} else if (((_root.m1acc == true) && (_root.m3acc == true)) && (_root.m4acc == true)) {
_root.w2icons = true;
} else if (((_root.m1acc == true) && (_root.m3acc == true)) && (_root.m5acc == true)) {
_root.w2icons = true;
} else if (((_root.m1acc == true) && (_root.m4acc == true)) && (_root.m5acc == true)) {
_root.w2icons = true;
} else if (((_root.m2acc == true) && (_root.m3acc == true)) && (_root.m4acc == true)) {
_root.w2icons = true;
} else if (((_root.m2acc == true) && (_root.m3acc == true)) && (_root.m5acc == true)) {
_root.w2icons = true;
} else if (((_root.m2acc == true) && (_root.m4acc == true)) && (_root.m5acc == true)) {
_root.w2icons = true;
} else if (((_root.m3acc == true) && (_root.m4acc == true)) && (_root.m5acc == true)) {
_root.w2icons = true;
} else {
_root.w2icons = false;
}
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 631
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 637
m6tag._alpha = 0;
m7tag._alpha = 0;
m8tag._alpha = 0;
m9tag._alpha = 0;
m10tag._alpha = 0;
trackscore._alpha = 0;
subbutten._alpha = 0;
circles._alpha = 0;
m6tag.sc.m6highscore.text = _root.miss6bestScore;
m7tag.sc.m7highscore.text = _root.miss7bestScore;
m8tag.sc.m8highscore.text = _root.miss8bestScore;
m9tag.sc.m9highscore.text = _root.miss9bestScore;
m10tag.sc.m10highscore.text = _root.miss10bestScore;
_root.score = ((((((((((((((((((((_root.credscore + _root.chall1bestScore) + _root.chall2bestScore) + _root.chall3bestScore) + _root.chall4bestScore) + _root.chall5bestScore) + _root.miss1bestScore) + _root.miss2bestScore) + _root.miss3bestScore) + _root.miss4bestScore) + _root.miss5bestScore) + _root.miss6bestScore) + _root.miss7bestScore) + _root.miss8bestScore) + _root.miss9bestScore) + _root.miss10bestScore) + _root.miss11bestScore) + _root.miss12bestScore) + _root.miss13bestScore) + _root.miss14bestScore) + _root.miss15bestScore) + _root.missFinalbestScore;
trackscore.scorefield.text = _root.score;
if ((_root.medal17 == false) && (_root.score > 19999)) {
_root.medal17 = true;
_root.savefile.data.medal17 = _root.medal17;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m17get");
}
if ((_root.medal11 == false) && (_root.score > 9999)) {
_root.medal11 = true;
_root.savefile.data.medal11 = _root.medal11;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m11get");
}
if (_root.w2icons == false) {
m6tag.gotoAndStop(1);
m7tag.gotoAndStop(1);
m8tag.gotoAndStop(1);
m9tag.gotoAndStop(1);
m10tag.gotoAndStop(1);
} else {
if ((_root.miss6bestScore != 0) || (_root.savefile.data.level6icon == 2)) {
_root.m6acc = true;
_root.level6icon = 2;
_root.savefile.data.level6icon = _root.level6icon;
_root.savefile.flush();
m6tag.gotoAndStop(3);
} else {
_root.level6icon = 1;
_root.savefile.data.level6icon = _root.level6icon;
_root.savefile.flush();
m6tag.gotoAndStop(2);
}
if ((_root.miss7bestScore != 0) || (_root.savefile.data.level7icon == 2)) {
_root.m7acc = true;
_root.level7icon = 2;
_root.savefile.data.level7icon = _root.level7icon;
_root.savefile.flush();
m7tag.gotoAndStop(3);
} else {
_root.level7icon = 1;
_root.savefile.data.level7icon = _root.level7icon;
_root.savefile.flush();
m7tag.gotoAndStop(2);
}
if ((_root.miss8bestScore != 0) || (_root.savefile.data.level8icon == 2)) {
_root.m8acc = true;
_root.level8icon = 2;
_root.savefile.data.level8icon = _root.level8icon;
_root.savefile.flush();
m8tag.gotoAndStop(3);
} else {
_root.level8icon = 1;
_root.savefile.data.level8icon = _root.level8icon;
_root.savefile.flush();
m8tag.gotoAndStop(2);
}
if ((_root.miss9bestScore != 0) || (_root.savefile.data.level9icon == 2)) {
_root.m9acc = true;
_root.level9icon = 2;
_root.savefile.data.level9icon = _root.level9icon;
_root.savefile.flush();
m9tag.gotoAndStop(3);
} else {
_root.level9icon = 1;
_root.savefile.data.level9icon = _root.level9icon;
_root.savefile.flush();
m9tag.gotoAndStop(2);
}
if ((_root.miss10bestScore != 0) || (_root.savefile.data.level10icon == 2)) {
_root.m10acc = true;
_root.level10icon = 2;
_root.savefile.data.level10icon = _root.level10icon;
_root.savefile.flush();
m10tag.gotoAndStop(3);
} else {
_root.level10icon = 1;
_root.savefile.data.level10icon = _root.level10icon;
_root.savefile.flush();
m10tag.gotoAndStop(2);
}
}
_root.submitpressed = false;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0world2loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0world2loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Frame 638
m6tag._alpha = 20;
m7tag._alpha = 20;
m8tag._alpha = 20;
m9tag._alpha = 20;
m10tag._alpha = 20;
trackscore._alpha = 20;
subbutten._alpha = 20;
circles._alpha = 20;
Frame 639
m6tag._alpha = 40;
m7tag._alpha = 40;
m8tag._alpha = 40;
m9tag._alpha = 40;
m10tag._alpha = 40;
trackscore._alpha = 40;
subbutten._alpha = 40;
circles._alpha = 40;
Frame 640
m6tag._alpha = 60;
m7tag._alpha = 60;
m8tag._alpha = 60;
m9tag._alpha = 60;
m10tag._alpha = 60;
trackscore._alpha = 60;
subbutten._alpha = 60;
circles._alpha = 60;
Frame 641
m6tag._alpha = 80;
m7tag._alpha = 80;
m8tag._alpha = 80;
m9tag._alpha = 80;
m10tag._alpha = 80;
trackscore._alpha = 80;
subbutten._alpha = 80;
circles._alpha = 80;
Frame 642
m6tag._alpha = 100;
m7tag._alpha = 100;
m8tag._alpha = 100;
m9tag._alpha = 100;
m10tag._alpha = 100;
trackscore._alpha = 100;
subbutten._alpha = 100;
circles._alpha = 100;
stop();
Frame 648
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 3) {
_root.gotoAndPlay("conbef2");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
if (_root.gotoplace == 30) {
_root.gotoAndPlay("quest");
}
if (_root.gotoplace == 50) {
_root.gotoAndPlay("world1");
}
if (_root.gotoplace == 60) {
_root.gotoAndPlay("world3");
}
if (_root.gotoplace == 80) {
_root.gotoAndPlay("medals");
}
Frame 650
if (((_root.m6acc == true) && (_root.m7acc == true)) && (_root.m8acc == true)) {
_root.w3icons = true;
} else if (((_root.m6acc == true) && (_root.m7acc == true)) && (_root.m9acc == true)) {
_root.w3icons = true;
} else if (((_root.m6acc == true) && (_root.m7acc == true)) && (_root.m10acc == true)) {
_root.w3icons = true;
} else if (((_root.m6acc == true) && (_root.m8acc == true)) && (_root.m9acc == true)) {
_root.w3icons = true;
} else if (((_root.m6acc == true) && (_root.m8acc == true)) && (_root.m10acc == true)) {
_root.w3icons = true;
} else if (((_root.m6acc == true) && (_root.m9acc == true)) && (_root.m10acc == true)) {
_root.w3icons = true;
} else if (((_root.m7acc == true) && (_root.m8acc == true)) && (_root.m9acc == true)) {
_root.w3icons = true;
} else if (((_root.m7acc == true) && (_root.m8acc == true)) && (_root.m10acc == true)) {
_root.w3icons = true;
} else if (((_root.m7acc == true) && (_root.m9acc == true)) && (_root.m10acc == true)) {
_root.w3icons = true;
} else if (((_root.m8acc == true) && (_root.m9acc == true)) && (_root.m10acc == true)) {
_root.w3icons = true;
} else {
_root.w3icons = false;
}
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 650
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 656
m11tag._alpha = 0;
m12tag._alpha = 0;
m13tag._alpha = 0;
m14tag._alpha = 0;
m15tag._alpha = 0;
trackscore._alpha = 0;
subbutten._alpha = 0;
circles._alpha = 0;
m11tag.sc.m11highscore.text = _root.miss11bestScore;
m12tag.sc.m12highscore.text = _root.miss12bestScore;
m13tag.sc.m13highscore.text = _root.miss13bestScore;
m14tag.sc.m14highscore.text = _root.miss14bestScore;
m15tag.sc.m15highscore.text = _root.miss15bestScore;
_root.score = ((((((((((((((((((((_root.credscore + _root.chall1bestScore) + _root.chall2bestScore) + _root.chall3bestScore) + _root.chall4bestScore) + _root.chall5bestScore) + _root.miss1bestScore) + _root.miss2bestScore) + _root.miss3bestScore) + _root.miss4bestScore) + _root.miss5bestScore) + _root.miss6bestScore) + _root.miss7bestScore) + _root.miss8bestScore) + _root.miss9bestScore) + _root.miss10bestScore) + _root.miss11bestScore) + _root.miss12bestScore) + _root.miss13bestScore) + _root.miss14bestScore) + _root.miss15bestScore) + _root.missFinalbestScore;
trackscore.scorefield.text = _root.score;
if ((_root.medal17 == false) && (_root.score > 19999)) {
_root.medal17 = true;
_root.savefile.data.medal17 = _root.medal17;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m17get");
}
if ((_root.medal11 == false) && (_root.score > 9999)) {
_root.medal11 = true;
_root.savefile.data.medal11 = _root.medal11;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m11get");
}
if (_root.w3icons == false) {
m11tag.gotoAndStop(1);
m12tag.gotoAndStop(1);
m13tag.gotoAndStop(1);
m14tag.gotoAndStop(1);
m15tag.gotoAndStop(1);
} else {
if ((_root.miss11bestScore != 0) || (_root.savefile.data.level11icon == 2)) {
_root.m11acc = true;
_root.level11icon = 2;
_root.savefile.data.level11icon = _root.level11icon;
_root.savefile.flush();
m11tag.gotoAndStop(3);
} else {
_root.level11icon = 1;
_root.savefile.data.level11icon = _root.level11icon;
_root.savefile.flush();
m11tag.gotoAndStop(2);
}
if ((_root.miss12bestScore != 0) || (_root.savefile.data.level12icon == 2)) {
_root.m12acc = true;
_root.level12icon = 2;
_root.savefile.data.level12icon = _root.level12icon;
_root.savefile.flush();
m12tag.gotoAndStop(3);
} else {
_root.level12icon = 1;
_root.savefile.data.level12icon = _root.level12icon;
_root.savefile.flush();
m12tag.gotoAndStop(2);
}
if ((_root.miss13bestScore != 0) || (_root.savefile.data.level13icon == 2)) {
_root.m13acc = true;
_root.level13icon = 2;
_root.savefile.data.level13icon = _root.level13icon;
_root.savefile.flush();
m13tag.gotoAndStop(3);
} else {
_root.level13icon = 1;
_root.savefile.data.level13icon = _root.level13icon;
_root.savefile.flush();
m13tag.gotoAndStop(2);
}
if ((_root.miss14bestScore != 0) || (_root.savefile.data.level14icon == 2)) {
_root.m14acc = true;
_root.level14icon = 2;
_root.savefile.data.level14icon = _root.level14icon;
_root.savefile.flush();
m14tag.gotoAndStop(3);
} else {
_root.level14icon = 1;
_root.savefile.data.level14icon = _root.level14icon;
_root.savefile.flush();
m14tag.gotoAndStop(2);
}
if ((_root.miss15bestScore != 0) || (_root.savefile.data.level15icon == 2)) {
_root.m15acc = true;
_root.level15icon = 2;
_root.savefile.data.level15icon = _root.level15icon;
_root.savefile.flush();
m15tag.gotoAndStop(3);
} else {
_root.level15icon = 1;
_root.savefile.data.level15icon = _root.level15icon;
_root.savefile.flush();
m15tag.gotoAndStop(2);
}
}
_root.submitpressed = false;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission16Wloop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission16Wloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Frame 657
m11tag._alpha = 20;
m12tag._alpha = 20;
m13tag._alpha = 20;
m14tag._alpha = 20;
m15tag._alpha = 20;
trackscore._alpha = 20;
subbutten._alpha = 20;
circles._alpha = 20;
Frame 658
m11tag._alpha = 40;
m12tag._alpha = 40;
m13tag._alpha = 40;
m14tag._alpha = 40;
m15tag._alpha = 40;
trackscore._alpha = 40;
subbutten._alpha = 40;
circles._alpha = 40;
Frame 659
m11tag._alpha = 60;
m12tag._alpha = 60;
m13tag._alpha = 60;
m14tag._alpha = 60;
m15tag._alpha = 60;
trackscore._alpha = 60;
subbutten._alpha = 60;
circles._alpha = 60;
Frame 660
m11tag._alpha = 80;
m12tag._alpha = 80;
m13tag._alpha = 80;
m14tag._alpha = 80;
m15tag._alpha = 80;
trackscore._alpha = 80;
subbutten._alpha = 80;
circles._alpha = 80;
Frame 661
m11tag._alpha = 100;
m12tag._alpha = 100;
m13tag._alpha = 100;
m14tag._alpha = 100;
m15tag._alpha = 100;
trackscore._alpha = 100;
subbutten._alpha = 100;
circles._alpha = 100;
stop();
Frame 667
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 3) {
_root.gotoAndPlay("conbef2");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
if (_root.gotoplace == 30) {
_root.gotoAndPlay("quest");
}
if (_root.gotoplace == 40) {
_root.gotoAndPlay("world2");
}
if (_root.gotoplace == 70) {
_root.gotoAndPlay("world4");
}
if (_root.gotoplace == 80) {
_root.gotoAndPlay("medals");
}
Frame 669
if ((((((((((((((((((((_root.m1acc == true) && (_root.m2acc == true)) && (_root.m3acc == true)) && (_root.m4acc == true)) && (_root.m5acc == true)) && (_root.m6acc == true)) && (_root.m7acc == true)) && (_root.m8acc == true)) && (_root.m9acc == true)) && (_root.m10acc == true)) && (_root.m11acc == true)) && (_root.m12acc == true)) && (_root.m13acc == true)) && (_root.m14acc == true)) && (_root.m15acc == true)) && (_root.chall1acc == true)) && (_root.chall2acc == true)) && (_root.chall3acc == true)) && (_root.chall4acc == true)) && (_root.chall5acc == true)) {
_root.w4icons = true;
} else {
_root.w4icons = false;
}
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 669
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 675
mFinaltag._alpha = 0;
trackscore._alpha = 0;
subbutten._alpha = 0;
circles._alpha = 0;
mFinaltag.sc.mFinalhighscore.text = _root.missFinalbestScore;
_root.score = ((((((((((((((((((((_root.credscore + _root.chall1bestScore) + _root.chall2bestScore) + _root.chall3bestScore) + _root.chall4bestScore) + _root.chall5bestScore) + _root.miss1bestScore) + _root.miss2bestScore) + _root.miss3bestScore) + _root.miss4bestScore) + _root.miss5bestScore) + _root.miss6bestScore) + _root.miss7bestScore) + _root.miss8bestScore) + _root.miss9bestScore) + _root.miss10bestScore) + _root.miss11bestScore) + _root.miss12bestScore) + _root.miss13bestScore) + _root.miss14bestScore) + _root.miss15bestScore) + _root.missFinalbestScore;
trackscore.scorefield.text = _root.score;
if (_root.w4icons == false) {
mFinaltag.gotoAndStop(1);
} else if ((_root.missFinalbestScore != 0) || (_root.savefile.data.levelFicon == 2)) {
_root.mFinalacc = true;
_root.levelFicon = 2;
_root.savefile.data.levelFicon = _root.levelFicon;
_root.savefile.flush();
mFinaltag.gotoAndStop(3);
} else {
_root.levelFicon = 1;
_root.savefile.data.levelFicon = _root.levelFicon;
_root.savefile.flush();
mFinaltag.gotoAndStop(2);
}
_root.submitpressed = false;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("w4loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("w4loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
Frame 676
mFinaltag._alpha = 20;
trackscore._alpha = 20;
subbutten._alpha = 20;
circles._alpha = 20;
Frame 677
mFinaltag._alpha = 40;
trackscore._alpha = 40;
subbutten._alpha = 40;
circles._alpha = 40;
Frame 678
mFinaltag._alpha = 60;
trackscore._alpha = 60;
subbutten._alpha = 60;
circles._alpha = 60;
Frame 679
mFinaltag._alpha = 80;
trackscore._alpha = 80;
subbutten._alpha = 80;
circles._alpha = 80;
Frame 680
mFinaltag._alpha = 100;
trackscore._alpha = 100;
subbutten._alpha = 100;
circles._alpha = 100;
stop();
Frame 686
if (_root.gotoplace == 0) {
_root.gotoAndPlay("mainmenu");
}
if (_root.gotoplace == 1) {
_root.gotoAndPlay("diff");
}
if (_root.gotoplace == 2) {
_root.gotoAndPlay("cont");
}
if (_root.gotoplace == 3) {
_root.gotoAndPlay("conbef2");
}
if (_root.gotoplace == 20) {
_root.gotoAndPlay("shoot");
}
if (_root.gotoplace == 30) {
_root.gotoAndPlay("quest");
}
if (_root.gotoplace == 40) {
_root.gotoAndPlay("world2");
}
if (_root.gotoplace == 60) {
_root.gotoAndPlay("world3");
}
if (_root.gotoplace == 80) {
_root.gotoAndPlay("medals");
}
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 688
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 700
stop();
Frame 712
gotoAndPlay ("backfromhs");
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 714
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 715
if (score > 52000) {
stop();
_root.gotoAndPlay("cheater");
}
scorefield.text = _root.score;
Instance of Symbol 156 MovieClip "orb" in Frame 715
/* no clip actions */
Frame 727
stop();
Frame 728
if (shouldsubmit == true) {
playername = playerInput.text;
playerscore = score;
}
Frame 738
if (shouldsubmit == false) {
gotoAndPlay ("backfromhs");
}
if (playerscore > score1) {
score2 = _root.savefile.data.score1;
score3 = _root.savefile.data.score2;
score4 = _root.savefile.data.score3;
score5 = _root.savefile.data.score4;
score6 = _root.savefile.data.score5;
score7 = _root.savefile.data.score6;
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name2 = _root.savefile.data.name1;
name3 = _root.savefile.data.name2;
name4 = _root.savefile.data.name3;
name5 = _root.savefile.data.name4;
name6 = _root.savefile.data.name5;
name7 = _root.savefile.data.name6;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score1 = playerscore;
_root.savefile.data.score1 = _root.score1;
_root.name1 = playername;
_root.savefile.data.name1 = _root.name1;
_root.savefile.flush();
} else if (playerscore > score2) {
score3 = _root.savefile.data.score2;
score4 = _root.savefile.data.score3;
score5 = _root.savefile.data.score4;
score6 = _root.savefile.data.score5;
score7 = _root.savefile.data.score6;
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name3 = _root.savefile.data.name2;
name4 = _root.savefile.data.name3;
name5 = _root.savefile.data.name4;
name6 = _root.savefile.data.name5;
name7 = _root.savefile.data.name6;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score2 = playerscore;
_root.savefile.data.score2 = _root.score2;
_root.name2 = playername;
_root.savefile.data.name2 = _root.name2;
_root.savefile.flush();
} else if (playerscore > score3) {
score4 = _root.savefile.data.score3;
score5 = _root.savefile.data.score4;
score6 = _root.savefile.data.score5;
score7 = _root.savefile.data.score6;
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name4 = _root.savefile.data.name3;
name5 = _root.savefile.data.name4;
name6 = _root.savefile.data.name5;
name7 = _root.savefile.data.name6;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score3 = playerscore;
_root.savefile.data.score3 = _root.score3;
_root.name3 = playername;
_root.savefile.data.name3 = _root.name3;
_root.savefile.flush();
} else if (playerscore > score4) {
score5 = _root.savefile.data.score4;
score6 = _root.savefile.data.score5;
score7 = _root.savefile.data.score6;
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name5 = _root.savefile.data.name4;
name6 = _root.savefile.data.name5;
name7 = _root.savefile.data.name6;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score4 = playerscore;
_root.savefile.data.score4 = _root.score4;
_root.name4 = playername;
_root.savefile.data.name4 = _root.name4;
_root.savefile.flush();
} else if (playerscore > score5) {
score6 = _root.savefile.data.score5;
score7 = _root.savefile.data.score6;
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name6 = _root.savefile.data.name5;
name7 = _root.savefile.data.name6;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score5 = playerscore;
_root.savefile.data.score5 = _root.score5;
_root.name5 = playername;
_root.savefile.data.name5 = _root.name5;
_root.savefile.flush();
} else if (playerscore > score6) {
score7 = _root.savefile.data.score6;
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name7 = _root.savefile.data.name6;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score6 = playerscore;
_root.savefile.data.score6 = _root.score6;
_root.name6 = playername;
_root.savefile.data.name6 = _root.name6;
_root.savefile.flush();
} else if (playerscore > score7) {
score8 = _root.savefile.data.score7;
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name8 = _root.savefile.data.name7;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score7 = playerscore;
_root.savefile.data.score7 = _root.score7;
_root.name7 = playername;
_root.savefile.data.name7 = _root.name7;
_root.savefile.flush();
} else if (playerscore > score8) {
score9 = _root.savefile.data.score8;
score10 = _root.savefile.data.score9;
name9 = _root.savefile.data.name8;
name10 = _root.savefile.data.name9;
_root.score8 = playerscore;
_root.savefile.data.score8 = _root.score8;
_root.name8 = playername;
_root.savefile.data.name8 = _root.name8;
_root.savefile.flush();
} else if (playerscore > score9) {
score10 = _root.savefile.data.score9;
name10 = _root.savefile.data.name9;
_root.score9 = playerscore;
_root.savefile.data.score9 = _root.score9;
_root.name9 = playername;
_root.savefile.data.name9 = _root.name9;
_root.savefile.flush();
} else if (playerscore > score10) {
_root.score10 = playerscore;
_root.savefile.data.score10 = _root.score10;
_root.name10 = playername;
_root.savefile.data.name10 = _root.name10;
_root.savefile.flush();
}
Frame 739
_root.savefile.data.score1 = score1;
_root.savefile.data.score2 = score2;
_root.savefile.data.score3 = score3;
_root.savefile.data.score4 = score4;
_root.savefile.data.score5 = score5;
_root.savefile.data.score6 = score6;
_root.savefile.data.score7 = score7;
_root.savefile.data.score8 = score8;
_root.savefile.data.score9 = score9;
_root.savefile.data.score10 = score10;
_root.savefile.data.name1 = name1;
_root.savefile.data.name2 = name2;
_root.savefile.data.name3 = name3;
_root.savefile.data.name4 = name4;
_root.savefile.data.name5 = name5;
_root.savefile.data.name6 = name6;
_root.savefile.data.name7 = name7;
_root.savefile.data.name8 = name8;
_root.savefile.data.name9 = name9;
_root.savefile.data.name10 = name10;
if (_root.savefile.data.name1 == undefined) {
_root.name1 = "...";
}
if (_root.savefile.data.name2 == undefined) {
_root.name2 = "...";
}
if (_root.savefile.data.name3 == undefined) {
_root.name3 = "...";
}
if (_root.savefile.data.name4 == undefined) {
_root.name4 = "...";
}
if (_root.savefile.data.name5 == undefined) {
_root.name5 = "...";
}
if (_root.savefile.data.name6 == undefined) {
_root.name6 = "...";
}
if (_root.savefile.data.name7 == undefined) {
_root.name7 = "...";
}
if (_root.savefile.data.name8 == undefined) {
_root.name8 = "...";
}
if (_root.savefile.data.name9 == undefined) {
_root.name9 = "...";
}
if (_root.savefile.data.name10 == undefined) {
_root.name10 = "...";
}
if (_root.savefile.data.score1 == undefined) {
_root.score1 = 0;
}
if (_root.savefile.data.score2 == undefined) {
_root.score2 = 0;
}
if (_root.savefile.data.score3 == undefined) {
_root.score3 = 0;
}
if (_root.savefile.data.score4 == undefined) {
_root.score4 = 0;
}
if (_root.savefile.data.score5 == undefined) {
_root.score5 = 0;
}
if (_root.savefile.data.score6 == undefined) {
_root.score6 = 0;
}
if (_root.savefile.data.score7 == undefined) {
_root.score7 = 0;
}
if (_root.savefile.data.score8 == undefined) {
_root.score8 = 0;
}
if (_root.savefile.data.score9 == undefined) {
_root.score9 = 0;
}
if (_root.savefile.data.score10 == undefined) {
_root.score10 = 0;
}
_root.savefile.flush();
Frame 751
stop();
Frame 763
gotoAndPlay ("restart");
Instance of Symbol 156 MovieClip "orb" in Frame 765
/* no clip actions */
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 765
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 779
stop();
Frame 781
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
challenge = 1;
_root.conseen = true;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall1loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall1loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 781
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 2468 MovieClip in Frame 794
/* no clip actions */
Frame 837
stop();
_root.suicidal = false;
_root.stargone = false;
_root.shotsLeft = 99;
_root.stars = 0;
_root.targetsBar.calcbar._visible = false;
_root.failstarted = false;
_root.winstarted = false;
_root.oktoshoot = true;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall1loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall1loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
var timeleft = 60;
var currBullet;
var bulletsShot = 0;
var bulletsArray = new Array();
bulletsArray.push(bullet1);
onMouseDown = function () {
if (_root.oktoshoot == true) {
_root.chargerBar.gotoAndPlay("charge");
_root.shotsBar.shotsRem.text--;
_root.shotsLeft--;
if (_root.shotsBar.shotsRem.text < 1) {
_root.shotsBar.shotsRem.text = 0;
}
if (_root.shotsLeft < 1) {
_root.shotsLeft = 0;
}
bulletsShot++;
if (bulletsShot < 100) {
if ((((((((((((((((((((bulletsShot == 1) || (bulletsShot == 6)) || (bulletsShot == 11)) || (bulletsShot == 16)) || (bulletsShot == 21)) || (bulletsShot == 26)) || (bulletsShot == 31)) || (bulletsShot == 36)) || (bulletsShot == 41)) || (bulletsShot == 46)) || (bulletsShot == 51)) || (bulletsShot == 56)) || (bulletsShot == 61)) || (bulletsShot == 66)) || (bulletsShot == 71)) || (bulletsShot == 76)) || (bulletsShot == 81)) || (bulletsShot == 86)) || (bulletsShot == 91)) || (bulletsShot == 96)) {
currBullet = attachMovie("bulletBonus", "b1", -16373);
cb = 1;
}
if ((((((((((((((((((((bulletsShot == 2) || (bulletsShot == 7)) || (bulletsShot == 12)) || (bulletsShot == 17)) || (bulletsShot == 22)) || (bulletsShot == 27)) || (bulletsShot == 32)) || (bulletsShot == 37)) || (bulletsShot == 42)) || (bulletsShot == 47)) || (bulletsShot == 52)) || (bulletsShot == 57)) || (bulletsShot == 62)) || (bulletsShot == 67)) || (bulletsShot == 72)) || (bulletsShot == 77)) || (bulletsShot == 82)) || (bulletsShot == 87)) || (bulletsShot == 92)) || (bulletsShot == 97)) {
currBullet = attachMovie("bulletBonus", "b2", -16372);
cb = 2;
}
if ((((((((((((((((((((bulletsShot == 3) || (bulletsShot == 8)) || (bulletsShot == 13)) || (bulletsShot == 18)) || (bulletsShot == 23)) || (bulletsShot == 28)) || (bulletsShot == 33)) || (bulletsShot == 38)) || (bulletsShot == 43)) || (bulletsShot == 48)) || (bulletsShot == 53)) || (bulletsShot == 58)) || (bulletsShot == 63)) || (bulletsShot == 68)) || (bulletsShot == 73)) || (bulletsShot == 78)) || (bulletsShot == 83)) || (bulletsShot == 88)) || (bulletsShot == 93)) || (bulletsShot == 98)) {
currBullet = attachMovie("bulletBonus", "b3", -16371);
cb = 3;
}
if ((((((((((((((((((((bulletsShot == 4) || (bulletsShot == 9)) || (bulletsShot == 14)) || (bulletsShot == 19)) || (bulletsShot == 24)) || (bulletsShot == 29)) || (bulletsShot == 34)) || (bulletsShot == 39)) || (bulletsShot == 44)) || (bulletsShot == 49)) || (bulletsShot == 54)) || (bulletsShot == 59)) || (bulletsShot == 64)) || (bulletsShot == 69)) || (bulletsShot == 74)) || (bulletsShot == 79)) || (bulletsShot == 84)) || (bulletsShot == 89)) || (bulletsShot == 94)) || (bulletsShot == 99)) {
currBullet = attachMovie("bulletBonus", "b4", -16370);
cb = 4;
}
if (((((((((((((((((((bulletsShot == 5) || (bulletsShot == 10)) || (bulletsShot == 15)) || (bulletsShot == 20)) || (bulletsShot == 25)) || (bulletsShot == 30)) || (bulletsShot == 35)) || (bulletsShot == 40)) || (bulletsShot == 45)) || (bulletsShot == 50)) || (bulletsShot == 55)) || (bulletsShot == 60)) || (bulletsShot == 65)) || (bulletsShot == 70)) || (bulletsShot == 75)) || (bulletsShot == 80)) || (bulletsShot == 85)) || (bulletsShot == 90)) || (bulletsShot == 95)) {
currBullet = attachMovie("bulletBonus", "b5", -16369);
cb = 5;
}
currBullet.spd = 9.5;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + 90;
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.unloadMovie();
}
}
};
}
if (cb == 1) {
bullet1 = currBullet;
bulletsArray.push(bullet1);
}
if (cb == 2) {
bullet2 = currBullet;
bulletsArray.push(bullet2);
}
if (cb == 3) {
bullet3 = currBullet;
bulletsArray.push(bullet3);
}
if (cb == 4) {
bullet4 = currBullet;
bulletsArray.push(bullet4);
} else if (cb == 5) {
bullet5 = currBullet;
bulletsArray.push(bullet5);
}
if (bulletsShot <= 94) {
_root.orb.gotoAndPlay("rr");
}
if (bulletsShot == 95) {
_root.orb.gotoAndPlay("orb 4 balls");
}
if (bulletsShot == 96) {
_root.orb.gotoAndPlay("orb 3 balls");
}
if (bulletsShot == 97) {
_root.orb.gotoAndPlay("orb 2 balls");
}
if (bulletsShot == 98) {
_root.orb.gotoAndPlay("orb 1 ball");
}
if (bulletsShot == 99) {
_root.orb.gotoAndPlay("just orb");
}
if (bulletsShot > 99) {
_root.orb.gotoAndPlay("looporb");
}
}
};
onMouseMove = function () {
};
tar1._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Instance of Symbol 2833 MovieClip "orb" in Frame 837
/* no clip actions */
Frame 838
stop();
tar2._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
for (i in _root.bulletsArray) {
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 839
stop();
tar3._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar3._rotation = tar3._rotation + 0.5;
for (i in _root.bulletsArray) {
if (_root.tar3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 840
stop();
tar4._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b1-5");
}
for (i in _root.bulletsArray) {
if (_root.tar4.tar4t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t2.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar4.tar4t2.gotoAndPlay("hitonce");
}
if (_root.tar4.tar4t2.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 841
stop();
tar4._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
tar4._rotation = tar4._rotation - 0.5;
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b1-6");
}
for (i in _root.bulletsArray) {
if (_root.tar4.tar4t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 842
tar1._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 843
stop();
tar7._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar7._rotation = tar7._rotation - 2.5;
for (i in _root.bulletsArray) {
if (_root.tar7.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar7.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 844
stop();
tar8._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
t3hit = false;
_root.onEnterFrame = function () {
if (((t1hit == true) && (t2hit == true)) && (t3hit == true)) {
gotoAndStop ("b1-9");
}
for (i in _root.bulletsArray) {
if (_root.tar8.tar8t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.tar8t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.tar8t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 845
stop();
tar7._rotation = randRange(0, 360);
star1._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
for (i in _root.bulletsArray) {
if (_root.star1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.stargone = true;
star1.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar7.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar7.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 846
stop();
tar10._rotation = randRange(0, 360);
if (_root.stargone == false) {
_root.star1.gotoAndPlay("dissap");
}
_root.onEnterFrame = function () {
for (i in _root.bulletsArray) {
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 847
stop();
tar15._rotation = randRange(0, 360);
tar16._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
tar15._rotation--;
tar16._rotation++;
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b1-12");
}
for (i in _root.bulletsArray) {
if (_root.tar15.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar15.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar16.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar16.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 848
stop();
tar10._rotation = randRange(0, 360);
tar10rot = false;
_root.onEnterFrame = function () {
if (tar10rot == true) {
tar10._rotation = tar10._rotation + 2;
}
for (i in _root.bulletsArray) {
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
tar10rot = true;
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 849
tar1._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 850
stop();
tar10._rotation = randRange(0, 360);
tar10rot = false;
tar11._rotation = randRange(0, 360);
tar11rot = false;
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
tar10._rotation = tar10._rotation - 1.5;
tar11._rotation = tar11._rotation + 1.5;
if ((t1hit == true) && (t2hit == true)) {
_root.timeBar.stop();
_root.successBonus.gotoAndPlay("go");
}
if (tar10rot == true) {
tar10._rotation = tar10._rotation + 3;
}
if (tar11rot == true) {
tar11._rotation = tar11._rotation - 3;
}
for (i in _root.bulletsArray) {
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
tar10rot = true;
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar11.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar11.gotoAndPlay("hitonce");
tar11rot = true;
}
if (_root.tar11.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
}
};
Frame 852
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
challenge = 2;
_root.conseen = true;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall2loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall2loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 852
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 2468 MovieClip in Frame 865
/* no clip actions */
Frame 908
stop();
_root.suicidal = false;
_root.stars = 0;
_root.shotsLeft = 99;
_root.targetsBar.calcbar._visible = false;
_root.failstarted = false;
_root.winstarted = false;
_root.oktoshoot = true;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall2loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall2loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
var timeleft = 60;
var currBullet;
var bulletsShot = 0;
var bulletsArray = new Array();
bulletsArray.push(bullet1);
onMouseDown = function () {
if (_root.oktoshoot == true) {
_root.chargerBar.gotoAndPlay("charge");
_root.shotsBar.shotsRem.text--;
_root.shotsLeft--;
if (_root.shotsBar.shotsRem.text < 1) {
_root.shotsBar.shotsRem.text = 0;
}
if (_root.shotsLeft < 1) {
_root.shotsLeft = 0;
}
bulletsShot++;
if (bulletsShot < 100) {
if (((((((bulletsShot == 1) || (bulletsShot == 16)) || (bulletsShot == 31)) || (bulletsShot == 46)) || (bulletsShot == 61)) || (bulletsShot == 76)) || (bulletsShot == 91)) {
currBullet = attachMovie("bulletBonus", "b1", -16373);
cb = 1;
}
if (((((((bulletsShot == 2) || (bulletsShot == 17)) || (bulletsShot == 32)) || (bulletsShot == 47)) || (bulletsShot == 62)) || (bulletsShot == 77)) || (bulletsShot == 92)) {
currBullet = attachMovie("bulletBonus", "b2", -16372);
cb = 2;
}
if (((((((bulletsShot == 3) || (bulletsShot == 18)) || (bulletsShot == 33)) || (bulletsShot == 48)) || (bulletsShot == 63)) || (bulletsShot == 78)) || (bulletsShot == 93)) {
currBullet = attachMovie("bulletBonus", "b3", -16371);
cb = 3;
}
if (((((((bulletsShot == 4) || (bulletsShot == 19)) || (bulletsShot == 34)) || (bulletsShot == 49)) || (bulletsShot == 64)) || (bulletsShot == 79)) || (bulletsShot == 94)) {
currBullet = attachMovie("bulletBonus", "b4", -16370);
cb = 4;
}
if (((((((bulletsShot == 5) || (bulletsShot == 20)) || (bulletsShot == 35)) || (bulletsShot == 50)) || (bulletsShot == 65)) || (bulletsShot == 80)) || (bulletsShot == 95)) {
currBullet = attachMovie("bulletBonus", "b5", -16369);
cb = 5;
}
if (((((((bulletsShot == 6) || (bulletsShot == 21)) || (bulletsShot == 36)) || (bulletsShot == 51)) || (bulletsShot == 66)) || (bulletsShot == 81)) || (bulletsShot == 96)) {
currBullet = attachMovie("bulletBonus", "b6", -16368);
cb = 6;
}
if (((((((bulletsShot == 7) || (bulletsShot == 22)) || (bulletsShot == 37)) || (bulletsShot == 52)) || (bulletsShot == 67)) || (bulletsShot == 82)) || (bulletsShot == 97)) {
currBullet = attachMovie("bulletBonus", "b7", -16367);
cb = 7;
}
if (((((((bulletsShot == 8) || (bulletsShot == 23)) || (bulletsShot == 38)) || (bulletsShot == 53)) || (bulletsShot == 68)) || (bulletsShot == 83)) || (bulletsShot == 98)) {
currBullet = attachMovie("bulletBonus", "b8", -16366);
cb = 8;
}
if (((((((bulletsShot == 9) || (bulletsShot == 24)) || (bulletsShot == 39)) || (bulletsShot == 54)) || (bulletsShot == 69)) || (bulletsShot == 84)) || (bulletsShot == 99)) {
currBullet = attachMovie("bulletBonus", "b9", -16365);
cb = 9;
}
if ((((((bulletsShot == 10) || (bulletsShot == 25)) || (bulletsShot == 40)) || (bulletsShot == 55)) || (bulletsShot == 70)) || (bulletsShot == 85)) {
currBullet = attachMovie("bulletBonus", "b10", -16364);
cb = 10;
}
if ((((((bulletsShot == 11) || (bulletsShot == 26)) || (bulletsShot == 41)) || (bulletsShot == 56)) || (bulletsShot == 71)) || (bulletsShot == 86)) {
currBullet = attachMovie("bulletBonus", "b11", -16363);
cb = 11;
}
if ((((((bulletsShot == 12) || (bulletsShot == 27)) || (bulletsShot == 42)) || (bulletsShot == 57)) || (bulletsShot == 72)) || (bulletsShot == 87)) {
currBullet = attachMovie("bulletBonus", "b12", -16362);
cb = 12;
}
if ((((((bulletsShot == 13) || (bulletsShot == 28)) || (bulletsShot == 43)) || (bulletsShot == 58)) || (bulletsShot == 73)) || (bulletsShot == 88)) {
currBullet = attachMovie("bulletBonus", "b13", -16361);
cb = 13;
}
if ((((((bulletsShot == 14) || (bulletsShot == 29)) || (bulletsShot == 44)) || (bulletsShot == 59)) || (bulletsShot == 74)) || (bulletsShot == 89)) {
currBullet = attachMovie("bulletBonus", "b14", -16360);
cb = 14;
}
if ((((((bulletsShot == 15) || (bulletsShot == 30)) || (bulletsShot == 45)) || (bulletsShot == 60)) || (bulletsShot == 75)) || (bulletsShot == 90)) {
currBullet = attachMovie("bulletBonus", "b15", -16359);
cb = 15;
}
currBullet.spd = 9.5;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + 90;
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.unloadMovie();
}
}
};
}
if (cb == 1) {
bullet1 = currBullet;
bulletsArray.push(bullet1);
}
if (cb == 2) {
bullet2 = currBullet;
bulletsArray.push(bullet2);
}
if (cb == 3) {
bullet3 = currBullet;
bulletsArray.push(bullet3);
}
if (cb == 4) {
bullet4 = currBullet;
bulletsArray.push(bullet4);
}
if (cb == 5) {
bullet5 = currBullet;
bulletsArray.push(bullet5);
}
if (cb == 6) {
bullet6 = currBullet;
bulletsArray.push(bullet6);
}
if (cb == 7) {
bullet7 = currBullet;
bulletsArray.push(bullet7);
}
if (cb == 8) {
bullet8 = currBullet;
bulletsArray.push(bullet8);
}
if (cb == 9) {
bullet9 = currBullet;
bulletsArray.push(bullet9);
}
if (cb == 10) {
bullet10 = currBullet;
bulletsArray.push(bullet10);
}
if (cb == 11) {
bullet11 = currBullet;
bulletsArray.push(bullet11);
}
if (cb == 12) {
bullet12 = currBullet;
bulletsArray.push(bullet12);
}
if (cb == 13) {
bullet13 = currBullet;
bulletsArray.push(bullet13);
}
if (cb == 14) {
bullet14 = currBullet;
bulletsArray.push(bullet14);
} else if (cb == 15) {
bullet15 = currBullet;
bulletsArray.push(bullet15);
}
if (bulletsShot <= 94) {
_root.orb.gotoAndPlay("rr");
}
if (bulletsShot == 95) {
_root.orb.gotoAndPlay("orb 4 balls");
}
if (bulletsShot == 96) {
_root.orb.gotoAndPlay("orb 3 balls");
}
if (bulletsShot == 97) {
_root.orb.gotoAndPlay("orb 2 balls");
}
if (bulletsShot == 98) {
_root.orb.gotoAndPlay("orb 1 ball");
}
if (bulletsShot == 99) {
_root.orb.gotoAndPlay("just orb");
}
if (bulletsShot > 99) {
_root.orb.gotoAndPlay("looporb");
}
}
};
onMouseMove = function () {
};
tar2._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar2._rotation = tar2._rotation + 0.5;
for (i in _root.bulletsArray) {
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Instance of Symbol 2833 MovieClip "orb" in Frame 908
/* no clip actions */
Frame 909
stop();
deathstar1._rotation = randRange(0, 360);
tar11._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar11._rotation = tar11._rotation + 0.1;
for (i in _root.bulletsArray) {
if (_root.tar11.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar11.gotoAndPlay("hitonce");
}
if (_root.tar11.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 910
stop();
_root.deathstar1.gotoAndPlay("dissap");
tar4._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
tar4._rotation = tar4._rotation + 0.7;
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b2-4");
}
for (i in _root.bulletsArray) {
if (_root.tar4.tar4t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 911
stop();
tar10._rotation = randRange(0, 360);
tar10rot = false;
tar15._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
tar15._rotation--;
if (tar10rot == true) {
tar10._rotation++;
}
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b2-5");
}
for (i in _root.bulletsArray) {
if (_root.tar15.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar15.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
tar10rot = true;
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 912
stop();
_root.star1gone = false;
tar7._rotation = randRange(0, 360);
star1._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar7._rotation = tar7._rotation + 0.5;
star1._rotation--;
for (i in _root.bulletsArray) {
if (_root.star1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star1gone = true;
star1.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar7.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar7.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 913
stop();
if (_root.star1gone == false) {
_root.star1.gotoAndPlay("dissap");
}
tar4._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
tar4._rotation = tar4._rotation + 0.2;
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b2-7");
}
for (i in _root.bulletsArray) {
if (_root.tar4.tar4t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 914
stop();
deathstar1._rotation = randRange(0, 360);
tar2._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
deathstar1._rotation = deathstar1._rotation - 0.5;
tar2._rotation = tar2._rotation + 0.7;
for (i in _root.bulletsArray) {
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 915
stop();
_root.deathstar1.gotoAndPlay("dissap");
tar10._rotation = randRange(0, 360);
tar11._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
t10isrot = true;
t11isrot = true;
_root.onEnterFrame = function () {
if (t10isrot == true) {
tar10._rotation = tar10._rotation + 1.5;
}
if (t11isrot == true) {
tar11._rotation = tar11._rotation - 1.5;
}
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b2-9");
}
for (i in _root.bulletsArray) {
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
t11isrot = false;
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar11.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar11.gotoAndPlay("hitonce");
t10isrot = false;
}
if (_root.tar11.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 916
stop();
tar8._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
t3hit = false;
_root.onEnterFrame = function () {
tar8._rotation = tar8._rotation - 2;
if (((t1hit == true) && (t2hit == true)) && (t3hit == true)) {
gotoAndStop ("b2-10");
}
for (i in _root.bulletsArray) {
if (_root.tar8.tar8t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.tar8t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.tar8t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 917
stop();
_root.star2gone = false;
star2._rotation = randRange(0, 360);
tar9._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
t3hit = false;
_root.onEnterFrame = function () {
star2._rotation--;
tar9._rotation = tar9._rotation + 2;
if (((t1hit == true) || (t2hit == true)) || (t3hit == true)) {
tar9._rotation = tar9._rotation - 4;
}
if (((t1hit == true) && (t2hit == true)) && (t3hit == true)) {
gotoAndStop ("b2-11");
}
for (i in _root.bulletsArray) {
if (_root.star2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star2gone = true;
star2.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar9.tar8t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.tar8t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.tar8t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 918
stop();
if (_root.star2gone == false) {
_root.star2.gotoAndPlay("dissap");
}
tar10._rotation = randRange(0, 360);
fastrot = false;
_root.onEnterFrame = function () {
tar10._rotation = tar10._rotation + 1.5;
if (fastrot == true) {
tar10._rotation = tar10._rotation + 1.5;
}
for (i in _root.bulletsArray) {
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
fastrot = true;
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 919
stop();
tar2._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar2._rotation = tar2._rotation + 0.8;
for (i in _root.bulletsArray) {
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce1.gotoAndPlay("bounce");
}
if (_root.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce2.gotoAndPlay("bounce");
}
if (_root.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce3.gotoAndPlay("bounce");
}
if (_root.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
bounce4.gotoAndPlay("bounce");
}
}
};
Frame 921
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
challenge = 3;
_root.conseen = true;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation - 0.5;
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 921
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 2468 MovieClip in Frame 934
/* no clip actions */
Frame 977
stop();
_root.suicidal = false;
_root.stars = 0;
_root.shotsLeft = 99;
_root.targetsBar.calcbar._visible = false;
_root.failstarted = false;
_root.winstarted = false;
_root.oktoshoot = true;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
var timeleft = 60;
var currBullet;
var bulletsShot = 0;
var bulletsArray = new Array();
bulletsArray.push(bullet1);
onMouseDown = function () {
if (_root.oktoshoot == true) {
_root.chargerBar.gotoAndPlay("charge");
_root.shotsBar.shotsRem.text--;
_root.shotsLeft--;
if (_root.shotsBar.shotsRem.text < 1) {
_root.shotsBar.shotsRem.text = 0;
}
if (_root.shotsLeft < 1) {
_root.shotsLeft = 0;
}
bulletsShot++;
if (bulletsShot < 100) {
if (((((((bulletsShot == 1) || (bulletsShot == 16)) || (bulletsShot == 31)) || (bulletsShot == 46)) || (bulletsShot == 61)) || (bulletsShot == 76)) || (bulletsShot == 91)) {
currBullet = attachMovie("bulletBonus", "b1", -16373);
cb = 1;
}
if (((((((bulletsShot == 2) || (bulletsShot == 17)) || (bulletsShot == 32)) || (bulletsShot == 47)) || (bulletsShot == 62)) || (bulletsShot == 77)) || (bulletsShot == 92)) {
currBullet = attachMovie("bulletBonus", "b2", -16372);
cb = 2;
}
if (((((((bulletsShot == 3) || (bulletsShot == 18)) || (bulletsShot == 33)) || (bulletsShot == 48)) || (bulletsShot == 63)) || (bulletsShot == 78)) || (bulletsShot == 93)) {
currBullet = attachMovie("bulletBonus", "b3", -16371);
cb = 3;
}
if (((((((bulletsShot == 4) || (bulletsShot == 19)) || (bulletsShot == 34)) || (bulletsShot == 49)) || (bulletsShot == 64)) || (bulletsShot == 79)) || (bulletsShot == 94)) {
currBullet = attachMovie("bulletBonus", "b4", -16370);
cb = 4;
}
if (((((((bulletsShot == 5) || (bulletsShot == 20)) || (bulletsShot == 35)) || (bulletsShot == 50)) || (bulletsShot == 65)) || (bulletsShot == 80)) || (bulletsShot == 95)) {
currBullet = attachMovie("bulletBonus", "b5", -16369);
cb = 5;
}
if (((((((bulletsShot == 6) || (bulletsShot == 21)) || (bulletsShot == 36)) || (bulletsShot == 51)) || (bulletsShot == 66)) || (bulletsShot == 81)) || (bulletsShot == 96)) {
currBullet = attachMovie("bulletBonus", "b6", -16368);
cb = 6;
}
if (((((((bulletsShot == 7) || (bulletsShot == 22)) || (bulletsShot == 37)) || (bulletsShot == 52)) || (bulletsShot == 67)) || (bulletsShot == 82)) || (bulletsShot == 97)) {
currBullet = attachMovie("bulletBonus", "b7", -16367);
cb = 7;
}
if (((((((bulletsShot == 8) || (bulletsShot == 23)) || (bulletsShot == 38)) || (bulletsShot == 53)) || (bulletsShot == 68)) || (bulletsShot == 83)) || (bulletsShot == 98)) {
currBullet = attachMovie("bulletBonus", "b8", -16366);
cb = 8;
}
if (((((((bulletsShot == 9) || (bulletsShot == 24)) || (bulletsShot == 39)) || (bulletsShot == 54)) || (bulletsShot == 69)) || (bulletsShot == 84)) || (bulletsShot == 99)) {
currBullet = attachMovie("bulletBonus", "b9", -16365);
cb = 9;
}
if ((((((bulletsShot == 10) || (bulletsShot == 25)) || (bulletsShot == 40)) || (bulletsShot == 55)) || (bulletsShot == 70)) || (bulletsShot == 85)) {
currBullet = attachMovie("bulletBonus", "b10", -16364);
cb = 10;
}
if ((((((bulletsShot == 11) || (bulletsShot == 26)) || (bulletsShot == 41)) || (bulletsShot == 56)) || (bulletsShot == 71)) || (bulletsShot == 86)) {
currBullet = attachMovie("bulletBonus", "b11", -16363);
cb = 11;
}
if ((((((bulletsShot == 12) || (bulletsShot == 27)) || (bulletsShot == 42)) || (bulletsShot == 57)) || (bulletsShot == 72)) || (bulletsShot == 87)) {
currBullet = attachMovie("bulletBonus", "b12", -16362);
cb = 12;
}
if ((((((bulletsShot == 13) || (bulletsShot == 28)) || (bulletsShot == 43)) || (bulletsShot == 58)) || (bulletsShot == 73)) || (bulletsShot == 88)) {
currBullet = attachMovie("bulletBonus", "b13", -16361);
cb = 13;
}
if ((((((bulletsShot == 14) || (bulletsShot == 29)) || (bulletsShot == 44)) || (bulletsShot == 59)) || (bulletsShot == 74)) || (bulletsShot == 89)) {
currBullet = attachMovie("bulletBonus", "b14", -16360);
cb = 14;
}
if ((((((bulletsShot == 15) || (bulletsShot == 30)) || (bulletsShot == 45)) || (bulletsShot == 60)) || (bulletsShot == 75)) || (bulletsShot == 90)) {
currBullet = attachMovie("bulletBonus", "b15", -16359);
cb = 15;
}
currBullet.spd = 9.5;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + 90;
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.unloadMovie();
}
}
};
}
if (cb == 1) {
bullet1 = currBullet;
bulletsArray.push(bullet1);
}
if (cb == 2) {
bullet2 = currBullet;
bulletsArray.push(bullet2);
}
if (cb == 3) {
bullet3 = currBullet;
bulletsArray.push(bullet3);
}
if (cb == 4) {
bullet4 = currBullet;
bulletsArray.push(bullet4);
}
if (cb == 5) {
bullet5 = currBullet;
bulletsArray.push(bullet5);
}
if (cb == 6) {
bullet6 = currBullet;
bulletsArray.push(bullet6);
}
if (cb == 7) {
bullet7 = currBullet;
bulletsArray.push(bullet7);
}
if (cb == 8) {
bullet8 = currBullet;
bulletsArray.push(bullet8);
}
if (cb == 9) {
bullet9 = currBullet;
bulletsArray.push(bullet9);
}
if (cb == 10) {
bullet10 = currBullet;
bulletsArray.push(bullet10);
}
if (cb == 11) {
bullet11 = currBullet;
bulletsArray.push(bullet11);
}
if (cb == 12) {
bullet12 = currBullet;
bulletsArray.push(bullet12);
}
if (cb == 13) {
bullet13 = currBullet;
bulletsArray.push(bullet13);
}
if (cb == 14) {
bullet14 = currBullet;
bulletsArray.push(bullet14);
} else if (cb == 15) {
bullet15 = currBullet;
bulletsArray.push(bullet15);
}
if (bulletsShot <= 94) {
_root.orb.gotoAndPlay("rr");
}
if (bulletsShot == 95) {
_root.orb.gotoAndPlay("orb 4 balls");
}
if (bulletsShot == 96) {
_root.orb.gotoAndPlay("orb 3 balls");
}
if (bulletsShot == 97) {
_root.orb.gotoAndPlay("orb 2 balls");
}
if (bulletsShot == 98) {
_root.orb.gotoAndPlay("orb 1 ball");
}
if (bulletsShot == 99) {
_root.orb.gotoAndPlay("just orb");
}
if (bulletsShot > 99) {
_root.orb.gotoAndPlay("looporb");
}
}
};
onMouseMove = function () {
};
_root.targetsdown = 0;
tar10._rotation = randRange(0, 360);
tar7._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation - 0.5;
tar10._rotation = tar10._rotation + 0.3;
tar7._rotation = tar7._rotation + 1;
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b33-1");
}
for (i in _root.bulletsArray) {
if (_root.tar7.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar7.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf = randRange(1, 2);
if (halfhalf == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Instance of Symbol 2833 MovieClip "orb" in Frame 977
/* no clip actions */
Frame 978
stop();
_root.star1gone = false;
star1._rotation = randRange(0, 360);
tar1._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation + 0.5;
star1._rotation = star1._rotation - 0.8;
if ((t1hit == true) && (t2hit == true)) {
gotoAndStop ("b33-2");
}
for (i in _root.bulletsArray) {
if (_root.star1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star1gone = true;
star1.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar1.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("hitonce");
}
if (_root.tar1.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar1.hitspot2.gotoAndPlay("explode");
}
if (_root.tar1.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar1.hitspot3.gotoAndPlay("explode");
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.bulletsArray[i].spd = 9.5;
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Frame 979
stop();
_root.tarsdown = 0;
if (_root.star1gone == false) {
_root.star1.gotoAndPlay("dissap");
}
tar1._rotation = randRange(0, 360);
tar3._rotation = randRange(0, 360);
tar2._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar1._rotation = tar1._rotation - 0.7;
tar3._rotation = tar3._rotation + 1.2;
tar2._rotation = tar2._rotation + 1.1;
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation - 0.5;
if (_root.tarsdown == 3) {
gotoAndStop ("b33-3");
}
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Frame 980
stop();
deathstar1._rotation = randRange(0, 360);
deathstar2._rotation = deathstar1._rotation + 180;
tar11._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation + 0.5;
tar11._rotation = tar11._rotation - 1;
for (i in _root.bulletsArray) {
if (_root.tar11.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar11.gotoAndPlay("hitonce");
}
if (_root.tar11.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Frame 981
stop();
_root.tarsdown = 0;
tar1._rotation = randRange(0, 360);
tar2._rotation = tar1._rotation + 120;
tar3._rotation = tar2._rotation + 120;
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation - 0.5;
_root.deathstar1._rotation = _root.deathstar1._rotation + 1;
_root.deathstar2._rotation = _root.deathstar2._rotation + 1;
if (_root.tarsdown == 6) {
gotoAndStop ("b33-5");
}
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("hitonce");
}
if (_root.tar1.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar1.hitspot2.gotoAndPlay("explode");
}
if (_root.tar1.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar1.hitspot3.gotoAndPlay("explode");
}
if (_root.tar2.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("hitonce");
}
if (_root.tar2.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar2.hitspot2.gotoAndPlay("explode");
}
if (_root.tar2.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar2.hitspot3.gotoAndPlay("explode");
}
if (_root.tar3.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("hitonce");
}
if (_root.tar3.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar3.hitspot2.gotoAndPlay("explode");
}
if (_root.tar3.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar3.hitspot3.gotoAndPlay("explode");
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.bulletsArray[i].spd = 9.5;
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Frame 982
stop();
_root.star2gone = false;
_root.tarsdown = 0;
_root.deathstar1.gotoAndPlay("dissap");
_root.deathstar2.gotoAndPlay("dissap");
star2._rotation = randRange(0, 360);
tar9._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation + 0.5;
star2._rotation--;
if (((_root.tarsdown == 0) || (_root.tarsdown == 2)) || (_root.tarsdown == 4)) {
tar9._rotation = tar9._rotation - 2;
} else {
tar9._rotation = tar9._rotation + 2;
}
if (_root.tarsdown == 5) {
gotoAndStop ("b33-6");
}
for (i in _root.bulletsArray) {
if (_root.star2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star2gone = true;
star2.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar9.tar8t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.tar8t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.tar8t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.tar8t4.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t4.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.tar8t5.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.tar8t5.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Frame 983
stop();
if (_root.star2gone == false) {
_root.star2.gotoAndPlay("dissap");
}
tar2._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
_root.deathstarRot._rotation = _root.deathstarRot._rotation - 0.5;
tar2._rotation = tar2._rotation + 1;
for (i in _root.bulletsArray) {
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstarRot.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
}
};
Frame 985
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
challenge = 4;
_root.conseen = true;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 985
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 2468 MovieClip in Frame 998
/* no clip actions */
Frame 1041
stop();
_root.suicidal = false;
_root.stars = 0;
_root.shotsLeft = 99;
_root.targetsBar.calcbar._visible = false;
_root.failstarted = false;
_root.winstarted = false;
_root.oktoshoot = true;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall4loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall4loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
var timeleft = 60;
var currBullet;
var bulletsShot = 0;
var bulletsArray = new Array();
bulletsArray.push(bullet1);
onMouseDown = function () {
if (_root.oktoshoot == true) {
_root.chargerBar.gotoAndPlay("charge");
_root.shotsBar.shotsRem.text--;
_root.shotsLeft--;
if (_root.shotsBar.shotsRem.text < 1) {
_root.shotsBar.shotsRem.text = 0;
}
if (_root.shotsLeft < 1) {
_root.shotsLeft = 0;
}
bulletsShot++;
if (bulletsShot < 100) {
if (((((((bulletsShot == 1) || (bulletsShot == 16)) || (bulletsShot == 31)) || (bulletsShot == 46)) || (bulletsShot == 61)) || (bulletsShot == 76)) || (bulletsShot == 91)) {
currBullet = attachMovie("bulletBonus", "b1", -16373);
cb = 1;
}
if (((((((bulletsShot == 2) || (bulletsShot == 17)) || (bulletsShot == 32)) || (bulletsShot == 47)) || (bulletsShot == 62)) || (bulletsShot == 77)) || (bulletsShot == 92)) {
currBullet = attachMovie("bulletBonus", "b2", -16372);
cb = 2;
}
if (((((((bulletsShot == 3) || (bulletsShot == 18)) || (bulletsShot == 33)) || (bulletsShot == 48)) || (bulletsShot == 63)) || (bulletsShot == 78)) || (bulletsShot == 93)) {
currBullet = attachMovie("bulletBonus", "b3", -16371);
cb = 3;
}
if (((((((bulletsShot == 4) || (bulletsShot == 19)) || (bulletsShot == 34)) || (bulletsShot == 49)) || (bulletsShot == 64)) || (bulletsShot == 79)) || (bulletsShot == 94)) {
currBullet = attachMovie("bulletBonus", "b4", -16370);
cb = 4;
}
if (((((((bulletsShot == 5) || (bulletsShot == 20)) || (bulletsShot == 35)) || (bulletsShot == 50)) || (bulletsShot == 65)) || (bulletsShot == 80)) || (bulletsShot == 95)) {
currBullet = attachMovie("bulletBonus", "b5", -16369);
cb = 5;
}
if (((((((bulletsShot == 6) || (bulletsShot == 21)) || (bulletsShot == 36)) || (bulletsShot == 51)) || (bulletsShot == 66)) || (bulletsShot == 81)) || (bulletsShot == 96)) {
currBullet = attachMovie("bulletBonus", "b6", -16368);
cb = 6;
}
if (((((((bulletsShot == 7) || (bulletsShot == 22)) || (bulletsShot == 37)) || (bulletsShot == 52)) || (bulletsShot == 67)) || (bulletsShot == 82)) || (bulletsShot == 97)) {
currBullet = attachMovie("bulletBonus", "b7", -16367);
cb = 7;
}
if (((((((bulletsShot == 8) || (bulletsShot == 23)) || (bulletsShot == 38)) || (bulletsShot == 53)) || (bulletsShot == 68)) || (bulletsShot == 83)) || (bulletsShot == 98)) {
currBullet = attachMovie("bulletBonus", "b8", -16366);
cb = 8;
}
if (((((((bulletsShot == 9) || (bulletsShot == 24)) || (bulletsShot == 39)) || (bulletsShot == 54)) || (bulletsShot == 69)) || (bulletsShot == 84)) || (bulletsShot == 99)) {
currBullet = attachMovie("bulletBonus", "b9", -16365);
cb = 9;
}
if ((((((bulletsShot == 10) || (bulletsShot == 25)) || (bulletsShot == 40)) || (bulletsShot == 55)) || (bulletsShot == 70)) || (bulletsShot == 85)) {
currBullet = attachMovie("bulletBonus", "b10", -16364);
cb = 10;
}
if ((((((bulletsShot == 11) || (bulletsShot == 26)) || (bulletsShot == 41)) || (bulletsShot == 56)) || (bulletsShot == 71)) || (bulletsShot == 86)) {
currBullet = attachMovie("bulletBonus", "b11", -16363);
cb = 11;
}
if ((((((bulletsShot == 12) || (bulletsShot == 27)) || (bulletsShot == 42)) || (bulletsShot == 57)) || (bulletsShot == 72)) || (bulletsShot == 87)) {
currBullet = attachMovie("bulletBonus", "b12", -16362);
cb = 12;
}
if ((((((bulletsShot == 13) || (bulletsShot == 28)) || (bulletsShot == 43)) || (bulletsShot == 58)) || (bulletsShot == 73)) || (bulletsShot == 88)) {
currBullet = attachMovie("bulletBonus", "b13", -16361);
cb = 13;
}
if ((((((bulletsShot == 14) || (bulletsShot == 29)) || (bulletsShot == 44)) || (bulletsShot == 59)) || (bulletsShot == 74)) || (bulletsShot == 89)) {
currBullet = attachMovie("bulletBonus", "b14", -16360);
cb = 14;
}
if ((((((bulletsShot == 15) || (bulletsShot == 30)) || (bulletsShot == 45)) || (bulletsShot == 60)) || (bulletsShot == 75)) || (bulletsShot == 90)) {
currBullet = attachMovie("bulletBonus", "b15", -16359);
cb = 15;
}
currBullet.spd = 9.5;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + 90;
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.unloadMovie();
}
}
};
}
if (cb == 1) {
bullet1 = currBullet;
bulletsArray.push(bullet1);
}
if (cb == 2) {
bullet2 = currBullet;
bulletsArray.push(bullet2);
}
if (cb == 3) {
bullet3 = currBullet;
bulletsArray.push(bullet3);
}
if (cb == 4) {
bullet4 = currBullet;
bulletsArray.push(bullet4);
}
if (cb == 5) {
bullet5 = currBullet;
bulletsArray.push(bullet5);
}
if (cb == 6) {
bullet6 = currBullet;
bulletsArray.push(bullet6);
}
if (cb == 7) {
bullet7 = currBullet;
bulletsArray.push(bullet7);
}
if (cb == 8) {
bullet8 = currBullet;
bulletsArray.push(bullet8);
}
if (cb == 9) {
bullet9 = currBullet;
bulletsArray.push(bullet9);
}
if (cb == 10) {
bullet10 = currBullet;
bulletsArray.push(bullet10);
}
if (cb == 11) {
bullet11 = currBullet;
bulletsArray.push(bullet11);
}
if (cb == 12) {
bullet12 = currBullet;
bulletsArray.push(bullet12);
}
if (cb == 13) {
bullet13 = currBullet;
bulletsArray.push(bullet13);
}
if (cb == 14) {
bullet14 = currBullet;
bulletsArray.push(bullet14);
} else if (cb == 15) {
bullet15 = currBullet;
bulletsArray.push(bullet15);
}
if (bulletsShot <= 94) {
_root.orb.gotoAndPlay("rr");
}
if (bulletsShot == 95) {
_root.orb.gotoAndPlay("orb 4 balls");
}
if (bulletsShot == 96) {
_root.orb.gotoAndPlay("orb 3 balls");
}
if (bulletsShot == 97) {
_root.orb.gotoAndPlay("orb 2 balls");
}
if (bulletsShot == 98) {
_root.orb.gotoAndPlay("orb 1 ball");
}
if (bulletsShot == 99) {
_root.orb.gotoAndPlay("just orb");
}
if (bulletsShot > 99) {
_root.orb.gotoAndPlay("looporb");
}
}
};
onMouseMove = function () {
};
_root.targetsdown = 0;
tar1._rotation = randRange(0, 360);
tar8._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
tar8._rotation--;
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
if (_root.targetsdown == 13) {
gotoAndStop ("b3-2");
}
for (i in _root.bulletsArray) {
if (_root.tar8.tar8t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.tar8t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.tar8t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.tar8t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t4.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t4.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t5.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t5.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t6.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t6.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t7.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t7.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t8.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t8.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t9.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t9.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar1.tar1t10.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.tar1t10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce1.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce2.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce4.gotoAndPlay("bounce");
}
}
};
Instance of Symbol 2833 MovieClip "orb" in Frame 1041
/* no clip actions */
Frame 1042
stop();
_root.star2gone = false;
star2._rotation = randRange(0, 360);
deathstar1._rotation = randRange(0, 360);
tar4._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
t3hit = false;
t4hit = false;
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
deathstar1._rotation = deathstar1._rotation + 1;
tar4._rotation = tar4._rotation + 0.1;
star2._rotation--;
if ((((t1hit == true) && (t2hit == true)) && (t3hit == true)) && (t4hit == true)) {
gotoAndStop ("b3-3");
}
for (i in _root.bulletsArray) {
if (_root.star2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star2gone = true;
star2.gotoAndPlay("explode");
_root.stars++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.tar4.tar4t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t4.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t4.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce1.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce2.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce4.gotoAndPlay("bounce");
}
}
};
Frame 1043
stop();
if (_root.star2gone == false) {
_root.star2.gotoAndPlay("dissap");
}
_root.tarsdown = 0;
tar10rot = false;
tar11rot = false;
tar10._rotation = randRange(0, 360);
tar11._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
deathstar1._rotation = deathstar1._rotation - 1;
tar10._rotation = tar10._rotation + 1;
tar11._rotation = tar11._rotation - 0.5;
if (tar10rot == true) {
tar10._rotation = tar10._rotation - 1.5;
}
if (tar11rot == true) {
tar11._rotation = tar11._rotation + 1;
}
if (_root.tarsdown == 2) {
gotoAndStop ("b3-4");
}
for (i in _root.bulletsArray) {
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.tar10.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar10.gotoAndPlay("hitonce");
tar10rot = true;
}
if (_root.tar10.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar11.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar11.gotoAndPlay("hitonce");
tar11rot = true;
}
if (_root.tar11.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce1.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce2.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce4.gotoAndPlay("bounce");
}
}
};
Frame 1044
stop();
_root.tarsdown = 0;
_root.deathstar1.gotoAndPlay("dissap");
tar1._rotation = randRange(0, 360);
tar2._rotation = randRange(0, 360);
tar3._rotation = randRange(0, 360);
tar4._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation - 0.5;
tar1._rotation = tar1._rotation + 0.5;
tar2._rotation = tar2._rotation - 0.7;
tar3._rotation = tar3._rotation + 1.2;
tar4._rotation = tar4._rotation - 2;
if (_root.tarsdown == 4) {
gotoAndStop ("b3-5");
}
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce1.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce2.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce4.gotoAndPlay("bounce");
}
}
};
Frame 1045
stop();
_root.star2gone = false;
star2._rotation = randRange(0, 360);
tar4._rotation = randRange(0, 360);
t1hit = false;
t2hit = false;
deathstar1._rotation = randRange(0, 360);
deathstar2._rotation = randRange(0, 360);
deathstar3._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.bouncers._rotation = _root.bouncers._rotation + 0.5;
deathstar1._rotation = deathstar1._rotation - 0.5;
deathstar2._rotation = deathstar2._rotation + 0.7;
deathstar3._rotation = deathstar3._rotation - 0.9;
tar4._rotation = tar4._rotation - 0.7;
star2._rotation--;
if ((t1hit == true) && (t2hit == true)) {
_root.timeBar.stop();
_root.successBonus.gotoAndPlay("go");
}
for (i in _root.bulletsArray) {
if (_root.star2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star2gone = true;
star2.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar4.tar4t1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.tar4t2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.tar4t2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.bouncers.bounce1.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf1 = randRange(1, 2);
if (halfhalf1 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf1 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce1.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce2.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce2.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce3.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf3 = randRange(1, 2);
if (halfhalf3 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf3 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce3.gotoAndPlay("bounce");
}
if (_root.bouncers.bounce4.spot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf4 = randRange(1, 2);
if (halfhalf4 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(20, 70);
}
if (halfhalf4 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(110, 160);
}
_root.bouncers.bounce4.gotoAndPlay("bounce");
}
}
};
Frame 1047
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
challenge = 5;
_root.conseen = true;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
_root.deathstarRot1._rotation = _root.deathstarRot1._rotation + 0.5;
_root.deathstarRot2._rotation = _root.deathstarRot2._rotation + 0.5;
_root.deathstarRot3._rotation = _root.deathstarRot3._rotation + 0.5;
_root.deathstarRot4._rotation = _root.deathstarRot4._rotation + 0.5;
_root.deathstarRot5._rotation = _root.deathstarRot5._rotation + 0.5;
_root.deathstarRot6._rotation = _root.deathstarRot6._rotation + 0.5;
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall3loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1047
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 2468 MovieClip in Frame 1060
/* no clip actions */
Frame 1103
stop();
_root.suicidal = false;
_root.stars = 0;
_root.shotsLeft = 99;
_root.targetsBar.calcbar._visible = false;
_root.failstarted = false;
_root.winstarted = false;
_root.oktoshoot = true;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00achall5loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00achall5loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
var timeleft = 60;
var currBullet;
var bulletsShot = 0;
var bulletsArray = new Array();
bulletsArray.push(bullet1);
onMouseDown = function () {
if (_root.oktoshoot == true) {
_root.chargerBar.gotoAndPlay("charge");
_root.shotsBar.shotsRem.text--;
_root.shotsLeft--;
if (_root.shotsBar.shotsRem.text < 1) {
_root.shotsBar.shotsRem.text = 0;
}
if (_root.shotsLeft < 1) {
_root.shotsLeft = 0;
}
bulletsShot++;
if (bulletsShot < 100) {
if (((((((bulletsShot == 1) || (bulletsShot == 16)) || (bulletsShot == 31)) || (bulletsShot == 46)) || (bulletsShot == 61)) || (bulletsShot == 76)) || (bulletsShot == 91)) {
currBullet = attachMovie("bulletBonus", "b1", -16373);
cb = 1;
}
if (((((((bulletsShot == 2) || (bulletsShot == 17)) || (bulletsShot == 32)) || (bulletsShot == 47)) || (bulletsShot == 62)) || (bulletsShot == 77)) || (bulletsShot == 92)) {
currBullet = attachMovie("bulletBonus", "b2", -16372);
cb = 2;
}
if (((((((bulletsShot == 3) || (bulletsShot == 18)) || (bulletsShot == 33)) || (bulletsShot == 48)) || (bulletsShot == 63)) || (bulletsShot == 78)) || (bulletsShot == 93)) {
currBullet = attachMovie("bulletBonus", "b3", -16371);
cb = 3;
}
if (((((((bulletsShot == 4) || (bulletsShot == 19)) || (bulletsShot == 34)) || (bulletsShot == 49)) || (bulletsShot == 64)) || (bulletsShot == 79)) || (bulletsShot == 94)) {
currBullet = attachMovie("bulletBonus", "b4", -16370);
cb = 4;
}
if (((((((bulletsShot == 5) || (bulletsShot == 20)) || (bulletsShot == 35)) || (bulletsShot == 50)) || (bulletsShot == 65)) || (bulletsShot == 80)) || (bulletsShot == 95)) {
currBullet = attachMovie("bulletBonus", "b5", -16369);
cb = 5;
}
if (((((((bulletsShot == 6) || (bulletsShot == 21)) || (bulletsShot == 36)) || (bulletsShot == 51)) || (bulletsShot == 66)) || (bulletsShot == 81)) || (bulletsShot == 96)) {
currBullet = attachMovie("bulletBonus", "b6", -16368);
cb = 6;
}
if (((((((bulletsShot == 7) || (bulletsShot == 22)) || (bulletsShot == 37)) || (bulletsShot == 52)) || (bulletsShot == 67)) || (bulletsShot == 82)) || (bulletsShot == 97)) {
currBullet = attachMovie("bulletBonus", "b7", -16367);
cb = 7;
}
if (((((((bulletsShot == 8) || (bulletsShot == 23)) || (bulletsShot == 38)) || (bulletsShot == 53)) || (bulletsShot == 68)) || (bulletsShot == 83)) || (bulletsShot == 98)) {
currBullet = attachMovie("bulletBonus", "b8", -16366);
cb = 8;
}
if (((((((bulletsShot == 9) || (bulletsShot == 24)) || (bulletsShot == 39)) || (bulletsShot == 54)) || (bulletsShot == 69)) || (bulletsShot == 84)) || (bulletsShot == 99)) {
currBullet = attachMovie("bulletBonus", "b9", -16365);
cb = 9;
}
if ((((((bulletsShot == 10) || (bulletsShot == 25)) || (bulletsShot == 40)) || (bulletsShot == 55)) || (bulletsShot == 70)) || (bulletsShot == 85)) {
currBullet = attachMovie("bulletBonus", "b10", -16364);
cb = 10;
}
if ((((((bulletsShot == 11) || (bulletsShot == 26)) || (bulletsShot == 41)) || (bulletsShot == 56)) || (bulletsShot == 71)) || (bulletsShot == 86)) {
currBullet = attachMovie("bulletBonus", "b11", -16363);
cb = 11;
}
if ((((((bulletsShot == 12) || (bulletsShot == 27)) || (bulletsShot == 42)) || (bulletsShot == 57)) || (bulletsShot == 72)) || (bulletsShot == 87)) {
currBullet = attachMovie("bulletBonus", "b12", -16362);
cb = 12;
}
if ((((((bulletsShot == 13) || (bulletsShot == 28)) || (bulletsShot == 43)) || (bulletsShot == 58)) || (bulletsShot == 73)) || (bulletsShot == 88)) {
currBullet = attachMovie("bulletBonus", "b13", -16361);
cb = 13;
}
if ((((((bulletsShot == 14) || (bulletsShot == 29)) || (bulletsShot == 44)) || (bulletsShot == 59)) || (bulletsShot == 74)) || (bulletsShot == 89)) {
currBullet = attachMovie("bulletBonus", "b14", -16360);
cb = 14;
}
if ((((((bulletsShot == 15) || (bulletsShot == 30)) || (bulletsShot == 45)) || (bulletsShot == 60)) || (bulletsShot == 75)) || (bulletsShot == 90)) {
currBullet = attachMovie("bulletBonus", "b15", -16359);
cb = 15;
}
currBullet.spd = 9.5;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + 90;
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.unloadMovie();
}
}
};
}
if (cb == 1) {
bullet1 = currBullet;
bulletsArray.push(bullet1);
}
if (cb == 2) {
bullet2 = currBullet;
bulletsArray.push(bullet2);
}
if (cb == 3) {
bullet3 = currBullet;
bulletsArray.push(bullet3);
}
if (cb == 4) {
bullet4 = currBullet;
bulletsArray.push(bullet4);
}
if (cb == 5) {
bullet5 = currBullet;
bulletsArray.push(bullet5);
}
if (cb == 6) {
bullet6 = currBullet;
bulletsArray.push(bullet6);
}
if (cb == 7) {
bullet7 = currBullet;
bulletsArray.push(bullet7);
}
if (cb == 8) {
bullet8 = currBullet;
bulletsArray.push(bullet8);
}
if (cb == 9) {
bullet9 = currBullet;
bulletsArray.push(bullet9);
}
if (cb == 10) {
bullet10 = currBullet;
bulletsArray.push(bullet10);
}
if (cb == 11) {
bullet11 = currBullet;
bulletsArray.push(bullet11);
}
if (cb == 12) {
bullet12 = currBullet;
bulletsArray.push(bullet12);
}
if (cb == 13) {
bullet13 = currBullet;
bulletsArray.push(bullet13);
}
if (cb == 14) {
bullet14 = currBullet;
bulletsArray.push(bullet14);
} else if (cb == 15) {
bullet15 = currBullet;
bulletsArray.push(bullet15);
}
if (bulletsShot <= 94) {
_root.orb.gotoAndPlay("rr");
}
if (bulletsShot == 95) {
_root.orb.gotoAndPlay("orb 4 balls");
}
if (bulletsShot == 96) {
_root.orb.gotoAndPlay("orb 3 balls");
}
if (bulletsShot == 97) {
_root.orb.gotoAndPlay("orb 2 balls");
}
if (bulletsShot == 98) {
_root.orb.gotoAndPlay("orb 1 ball");
}
if (bulletsShot == 99) {
_root.orb.gotoAndPlay("just orb");
}
if (bulletsShot > 99) {
_root.orb.gotoAndPlay("looporb");
}
}
};
onMouseMove = function () {
};
_root.tarsdown = 0;
tar11rot = false;
tar12rot = false;
_root.star2gone = false;
star2._rotation = randRange(0, 360);
tar11._rotation = randRange(0, 360);
tar12._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.deathstarRot1._rotation = _root.deathstarRot1._rotation + 0.5;
_root.deathstarRot2._rotation = _root.deathstarRot2._rotation + 0.5;
_root.deathstarRot3._rotation = _root.deathstarRot3._rotation + 0.5;
_root.deathstarRot4._rotation = _root.deathstarRot4._rotation + 0.5;
_root.deathstarRot5._rotation = _root.deathstarRot5._rotation + 0.5;
_root.deathstarRot6._rotation = _root.deathstarRot6._rotation + 0.5;
star2._rotation--;
tar12._rotation = tar12._rotation + 1;
tar11._rotation = tar11._rotation - 0.5;
if (tar12rot == true) {
tar12._rotation = tar12._rotation - 2;
}
if (tar11rot == true) {
tar11._rotation = tar11._rotation + 1;
}
if (_root.tarsdown == 2) {
gotoAndStop ("b5-1");
}
for (i in _root.bulletsArray) {
if (_root.tar11.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar11.gotoAndPlay("hitonce");
tar11rot = true;
}
if (_root.tar11.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar12.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar12.gotoAndPlay("hitonce");
tar12rot = true;
}
if (_root.tar12.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar12.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.star2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star2gone = true;
star2.gotoAndPlay("explode");
_root.stars++;
}
if (_root.deathstarRot1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot4.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot4.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot5.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot5.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot6.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot6.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
};
Instance of Symbol 2833 MovieClip "orb" in Frame 1103
/* no clip actions */
Frame 1104
_root.tarsdown = 0;
if (_root.star2gone == false) {
_root.star2.gotoAndPlay("dissap");
}
tar3._rotation = randRange(0, 360);
tar4._rotation = tar3._rotation + 20;
tar5._rotation = tar4._rotation + 20;
_root.onEnterFrame = function () {
_root.deathstarRot1._rotation = _root.deathstarRot1._rotation - 0.5;
_root.deathstarRot2._rotation = _root.deathstarRot2._rotation - 0.5;
_root.deathstarRot3._rotation = _root.deathstarRot3._rotation - 0.5;
_root.deathstarRot4._rotation = _root.deathstarRot4._rotation - 0.5;
_root.deathstarRot5._rotation = _root.deathstarRot5._rotation - 0.5;
_root.deathstarRot6._rotation = _root.deathstarRot6._rotation - 0.5;
tar3._rotation = tar3._rotation + 0.7;
tar4._rotation = tar4._rotation + 0.7;
tar5._rotation = tar5._rotation + 0.7;
if (_root.tarsdown == 6) {
gotoAndStop ("b5-2");
}
for (i in _root.bulletsArray) {
if (_root.tar3.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("hitonce");
}
if (_root.tar3.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar3.hitspot2.gotoAndPlay("explode");
}
if (_root.tar3.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar3.hitspot3.gotoAndPlay("explode");
}
if (_root.tar4.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.gotoAndPlay("hitonce");
}
if (_root.tar4.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar4.hitspot2.gotoAndPlay("explode");
}
if (_root.tar4.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar4.hitspot3.gotoAndPlay("explode");
}
if (_root.tar5.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar5.gotoAndPlay("hitonce");
}
if (_root.tar5.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar5.hitspot2.gotoAndPlay("explode");
}
if (_root.tar5.hitspot3.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (_root.bulletsArray[i].spd == 9.5)) {
_root.bulletsArray[i].spd = 9.4;
_root.targetsBar.tarDown.text++;
_root.tar5.hitspot3.gotoAndPlay("explode");
}
if (_root.deathstarRot1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot4.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot4.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot5.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot5.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot6.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot6.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
};
Frame 1105
_root.tarsdown = 0;
_root.star1gone = false;
_root.star2gone = false;
star1._rotation = randRange(0, 360);
tar1._rotation = star1._rotation + 22.5;
tar2._rotation = tar1._rotation + 22.5;
tar3._rotation = tar2._rotation + 22.5;
tar4._rotation = tar3._rotation + 22.5;
tar5._rotation = tar4._rotation + 22.5;
tar6._rotation = tar5._rotation + 22.5;
tar7._rotation = tar6._rotation + 22.5;
star2._rotation = tar7._rotation + 22.5;
tar8._rotation = star2._rotation + 22.5;
tar9._rotation = tar8._rotation + 22.5;
tar10._rotation = tar9._rotation + 22.5;
tar11._rotation = tar10._rotation + 22.5;
tar12._rotation = tar11._rotation + 22.5;
tar13._rotation = tar12._rotation + 22.5;
tar14._rotation = tar13._rotation + 22.5;
_root.onEnterFrame = function () {
_root.deathstarRot1._rotation = _root.deathstarRot1._rotation + 0.5;
_root.deathstarRot2._rotation = _root.deathstarRot2._rotation + 0.5;
_root.deathstarRot3._rotation = _root.deathstarRot3._rotation + 0.5;
_root.deathstarRot4._rotation = _root.deathstarRot4._rotation + 0.5;
_root.deathstarRot5._rotation = _root.deathstarRot5._rotation + 0.5;
_root.deathstarRot6._rotation = _root.deathstarRot6._rotation + 0.5;
if (_root.tarsdown == 14) {
gotoAndStop ("b5-3");
}
for (i in _root.bulletsArray) {
if (_root.star1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star1gone = true;
star1.gotoAndPlay("explode");
_root.stars++;
}
if (_root.star2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.star2gone = true;
star2.gotoAndPlay("explode");
_root.stars++;
}
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar3.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar4.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar4.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar5.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar5.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar6.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar6.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar7.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar7.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar8.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar8.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar9.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar9.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar10.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar10.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar11.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar11.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar12.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar12.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar13.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar13.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar14.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar14.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstarRot1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot4.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot4.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot5.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot5.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot6.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot6.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
};
Frame 1106
_root.tarsdown = 0;
if (_root.star1gone == false) {
_root.star1.gotoAndPlay("dissap");
}
if (_root.star2gone == false) {
_root.star2.gotoAndPlay("dissap");
}
tar1._rotation = randRange(0, 360);
tar2._rotation = tar1._rotation + 180;
deathstar1._rotation = randRange(0, 360);
deathstar2._rotation = deathstar1._rotation + 120;
deathstar3._rotation = deathstar2._rotation + 120;
_root.onEnterFrame = function () {
_root.deathstarRot1._rotation = _root.deathstarRot1._rotation - 0.5;
_root.deathstarRot2._rotation = _root.deathstarRot2._rotation - 0.5;
_root.deathstarRot3._rotation = _root.deathstarRot3._rotation - 0.5;
_root.deathstarRot4._rotation = _root.deathstarRot4._rotation - 0.5;
_root.deathstarRot5._rotation = _root.deathstarRot5._rotation - 0.5;
_root.deathstarRot6._rotation = _root.deathstarRot6._rotation - 0.5;
tar1._rotation = tar1._rotation - 1.5;
tar2._rotation = tar2._rotation - 1.5;
deathstar1._rotation = deathstar1._rotation + 1;
deathstar2._rotation = deathstar2._rotation + 1;
deathstar3._rotation = deathstar3._rotation + 1;
if (_root.tarsdown == 2) {
gotoAndStop ("b5-4");
}
for (i in _root.bulletsArray) {
if (_root.tar1.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar1.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.tar2.hitspot.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar2.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot4.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot4.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot5.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot5.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot6.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot6.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
};
Frame 1107
_root.tarsdown = 0;
tar3rot = false;
tar3._rotation = randRange(0, 360);
_root.onEnterFrame = function () {
_root.deathstarRot1._rotation = _root.deathstarRot1._rotation + 0.5;
_root.deathstarRot2._rotation = _root.deathstarRot2._rotation + 0.5;
_root.deathstarRot3._rotation = _root.deathstarRot3._rotation + 0.5;
_root.deathstarRot4._rotation = _root.deathstarRot4._rotation + 0.5;
_root.deathstarRot5._rotation = _root.deathstarRot5._rotation + 0.5;
_root.deathstarRot6._rotation = _root.deathstarRot6._rotation + 0.5;
tar3._rotation = tar3._rotation - 1.5;
deathstar1._rotation = deathstar1._rotation - 1;
deathstar2._rotation = deathstar2._rotation - 1;
deathstar3._rotation = deathstar3._rotation - 1;
if (tar3rot == true) {
tar3._rotation = tar3._rotation + 3;
}
for (i in _root.bulletsArray) {
if (_root.tar3.hitspot1.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
halfhalf2 = randRange(1, 2);
if (halfhalf2 == 1) {
bulletsArray[i]._rotation = myDegrees - randRange(15, 75);
}
if (halfhalf2 == 2) {
bulletsArray[i]._rotation = myDegrees - randRange(105, 165);
}
tar3.gotoAndPlay("hitonce");
tar3rot = true;
}
if (_root.tar3.hitspot2.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
tar3.gotoAndPlay("explode");
_root.targetsBar.tarDown.text++;
}
if (_root.deathstar1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstar3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstar3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot1.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot1.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot2.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot2.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot3.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot3.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot4.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot4.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot5.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot5.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.deathstarRot6.hitarea.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true)) {
_root.deathstarRot6.gotoAndPlay("bounce");
bulletsArray[i]._rotation = myDegrees - 90;
bulletsArray[i].spd = 9.6;
}
if (_root.orb.hitTest(_root.bulletsArray[i]._x, _root.bulletsArray[i]._y, true) && (bulletsArray[i].spd == 9.6)) {
_root.orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
};
Frame 1109
mission = 0;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amisstutloop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amisstutloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1109
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1169
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = -369.65;
d2y = -423.25;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM0", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM0", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM0", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM0", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM0", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1169
/* no clip actions */
Frame 1171
mission = 1;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1171
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1231
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.hurtorb = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss1loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.hurtorb = true;
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
_root.hurtorb = true;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1231
/* no clip actions */
Frame 1233
mission = 2;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss2loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss2loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1233
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1293
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss2loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss2loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - 5;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1293
/* no clip actions */
Frame 1295
mission = 3;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss3loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss3loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1295
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1355
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss3loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss3loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1355
/* no clip actions */
Frame 1357
mission = 4;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss4loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss4loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1357
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1417
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss4loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss4loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.platform1.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.platform1.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.platform1.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.platform1.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.platform1.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.platform1.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.platform1.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.platform1.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.platform1.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.platform1.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.platform1.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.platform1.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.platform1.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.platform1.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.platform1.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.platform1.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.platform1.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.platform1.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.platform1.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.platform1.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.bounce1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - 5;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.bounce1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - 5;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1417
/* no clip actions */
Frame 1419
mission = 5;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss5loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss5loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1419
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1479
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00amiss5loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00amiss5loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM1", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1479
/* no clip actions */
Frame 1481
mission = 7;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level6loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level6loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1481
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1541
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level6loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level6loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1541
/* no clip actions */
Frame 1543
mission = 6;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level7loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level7loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1543
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1603
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level7loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level7loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1603
/* no clip actions */
Frame 1605
mission = 8;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level8loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level8loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1605
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1665
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level8loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level8loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1665
/* no clip actions */
Frame 1667
mission = 9;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level9loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level9loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1667
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1727
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level9loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level9loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if ((((_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) || (_root.powerups.hotspot3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) || (_root.powerups.hotspot4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) || (_root.powerups.hotspot5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1727
/* no clip actions */
Frame 1729
mission = 10;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level10loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level10loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1729
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1789
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
timeBar.gotoAndPlay(1003);
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0level10loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0level10loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM2", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1789
/* no clip actions */
Frame 1791
mission = 11;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission11loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission11loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1791
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1851
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission11loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission11loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1851
/* no clip actions */
Frame 1853
mission = 12;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission12loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission12loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1853
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1913
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
t1hitonce = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission12loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission12loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
_root.powerups.hotspot2._rotation = _root.powerups.hotspot2._rotation - 1.5;
if (t1hitonce == true) {
_root.powerups.hotspot._rotation = _root.powerups.hotspot._rotation + 2;
} else {
_root.powerups.hotspot._rotation = _root.powerups.hotspot._rotation - 2;
}
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1913
/* no clip actions */
Frame 1915
mission = 13;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission13loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission13loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1915
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 1975
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission13loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission13loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
_root.powerups.hotspot2._rotation = _root.powerups.hotspot2._rotation - 1.5;
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 1975
/* no clip actions */
Frame 1977
mission = 14;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission14loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission14loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 1977
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 2037
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
t1hitonce = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission14loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission14loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
if (t1hitonce == true) {
_root.powerups.hotspot._rotation = _root.powerups.hotspot._rotation + 7;
} else {
_root.powerups.hotspot._rotation = _root.powerups.hotspot._rotation - 7;
}
_root.powerups.hotspot2._rotation = _root.powerups.hotspot2._rotation + 7;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.death1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet2._currentframe == 1) && (_root.powerups.death1.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet3._currentframe == 1) && (_root.powerups.death1.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet4._currentframe == 1) && (_root.powerups.death1.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet5._currentframe == 1) && (_root.powerups.death1.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
if (t1hitonce == false) {
_root.powerups.hotspot.gotoAndPlay("hitonce");
t1hitonce = true;
} else {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
}
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.death1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 2037
/* no clip actions */
Frame 2039
mission = 15;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission15loop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission15loop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 2039
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 2099
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.successTimer = -10;
shootTimer = 6;
timeBar.gotoAndPlay(1003);
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("00mission15loop");
bgSound.start(0, 99);
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("00mission15loop");
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
_root.powerups.hotspot._rotation = _root.powerups.hotspot._rotation - 5;
_root.powerups.hotspot2._rotation = _root.powerups.hotspot2._rotation + 5;
_root.powerups.hotspot3._rotation = _root.powerups.hotspot3._rotation - 5;
_root.powerups.hotspot4._rotation = _root.powerups.hotspot4._rotation + 5;
_root.powerups.hotspot5._rotation = _root.powerups.hotspot5._rotation - 5;
shootTimer++;
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM3", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.death1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet2._currentframe == 1) && (_root.powerups.death1.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet3._currentframe == 1) && (_root.powerups.death1.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet4._currentframe == 1) && (_root.powerups.death1.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet5._currentframe == 1) && (_root.powerups.death1.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot3.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot3.unloadMovie();
_root.stuff.trapgen3.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot4.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot4.unloadMovie();
_root.stuff.trapgen4.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot5.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot5.unloadMovie();
_root.stuff.trapgen5.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
for (r in powerups.resetArray) {
if (_root.powerups.resetArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.resetArray[r].gotoAndStop("del");
_root.powerups.resetArray[r].unloadMovie();
timeSound = new Sound();
timeSound.attachSound("00resettime");
timeSound.start(0, 1);
timeFrame = _root.timeBar._currentframe - 200;
if (timeFrame > 1) {
_root.timeBar.gotoAndPlay(timeFrame);
} else {
_root.timeBar.gotoAndPlay(1);
}
}
}
for (j in powerups.speeddownsArray) {
if (_root.powerups.speeddownsArray[j].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speeddownsArray[j].gotoAndStop("del");
_root.powerups.speeddownsArray[j].unloadMovie();
speedSound = new Sound();
speedSound.attachSound("13slowdown");
speedSound.start(0, 1);
_root.orbspeed = 3;
_root.speedBar.gotoAndPlay("play");
}
}
for (k in powerups.speedupsArray) {
if (_root.powerups.speedupsArray[k].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.speedupsArray[k].gotoAndStop("del");
_root.powerups.speedupsArray[k].unloadMovie();
speed2Sound = new Sound();
speed2Sound.attachSound("16speedup");
speed2Sound.start(0, 1);
_root.orbspeed = 11.6;
_root.maxInertia = 3.3;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
_root.speedBar.gotoAndPlay("play");
}
}
for (b in powerups.bulletsupArray) {
if (_root.powerups.bulletsupArray[b].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsupArray[b].gotoAndStop("del");
_root.powerups.bulletsupArray[b].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("03 orbappearing");
extraSound.start(0, 1);
_root.bulletspeeds = 2;
}
}
for (c in powerups.bulletsdownArray) {
if (_root.powerups.bulletsdownArray[c].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.bulletsdownArray[c].gotoAndStop("del");
_root.powerups.bulletsdownArray[c].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
_root.bulletspeeds = 0.5;
}
}
for (e in powerups.confusionArray) {
if (_root.powerups.confusionArray[e].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.confusionArray[e].gotoAndStop("del");
_root.powerups.confusionArray[e].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00conf");
extraSound.start(0, 1);
_root.confusionstep = -1;
}
}
for (f in powerups.fixArray) {
if (_root.powerups.fixArray[f].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.fixArray[f].gotoAndStop("del");
_root.powerups.fixArray[f].unloadMovie();
extraSound = new Sound();
extraSound.attachSound("00counterconf");
extraSound.start(0, 1);
_root.confusionstep = 1;
}
}
for (p in powerups.powerupsSmallArray) {
if (_root.powerups.powerupsSmallArray[p].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsSmallArray[p].gotoAndStop("del");
_root.powerups.powerupsSmallArray[p].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 50;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (q in powerups.powerupsMediumArray) {
if (_root.powerups.powerupsMediumArray[q].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsMediumArray[q].gotoAndStop("del");
_root.powerups.powerupsMediumArray[q].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = _root.power + 100;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
for (r in powerups.powerupsLargeArray) {
if (_root.powerups.powerupsLargeArray[r].hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.powerupsLargeArray[r].gotoAndStop("del");
_root.powerups.powerupsLargeArray[r].unloadMovie();
powerSound = new Sound();
powerSound.attachSound("12powerup");
powerSound.start(0, 1);
_root.power = 200;
if (_root.power > 200) {
_root.power = 200;
}
_root.powerBar.powerunits.text = _root.power;
}
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.platform1.exit1.gotoAndPlay("normal");
_root.powerups.teleportkey.unloadMovie();
_root.teleportaccess.gotoAndPlay("granted");
}
if (_root.stuff.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.powerups.death1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if ((((_root.powerups.hotspot.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true) || (_root.powerups.hotspot2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) || (_root.powerups.hotspot3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) || (_root.powerups.hotspot4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) || (_root.powerups.hotspot5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
power = power - (_root.difficulty * 2);
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 2099
/* no clip actions */
Frame 2101
mission = 16;
_root.platform1.colorWheel.key1._alpha = 0;
_root.platform1.colorWheel.key2._alpha = 0;
_root.platform1.colorWheel.key3._alpha = 0;
_root.platform1.colorWheel.key4._alpha = 0;
_root.platform1.colorWheel.key5._alpha = 0;
_root.platform1.colorWheel.key6._alpha = 0;
_root.platform1.colorWheel.key7._alpha = 0;
_root.platform1.colorWheel.key8._alpha = 0;
_root.platform1.colorWheel.key9._alpha = 0;
_root.platform1.colorWheel.key10._alpha = 0;
_root.platform1.colorWheel.key11._alpha = 0;
_root.platform1.colorWheel.key12._alpha = 0;
_root.platform1.colorWheel.key13._alpha = 0;
_root.platform1.colorWheel.key14._alpha = 0;
_root.platform1.colorWheel.key15._alpha = 0;
_root.platform1.colorWheel.key16._alpha = 0;
_root.platform1.colorWheel.key17._alpha = 0;
_root.platform1.colorWheel.key18._alpha = 0;
_root.platform1.colorWheel.key19._alpha = 0;
_root.platform1.colorWheel.key20._alpha = 0;
_root.platform1.colorWheel.key21._alpha = 0;
_root.platform1.colorWheel.key22._alpha = 0;
_root.platform1.colorWheel.key23._alpha = 0;
_root.platform1.colorWheel.key24._alpha = 0;
var power = 200;
stopAllSounds();
onMouseDown = function () {
};
_root.onEnterFrame = function () {
};
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
bgSound.attachSound("0mFinalloop");
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
bgSound.attachSound("0mFinalloop");
}
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
};
Key.addListener(mySoundListener);
_root.playpressed = false;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 2101
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 4267 MovieClip in Frame 2118
/* no clip actions */
Instance of Symbol 4543 MovieClip "key1get" in Frame 2231
/* no clip actions */
Instance of Symbol 4492 MovieClip "key19get" in Frame 2231
/* no clip actions */
Instance of Symbol 4594 MovieClip "key13get" in Frame 2231
/* no clip actions */
Instance of Symbol 4441 MovieClip "key7get" in Frame 2231
/* no clip actions */
Frame 2326
function CalculateInertia(aMC, xMove, yMove) {
if (yMove > 0) {
currentInertiaY = maxInertia;
}
if (yMove < 0) {
currentInertiaY = maxInertia * -1;
}
if (xMove > 0) {
currentInertiaX = maxInertia;
}
if (xMove < 0) {
currentInertiaX = maxInertia * -1;
}
if (yMove == 0) {
aMC._y = aMC._y + currentInertiaY;
}
if (xMove == 0) {
aMC._x = aMC._x + currentInertiaX;
}
}
function UpdateInertia(xMove, yMove) {
if (yMove == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (xMove == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
function CalculateInertia2(aMC2, x2Move, y2Move) {
if (y2Move > 0) {
currentInertiaY = maxInertia;
}
if (y2Move < 0) {
currentInertiaY = maxInertia * -1;
}
if (x2Move > 0) {
currentInertiaX = maxInertia;
}
if (x2Move < 0) {
currentInertiaX = maxInertia * -1;
}
if (y2Move == 0) {
aMC2._y = aMC2._y + (Math.sin(angle) * currentInertiaY);
}
if (x2Move == 0) {
aMC2._x = aMC2._x + (Math.cos(angle) * currentInertiaX);
}
}
function UpdateInertia2(x2Move, y2Move) {
if (y2Move == 0) {
if (currentInertiaY > 0) {
currentInertiaY = currentInertiaY - inertiaStep;
if (currentInertiaY < 0) {
currentInertiaY = 0;
}
}
if (currentInertiaY < 0) {
currentInertiaY = currentInertiaY + inertiaStep;
if (currentInertiaY > 0) {
currentInertiaY = 0;
}
}
}
if (x2Move == 0) {
if (currentInertiaX > 0) {
currentInertiaX = currentInertiaX - inertiaStep;
if (currentInertiaX < 0) {
currentInertiaX = 0;
}
}
if (currentInertiaX < 0) {
currentInertiaX = currentInertiaX + inertiaStep;
if (currentInertiaX > 0) {
currentInertiaX = 0;
}
}
}
}
stop();
_root.suicidal = false;
_root.teetaken = false;
_root.announce = true;
_root.remainingColors = 24;
_root.colorsBar.colorsLeft.text = Number;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.colorsBar.colorTag1._alpha = 100;
_root.colorsBar.colorTag2._alpha = 100;
_root.colorsBar.colorTag3._alpha = 100;
_root.colorsBar.colorTag4._alpha = 100;
_root.colorsBar.colorTag5._alpha = 100;
_root.colorsBar.colorTag6._alpha = 100;
_root.colorsBar.colorTag7._alpha = 100;
_root.colorsBar.colorTag8._alpha = 100;
_root.colorsBar.colorTag9._alpha = 100;
_root.colorsBar.colorTag10._alpha = 100;
_root.colorsBar.colorTag11._alpha = 100;
_root.colorsBar.colorTag12._alpha = 100;
_root.colorsBar.colorTag13._alpha = 100;
_root.colorsBar.colorTag14._alpha = 100;
_root.colorsBar.colorTag15._alpha = 100;
_root.colorsBar.colorTag16._alpha = 100;
_root.colorsBar.colorTag17._alpha = 100;
_root.colorsBar.colorTag18._alpha = 100;
_root.colorsBar.colorTag19._alpha = 100;
_root.colorsBar.colorTag20._alpha = 100;
_root.colorsBar.colorTag21._alpha = 100;
_root.colorsBar.colorTag22._alpha = 100;
_root.colorsBar.colorTag23._alpha = 100;
_root.colorsBar.colorTag24._alpha = 100;
_root.colorChange = false;
_root.successTimer = -10;
shootTimer = 6;
_root.failstarted = false;
_root.winstarted = false;
_root.confusionstep = 1;
_root.bulletspeeds = 1;
Key.removeListener(mySoundListener);
if (_root.musicplaying == true) {
_root.musicicon.gotoAndStop("on");
bgSound = new Sound();
if (_root.colorChange == false) {
bgSound.attachSound("0mFinalloop");
bgSound.start(0, 99);
} else {
bgSound.attachSound("0mFinalloopRev");
bgSound.start(0, 99);
}
} else {
_root.musicicon.gotoAndStop("off");
bgSound = new Sound();
if (_root.colorChange == false) {
bgSound.attachSound("0mFinalloop");
} else {
bgSound.attachSound("0mFinalloopRev");
}
}
enterpressed = false;
var mySoundListener = new Object();
mySoundListener.onKeyUp = function () {
k = Key.getCode();
if (k == 77) {
if (musicplaying == true) {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
} else if (musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
}
}
if (k == 13) {
if (enterpressed == false) {
enterpressed = true;
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.suicidal = true;
_root.die1.gotoAndPlay("die");
} else if (enterpressed == true) {
}
}
};
Key.addListener(mySoundListener);
dead = true;
diamondget = false;
var orbspeed = 5.8;
var power = 200;
if (power > 200) {
power = 200;
}
powerBar.powerunits.text = power;
var timeleft = 60;
maxInertia = 2.2;
inertiaStep = 0.2;
currentInertiaY = 0;
currentInertiaX = 0;
_root.onEnterFrame = function () {
_root.successTimer--;
if (_root.successTimer == 0) {
stopAllSounds();
_root.success.gotoAndPlay(3);
}
shootTimer++;
if (_root.colorChange == false) {
_root.platform1.colorWheel._rotation = _root.platform1.colorWheel._rotation + 0.25;
bgSound.attachSound("0mFinalloop");
} else {
_root.platform1.colorWheel._rotation = _root.platform1.colorWheel._rotation - 0.25;
bgSound.attachSound("0mFinalloopRev");
}
if ((((_root.teetaken = true)) && (_root.remainingColors == 0)) && (_root.announce == true)) {
_root.teleportaccess.gotoAndPlay("granted");
_root.platform1.exit1.gotoAndPlay("normal");
_root.announce = false;
}
d1x = _root.platform1._x - _root.stuff._x;
d1y = _root.platform1._y - _root.stuff._y;
d1x = 51.55;
d1y = 622.65;
_root.stuff._x = _root.platform1._x - d1x;
_root.stuff._y = _root.platform1._y - d1y;
d2x = _root.platform1._x - _root.powerups._x;
d2y = _root.platform1._y - _root.powerups._y;
d2x = 267.9;
d2y = -382.55;
_root.powerups._x = _root.platform1._x - d2x;
_root.powerups._y = _root.platform1._y - d2y;
if (controls == 1) {
iYmove = 0;
iXmove = 0;
if (Key.isDown(39) || (Key.isDown(68))) {
iXmove = -1 * confusionstep;
_root.platform1._x = _root.platform1._x - ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x - ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x - ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x - ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x - ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x - ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x - ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(38) || (Key.isDown(87))) {
iYmove = 1 * confusionstep;
_root.platform1._y = _root.platform1._y + ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(40) || (Key.isDown(83))) {
iYmove = -1 * confusionstep;
_root.platform1._y = _root.platform1._y - ((1 * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y - ((1 * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y - ((1 * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y - ((1 * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y - ((1 * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y - ((1 * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y - ((1 * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y - ((1 * orbspeed) * confusionstep);
}
if (Key.isDown(37) || (Key.isDown(65))) {
iXmove = 1 * confusionstep;
_root.platform1._x = _root.platform1._x + ((1 * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((1 * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((1 * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((1 * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((1 * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((1 * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((1 * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((1 * orbspeed) * confusionstep);
}
CalculateInertia(_root.platform1, iXmove, iYmove);
CalculateInertia(_root.stuff, iXmove, iYmove);
CalculateInertia(_root.powerups, iXmove, iYmove);
CalculateInertia(_root.bullet1, iXmove, iYmove);
CalculateInertia(_root.bullet2, iXmove, iYmove);
CalculateInertia(_root.bullet3, iXmove, iYmove);
CalculateInertia(_root.bullet4, iXmove, iYmove);
CalculateInertia(_root.bullet5, iXmove, iYmove);
UpdateInertia(iXmove, iYmove);
} else {
CalculateInertia2(_root.platform1, iX2move, iY2move);
CalculateInertia2(_root.stuff, iX2move, iY2move);
CalculateInertia2(_root.powerups, iX2move, iY2move);
CalculateInertia2(_root.bullet1, iX2move, iY2move);
CalculateInertia2(_root.bullet2, iX2move, iY2move);
CalculateInertia2(_root.bullet3, iX2move, iY2move);
CalculateInertia2(_root.bullet4, iX2move, iY2move);
CalculateInertia2(_root.bullet5, iX2move, iY2move);
UpdateInertia2(iX2move, iY2move);
if (Key.isDown(32)) {
iY2move = 0;
iX2move = 0;
_root.orbstop = true;
} else {
_root.orbstop = false;
}
if (_root.orbstop == false) {
xd = 325 - _root._xmouse;
yd = 275 - _root._ymouse;
angle = Math.atan2(yd, xd);
if ((angle > 0) && (angle < 1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle > 1.5) && (angle < 3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = Math.sin(angle) * confusionstep;
}
if ((angle < 0) && (angle > -1.5)) {
iX2move = Math.cos(angle) * confusionstep;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
if ((angle < -1.5) && (angle > -3)) {
iX2move = (Math.cos(angle) * confusionstep) * -1;
iY2move = (Math.sin(angle) * confusionstep) * -1;
}
_root.platform1._x = _root.platform1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.platform1._y = _root.platform1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.stuff._x = _root.stuff._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.stuff._y = _root.stuff._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.powerups._x = _root.powerups._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.powerups._y = _root.powerups._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet1._x = _root.bullet1._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet1._y = _root.bullet1._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet2._x = _root.bullet2._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet2._y = _root.bullet2._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet3._x = _root.bullet3._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet3._y = _root.bullet3._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet4._x = _root.bullet4._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet4._y = _root.bullet4._y + ((Math.sin(angle) * orbspeed) * confusionstep);
_root.bullet5._x = _root.bullet5._x + ((Math.cos(angle) * orbspeed) * confusionstep);
_root.bullet5._y = _root.bullet5._y + ((Math.sin(angle) * orbspeed) * confusionstep);
}
}
};
var bulletsShot = 0;
var bullet1;
var bullet2;
var bullet3;
var bullet4;
var bullet5;
onMouseDown = function () {
if (shootTimer > 6) {
shootTimer = 0;
var currBullet;
bulletsShot++;
if (bulletsShot == 1) {
_root.orb.gotoAndPlay("orb 4 balls");
_root.shotmeter.gotoAndStop("four");
} else if (bulletsShot == 2) {
_root.orb.gotoAndPlay("orb 3 balls");
_root.shotmeter.gotoAndStop("three");
} else if (bulletsShot == 3) {
_root.orb.gotoAndPlay("orb 2 balls");
_root.shotmeter.gotoAndStop("two");
} else if (bulletsShot == 4) {
_root.orb.gotoAndPlay("orb 1 ball");
_root.shotmeter.gotoAndStop("one");
} else if (bulletsShot == 5) {
_root.orb.gotoAndPlay("just orb");
_root.shotmeter.gotoAndStop("zero");
} else if (bulletsShot > 5) {
_root.orb.gotoAndPlay("looporb");
}
if (bulletsShot <= 5) {
if (bulletsShot == 1) {
currBullet = attachMovie("bulletM4", "b" + bulletsShot, -16375);
}
if (bulletsShot == 2) {
currBullet = attachMovie("bulletM4", "b" + bulletsShot, -16374);
}
if (bulletsShot == 3) {
currBullet = attachMovie("bulletM4", "b" + bulletsShot, -16373);
}
if (bulletsShot == 4) {
currBullet = attachMovie("bulletM4", "b" + bulletsShot, -16372);
}
if (bulletsShot == 5) {
currBullet = attachMovie("bulletM4", "b" + bulletsShot, -16371);
}
currBullet.spd = 9.5 * bulletspeeds;
currBullet._x = orb._x;
currBullet._y = orb._y;
myRadians = Math.atan2(_root._ymouse - currBullet._y, _root._xmouse - currBullet._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
currBullet._rotation = myDegrees + (90 * confusionstep);
currBullet.onEnterFrame = function () {
with (this) {
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
if ((bullet1._currentframe == 1) && (_root.platform1.hitarea1.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.stuff.hitTest(bullet1._x, bullet1._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.stuff.hitTest(bullet2._x, bullet2._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.stuff.hitTest(bullet3._x, bullet3._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.stuff.hitTest(bullet4._x, bullet4._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.stuff.hitTest(bullet5._x, bullet5._y, true))) {
this.spd = 0;
this.gotoAndPlay(2);
}
if (bullet2._currentframe == 1) {
if (bullet1.hitTest(bullet2._x, bullet2._y, true) && (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true))) {
} else if (_root.platform1.hitarea1.hitTest(bullet2._x, bullet2._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet3._currentframe == 1) {
if ((bullet1.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true))) || (bullet2.hitTest(bullet3._x, bullet3._y, true) && (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet3._x, bullet3._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet4._currentframe == 1) {
if (((bullet1.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true))) || (bullet2.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) || (bullet3.hitTest(bullet4._x, bullet4._y, true) && (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet4._x, bullet4._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
if (bullet5._currentframe == 1) {
if ((((bullet1.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true))) || (bullet2.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet3.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) || (bullet4.hitTest(bullet5._x, bullet5._y, true) && (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)))) {
} else if (_root.platform1.hitarea1.hitTest(bullet5._x, bullet5._y, true)) {
this.spd = 0;
this.gotoAndPlay(2);
}
}
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet1._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet1._x, bullet1._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet2._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet2._x, bullet2._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet3._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet3._x, bullet3._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet4._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet4._x, bullet4._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot.unloadMovie();
_root.stuff.trapgen1.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((bullet5._currentframe == 1) && (_root.powerups.hotspot2.hitTest(bullet5._x, bullet5._y, true))) {
_root.powerups.hotspot2.unloadMovie();
_root.stuff.trapgen2.gotoAndPlay("br1");
this.spd = 0;
this.gotoAndPlay(2);
}
if ((currBullet._currentframe == 1) && (_root.powerups.bounce1.hitTest(currBullet._x, currBullet._y, true))) {
currBullet._rotation = (currBullet._rotation - myDegrees) - 90;
_root.powerups.bounce1.gotoAndPlay("bounce");
}
};
}
if (bulletsShot == 1) {
bullet1 = currBullet;
} else if (bulletsShot == 2) {
bullet2 = currBullet;
} else if (bulletsShot == 3) {
bullet3 = currBullet;
} else if (bulletsShot == 4) {
bullet4 = currBullet;
} else if (bulletsShot == 5) {
bullet5 = currBullet;
}
}
};
onMouseMove = function () {
};
orb.onEnterFrame = function () {
for (i in orb.hitArray) {
if (_root.powerups.key1get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key1get.gotoAndStop("del");
_root.powerups.key1get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key1");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key1._alpha = 100;
_root.colorsBar.colorTag1._alpha = 0;
}
if (_root.powerups.key2get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key2get.gotoAndStop("del");
_root.powerups.key2get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key2");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key2._alpha = 100;
_root.colorsBar.colorTag2._alpha = 0;
}
if (_root.powerups.key3get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key3get.gotoAndStop("del");
_root.powerups.key3get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key3");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key3._alpha = 100;
_root.colorsBar.colorTag3._alpha = 0;
}
if (_root.powerups.key4get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key4get.gotoAndStop("del");
_root.powerups.key4get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key4");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key4._alpha = 100;
_root.colorsBar.colorTag4._alpha = 0;
}
if (_root.powerups.key5get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key5get.gotoAndStop("del");
_root.powerups.key5get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key5");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key5._alpha = 100;
_root.colorsBar.colorTag5._alpha = 0;
}
if (_root.powerups.key6get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key6get.gotoAndStop("del");
_root.powerups.key6get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key6");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key6._alpha = 100;
_root.colorsBar.colorTag6._alpha = 0;
}
if (_root.powerups.key7get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key7get.gotoAndStop("del");
_root.powerups.key7get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key7");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key7._alpha = 100;
_root.colorsBar.colorTag7._alpha = 0;
}
if (_root.powerups.key8get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key8get.gotoAndStop("del");
_root.powerups.key8get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key8");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key8._alpha = 100;
_root.colorsBar.colorTag8._alpha = 0;
}
if (_root.powerups.key9get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key9get.gotoAndStop("del");
_root.powerups.key9get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key9");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key9._alpha = 100;
_root.colorsBar.colorTag9._alpha = 0;
}
if (_root.powerups.key10get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key10get.gotoAndStop("del");
_root.powerups.key10get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key10");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key10._alpha = 100;
_root.colorsBar.colorTag10._alpha = 0;
}
if (_root.powerups.key11get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key11get.gotoAndStop("del");
_root.powerups.key11get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key11");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key11._alpha = 100;
_root.colorsBar.colorTag11._alpha = 0;
}
if (_root.powerups.key12get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key12get.gotoAndStop("del");
_root.powerups.key12get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key12");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key12._alpha = 100;
_root.colorsBar.colorTag12._alpha = 0;
}
if (_root.powerups.key13get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key13get.gotoAndStop("del");
_root.powerups.key13get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key13");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key13._alpha = 100;
_root.colorsBar.colorTag13._alpha = 0;
}
if (_root.powerups.key14get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key14get.gotoAndStop("del");
_root.powerups.key14get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key14");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key14._alpha = 100;
_root.colorsBar.colorTag14._alpha = 0;
}
if (_root.powerups.key15get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key15get.gotoAndStop("del");
_root.powerups.key15get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key15");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key15._alpha = 100;
_root.colorsBar.colorTag15._alpha = 0;
}
if (_root.powerups.key16get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key16get.gotoAndStop("del");
_root.powerups.key16get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key16");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key16._alpha = 100;
_root.colorsBar.colorTag16._alpha = 0;
}
if (_root.powerups.key17get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key17get.gotoAndStop("del");
_root.powerups.key17get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key17");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key17._alpha = 100;
_root.colorsBar.colorTag17._alpha = 0;
}
if (_root.powerups.key18get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key18get.gotoAndStop("del");
_root.powerups.key18get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key18");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key18._alpha = 100;
_root.colorsBar.colorTag18._alpha = 0;
}
if (_root.powerups.key19get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key19get.gotoAndStop("del");
_root.powerups.key19get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key19");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key19._alpha = 100;
_root.colorsBar.colorTag19._alpha = 0;
}
if (_root.powerups.key20get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key20get.gotoAndStop("del");
_root.powerups.key20get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key20");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key20._alpha = 100;
_root.colorsBar.colorTag20._alpha = 0;
}
if (_root.powerups.key21get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key21get.gotoAndStop("del");
_root.powerups.key21get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key21");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key21._alpha = 100;
_root.colorsBar.colorTag21._alpha = 0;
}
if (_root.powerups.key22get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key22get.gotoAndStop("del");
_root.powerups.key22get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key22");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key22._alpha = 100;
_root.colorsBar.colorTag22._alpha = 0;
}
if (_root.powerups.key23get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key23get.gotoAndStop("del");
_root.powerups.key23get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key23");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key23._alpha = 100;
_root.colorsBar.colorTag23._alpha = 0;
}
if (_root.powerups.key24get.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.key24get.gotoAndStop("del");
_root.powerups.key24get.unloadMovie();
extraSound = new Sound();
extraSound.attachSound("key24");
extraSound.start(0, 1);
_root.remainingColors--;
_root.colorsBar.colorsLeft.text = _root.remainingColors;
_root.platform1.colorWheel.key24._alpha = 100;
_root.colorsBar.colorTag24._alpha = 0;
}
if (_root.powerups.diamond.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.diamond.unloadMovie();
_root.diamondget = true;
_root.diamondbar.gotoAndPlay("get");
}
if (_root.powerups.teleportkey.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
_root.powerups.teleportkey.unloadMovie();
_root.teetaken = true;
extraSound = new Sound();
extraSound.attachSound("00buldown");
extraSound.start(0, 1);
}
if (_root.platform1.hitarea1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true)) {
if ((_root.bullet1._currentframe > 1) && (_root.bullet1.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet2._currentframe > 1) && (_root.bullet2.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet3._currentframe > 1) && (_root.bullet3.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet4._currentframe > 1) && (_root.bullet4.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
if ((_root.bullet5._currentframe > 1) && (_root.bullet5.hitTest(orb.hitArray[i]._x + orb._x, orb.hitArray[i]._y + orb._y, true))) {
continue;
}
power = power - _root.difficulty;
powerBar.powerunits.text = power;
_root.hitanim.gotoAndPlay("hithappen");
if (power < 1) {
powerBar.powerunits.text = "0";
power = 0;
orb.unloadMovie();
_root.die1.gotoAndPlay("die");
}
if (controls == 1) {
if ((_root.iXmove < 0) || (_root.currentInertiaX < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x + 1.45;
_root.bullet1._x = _root.bullet1._x + 1.45;
_root.bullet2._x = _root.bullet2._x + 1.45;
_root.bullet3._x = _root.bullet3._x + 1.45;
_root.bullet4._x = _root.bullet4._x + 1.45;
_root.bullet5._x = _root.bullet5._x + 1.45;
_root.powerups._x = _root.powerups._x + 1.45;
_root.stuff._x = _root.stuff._x + 1.45;
}
if ((_root.iYmove > 0) || (_root.currentInertiaY > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y - 1.45;
_root.bullet1._y = _root.bullet1._y - 1.45;
_root.bullet2._y = _root.bullet2._y - 1.45;
_root.bullet3._y = _root.bullet3._y - 1.45;
_root.bullet4._y = _root.bullet4._y - 1.45;
_root.bullet5._y = _root.bullet5._y - 1.45;
_root.powerups._y = _root.powerups._y - 1.45;
_root.stuff._y = _root.stuff._y - 1.45;
}
if ((_root.iYmove < 0) || (_root.currentInertiaY < 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._y = _root.platform1._y + 1.45;
_root.bullet1._y = _root.bullet1._y + 1.45;
_root.bullet2._y = _root.bullet2._y + 1.45;
_root.bullet3._y = _root.bullet3._y + 1.45;
_root.bullet4._y = _root.bullet4._y + 1.45;
_root.bullet5._y = _root.bullet5._y + 1.45;
_root.powerups._y = _root.powerups._y + 1.45;
_root.stuff._y = _root.stuff._y + 1.45;
}
if ((_root.iXmove > 0) || (_root.currentInertiaX > 0)) {
currentInertiaY = 0;
currentInertiaX = 0;
_root.platform1._x = _root.platform1._x - 1.45;
_root.bullet1._x = _root.bullet1._x - 1.45;
_root.bullet2._x = _root.bullet2._x - 1.45;
_root.bullet3._x = _root.bullet3._x - 1.45;
_root.bullet4._x = _root.bullet4._x - 1.45;
_root.bullet5._x = _root.bullet5._x - 1.45;
_root.powerups._x = _root.powerups._x - 1.45;
_root.stuff._x = _root.stuff._x - 1.45;
}
} else {
_root.platform1._x = _root.platform1._x - (Math.cos(angle) * confusionstep);
_root.platform1._y = _root.platform1._y - (Math.sin(angle) * confusionstep);
_root.stuff._x = _root.stuff._x - (Math.cos(angle) * confusionstep);
_root.stuff._y = _root.stuff._y - (Math.sin(angle) * confusionstep);
_root.powerups._x = _root.powerups._x - (Math.cos(angle) * confusionstep);
_root.powerups._y = _root.powerups._y - (Math.sin(angle) * confusionstep);
_root.bullet1._x = _root.bullet1._x - (Math.cos(angle) * confusionstep);
_root.bullet1._y = _root.bullet1._y - (Math.sin(angle) * confusionstep);
_root.bullet2._x = _root.bullet2._x - (Math.cos(angle) * confusionstep);
_root.bullet2._y = _root.bullet2._y - (Math.sin(angle) * confusionstep);
_root.bullet3._x = _root.bullet3._x - (Math.cos(angle) * confusionstep);
_root.bullet3._y = _root.bullet3._y - (Math.sin(angle) * confusionstep);
_root.bullet4._x = _root.bullet4._x - (Math.cos(angle) * confusionstep);
_root.bullet4._y = _root.bullet4._y - (Math.sin(angle) * confusionstep);
_root.bullet5._x = _root.bullet5._x - (Math.cos(angle) * confusionstep);
_root.bullet5._y = _root.bullet5._y - (Math.sin(angle) * confusionstep);
}
}
if (_root.platform1.exit1.exitpoint1.hitTest(orb._x, orb._y, true) && (_root.remainingColors == 0)) {
_root.orb.unloadMovie();
_root.platform1.exit1.gotoAndPlay("reached");
_root.successTimer = 30;
}
}
};
Instance of Symbol 3442 MovieClip "orb" in Frame 2326
/* no clip actions */
Frame 2328
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
_root.onEnterFrame = function () {
};
onMouseDown = function () {
};
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
if (_root.diamondget == false) {
diamondscore = 0;
} else {
diamondscore = 1000;
}
_root.missFinalbestScore = (2000 + diamondscore) * _root.difficulty;
_root.score = ((((((((((((((((((((_root.credscore + _root.chall1bestScore) + _root.chall2bestScore) + _root.chall3bestScore) + _root.chall4bestScore) + _root.chall5bestScore) + _root.miss1bestScore) + _root.miss2bestScore) + _root.miss3bestScore) + _root.miss4bestScore) + _root.miss5bestScore) + _root.miss6bestScore) + _root.miss7bestScore) + _root.miss8bestScore) + _root.miss9bestScore) + _root.miss10bestScore) + _root.miss11bestScore) + _root.miss12bestScore) + _root.miss13bestScore) + _root.miss14bestScore) + _root.miss15bestScore) + _root.missFinalbestScore;
Instance of Symbol 220 MovieClip "mouseCursor" in Frame 2328
onClipEvent (load) {
Mouse.hide();
this.onMouseDown = function () {
this.gotoAndPlay("Swing");
};
this.onMouseUp = function () {
this.gotoAndPlay("Swing2");
};
}
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 2333
if (_root.medal18 == false) {
_root.medal18 = true;
_root.savefile.data.medal18 = _root.medal18;
_root.medalsCount++;
_root.savefile.data.medalsCount = _root.medalsCount;
_root.savefile.flush();
_root.medalGet.gotoAndPlay("m18get");
}
Frame 3230
stopAllSounds();
_root.gotoAndPlay("submit");
Symbol 3 MovieClip [bulletBonus] Frame 1
stop();
Symbol 3 MovieClip [bulletBonus] Frame 2
stop();
Symbol 156 MovieClip Frame 69
Symbol 197 Button
on (press) {
getURL ("http://www.ratherrandomreality.com", blank);
}
Symbol 204 Button
on (rollOver) {
fjs.useHandCursor = false;
}
on (release) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Symbol 216 MovieClip Frame 1
_root.stop();
PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
loaderBar.gotoAndStop(PercentLoaded);
loadtext.text = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 216 MovieClip Frame 2
gotoAndPlay (1);
Symbol 216 MovieClip Frame 48
_root.play();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 5
gotoAndStop (1);
Symbol 270 MovieClip [bulletM0] Frame 1
stop();
Symbol 270 MovieClip [bulletM0] Frame 11
stop();
Symbol 275 MovieClip [bulletM1] Frame 1
stop();
Symbol 275 MovieClip [bulletM1] Frame 11
stop();
Symbol 278 MovieClip [bulletM2] Frame 1
stop();
Symbol 278 MovieClip [bulletM2] Frame 11
stop();
Symbol 281 MovieClip [bulletM3] Frame 1
stop();
Symbol 281 MovieClip [bulletM3] Frame 11
stop();
Symbol 289 MovieClip [bulletM4] Frame 1
stop();
Symbol 289 MovieClip [bulletM4] Frame 235
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
stop();
Symbol 338 MovieClip Frame 3
stop();
Symbol 340 Button
on (rollOver) {
arglink.useHandCursor = false;
rolloverSound = new Sound();
rolloverSound.attachSound("butupsound");
rolloverSound.start(0, 1);
argtext.gotoAndStop(2);
}
on (rollOut) {
argtext.gotoAndStop(1);
}
on (dragOut) {
argtext.gotoAndStop(1);
}
on (press) {
argtext.gotoAndStop(3);
}
on (release) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Symbol 341 MovieClip Frame 195
_root.play();
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 355 MovieClip Frame 3
stop();
Symbol 361 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 2
stop();
Symbol 361 MovieClip Frame 3
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
stop();
Symbol 365 MovieClip Frame 3
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
stop();
Symbol 369 MovieClip Frame 3
stop();
Symbol 371 Button
on (rollOver) {
rolloverSound = new Sound(_root);
rolloverSound.attachSound("butupsound");
rolloverSound.start(0, 1);
rrrstext.gotoAndStop(2);
rrrsrrr.gotoAndStop(2);
rrrsc.gotoAndStop(2);
rrrssun.gotoAndStop(2);
}
on (rollOut) {
rrrstext.gotoAndStop(1);
rrrsrrr.gotoAndStop(1);
rrrsc.gotoAndStop(1);
rrrssun.gotoAndStop(1);
}
on (dragOut) {
rrrstext.gotoAndStop(1);
rrrsrrr.gotoAndStop(1);
rrrsc.gotoAndStop(1);
rrrssun.gotoAndStop(1);
}
on (press) {
rrrstext.gotoAndStop(3);
rrrsrrr.gotoAndStop(3);
rrrsc.gotoAndStop(3);
rrrssun.gotoAndStop(3);
}
on (release) {
getURL ("http://www.ratherrandomreality.com", "_blank");
}
Symbol 374 MovieClip Frame 191
_root.play();
Symbol 427 Button
on (rollOver) {
fjs.useHandCursor = false;
}
on (release) {
getURL ("http://www.facebook.com/ArmorGames", "_blank");
}
Symbol 433 Button
on (rollOver) {
fjs.useHandCursor = false;
}
on (release) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 5
gotoAndStop (1);
Symbol 444 MovieClip Frame 10
stop();
Symbol 447 Button
on (release) {
if (_root.musicplaying == false) {
bgSound.start(0, 99);
_root.musicicon.gotoAndPlay("play");
musicplaying = true;
} else {
bgSound.stop();
_root.musicicon.gotoAndPlay("stop");
musicplaying = false;
}
}
Symbol 448 Button
on (release) {
stopAllSounds();
gotoAndPlay ("tomm");
}
Symbol 525 Button
on (release) {
stopAllSounds();
_root.missToGo = 0;
_root.gotoplace = 3;
gotoAndPlay ("mmGoto");
}
Symbol 529 Button
on (release) {
stopAllSounds();
_root.gotoplace = 20;
gotoAndPlay ("mmGoto");
}
Symbol 533 Button
on (release) {
stopAllSounds();
_root.gotoplace = 11;
gotoAndPlay ("mmGoto");
}
Symbol 534 Button
on (release) {
stopAllSounds();
_root.gotoplace = 1;
gotoAndPlay ("mmGoto");
}
Symbol 535 Button
on (release) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Symbol 536 Button
on (release) {
stopAllSounds();
_root.gotoplace = 4;
gotoAndPlay ("mmGoto");
}
Symbol 537 Button
on (release) {
if (_root.highpressed == false) {
stopAllSounds();
_root.gotohighscores.gotoAndPlay("tohighscores");
}
}
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
_root.highpressed = true;
Symbol 547 MovieClip Frame 13
_root.gotoAndPlay("highscores");
Symbol 590 Button
on (press) {
getURL ("http://www.ratherrandomreality.com", blank);
}
Symbol 595 Button
on (press) {
getURL ("http://www.hearmick.com", blank);
}
Symbol 600 Button
on (press) {
getURL ("http://www.umop.com", blank);
}
Symbol 605 Button
on (press) {
getURL ("http://nal1200.newgrounds.com", blank);
}
Symbol 611 Button
on (release) {
stopAllSounds();
_root.gotoplace = 5;
_root.gotoAndPlay("crGoto");
}
Symbol 622 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("crGoto");
}
Symbol 623 Button
on (release) {
getURL ("http://armor.ag/MoreGames", "_blank");
}
Symbol 628 Button
on (release) {
stopAllSounds();
_root.gotoplace = 2;
gotoAndPlay ("crGoto");
}
Symbol 629 Button
on (release) {
stopAllSounds();
_root.gotoplace = 1;
gotoAndPlay ("crGoto");
}
Symbol 634 Button
on (press) {
getURL ("http://www.ratherrandomreality.com", blank);
}
Instance of Symbol 651 MovieClip in Symbol 652 MovieClip Frame 1
/* no clip actions */
Symbol 661 MovieClip Frame 34
stop();
Symbol 666 MovieClip Frame 1
stop();
Symbol 666 MovieClip Frame 93
stop();
Symbol 674 Button
on (release) {
stopAllSounds();
_root.gotoplace = 4;
_root.gotoAndPlay("cr2Goto");
}
Symbol 676 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("cr2Goto");
}
Symbol 677 Button
on (release) {
stopAllSounds();
_root.gotoplace = 2;
gotoAndPlay ("cr2Goto");
}
Symbol 678 Button
on (release) {
stopAllSounds();
_root.gotoplace = 1;
gotoAndPlay ("cr2Goto");
}
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 2
stop();
Symbol 699 MovieClip Frame 3
stop();
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 2
stop();
Symbol 705 MovieClip Frame 3
stop();
Symbol 711 MovieClip Frame 1
stop();
Symbol 711 MovieClip Frame 2
stop();
Symbol 711 MovieClip Frame 3
stop();
Symbol 720 Button
on (release) {
stopAllSounds();
_root.gotoplace = 11;
gotoAndPlay ("dGoto");
}
Symbol 722 Button
on (rollOver) {
_root.overNormal = true;
if (_root.difficulty != 1) {
clickSound = new Sound();
clickSound.attachSound("08instbut");
clickSound.start(0, 1);
}
}
on (rollOut) {
_root.overNormal = false;
}
on (dragOut) {
_root.overNormal = false;
}
on (press) {
if (_root.difficulty != 1) {
clickSound = new Sound();
clickSound.attachSound("00buttdown");
clickSound.start(0, 1);
}
_root.difficulty = 1;
}
Symbol 724 Button
on (rollOver) {
_root.overHard = true;
if (_root.difficulty != 2) {
clickSound = new Sound();
clickSound.attachSound("08instbut");
clickSound.start(0, 1);
}
}
on (rollOut) {
_root.overHard = false;
}
on (dragOut) {
_root.overHard = false;
}
on (press) {
if (_root.difficulty != 2) {
clickSound = new Sound();
clickSound.attachSound("00buttdown");
clickSound.start(0, 1);
}
_root.difficulty = 2;
}
Symbol 726 Button
on (rollOver) {
_root.overInsane = true;
if (_root.difficulty != 3) {
clickSound = new Sound();
clickSound.attachSound("08instbut");
clickSound.start(0, 1);
}
}
on (rollOut) {
_root.overInsane = false;
}
on (dragOut) {
_root.overInsane = false;
}
on (press) {
if (_root.difficulty != 3) {
clickSound = new Sound();
clickSound.attachSound("00buttdown");
clickSound.start(0, 1);
}
_root.difficulty = 3;
}
Symbol 727 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("dGoto");
}
Symbol 733 Button
on (release) {
stopAllSounds();
_root.gotoplace = 2;
gotoAndPlay ("dGoto");
}
Symbol 742 Button
on (release) {
_root.gotoplace = 11;
gotoAndPlay ("cGoto");
}
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 2
stop();
Symbol 748 MovieClip Frame 3
stop();
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 2
stop();
Symbol 752 MovieClip Frame 3
stop();
Symbol 754 Button
on (release) {
stopAllSounds();
_root.gotoplace = 11;
gotoAndPlay ("cGoto");
}
Symbol 756 Button
on (rollOver) {
_root.overc1 = true;
if (_root.controls != 1) {
clickSound = new Sound();
clickSound.attachSound("08instbut");
clickSound.start(0, 1);
}
}
on (rollOut) {
_root.overc1 = false;
}
on (dragOut) {
_root.overc1 = false;
}
on (press) {
if (_root.controls != 1) {
clickSound = new Sound();
clickSound.attachSound("00buttdown");
clickSound.start(0, 1);
}
_root.controls = 1;
}
Symbol 758 Button
on (rollOver) {
_root.overc2 = true;
if (_root.controls != 2) {
clickSound = new Sound();
clickSound.attachSound("08instbut");
clickSound.start(0, 1);
}
}
on (rollOut) {
_root.overc2 = false;
}
on (dragOut) {
_root.overc2 = false;
}
on (press) {
if (_root.controls != 2) {
clickSound = new Sound();
clickSound.attachSound("00buttdown");
clickSound.start(0, 1);
}
_root.controls = 2;
}
Symbol 759 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("cGoto");
}
Symbol 760 Button
on (release) {
stopAllSounds();
_root.gotoplace = 1;
gotoAndPlay ("cGoto");
}
Symbol 780 Button
on (release) {
stopAllSounds();
_root.gotoplace = 20;
gotoAndPlay ("c2Goto");
}
Symbol 781 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("c2Goto");
}
Symbol 796 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("cbgo");
}
Symbol 807 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("cb2go");
}
Symbol 849 MovieClip Frame 42
gotoAndPlay (1);
Symbol 849 MovieClip Frame 43
stop();
Symbol 886 MovieClip Frame 42
gotoAndPlay (1);
Symbol 886 MovieClip Frame 43
stop();
Symbol 923 MovieClip Frame 42
gotoAndPlay (1);
Symbol 923 MovieClip Frame 43
stop();
Symbol 1007 MovieClip Frame 53
gotoAndPlay (1);
Symbol 1007 MovieClip Frame 54
stop();
Symbol 1104 MovieClip Frame 62
gotoAndPlay (1);
Symbol 1104 MovieClip Frame 63
stop();
Symbol 1208 MovieClip Frame 48
gotoAndPlay (1);
Symbol 1208 MovieClip Frame 49
stop();
Symbol 1209 MovieClip Frame 48
gotoAndPlay (1);
Symbol 1209 MovieClip Frame 49
stop();
Symbol 1245 MovieClip Frame 42
gotoAndPlay (1);
Symbol 1245 MovieClip Frame 43
stop();
Symbol 1247 MovieClip Frame 42
gotoAndPlay (1);
Symbol 1247 MovieClip Frame 43
stop();
Symbol 1315 MovieClip Frame 53
gotoAndPlay (1);
Symbol 1315 MovieClip Frame 54
stop();
Instance of Symbol 1208 MovieClip in Symbol 1322 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1209 MovieClip in Symbol 1322 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1326 MovieClip in Symbol 1327 MovieClip Frame 1
/* no clip actions */
Symbol 1330 MovieClip Frame 34
stop();
Symbol 1333 MovieClip Frame 1
stop();
Symbol 1333 MovieClip Frame 93
stop();
Symbol 1334 Button
on (release) {
stopAllSounds();
_root.gotoplace = 11;
gotoAndPlay ("qGoto");
}
Symbol 1335 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("qGoto");
}
Symbol 1336 Button
on (release) {
stopAllSounds();
_root.gotoplace = 2;
gotoAndPlay ("qGoto");
}
Symbol 1337 Button
on (release) {
stopAllSounds();
_root.gotoplace = 1;
gotoAndPlay ("qGoto");
}
Symbol 1344 Button
on (release) {
stopAllSounds();
_root.gotoplace = 11;
gotoAndPlay ("meGoto");
}
Symbol 1367 MovieClip Frame 1
stop();
Symbol 1367 MovieClip Frame 2
stop();
Symbol 1367 MovieClip Frame 3
stop();
Symbol 1367 MovieClip Frame 4
stop();
Symbol 1367 MovieClip Frame 5
stop();
Symbol 1367 MovieClip Frame 6
stop();
Symbol 1367 MovieClip Frame 7
stop();
Symbol 1367 MovieClip Frame 8
stop();
Symbol 1367 MovieClip Frame 9
stop();
Symbol 1367 MovieClip Frame 10
stop();
Symbol 1367 MovieClip Frame 11
stop();
Symbol 1367 MovieClip Frame 12
stop();
Symbol 1367 MovieClip Frame 13
stop();
Symbol 1367 MovieClip Frame 14
stop();
Symbol 1367 MovieClip Frame 15
stop();
Symbol 1367 MovieClip Frame 16
stop();
Symbol 1367 MovieClip Frame 17
stop();
Symbol 1367 MovieClip Frame 18
stop();
Symbol 1367 MovieClip Frame 19
stop();
Symbol 1384 MovieClip Frame 1
stop();
Symbol 1384 MovieClip Frame 2
stop();
Symbol 1384 MovieClip Frame 3
stop();
Symbol 1384 MovieClip Frame 4
stop();
Symbol 1384 MovieClip Frame 5
stop();
Symbol 1384 MovieClip Frame 6
stop();
Symbol 1384 MovieClip Frame 7
stop();
Symbol 1384 MovieClip Frame 8
stop();
Symbol 1384 MovieClip Frame 9
stop();
Symbol 1384 MovieClip Frame 10
stop();
Symbol 1384 MovieClip Frame 11
stop();
Symbol 1384 MovieClip Frame 12
stop();
Symbol 1384 MovieClip Frame 13
stop();
Symbol 1384 MovieClip Frame 14
stop();
Symbol 1384 MovieClip Frame 15
stop();
Symbol 1384 MovieClip Frame 16
stop();
Symbol 1384 MovieClip Frame 17
stop();
Symbol 1384 MovieClip Frame 18
stop();
Symbol 1384 MovieClip Frame 19
stop();
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 2
stop();
Symbol 1391 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(2);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 1393 MovieClip in Symbol 1394 MovieClip Frame 1
/* no clip actions */
Symbol 1398 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(2);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1399 MovieClip Frame 1
stop();
Symbol 1399 MovieClip Frame 2
stop();
Symbol 1400 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(3);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1407 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(3);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(3);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1408 MovieClip Frame 1
stop();
Symbol 1408 MovieClip Frame 2
stop();
Symbol 1409 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(4);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 1411 MovieClip in Symbol 1412 MovieClip Frame 1
/* no clip actions */
Symbol 1413 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(4);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(4);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1414 MovieClip Frame 1
stop();
Symbol 1414 MovieClip Frame 2
stop();
Symbol 1415 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(5);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1422 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(5);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(5);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1423 MovieClip Frame 1
stop();
Symbol 1423 MovieClip Frame 2
stop();
Symbol 1424 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(6);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1429 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(6);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(6);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1430 MovieClip Frame 1
stop();
Symbol 1430 MovieClip Frame 2
stop();
Symbol 1431 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(7);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1433 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(7);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(7);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1434 MovieClip Frame 1
stop();
Symbol 1434 MovieClip Frame 2
stop();
Symbol 1435 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(8);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 1437 MovieClip in Symbol 1438 MovieClip Frame 1
/* no clip actions */
Symbol 1440 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(8);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(8);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1441 MovieClip Frame 1
stop();
Symbol 1441 MovieClip Frame 2
stop();
Symbol 1442 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(9);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 463 MovieClip in Symbol 1444 MovieClip Frame 1
/* no clip actions */
Symbol 1447 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(9);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(9);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1448 MovieClip Frame 1
stop();
Symbol 1448 MovieClip Frame 2
stop();
Symbol 1449 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(10);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 651 MovieClip in Symbol 1452 MovieClip Frame 1
/* no clip actions */
Symbol 1454 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(10);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(10);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1455 MovieClip Frame 1
stop();
Symbol 1455 MovieClip Frame 2
stop();
Symbol 1456 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(11);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 463 MovieClip in Symbol 1458 MovieClip Frame 1
/* no clip actions */
Symbol 1461 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(11);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(11);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1462 MovieClip Frame 1
stop();
Symbol 1462 MovieClip Frame 2
stop();
Symbol 1463 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(12);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1468 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(12);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(12);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1469 MovieClip Frame 1
stop();
Symbol 1469 MovieClip Frame 2
stop();
Symbol 1470 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(13);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1472 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(13);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(13);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1473 MovieClip Frame 1
stop();
Symbol 1473 MovieClip Frame 2
stop();
Symbol 1474 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(14);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1493 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(14);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(14);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1494 MovieClip Frame 1
stop();
Symbol 1494 MovieClip Frame 2
stop();
Symbol 1495 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(15);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 651 MovieClip in Symbol 1497 MovieClip Frame 1
/* no clip actions */
Symbol 1500 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(15);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(15);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1501 MovieClip Frame 1
stop();
Symbol 1501 MovieClip Frame 2
stop();
Symbol 1502 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(16);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 651 MovieClip in Symbol 1504 MovieClip Frame 1
/* no clip actions */
Symbol 1507 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(16);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(16);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1508 MovieClip Frame 1
stop();
Symbol 1508 MovieClip Frame 2
stop();
Symbol 1509 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(17);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1514 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(17);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(17);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1515 MovieClip Frame 1
stop();
Symbol 1515 MovieClip Frame 2
stop();
Symbol 1516 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(18);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Symbol 1521 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(18);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(18);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1522 MovieClip Frame 2
stop();
Symbol 1523 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(19);
overSound = new Sound();
overSound.attachSound("overbut");
overSound.start(0, 1);
_root.medalNameU.gotoAndStop(2);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalNameU.gotoAndStop(1);
}
Instance of Symbol 463 MovieClip in Symbol 1526 MovieClip Frame 1
/* no clip actions */
Symbol 1528 Button
on (rollOver) {
_root.medalExplain.gotoAndStop(19);
overSound = new Sound();
overSound.attachSound("08instbut");
overSound.start(0, 1);
_root.medalName.gotoAndStop(19);
}
on (rollOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
on (dragOut) {
_root.medalExplain.gotoAndStop(1);
_root.medalName.gotoAndStop(1);
}
Symbol 1529 MovieClip Frame 1
stop();
Symbol 1529 MovieClip Frame 2
stop();
Symbol 1530 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("meGoto");
}
Symbol 1531 Button
on (release) {
stopAllSounds();
_root.gotoplace = 2;
gotoAndPlay ("meGoto");
}
Symbol 1532 Button
on (release) {
stopAllSounds();
_root.gotoplace = 1;
gotoAndPlay ("meGoto");
}
Symbol 1559 Button
on (release) {
stopAllSounds();
_root.gotoplace = 11;
gotoAndPlay ("sGoto");
}
Symbol 1581 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.challToGo = 5;
if (_root.conseen == false) {
_root.gotoplace = 32;
_root.gotoAndPlay("sGoto");
} else {
_root.challengegoer.gotoAndPlay("go");
}
}
}
Symbol 1584 MovieClip Frame 1
stop();
Symbol 1584 MovieClip Frame 2
stop();
Symbol 1584 MovieClip Frame 3
stop();
Symbol 1590 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.challToGo = 4;
if (_root.conseen == false) {
_root.gotoplace = 32;
_root.gotoAndPlay("sGoto");
} else {
_root.challengegoer.gotoAndPlay("go");
}
}
}
Symbol 1591 MovieClip Frame 1
stop();
Symbol 1591 MovieClip Frame 2
stop();
Symbol 1591 MovieClip Frame 3
stop();
Symbol 1597 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.challToGo = 3;
if (_root.conseen == false) {
_root.gotoplace = 32;
_root.gotoAndPlay("sGoto");
} else {
_root.challengegoer.gotoAndPlay("go");
}
}
}
Symbol 1598 MovieClip Frame 1
stop();
Symbol 1598 MovieClip Frame 2
stop();
Symbol 1598 MovieClip Frame 3
stop();
Symbol 1604 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.challToGo = 2;
if (_root.conseen == false) {
_root.gotoplace = 32;
_root.gotoAndPlay("sGoto");
} else {
_root.challengegoer.gotoAndPlay("go");
}
}
}
Symbol 1605 MovieClip Frame 1
stop();
Symbol 1605 MovieClip Frame 2
stop();
Symbol 1605 MovieClip Frame 3
stop();
Symbol 1611 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.challToGo = 1;
if (_root.conseen == false) {
_root.gotoplace = 32;
_root.gotoAndPlay("sGoto");
} else {
_root.challengegoer.gotoAndPlay("go");
}
}
}
Symbol 1612 MovieClip Frame 1
stop();
Symbol 1612 MovieClip Frame 2
stop();
Symbol 1613 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("sGoto");
}
Symbol 1614 Button
on (release) {
stopAllSounds();
_root.gotoplace = 31;
gotoAndPlay ("sGoto");
}
Symbol 1616 MovieClip Frame 1
stop();
Symbol 1616 MovieClip Frame 2
_root.playpressed = true;
Symbol 1616 MovieClip Frame 7
if (_root.challToGo == 1) {
_root.gotoAndPlay("challenge1");
}
if (_root.challToGo == 2) {
_root.gotoAndPlay("challenge2");
}
if (_root.challToGo == 3) {
_root.gotoAndPlay("challenge3");
}
if (_root.challToGo == 4) {
_root.gotoAndPlay("challenge4");
}
if (_root.challToGo == 5) {
_root.gotoAndPlay("challenge5");
}
Instance of Symbol 1632 MovieClip in Symbol 1633 MovieClip Frame 1
/* no clip actions */
Symbol 1635 MovieClip Frame 34
stop();
Symbol 1639 MovieClip Frame 34
stop();
Symbol 1642 MovieClip Frame 34
stop();
Symbol 1645 MovieClip Frame 34
stop();
Symbol 1648 MovieClip Frame 34
stop();
Symbol 1651 MovieClip Frame 34
stop();
Symbol 1654 MovieClip Frame 34
stop();
Symbol 1657 MovieClip Frame 34
stop();
Symbol 1660 MovieClip Frame 34
stop();
Symbol 1663 MovieClip Frame 34
stop();
Symbol 1666 MovieClip Frame 34
stop();
Symbol 1669 MovieClip Frame 34
stop();
Symbol 1672 MovieClip Frame 34
stop();
Symbol 1674 MovieClip Frame 1
stop();
Symbol 1674 MovieClip Frame 89
stop();
Symbol 1674 MovieClip Frame 178
stop();
Symbol 1674 MovieClip Frame 267
stop();
Symbol 1674 MovieClip Frame 356
stop();
Symbol 1674 MovieClip Frame 445
stop();
Symbol 1674 MovieClip Frame 534
stop();
Symbol 1674 MovieClip Frame 623
stop();
Symbol 1674 MovieClip Frame 712
stop();
Symbol 1674 MovieClip Frame 801
stop();
Symbol 1674 MovieClip Frame 890
stop();
Symbol 1674 MovieClip Frame 979
stop();
Symbol 1674 MovieClip Frame 1068
stop();
Symbol 1674 MovieClip Frame 1157
stop();
Symbol 1721 Button
on (release) {
gotoAndPlay ("next2tut");
}
Symbol 1728 Button
on (release) {
_root.gotoplace = 11;
gotoAndPlay ("t1Goto");
}
Symbol 1729 Button
on (release) {
_root.gotoplace = 0;
gotoAndPlay ("t1Goto");
}
Symbol 1730 Button
on (release) {
_root.gotoplace = 1;
gotoAndPlay ("t1Goto");
}
Symbol 1731 Button
on (release) {
_root.gotoplace = 2;
gotoAndPlay ("t1Goto");
}
Symbol 1754 Button
on (release) {
gotoAndPlay ("next1tut");
}
Symbol 1755 Button
on (release) {
_root.gotoplace = 11;
gotoAndPlay ("t2Goto");
}
Symbol 1756 Button
on (release) {
_root.gotoplace = 0;
gotoAndPlay ("t2Goto");
}
Symbol 1757 Button
on (release) {
_root.gotoplace = 1;
gotoAndPlay ("t2Goto");
}
Symbol 1758 Button
on (release) {
_root.gotoplace = 2;
gotoAndPlay ("t2Goto");
}
Symbol 1841 Button
on (press) {
getURL ("http://www.ratherrandomreality.com/pages/games/mightyredorb1.html", blank);
}
Symbol 1849 Button
on (press) {
getURL ("http://www.ratherrandomreality.com/pages/games/mightyredorb1.html", blank);
}
Instance of Symbol 1208 MovieClip in Symbol 1850 MovieClip Frame 17
/* no clip actions */
Instance of Symbol 1209 MovieClip in Symbol 1850 MovieClip Frame 17
/* no clip actions */
Instance of Symbol 1208 MovieClip in Symbol 1850 MovieClip Frame 29
/* no clip actions */
Symbol 1853 Button
on (release) {
gotoAndPlay ("next2");
}
Symbol 1854 Button
on (release) {
if (((((mission == 1) || (mission == 2)) || (mission == 3)) || (mission == 4)) || (mission == 5)) {
_root.gotoplace = 11;
gotoAndPlay ("fGoto");
}
if (((((mission == 6) || (mission == 7)) || (mission == 8)) || (mission == 9)) || (mission == 10)) {
_root.gotoplace = 12;
gotoAndPlay ("fGoto");
}
if (((((mission == 11) || (mission == 12)) || (mission == 13)) || (mission == 14)) || (mission == 15)) {
_root.gotoplace = 13;
gotoAndPlay ("fGoto");
}
if (mission == 16) {
_root.gotoplace = 14;
gotoAndPlay ("fGoto");
}
}
Symbol 1855 Button
on (release) {
_root.gotoplace = 0;
gotoAndPlay ("fGoto");
}
Symbol 1856 Button
on (release) {
_root.gotoplace = 1;
gotoAndPlay ("fGoto");
}
Symbol 1857 Button
on (release) {
_root.gotoplace = 2;
gotoAndPlay ("fGoto");
}
Symbol 1866 MovieClip Frame 1
if (_root.diamondget == false) {
diamondscore = 0;
diamondtext.text = "Diamond missing";
dscore.text = diamondscore;
} else {
diamondscore = 300;
diamondtext.text = "Diamond collected";
dscore.text = diamondscore;
}
Symbol 1870 MovieClip Frame 1
powerscore = _root.power;
pnumbers.text = _root.power;
pscore.text = powerscore;
Symbol 1874 MovieClip Frame 1
timescore = _root.timeleft * 10;
tnumbers.text = _root.timeleft;
tscore.text = timescore;
Symbol 1883 MovieClip Frame 1
stop();
_root.multi = 1;
Symbol 1883 MovieClip Frame 2
stop();
_root.multi = 2;
Symbol 1883 MovieClip Frame 3
stop();
_root.multi = 3;
Symbol 1896 MovieClip Frame 1
stop();
Symbol 1896 MovieClip Frame 2
stop();
Symbol 1896 MovieClip Frame 3
stop();
Symbol 1896 MovieClip Frame 4
stop();
Symbol 1896 MovieClip Frame 5
stop();
Symbol 1903 MovieClip Frame 1
missionnumber.text = _root.mission;
totalLevelScore = ((_root.tleft.timescore + _root.pleft.powerscore) + _root.diamond.diamondscore) * _root.difficulty;
tscore.text = totalLevelScore;
if (_root.mission == 1) {
if (totalLevelScore > _root.miss1bestScore) {
_root.miss1bestScore = totalLevelScore;
}
}
if (_root.mission == 2) {
if (totalLevelScore > _root.miss2bestScore) {
_root.miss2bestScore = totalLevelScore;
}
}
if (_root.mission == 3) {
if (totalLevelScore > _root.miss3bestScore) {
_root.miss3bestScore = totalLevelScore;
}
}
if (_root.mission == 4) {
if (totalLevelScore > _root.miss4bestScore) {
_root.miss4bestScore = totalLevelScore;
}
}
if (_root.mission == 5) {
if (totalLevelScore > _root.miss5bestScore) {
_root.miss5bestScore = totalLevelScore;
}
}
if (_root.mission == 6) {
if (totalLevelScore > _root.miss6bestScore) {
_root.miss6bestScore = totalLevelScore;
}
}
if (_root.mission == 7) {
if (totalLevelScore > _root.miss7bestScore) {
_root.miss7bestScore = totalLevelScore;
}
}
if (_root.mission == 8) {
if (totalLevelScore > _root.miss8bestScore) {
_root.miss8bestScore = totalLevelScore;
}
}
if (_root.mission == 9) {
if (totalLevelScore > _root.miss9bestScore) {
_root.miss9bestScore = totalLevelScore;
}
}
if (_root.mission == 10) {
if (totalLevelScore > _root.miss10bestScore) {
_root.miss10bestScore = totalLevelScore;
}
}
if (_root.mission == 11) {
if (totalLevelScore > _root.miss11bestScore) {
_root.miss11bestScore = totalLevelScore;
}
}
if (_root.mission == 12) {
if (totalLevelScore > _root.miss12bestScore) {
_root.miss12bestScore = totalLevelScore;
}
}
if (_root.mission == 13) {
if (totalLevelScore > _root.miss13bestScore) {
_root.miss13bestScore = totalLevelScore;
}
}
if (_root.mission == 14) {
if (totalLevelScore > _root.miss14bestScore) {
_root.miss14bestScore = totalLevelScore;
}
}
if (_root.mission == 15) {
if (totalLevelScore > _root.miss15bestScore) {
_root.miss15bestScore = totalLevelScore;
}
}
if (_root.mission == 16) {
if (totalLevelScore > _root.miss16bestScore) {
_root.miss16bestScore = totalLevelScore;
}
}
if (_root.mission == 17) {
if (totalLevelScore > _root.miss17bestScore) {
_root.miss17bestScore = totalLevelScore;
}
}
if (_root.mission == 18) {
if (totalLevelScore > _root.miss18bestScore) {
_root.miss18bestScore = totalLevelScore;
}
}
if (_root.mission == 19) {
if (totalLevelScore > _root.miss19bestScore) {
_root.miss19bestScore = totalLevelScore;
}
}
if (_root.mission == 20) {
if (totalLevelScore > _root.miss20bestScore) {
_root.miss20bestScore = totalLevelScore;
}
}
Symbol 1908 MovieClip Frame 1
if (_root.mission == 1) {
bestscore.text = _root.miss1bestScore;
}
if (_root.mission == 2) {
bestscore.text = _root.miss2bestScore;
}
if (_root.mission == 3) {
bestscore.text = _root.miss3bestScore;
}
if (_root.mission == 4) {
bestscore.text = _root.miss4bestScore;
}
if (_root.mission == 5) {
bestscore.text = _root.miss5bestScore;
}
if (_root.mission == 6) {
bestscore.text = _root.miss6bestScore;
}
if (_root.mission == 7) {
bestscore.text = _root.miss7bestScore;
}
if (_root.mission == 8) {
bestscore.text = _root.miss8bestScore;
}
if (_root.mission == 9) {
bestscore.text = _root.miss9bestScore;
}
if (_root.mission == 10) {
bestscore.text = _root.miss10bestScore;
}
if (_root.mission == 11) {
bestscore.text = _root.miss11bestScore;
}
if (_root.mission == 12) {
bestscore.text = _root.miss12bestScore;
}
if (_root.mission == 13) {
bestscore.text = _root.miss13bestScore;
}
if (_root.mission == 14) {
bestscore.text = _root.miss14bestScore;
}
if (_root.mission == 15) {
bestscore.text = _root.miss15bestScore;
}
if (_root.mission == 16) {
bestscore.text = _root.miss16bestScore;
}
if (_root.mission == 17) {
bestscore.text = _root.miss17bestScore;
}
if (_root.mission == 18) {
bestscore.text = _root.miss18bestScore;
}
if (_root.mission == 19) {
bestscore.text = _root.miss19bestScore;
}
if (_root.mission == 20) {
bestscore.text = _root.miss20bestScore;
}
Symbol 1910 Button
on (release) {
gotoAndPlay ("next1");
}
Symbol 1911 Button
on (release) {
if (((((mission == 1) || (mission == 2)) || (mission == 3)) || (mission == 4)) || (mission == 5)) {
_root.gotoplace = 11;
gotoAndPlay ("aGoto");
}
if (((((mission == 6) || (mission == 7)) || (mission == 8)) || (mission == 9)) || (mission == 10)) {
_root.gotoplace = 12;
gotoAndPlay ("aGoto");
}
if (((((mission == 11) || (mission == 12)) || (mission == 13)) || (mission == 14)) || (mission == 15)) {
_root.gotoplace = 13;
gotoAndPlay ("aGoto");
}
if (mission == 16) {
_root.gotoplace = 14;
gotoAndPlay ("fGoto");
}
}
Symbol 1912 Button
on (release) {
_root.gotoplace = 0;
gotoAndPlay ("aGoto");
}
Symbol 1913 Button
on (release) {
_root.gotoplace = 1;
gotoAndPlay ("aGoto");
}
Symbol 1914 Button
on (release) {
_root.gotoplace = 2;
gotoAndPlay ("aGoto");
}
Symbol 1957 Button
on (release) {
gotoAndPlay ("next3");
}
Symbol 1964 Button
on (release) {
_root.gotoplace = 20;
gotoAndPlay ("f2Goto");
}
Symbol 1965 Button
on (release) {
_root.gotoplace = 0;
gotoAndPlay ("f2Goto");
}
Symbol 1966 Button
on (release) {
_root.gotoplace = 31;
gotoAndPlay ("f2Goto");
}
Symbol 1976 MovieClip Frame 1
starsScore = _root.stars * 100;
starnumbers.text = _root.stars;
starscore.text = starsScore;
Symbol 1980 MovieClip Frame 1
shnumbers.text = _root.shotsLeft;
shscore.text = _root.shotsLeft;
shotscore = _root.shotsLeft;
Symbol 1985 MovieClip Frame 1
challnumber.text = _root.challenge;
totalChallengeScore = ((_root.tleft.timescore + _root.sleft.shotscore) + _root.bonus.starsScore) * _root.multi;
tscore.text = totalChallengeScore;
if (_root.challenge == 1) {
if (totalChallengeScore > _root.chall1bestScore) {
_root.chall1bestScore = totalChallengeScore;
}
}
if (_root.challenge == 2) {
if (totalChallengeScore > _root.chall2bestScore) {
_root.chall2bestScore = totalChallengeScore;
}
}
if (_root.challenge == 3) {
if (totalChallengeScore > _root.chall3bestScore) {
_root.chall3bestScore = totalChallengeScore;
}
}
if (_root.challenge == 4) {
if (totalChallengeScore > _root.chall4bestScore) {
_root.chall4bestScore = totalChallengeScore;
}
}
if (_root.challenge == 5) {
if (totalChallengeScore > _root.chall5bestScore) {
_root.chall5bestScore = totalChallengeScore;
}
}
Symbol 1987 MovieClip Frame 1
if (_root.challenge == 1) {
bestscore.text = _root.chall1bestScore;
}
if (_root.challenge == 2) {
bestscore.text = _root.chall2bestScore;
}
if (_root.challenge == 3) {
bestscore.text = _root.chall3bestScore;
}
if (_root.challenge == 4) {
bestscore.text = _root.chall4bestScore;
}
if (_root.challenge == 5) {
bestscore.text = _root.chall5bestScore;
}
Symbol 1989 Button
on (release) {
gotoAndPlay ("next4");
}
Symbol 1990 Button
on (release) {
_root.gotoplace = 20;
gotoAndPlay ("a2Goto");
}
Symbol 1991 Button
on (release) {
_root.gotoplace = 0;
gotoAndPlay ("a2Goto");
}
Symbol 1992 Button
on (release) {
_root.gotoplace = 31;
gotoAndPlay ("a2Goto");
}
Symbol 2021 MovieClip Frame 34
stop();
Symbol 2026 MovieClip Frame 34
stop();
Symbol 2028 MovieClip Frame 1
stop();
Symbol 2028 MovieClip Frame 92
stop();
Symbol 2028 MovieClip Frame 184
stop();
Symbol 2038 Button
on (release) {
stopAllSounds();
_root.gotoplace = 40;
_root.gotoAndPlay("w1Goto");
}
Symbol 2051 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 5;
if (_root.conseen2 == false) {
_root.gotoplace = 3;
_root.gotoAndPlay("w1Goto");
} else {
_root.missiongoer.gotoAndPlay("go");
}
}
}
Symbol 2055 MovieClip Frame 1
m5highscore.text = _root.miss5bestScore;
Symbol 2056 MovieClip Frame 1
stop();
Symbol 2056 MovieClip Frame 2
stop();
Symbol 2058 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 4;
if (_root.conseen2 == false) {
_root.gotoplace = 3;
_root.gotoAndPlay("w1Goto");
} else {
_root.missiongoer.gotoAndPlay("go");
}
}
}
Symbol 2062 MovieClip Frame 1
m4highscore.text = _root.miss4bestScore;
Symbol 2063 MovieClip Frame 1
stop();
Symbol 2063 MovieClip Frame 2
stop();
Symbol 2065 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 3;
if (_root.conseen2 == false) {
_root.gotoplace = 3;
_root.gotoAndPlay("w1Goto");
} else {
_root.missiongoer.gotoAndPlay("go");
}
}
}
Symbol 2069 MovieClip Frame 1
m3highscore.text = _root.miss3bestScore;
Symbol 2070 MovieClip Frame 1
stop();
Symbol 2070 MovieClip Frame 2
stop();
Symbol 2072 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 2;
if (_root.conseen2 == false) {
_root.gotoplace = 3;
_root.gotoAndPlay("w1Goto");
} else {
_root.missiongoer.gotoAndPlay("go");
}
}
}
Symbol 2076 MovieClip Frame 1
m2highscore.text = _root.miss2bestScore;
Symbol 2077 MovieClip Frame 1
stop();
Symbol 2077 MovieClip Frame 2
stop();
Symbol 2080 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 1;
if (_root.conseen2 == false) {
_root.gotoplace = 3;
_root.gotoAndPlay("w1Goto");
} else {
_root.missiongoer.gotoAndPlay("go");
}
}
}
Symbol 2083 MovieClip Frame 1
stop();
Symbol 2083 MovieClip Frame 2
stop();
Symbol 2091 Button
on (release) {
if (_root.submitpressed == false) {
stopAllSounds();
_root.gotosubmit.gotoAndPlay("tosubmit");
}
}
Symbol 2099 Button
on (release) {
stopAllSounds();
_root.worldtogo = 1;
_root.gotoplace = 30;
_root.gotoAndPlay("w1Goto");
}
Symbol 2104 Button
on (release) {
stopAllSounds();
_root.worldtogo = 1;
_root.gotoplace = 80;
_root.gotoAndPlay("w1Goto");
}
Symbol 2107 Button
on (release) {
stopAllSounds();
_root.worldtogo = 1;
_root.gotoplace = 20;
_root.gotoAndPlay("w1Goto");
}
Symbol 2108 MovieClip Frame 1
stop();
Symbol 2109 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("w1Goto");
}
Symbol 2110 Button
on (release) {
stopAllSounds();
_root.worldtogo = 1;
_root.gotoplace = 1;
gotoAndPlay ("w1Goto");
}
Symbol 2111 Button
on (release) {
stopAllSounds();
_root.worldtogo = 1;
_root.gotoplace = 2;
gotoAndPlay ("w1Goto");
}
Symbol 2112 MovieClip Frame 1
stop();
Symbol 2112 MovieClip Frame 2
_root.playpressed = true;
Symbol 2112 MovieClip Frame 7
if (_root.missToGo == 1) {
_root.gotoAndPlay("mission1");
}
if (_root.missToGo == 2) {
_root.gotoAndPlay("mission2");
}
if (_root.missToGo == 3) {
_root.gotoAndPlay("mission3");
}
if (_root.missToGo == 4) {
_root.gotoAndPlay("mission4");
}
if (_root.missToGo == 5) {
_root.gotoAndPlay("mission5");
}
if (_root.missToGo == 6) {
_root.gotoAndPlay("mission6");
}
if (_root.missToGo == 7) {
_root.gotoAndPlay("mission7");
}
if (_root.missToGo == 8) {
_root.gotoAndPlay("mission8");
}
if (_root.missToGo == 9) {
_root.gotoAndPlay("mission9");
}
if (_root.missToGo == 6) {
_root.gotoAndPlay("mission6");
}
if (_root.missToGo == 10) {
_root.gotoAndPlay("mission10");
}
if (_root.missToGo == 11) {
_root.gotoAndPlay("mission11");
}
if (_root.missToGo == 12) {
_root.gotoAndPlay("mission12");
}
if (_root.missToGo == 13) {
_root.gotoAndPlay("mission13");
}
if (_root.missToGo == 14) {
_root.gotoAndPlay("mission14");
}
if (_root.missToGo == 15) {
_root.gotoAndPlay("mission15");
}
if (_root.missToGo == 16) {
_root.gotoAndPlay("mission16");
}
Symbol 2113 MovieClip Frame 1
stop();
Symbol 2113 MovieClip Frame 2
_root.submitpressed = true;
Symbol 2113 MovieClip Frame 13
_root.gotoAndPlay("submit");
Symbol 2134 Button
on (release) {
stopAllSounds();
_root.gotoplace = 50;
_root.gotoAndPlay("w2Goto");
}
Symbol 2135 Button
on (release) {
stopAllSounds();
_root.gotoplace = 60;
_root.gotoAndPlay("w2Goto");
}
Symbol 2155 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 10;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2156 MovieClip Frame 1
stop();
Symbol 2156 MovieClip Frame 2
stop();
Symbol 2156 MovieClip Frame 3
stop();
Symbol 2161 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 9;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2162 MovieClip Frame 2
stop();
Symbol 2162 MovieClip Frame 3
stop();
Symbol 2167 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 8;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2168 MovieClip Frame 1
stop();
Symbol 2168 MovieClip Frame 2
stop();
Symbol 2168 MovieClip Frame 3
stop();
Symbol 2173 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 7;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2174 MovieClip Frame 1
stop();
Symbol 2174 MovieClip Frame 2
stop();
Symbol 2174 MovieClip Frame 3
stop();
Symbol 2179 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 6;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2180 MovieClip Frame 1
stop();
Symbol 2180 MovieClip Frame 2
stop();
Symbol 2180 MovieClip Frame 3
stop();
Symbol 2181 Button
on (release) {
stopAllSounds();
_root.worldtogo = 2;
_root.gotoplace = 30;
_root.gotoAndPlay("w2Goto");
}
Symbol 2182 Button
on (release) {
stopAllSounds();
_root.worldtogo = 2;
_root.gotoplace = 80;
_root.gotoAndPlay("w2Goto");
}
Symbol 2183 Button
on (release) {
stopAllSounds();
_root.worldtogo = 2;
_root.gotoplace = 20;
_root.gotoAndPlay("w2Goto");
}
Symbol 2184 MovieClip Frame 1
stop();
Symbol 2185 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("w2Goto");
}
Symbol 2186 Button
on (release) {
stopAllSounds();
_root.worldtogo = 2;
_root.gotoplace = 1;
gotoAndPlay ("w2Goto");
}
Symbol 2187 Button
on (release) {
stopAllSounds();
_root.worldtogo = 2;
_root.gotoplace = 2;
gotoAndPlay ("w2Goto");
}
Symbol 2203 Button
on (release) {
stopAllSounds();
_root.gotoplace = 40;
_root.gotoAndPlay("w3Goto");
}
Symbol 2204 Button
on (release) {
stopAllSounds();
_root.gotoplace = 70;
_root.gotoAndPlay("w3Goto");
}
Symbol 2216 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 15;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2217 MovieClip Frame 1
stop();
Symbol 2217 MovieClip Frame 2
stop();
Symbol 2217 MovieClip Frame 3
stop();
Symbol 2222 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 14;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2223 MovieClip Frame 1
stop();
Symbol 2223 MovieClip Frame 2
stop();
Symbol 2223 MovieClip Frame 3
stop();
Symbol 2228 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 13;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2229 MovieClip Frame 1
stop();
Symbol 2229 MovieClip Frame 2
stop();
Symbol 2229 MovieClip Frame 3
stop();
Symbol 2234 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 12;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2235 MovieClip Frame 1
stop();
Symbol 2235 MovieClip Frame 2
stop();
Symbol 2235 MovieClip Frame 3
stop();
Symbol 2240 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 11;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2241 MovieClip Frame 1
stop();
Symbol 2241 MovieClip Frame 2
stop();
Symbol 2241 MovieClip Frame 3
stop();
Symbol 2242 Button
on (release) {
stopAllSounds();
_root.worldtogo = 3;
_root.gotoplace = 30;
_root.gotoAndPlay("w3Goto");
}
Symbol 2243 Button
on (release) {
stopAllSounds();
_root.worldtogo = 3;
_root.gotoplace = 80;
_root.gotoAndPlay("w3Goto");
}
Symbol 2244 Button
on (release) {
stopAllSounds();
_root.worldtogo = 3;
_root.gotoplace = 20;
_root.gotoAndPlay("w3Goto");
}
Symbol 2245 MovieClip Frame 1
stop();
Symbol 2246 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("w3Goto");
}
Symbol 2247 Button
on (release) {
stopAllSounds();
_root.worldtogo = 3;
_root.gotoplace = 1;
gotoAndPlay ("w3Goto");
}
Symbol 2248 Button
on (release) {
stopAllSounds();
_root.worldtogo = 3;
_root.gotoplace = 2;
gotoAndPlay ("w3Goto");
}
Symbol 2258 Button
on (release) {
stopAllSounds();
_root.gotoplace = 60;
_root.gotoAndPlay("w4Goto");
}
Symbol 2264 Button
on (release) {
stopAllSounds();
_root.worldtogo = 4;
_root.gotoplace = 30;
_root.gotoAndPlay("w4Goto");
}
Symbol 2265 Button
on (release) {
stopAllSounds();
_root.worldtogo = 4;
_root.gotoplace = 80;
_root.gotoAndPlay("w4Goto");
}
Symbol 2266 Button
on (release) {
stopAllSounds();
_root.worldtogo = 4;
_root.gotoplace = 20;
_root.gotoAndPlay("w4Goto");
}
Symbol 2267 MovieClip Frame 1
stop();
Symbol 2282 Button
on (release) {
if (_root.playpressed == true) {
} else {
stopAllSounds();
_root.missToGo = 16;
_root.missiongoer.gotoAndPlay("go");
}
}
Symbol 2283 MovieClip Frame 1
stop();
Symbol 2283 MovieClip Frame 2
stop();
Symbol 2283 MovieClip Frame 3
stop();
Symbol 2284 Button
on (release) {
stopAllSounds();
_root.gotoplace = 0;
gotoAndPlay ("w4Goto");
}
Symbol 2285 Button
on (release) {
stopAllSounds();
_root.worldtogo = 4;
_root.gotoplace = 1;
gotoAndPlay ("w4Goto");
}
Symbol 2286 Button
on (release) {
stopAllSounds();
_root.worldtogo = 4;
_root.gotoplace = 2;
gotoAndPlay ("w4Goto");
}
Symbol 2313 MovieClip Frame 1
var c = new LoadVars();
var i = new LoadVars();
c.m = 1;
i.onLoad = function () {
trace(i);
name1 = i.name1;
score1 = i.score1;
name2 = i.name2;
score2 = i.score2;
name3 = i.name3;
score3 = i.score3;
name4 = i.name4;
score4 = i.score4;
name5 = i.name5;
score5 = i.score5;
name6 = i.name6;
score6 = i.score6;
name7 = i.name7;
score7 = i.score7;
name8 = i.name8;
score8 = i.score8;
name9 = i.name9;
score9 = i.score9;
name10 = i.name10;
score10 = i.score10;
};
stop();
Symbol 2319 Button
on (release) {
play();
}
Symbol 2345 Button
on (release) {
shouldsubmit = true;
gotoAndPlay ("afterclick");
}
Symbol 2352 Button
on (release) {
shouldsubmit = false;
gotoAndPlay ("afterclick");
}
Symbol 2381 MovieClip Frame 1
stop();
Symbol 2588 MovieClip Frame 1
stop();
Symbol 2833 MovieClip Frame 69
gotoAndPlay ("orb 5 balls");
Symbol 2833 MovieClip Frame 131
gotoAndPlay ("loop4balls");
Symbol 2833 MovieClip Frame 187
gotoAndPlay ("loop3balls");
Symbol 2833 MovieClip Frame 236
gotoAndPlay ("loop2balls");
Symbol 2833 MovieClip Frame 281
gotoAndPlay ("loop1ball");
Symbol 2833 MovieClip Frame 292
gotoAndPlay ("looporb");
Symbol 2833 MovieClip Frame 297
gotoAndPlay ("orb 5 balls");
Symbol 2859 MovieClip Frame 5
stop();
Symbol 2859 MovieClip Frame 12
stop();
_root.gotoAndStop("b1-2");
Symbol 2869 MovieClip Frame 1
stop();
Symbol 2869 MovieClip Frame 16
_root.bonusTerm.gotoAndPlay("appear");
Instance of Symbol 2876 MovieClip "calcbar" in Symbol 2879 MovieClip Frame 1
onClipEvent (enterFrame) {
this._height = _root.targetsBar.tarDown.text * 10.415;
if (_root.targetsBar.tarDown.text > 0) {
this._visible = true;
}
}
Symbol 2881 MovieClip Frame 1
stop();
Instance of Symbol 2586 MovieClip in Symbol 2881 MovieClip Frame 1
onClipEvent (enterFrame) {
this._height = _root.shotsBar.shotsRem.text * 1.477;
if (_root.shotsBar.shotsRem.text < 1) {
this._visible = false;
}
}
Symbol 2883 MovieClip Frame 1
_root.oktoshoot = true;
stop();
Symbol 2883 MovieClip Frame 2
_root.oktoshoot = false;
Symbol 2883 MovieClip Frame 10
gotoAndStop (1);
Symbol 2953 MovieClip Frame 1
_root.timeleft = 60;
Symbol 2953 MovieClip Frame 3
_root.timeleft = 59.9;
Symbol 2953 MovieClip Frame 5
_root.timeleft = 59.8;
Symbol 2953 MovieClip Frame 7
_root.timeleft = 59.7;
Symbol 2953 MovieClip Frame 9
_root.timeleft = 59.6;
Symbol 2953 MovieClip Frame 11
_root.timeleft = 59.5;
Symbol 2953 MovieClip Frame 13
_root.timeleft = 59.4;
Symbol 2953 MovieClip Frame 15
_root.timeleft = 59.3;
Symbol 2953 MovieClip Frame 17
_root.timeleft = 59.2;
Symbol 2953 MovieClip Frame 19
_root.timeleft = 59.1;
Symbol 2953 MovieClip Frame 21
_root.timeleft = 59;
Symbol 2953 MovieClip Frame 23
_root.timeleft = 58.9;
Symbol 2953 MovieClip Frame 25
_root.timeleft = 58.8;
Symbol 2953 MovieClip Frame 27
_root.timeleft = 58.7;
Symbol 2953 MovieClip Frame 29
_root.timeleft = 58.6;
Symbol 2953 MovieClip Frame 31
_root.timeleft = 58.5;
Symbol 2953 MovieClip Frame 33
_root.timeleft = 58.4;
Symbol 2953 MovieClip Frame 35
_root.timeleft = 58.3;
Symbol 2953 MovieClip Frame 37
_root.timeleft = 58.2;
Symbol 2953 MovieClip Frame 39
_root.timeleft = 58.1;
Symbol 2953 MovieClip Frame 41
_root.timeleft = 58;
Symbol 2953 MovieClip Frame 43
_root.timeleft = 57.9;
Symbol 2953 MovieClip Frame 45
_root.timeleft = 57.8;
Symbol 2953 MovieClip Frame 47
_root.timeleft = 57.7;
Symbol 2953 MovieClip Frame 49
_root.timeleft = 57.6;
Symbol 2953 MovieClip Frame 51
_root.timeleft = 57.5;
Symbol 2953 MovieClip Frame 53
_root.timeleft = 57.4;
Symbol 2953 MovieClip Frame 55
_root.timeleft = 57.3;
Symbol 2953 MovieClip Frame 57
_root.timeleft = 57.2;
Symbol 2953 MovieClip Frame 59
_root.timeleft = 57.1;
Symbol 2953 MovieClip Frame 61
_root.timeleft = 57;
Symbol 2953 MovieClip Frame 63
_root.timeleft = 56.9;
Symbol 2953 MovieClip Frame 65
_root.timeleft = 56.8;
Symbol 2953 MovieClip Frame 67
_root.timeleft = 56.7;
Symbol 2953 MovieClip Frame 69
_root.timeleft = 56.6;
Symbol 2953 MovieClip Frame 71
_root.timeleft = 56.5;
Symbol 2953 MovieClip Frame 73
_root.timeleft = 56.4;
Symbol 2953 MovieClip Frame 75
_root.timeleft = 56.3;
Symbol 2953 MovieClip Frame 77
_root.timeleft = 56.2;
Symbol 2953 MovieClip Frame 79
_root.timeleft = 56.1;
Symbol 2953 MovieClip Frame 81
_root.timeleft = 56;
Symbol 2953 MovieClip Frame 83
_root.timeleft = 55.9;
Symbol 2953 MovieClip Frame 85
_root.timeleft = 55.8;
Symbol 2953 MovieClip Frame 87
_root.timeleft = 55.7;
Symbol 2953 MovieClip Frame 89
_root.timeleft = 55.6;
Symbol 2953 MovieClip Frame 91
_root.timeleft = 55.5;
Symbol 2953 MovieClip Frame 93
_root.timeleft = 55.4;
Symbol 2953 MovieClip Frame 95
_root.timeleft = 55.3;
Symbol 2953 MovieClip Frame 97
_root.timeleft = 55.2;
Symbol 2953 MovieClip Frame 99
_root.timeleft = 55.1;
Symbol 2953 MovieClip Frame 101
_root.timeleft = 55;
Symbol 2953 MovieClip Frame 103
_root.timeleft = 54.9;
Symbol 2953 MovieClip Frame 105
_root.timeleft = 54.8;
Symbol 2953 MovieClip Frame 107
_root.timeleft = 54.7;
Symbol 2953 MovieClip Frame 109
_root.timeleft = 54.6;
Symbol 2953 MovieClip Frame 111
_root.timeleft = 54.5;
Symbol 2953 MovieClip Frame 113
_root.timeleft = 54.4;
Symbol 2953 MovieClip Frame 115
_root.timeleft = 54.3;
Symbol 2953 MovieClip Frame 117
_root.timeleft = 54.2;
Symbol 2953 MovieClip Frame 119
_root.timeleft = 54.1;
Symbol 2953 MovieClip Frame 121
_root.timeleft = 54;
Symbol 2953 MovieClip Frame 123
_root.timeleft = 53.9;
Symbol 2953 MovieClip Frame 125
_root.timeleft = 53.8;
Symbol 2953 MovieClip Frame 127
_root.timeleft = 53.7;
Symbol 2953 MovieClip Frame 129
_root.timeleft = 53.6;
Symbol 2953 MovieClip Frame 131
_root.timeleft = 53.5;
Symbol 2953 MovieClip Frame 133
_root.timeleft = 53.4;
Symbol 2953 MovieClip Frame 135
_root.timeleft = 53.3;
Symbol 2953 MovieClip Frame 137
_root.timeleft = 53.2;
Symbol 2953 MovieClip Frame 139
_root.timeleft = 53.1;
Symbol 2953 MovieClip Frame 141
_root.timeleft = 53;
Symbol 2953 MovieClip Frame 143
_root.timeleft = 52.9;
Symbol 2953 MovieClip Frame 145
_root.timeleft = 52.8;
Symbol 2953 MovieClip Frame 147
_root.timeleft = 52.7;
Symbol 2953 MovieClip Frame 149
_root.timeleft = 52.6;
Symbol 2953 MovieClip Frame 151
_root.timeleft = 52.5;
Symbol 2953 MovieClip Frame 153
_root.timeleft = 52.4;
Symbol 2953 MovieClip Frame 155
_root.timeleft = 52.3;
Symbol 2953 MovieClip Frame 157
_root.timeleft = 52.2;
Symbol 2953 MovieClip Frame 159
_root.timeleft = 52.1;
Symbol 2953 MovieClip Frame 161
_root.timeleft = 52;
Symbol 2953 MovieClip Frame 163
_root.timeleft = 51.9;
Symbol 2953 MovieClip Frame 165
_root.timeleft = 51.8;
Symbol 2953 MovieClip Frame 167
_root.timeleft = 51.7;
Symbol 2953 MovieClip Frame 169
_root.timeleft = 51.6;
Symbol 2953 MovieClip Frame 171
_root.timeleft = 51.5;
Symbol 2953 MovieClip Frame 173
_root.timeleft = 51.4;
Symbol 2953 MovieClip Frame 175
_root.timeleft = 51.3;
Symbol 2953 MovieClip Frame 177
_root.timeleft = 51.2;
Symbol 2953 MovieClip Frame 179
_root.timeleft = 51.1;
Symbol 2953 MovieClip Frame 181
_root.timeleft = 51;
Symbol 2953 MovieClip Frame 183
_root.timeleft = 50.9;
Symbol 2953 MovieClip Frame 185
_root.timeleft = 50.8;
Symbol 2953 MovieClip Frame 187
_root.timeleft = 50.7;
Symbol 2953 MovieClip Frame 189
_root.timeleft = 50.6;
Symbol 2953 MovieClip Frame 191
_root.timeleft = 50.5;
Symbol 2953 MovieClip Frame 193
_root.timeleft = 50.4;
Symbol 2953 MovieClip Frame 195
_root.timeleft = 50.3;
Symbol 2953 MovieClip Frame 197
_root.timeleft = 50.2;
Symbol 2953 MovieClip Frame 199
_root.timeleft = 50.1;
Symbol 2953 MovieClip Frame 201
_root.timeleft = 50;
Symbol 2953 MovieClip Frame 203
_root.timeleft = 49.9;
Symbol 2953 MovieClip Frame 205
_root.timeleft = 49.8;
Symbol 2953 MovieClip Frame 207
_root.timeleft = 49.7;
Symbol 2953 MovieClip Frame 209
_root.timeleft = 49.6;
Symbol 2953 MovieClip Frame 211
_root.timeleft = 49.5;
Symbol 2953 MovieClip Frame 213
_root.timeleft = 49.4;
Symbol 2953 MovieClip Frame 215
_root.timeleft = 49.3;
Symbol 2953 MovieClip Frame 217
_root.timeleft = 49.2;
Symbol 2953 MovieClip Frame 219
_root.timeleft = 49.1;
Symbol 2953 MovieClip Frame 221
_root.timeleft = 49;
Symbol 2953 MovieClip Frame 223
_root.timeleft = 48.9;
Symbol 2953 MovieClip Frame 225
_root.timeleft = 48.8;
Symbol 2953 MovieClip Frame 227
_root.timeleft = 48.7;
Symbol 2953 MovieClip Frame 229
_root.timeleft = 48.6;
Symbol 2953 MovieClip Frame 231
_root.timeleft = 48.5;
Symbol 2953 MovieClip Frame 233
_root.timeleft = 48.4;
Symbol 2953 MovieClip Frame 235
_root.timeleft = 48.3;
Symbol 2953 MovieClip Frame 237
_root.timeleft = 48.2;
Symbol 2953 MovieClip Frame 239
_root.timeleft = 48.1;
Symbol 2953 MovieClip Frame 241
_root.timeleft = 48;
Symbol 2953 MovieClip Frame 243
_root.timeleft = 47.9;
Symbol 2953 MovieClip Frame 245
_root.timeleft = 47.8;
Symbol 2953 MovieClip Frame 247
_root.timeleft = 47.7;
Symbol 2953 MovieClip Frame 249
_root.timeleft = 47.6;
Symbol 2953 MovieClip Frame 251
_root.timeleft = 47.5;
Symbol 2953 MovieClip Frame 253
_root.timeleft = 47.4;
Symbol 2953 MovieClip Frame 255
_root.timeleft = 47.3;
Symbol 2953 MovieClip Frame 257
_root.timeleft = 47.2;
Symbol 2953 MovieClip Frame 259
_root.timeleft = 47.1;
Symbol 2953 MovieClip Frame 261
_root.timeleft = 47;
Symbol 2953 MovieClip Frame 263
_root.timeleft = 46.9;
Symbol 2953 MovieClip Frame 265
_root.timeleft = 46.8;
Symbol 2953 MovieClip Frame 267
_root.timeleft = 46.7;
Symbol 2953 MovieClip Frame 269
_root.timeleft = 46.6;
Symbol 2953 MovieClip Frame 271
_root.timeleft = 46.5;
Symbol 2953 MovieClip Frame 273
_root.timeleft = 46.4;
Symbol 2953 MovieClip Frame 275
_root.timeleft = 46.3;
Symbol 2953 MovieClip Frame 277
_root.timeleft = 46.2;
Symbol 2953 MovieClip Frame 279
_root.timeleft = 46.1;
Symbol 2953 MovieClip Frame 281
_root.timeleft = 46;
Symbol 2953 MovieClip Frame 283
_root.timeleft = 45.9;
Symbol 2953 MovieClip Frame 285
_root.timeleft = 45.8;
Symbol 2953 MovieClip Frame 287
_root.timeleft = 45.7;
Symbol 2953 MovieClip Frame 289
_root.timeleft = 45.6;
Symbol 2953 MovieClip Frame 291
_root.timeleft = 45.5;
Symbol 2953 MovieClip Frame 293
_root.timeleft = 45.4;
Symbol 2953 MovieClip Frame 295
_root.timeleft = 45.3;
Symbol 2953 MovieClip Frame 297
_root.timeleft = 45.2;
Symbol 2953 MovieClip Frame 299
_root.timeleft = 45.1;
Symbol 2953 MovieClip Frame 301
_root.timeleft = 45;
Symbol 2953 MovieClip Frame 303
_root.timeleft = 44.9;
Symbol 2953 MovieClip Frame 305
_root.timeleft = 44.8;
Symbol 2953 MovieClip Frame 307
_root.timeleft = 44.7;
Symbol 2953 MovieClip Frame 309
_root.timeleft = 44.6;
Symbol 2953 MovieClip Frame 311
_root.timeleft = 44.5;
Symbol 2953 MovieClip Frame 313
_root.timeleft = 44.4;
Symbol 2953 MovieClip Frame 315
_root.timeleft = 44.3;
Symbol 2953 MovieClip Frame 317
_root.timeleft = 44.2;
Symbol 2953 MovieClip Frame 319
_root.timeleft = 44.1;
Symbol 2953 MovieClip Frame 321
_root.timeleft = 44;
Symbol 2953 MovieClip Frame 323
_root.timeleft = 43.9;
Symbol 2953 MovieClip Frame 325
_root.timeleft = 43.8;
Symbol 2953 MovieClip Frame 327
_root.timeleft = 43.7;
Symbol 2953 MovieClip Frame 329
_root.timeleft = 43.6;
Symbol 2953 MovieClip Frame 331
_root.timeleft = 43.5;
Symbol 2953 MovieClip Frame 333
_root.timeleft = 43.4;
Symbol 2953 MovieClip Frame 335
_root.timeleft = 43.3;
Symbol 2953 MovieClip Frame 337
_root.timeleft = 43.2;
Symbol 2953 MovieClip Frame 339
_root.timeleft = 43.1;
Symbol 2953 MovieClip Frame 341
_root.timeleft = 43;
Symbol 2953 MovieClip Frame 343
_root.timeleft = 42.9;
Symbol 2953 MovieClip Frame 345
_root.timeleft = 42.8;
Symbol 2953 MovieClip Frame 347
_root.timeleft = 42.7;
Symbol 2953 MovieClip Frame 349
_root.timeleft = 42.6;
Symbol 2953 MovieClip Frame 351
_root.timeleft = 42.5;
Symbol 2953 MovieClip Frame 353
_root.timeleft = 42.4;
Symbol 2953 MovieClip Frame 355
_root.timeleft = 42.3;
Symbol 2953 MovieClip Frame 357
_root.timeleft = 42.2;
Symbol 2953 MovieClip Frame 359
_root.timeleft = 42.1;
Symbol 2953 MovieClip Frame 361
_root.timeleft = 42;
Symbol 2953 MovieClip Frame 363
_root.timeleft = 41.9;
Symbol 2953 MovieClip Frame 365
_root.timeleft = 41.8;
Symbol 2953 MovieClip Frame 367
_root.timeleft = 41.7;
Symbol 2953 MovieClip Frame 369
_root.timeleft = 41.6;
Symbol 2953 MovieClip Frame 371
_root.timeleft = 41.5;
Symbol 2953 MovieClip Frame 373
_root.timeleft = 41.4;
Symbol 2953 MovieClip Frame 375
_root.timeleft = 41.3;
Symbol 2953 MovieClip Frame 377
_root.timeleft = 41.2;
Symbol 2953 MovieClip Frame 379
_root.timeleft = 41.1;
Symbol 2953 MovieClip Frame 381
_root.timeleft = 41;
Symbol 2953 MovieClip Frame 383
_root.timeleft = 40.9;
Symbol 2953 MovieClip Frame 385
_root.timeleft = 40.8;
Symbol 2953 MovieClip Frame 387
_root.timeleft = 40.7;
Symbol 2953 MovieClip Frame 389
_root.timeleft = 40.6;
Symbol 2953 MovieClip Frame 391
_root.timeleft = 40.5;
Symbol 2953 MovieClip Frame 393
_root.timeleft = 40.4;
Symbol 2953 MovieClip Frame 395
_root.timeleft = 40.3;
Symbol 2953 MovieClip Frame 397
_root.timeleft = 40.2;
Symbol 2953 MovieClip Frame 399
_root.timeleft = 40.1;
Symbol 2953 MovieClip Frame 401
_root.timeleft = 40;
Symbol 2953 MovieClip Frame 403
_root.timeleft = 39.9;
Symbol 2953 MovieClip Frame 405
_root.timeleft = 39.8;
Symbol 2953 MovieClip Frame 407
_root.timeleft = 39.7;
Symbol 2953 MovieClip Frame 409
_root.timeleft = 39.6;
Symbol 2953 MovieClip Frame 411
_root.timeleft = 39.5;
Symbol 2953 MovieClip Frame 413
_root.timeleft = 39.4;
Symbol 2953 MovieClip Frame 415
_root.timeleft = 39.3;
Symbol 2953 MovieClip Frame 417
_root.timeleft = 39.2;
Symbol 2953 MovieClip Frame 419
_root.timeleft = 39.1;
Symbol 2953 MovieClip Frame 421
_root.timeleft = 39;
Symbol 2953 MovieClip Frame 423
_root.timeleft = 38.9;
Symbol 2953 MovieClip Frame 425
_root.timeleft = 38.8;
Symbol 2953 MovieClip Frame 427
_root.timeleft = 38.7;
Symbol 2953 MovieClip Frame 429
_root.timeleft = 38.6;
Symbol 2953 MovieClip Frame 431
_root.timeleft = 38.5;
Symbol 2953 MovieClip Frame 433
_root.timeleft = 38.4;
Symbol 2953 MovieClip Frame 435
_root.timeleft = 38.3;
Symbol 2953 MovieClip Frame 437
_root.timeleft = 38.2;
Symbol 2953 MovieClip Frame 439
_root.timeleft = 38.1;
Symbol 2953 MovieClip Frame 441
_root.timeleft = 38;
Symbol 2953 MovieClip Frame 443
_root.timeleft = 37.9;
Symbol 2953 MovieClip Frame 445
_root.timeleft = 37.8;
Symbol 2953 MovieClip Frame 447
_root.timeleft = 37.7;
Symbol 2953 MovieClip Frame 449
_root.timeleft = 37.6;
Symbol 2953 MovieClip Frame 451
_root.timeleft = 37.5;
Symbol 2953 MovieClip Frame 453
_root.timeleft = 37.4;
Symbol 2953 MovieClip Frame 455
_root.timeleft = 37.3;
Symbol 2953 MovieClip Frame 457
_root.timeleft = 37.2;
Symbol 2953 MovieClip Frame 459
_root.timeleft = 37.1;
Symbol 2953 MovieClip Frame 461
_root.timeleft = 37;
Symbol 2953 MovieClip Frame 463
_root.timeleft = 36.9;
Symbol 2953 MovieClip Frame 465
_root.timeleft = 36.8;
Symbol 2953 MovieClip Frame 467
_root.timeleft = 36.7;
Symbol 2953 MovieClip Frame 469
_root.timeleft = 36.6;
Symbol 2953 MovieClip Frame 471
_root.timeleft = 36.5;
Symbol 2953 MovieClip Frame 473
_root.timeleft = 36.4;
Symbol 2953 MovieClip Frame 475
_root.timeleft = 36.3;
Symbol 2953 MovieClip Frame 477
_root.timeleft = 36.2;
Symbol 2953 MovieClip Frame 479
_root.timeleft = 36.1;
Symbol 2953 MovieClip Frame 481
_root.timeleft = 36;
Symbol 2953 MovieClip Frame 483
_root.timeleft = 35.9;
Symbol 2953 MovieClip Frame 485
_root.timeleft = 35.8;
Symbol 2953 MovieClip Frame 487
_root.timeleft = 35.7;
Symbol 2953 MovieClip Frame 489
_root.timeleft = 35.6;
Symbol 2953 MovieClip Frame 491
_root.timeleft = 35.5;
Symbol 2953 MovieClip Frame 493
_root.timeleft = 35.4;
Symbol 2953 MovieClip Frame 495
_root.timeleft = 35.3;
Symbol 2953 MovieClip Frame 497
_root.timeleft = 35.2;
Symbol 2953 MovieClip Frame 499
_root.timeleft = 35.1;
Symbol 2953 MovieClip Frame 501
_root.timeleft = 35;
Symbol 2953 MovieClip Frame 503
_root.timeleft = 34.9;
Symbol 2953 MovieClip Frame 505
_root.timeleft = 34.8;
Symbol 2953 MovieClip Frame 507
_root.timeleft = 34.7;
Symbol 2953 MovieClip Frame 509
_root.timeleft = 34.6;
Symbol 2953 MovieClip Frame 511
_root.timeleft = 34.5;
Symbol 2953 MovieClip Frame 513
_root.timeleft = 34.4;
Symbol 2953 MovieClip Frame 515
_root.timeleft = 34.3;
Symbol 2953 MovieClip Frame 517
_root.timeleft = 34.2;
Symbol 2953 MovieClip Frame 519
_root.timeleft = 34.1;
Symbol 2953 MovieClip Frame 521
_root.timeleft = 34;
Symbol 2953 MovieClip Frame 523
_root.timeleft = 33.9;
Symbol 2953 MovieClip Frame 525
_root.timeleft = 33.8;
Symbol 2953 MovieClip Frame 527
_root.timeleft = 33.7;
Symbol 2953 MovieClip Frame 529
_root.timeleft = 33.6;
Symbol 2953 MovieClip Frame 531
_root.timeleft = 33.5;
Symbol 2953 MovieClip Frame 533
_root.timeleft = 33.4;
Symbol 2953 MovieClip Frame 535
_root.timeleft = 33.3;
Symbol 2953 MovieClip Frame 537
_root.timeleft = 33.2;
Symbol 2953 MovieClip Frame 539
_root.timeleft = 33.1;
Symbol 2953 MovieClip Frame 541
_root.timeleft = 33;
Symbol 2953 MovieClip Frame 543
_root.timeleft = 32.9;
Symbol 2953 MovieClip Frame 545
_root.timeleft = 32.8;
Symbol 2953 MovieClip Frame 547
_root.timeleft = 32.7;
Symbol 2953 MovieClip Frame 549
_root.timeleft = 32.6;
Symbol 2953 MovieClip Frame 551
_root.timeleft = 32.5;
Symbol 2953 MovieClip Frame 553
_root.timeleft = 32.4;
Symbol 2953 MovieClip Frame 555
_root.timeleft = 32.3;
Symbol 2953 MovieClip Frame 557
_root.timeleft = 32.2;
Symbol 2953 MovieClip Frame 559
_root.timeleft = 32.1;
Symbol 2953 MovieClip Frame 561
_root.timeleft = 32;
Symbol 2953 MovieClip Frame 563
_root.timeleft = 31.9;
Symbol 2953 MovieClip Frame 565
_root.timeleft = 31.8;
Symbol 2953 MovieClip Frame 567
_root.timeleft = 31.7;
Symbol 2953 MovieClip Frame 569
_root.timeleft = 31.6;
Symbol 2953 MovieClip Frame 571
_root.timeleft = 31.5;
Symbol 2953 MovieClip Frame 573
_root.timeleft = 31.4;
Symbol 2953 MovieClip Frame 575
_root.timeleft = 31.3;
Symbol 2953 MovieClip Frame 577
_root.timeleft = 31.2;
Symbol 2953 MovieClip Frame 579
_root.timeleft = 31.1;
Symbol 2953 MovieClip Frame 581
_root.timeleft = 31;
Symbol 2953 MovieClip Frame 583
_root.timeleft = 30.9;
Symbol 2953 MovieClip Frame 585
_root.timeleft = 30.8;
Symbol 2953 MovieClip Frame 587
_root.timeleft = 30.7;
Symbol 2953 MovieClip Frame 589
_root.timeleft = 30.6;
Symbol 2953 MovieClip Frame 591
_root.timeleft = 30.5;
Symbol 2953 MovieClip Frame 593
_root.timeleft = 30.4;
Symbol 2953 MovieClip Frame 595
_root.timeleft = 30.3;
Symbol 2953 MovieClip Frame 597
_root.timeleft = 30.2;
Symbol 2953 MovieClip Frame 599
_root.timeleft = 30.1;
Symbol 2953 MovieClip Frame 601
_root.timeleft = 30;
Symbol 2953 MovieClip Frame 603
_root.timeleft = 29.9;
Symbol 2953 MovieClip Frame 605
_root.timeleft = 29.8;
Symbol 2953 MovieClip Frame 607
_root.timeleft = 29.7;
Symbol 2953 MovieClip Frame 609
_root.timeleft = 29.6;
Symbol 2953 MovieClip Frame 611
_root.timeleft = 29.5;
Symbol 2953 MovieClip Frame 613
_root.timeleft = 29.4;
Symbol 2953 MovieClip Frame 615
_root.timeleft = 29.3;
Symbol 2953 MovieClip Frame 617
_root.timeleft = 29.2;
Symbol 2953 MovieClip Frame 619
_root.timeleft = 29.1;
Symbol 2953 MovieClip Frame 621
_root.timeleft = 29;
Symbol 2953 MovieClip Frame 623
_root.timeleft = 28.9;
Symbol 2953 MovieClip Frame 625
_root.timeleft = 28.8;
Symbol 2953 MovieClip Frame 627
_root.timeleft = 28.7;
Symbol 2953 MovieClip Frame 629
_root.timeleft = 28.6;
Symbol 2953 MovieClip Frame 631
_root.timeleft = 28.5;
Symbol 2953 MovieClip Frame 633
_root.timeleft = 28.4;
Symbol 2953 MovieClip Frame 635
_root.timeleft = 28.3;
Symbol 2953 MovieClip Frame 637
_root.timeleft = 28.2;
Symbol 2953 MovieClip Frame 639
_root.timeleft = 28.1;
Symbol 2953 MovieClip Frame 641
_root.timeleft = 28;
Symbol 2953 MovieClip Frame 643
_root.timeleft = 27.9;
Symbol 2953 MovieClip Frame 645
_root.timeleft = 27.8;
Symbol 2953 MovieClip Frame 647
_root.timeleft = 27.7;
Symbol 2953 MovieClip Frame 649
_root.timeleft = 27.6;
Symbol 2953 MovieClip Frame 651
_root.timeleft = 27.5;
Symbol 2953 MovieClip Frame 653
_root.timeleft = 27.4;
Symbol 2953 MovieClip Frame 655
_root.timeleft = 27.3;
Symbol 2953 MovieClip Frame 657
_root.timeleft = 27.2;
Symbol 2953 MovieClip Frame 659
_root.timeleft = 27.1;
Symbol 2953 MovieClip Frame 661
_root.timeleft = 27;
Symbol 2953 MovieClip Frame 663
_root.timeleft = 26.9;
Symbol 2953 MovieClip Frame 665
_root.timeleft = 26.8;
Symbol 2953 MovieClip Frame 667
_root.timeleft = 26.7;
Symbol 2953 MovieClip Frame 669
_root.timeleft = 26.6;
Symbol 2953 MovieClip Frame 671
_root.timeleft = 26.5;
Symbol 2953 MovieClip Frame 673
_root.timeleft = 26.4;
Symbol 2953 MovieClip Frame 675
_root.timeleft = 26.3;
Symbol 2953 MovieClip Frame 677
_root.timeleft = 26.2;
Symbol 2953 MovieClip Frame 679
_root.timeleft = 26.1;
Symbol 2953 MovieClip Frame 681
_root.timeleft = 26;
Symbol 2953 MovieClip Frame 683
_root.timeleft = 25.9;
Symbol 2953 MovieClip Frame 685
_root.timeleft = 25.8;
Symbol 2953 MovieClip Frame 687
_root.timeleft = 25.7;
Symbol 2953 MovieClip Frame 689
_root.timeleft = 25.6;
Symbol 2953 MovieClip Frame 691
_root.timeleft = 25.5;
Symbol 2953 MovieClip Frame 693
_root.timeleft = 25.4;
Symbol 2953 MovieClip Frame 695
_root.timeleft = 25.3;
Symbol 2953 MovieClip Frame 697
_root.timeleft = 25.2;
Symbol 2953 MovieClip Frame 699
_root.timeleft = 25.1;
Symbol 2953 MovieClip Frame 701
_root.timeleft = 25;
Symbol 2953 MovieClip Frame 703
_root.timeleft = 24.9;
Symbol 2953 MovieClip Frame 705
_root.timeleft = 24.8;
Symbol 2953 MovieClip Frame 707
_root.timeleft = 24.7;
Symbol 2953 MovieClip Frame 709
_root.timeleft = 24.6;
Symbol 2953 MovieClip Frame 711
_root.timeleft = 24.5;
Symbol 2953 MovieClip Frame 713
_root.timeleft = 24.4;
Symbol 2953 MovieClip Frame 715
_root.timeleft = 24.3;
Symbol 2953 MovieClip Frame 717
_root.timeleft = 24.2;
Symbol 2953 MovieClip Frame 719
_root.timeleft = 24.1;
Symbol 2953 MovieClip Frame 721
_root.timeleft = 24;
Symbol 2953 MovieClip Frame 723
_root.timeleft = 23.9;
Symbol 2953 MovieClip Frame 725
_root.timeleft = 23.8;
Symbol 2953 MovieClip Frame 727
_root.timeleft = 23.7;
Symbol 2953 MovieClip Frame 729
_root.timeleft = 23.6;
Symbol 2953 MovieClip Frame 731
_root.timeleft = 23.5;
Symbol 2953 MovieClip Frame 733
_root.timeleft = 23.4;
Symbol 2953 MovieClip Frame 735
_root.timeleft = 23.3;
Symbol 2953 MovieClip Frame 737
_root.timeleft = 23.2;
Symbol 2953 MovieClip Frame 739
_root.timeleft = 23.1;
Symbol 2953 MovieClip Frame 741
_root.timeleft = 23;
Symbol 2953 MovieClip Frame 743
_root.timeleft = 22.9;
Symbol 2953 MovieClip Frame 745
_root.timeleft = 22.8;
Symbol 2953 MovieClip Frame 747
_root.timeleft = 22.7;
Symbol 2953 MovieClip Frame 749
_root.timeleft = 22.6;
Symbol 2953 MovieClip Frame 751
_root.timeleft = 22.5;
Symbol 2953 MovieClip Frame 753
_root.timeleft = 22.4;
Symbol 2953 MovieClip Frame 755
_root.timeleft = 22.3;
Symbol 2953 MovieClip Frame 757
_root.timeleft = 22.2;
Symbol 2953 MovieClip Frame 759
_root.timeleft = 22.1;
Symbol 2953 MovieClip Frame 761
_root.timeleft = 22;
Symbol 2953 MovieClip Frame 763
_root.timeleft = 21.9;
Symbol 2953 MovieClip Frame 765
_root.timeleft = 21.8;
Symbol 2953 MovieClip Frame 767
_root.timeleft = 21.7;
Symbol 2953 MovieClip Frame 769
_root.timeleft = 21.6;
Symbol 2953 MovieClip Frame 771
_root.timeleft = 21.5;
Symbol 2953 MovieClip Frame 773
_root.timeleft = 21.4;
Symbol 2953 MovieClip Frame 775
_root.timeleft = 21.3;
Symbol 2953 MovieClip Frame 777
_root.timeleft = 21.2;
Symbol 2953 MovieClip Frame 779
_root.timeleft = 21.1;
Symbol 2953 MovieClip Frame 781
_root.timeleft = 21;
Symbol 2953 MovieClip Frame 783
_root.timeleft = 20.9;
Symbol 2953 MovieClip Frame 785
_root.timeleft = 20.8;
Symbol 2953 MovieClip Frame 787
_root.timeleft = 20.7;
Symbol 2953 MovieClip Frame 789
_root.timeleft = 20.6;
Symbol 2953 MovieClip Frame 791
_root.timeleft = 20.5;
Symbol 2953 MovieClip Frame 793
_root.timeleft = 20.4;
Symbol 2953 MovieClip Frame 795
_root.timeleft = 20.3;
Symbol 2953 MovieClip Frame 797
_root.timeleft = 20.2;
Symbol 2953 MovieClip Frame 799
_root.timeleft = 20.1;
Symbol 2953 MovieClip Frame 801
_root.timeleft = 20;
Symbol 2953 MovieClip Frame 803
_root.timeleft = 19.9;
Symbol 2953 MovieClip Frame 805
_root.timeleft = 19.8;
Symbol 2953 MovieClip Frame 807
_root.timeleft = 19.7;
Symbol 2953 MovieClip Frame 809
_root.timeleft = 19.6;
Symbol 2953 MovieClip Frame 811
_root.timeleft = 19.5;
Symbol 2953 MovieClip Frame 813
_root.timeleft = 19.4;
Symbol 2953 MovieClip Frame 815
_root.timeleft = 19.3;
Symbol 2953 MovieClip Frame 817
_root.timeleft = 19.2;
Symbol 2953 MovieClip Frame 819
_root.timeleft = 19.1;
Symbol 2953 MovieClip Frame 821
_root.timeleft = 19;
Symbol 2953 MovieClip Frame 823
_root.timeleft = 18.9;
Symbol 2953 MovieClip Frame 825
_root.timeleft = 18.8;
Symbol 2953 MovieClip Frame 827
_root.timeleft = 18.7;
Symbol 2953 MovieClip Frame 829
_root.timeleft = 18.6;
Symbol 2953 MovieClip Frame 831
_root.timeleft = 18.5;
Symbol 2953 MovieClip Frame 833
_root.timeleft = 18.4;
Symbol 2953 MovieClip Frame 835
_root.timeleft = 18.3;
Symbol 2953 MovieClip Frame 837
_root.timeleft = 18.2;
Symbol 2953 MovieClip Frame 839
_root.timeleft = 18.1;
Symbol 2953 MovieClip Frame 841
_root.timeleft = 18;
Symbol 2953 MovieClip Frame 843
_root.timeleft = 17.9;
Symbol 2953 MovieClip Frame 845
_root.timeleft = 17.8;
Symbol 2953 MovieClip Frame 847
_root.timeleft = 17.7;
Symbol 2953 MovieClip Frame 849
_root.timeleft = 17.6;
Symbol 2953 MovieClip Frame 851
_root.timeleft = 17.5;
Symbol 2953 MovieClip Frame 853
_root.timeleft = 17.4;
Symbol 2953 MovieClip Frame 855
_root.timeleft = 17.3;
Symbol 2953 MovieClip Frame 857
_root.timeleft = 17.2;
Symbol 2953 MovieClip Frame 859
_root.timeleft = 17.1;
Symbol 2953 MovieClip Frame 861
_root.timeleft = 17;
Symbol 2953 MovieClip Frame 863
_root.timeleft = 16.9;
Symbol 2953 MovieClip Frame 865
_root.timeleft = 16.8;
Symbol 2953 MovieClip Frame 867
_root.timeleft = 16.7;
Symbol 2953 MovieClip Frame 869
_root.timeleft = 16.6;
Symbol 2953 MovieClip Frame 871
_root.timeleft = 16.5;
Symbol 2953 MovieClip Frame 873
_root.timeleft = 16.4;
Symbol 2953 MovieClip Frame 875
_root.timeleft = 16.3;
Symbol 2953 MovieClip Frame 877
_root.timeleft = 16.2;
Symbol 2953 MovieClip Frame 879
_root.timeleft = 16.1;
Symbol 2953 MovieClip Frame 881
_root.timeleft = 16;
Symbol 2953 MovieClip Frame 883
_root.timeleft = 15.9;
Symbol 2953 MovieClip Frame 885
_root.timeleft = 15.8;
Symbol 2953 MovieClip Frame 887
_root.timeleft = 15.7;
Symbol 2953 MovieClip Frame 889
_root.timeleft = 15.6;
Symbol 2953 MovieClip Frame 891
_root.timeleft = 15.5;
Symbol 2953 MovieClip Frame 893
_root.timeleft = 15.4;
Symbol 2953 MovieClip Frame 895
_root.timeleft = 15.3;
Symbol 2953 MovieClip Frame 897
_root.timeleft = 15.2;
Symbol 2953 MovieClip Frame 899
_root.timeleft = 15.1;
Symbol 2953 MovieClip Frame 901
_root.timeleft = 15;
Symbol 2953 MovieClip Frame 903
_root.timeleft = 14.9;
Symbol 2953 MovieClip Frame 905
_root.timeleft = 14.8;
Symbol 2953 MovieClip Frame 907
_root.timeleft = 14.7;
Symbol 2953 MovieClip Frame 909
_root.timeleft = 14.6;
Symbol 2953 MovieClip Frame 911
_root.timeleft = 14.5;
Symbol 2953 MovieClip Frame 913
_root.timeleft = 14.4;
Symbol 2953 MovieClip Frame 915
_root.timeleft = 14.3;
Symbol 2953 MovieClip Frame 917
_root.timeleft = 14.2;
Symbol 2953 MovieClip Frame 919
_root.timeleft = 14.1;
Symbol 2953 MovieClip Frame 921
_root.timeleft = 14;
Symbol 2953 MovieClip Frame 923
_root.timeleft = 13.9;
Symbol 2953 MovieClip Frame 925
_root.timeleft = 13.8;
Symbol 2953 MovieClip Frame 927
_root.timeleft = 13.7;
Symbol 2953 MovieClip Frame 929
_root.timeleft = 13.6;
Symbol 2953 MovieClip Frame 931
_root.timeleft = 13.5;
Symbol 2953 MovieClip Frame 933
_root.timeleft = 13.4;
Symbol 2953 MovieClip Frame 935
_root.timeleft = 13.3;
Symbol 2953 MovieClip Frame 937
_root.timeleft = 13.2;
Symbol 2953 MovieClip Frame 939
_root.timeleft = 13.1;
Symbol 2953 MovieClip Frame 941
_root.timeleft = 13;
Symbol 2953 MovieClip Frame 943
_root.timeleft = 12.9;
Symbol 2953 MovieClip Frame 945
_root.timeleft = 12.8;
Symbol 2953 MovieClip Frame 947
_root.timeleft = 12.7;
Symbol 2953 MovieClip Frame 949
_root.timeleft = 12.6;
Symbol 2953 MovieClip Frame 951
_root.timeleft = 12.5;
Symbol 2953 MovieClip Frame 953
_root.timeleft = 12.4;
Symbol 2953 MovieClip Frame 955
_root.timeleft = 12.3;
Symbol 2953 MovieClip Frame 957
_root.timeleft = 12.2;
Symbol 2953 MovieClip Frame 959
_root.timeleft = 12.1;
Symbol 2953 MovieClip Frame 961
_root.timeleft = 12;
Symbol 2953 MovieClip Frame 963
_root.timeleft = 11.9;
Symbol 2953 MovieClip Frame 965
_root.timeleft = 11.8;
Symbol 2953 MovieClip Frame 967
_root.timeleft = 11.7;
Symbol 2953 MovieClip Frame 969
_root.timeleft = 11.6;
Symbol 2953 MovieClip Frame 971
_root.timeleft = 11.5;
Symbol 2953 MovieClip Frame 973
_root.timeleft = 11.4;
Symbol 2953 MovieClip Frame 975
_root.timeleft = 11.3;
Symbol 2953 MovieClip Frame 977
_root.timeleft = 11.2;
Symbol 2953 MovieClip Frame 979
_root.timeleft = 11.1;
Symbol 2953 MovieClip Frame 981
_root.timeleft = 11;
Symbol 2953 MovieClip Frame 983
_root.timeleft = 10.9;
Symbol 2953 MovieClip Frame 985
_root.timeleft = 10.8;
Symbol 2953 MovieClip Frame 987
_root.timeleft = 10.7;
Symbol 2953 MovieClip Frame 989
_root.timeleft = 10.6;
Symbol 2953 MovieClip Frame 991
_root.timeleft = 10.5;
Symbol 2953 MovieClip Frame 993
_root.timeleft = 10.4;
Symbol 2953 MovieClip Frame 995
_root.timeleft = 10.3;
Symbol 2953 MovieClip Frame 997
_root.timeleft = 10.2;
Symbol 2953 MovieClip Frame 999
_root.timeleft = 10.1;
Symbol 2953 MovieClip Frame 1001
_root.timeleft = 10;
Symbol 2953 MovieClip Frame 1003
_root.timeleft = 9.9;
Symbol 2953 MovieClip Frame 1005
_root.timeleft = 9.8;
Symbol 2953 MovieClip Frame 1007
_root.timeleft = 9.7;
Symbol 2953 MovieClip Frame 1009
_root.timeleft = 9.6;
Symbol 2953 MovieClip Frame 1011
_root.timeleft = 9.5;
Symbol 2953 MovieClip Frame 1013
_root.timeleft = 9.4;
Symbol 2953 MovieClip Frame 1015
_root.timeleft = 9.3;
Symbol 2953 MovieClip Frame 1017
_root.timeleft = 9.2;
Symbol 2953 MovieClip Frame 1019
_root.timeleft = 9.1;
Symbol 2953 MovieClip Frame 1021
_root.timeleft = 9;
Symbol 2953 MovieClip Frame 1023
_root.timeleft = 8.9;
Symbol 2953 MovieClip Frame 1025
_root.timeleft = 8.8;
Symbol 2953 MovieClip Frame 1027
_root.timeleft = 8.7;
Symbol 2953 MovieClip Frame 1029
_root.timeleft = 8.6;
Symbol 2953 MovieClip Frame 1031
_root.timeleft = 8.5;
Symbol 2953 MovieClip Frame 1033
_root.timeleft = 8.4;
Symbol 2953 MovieClip Frame 1035
_root.timeleft = 8.3;
Symbol 2953 MovieClip Frame 1037
_root.timeleft = 8.2;
Symbol 2953 MovieClip Frame 1039
_root.timeleft = 8.1;
Symbol 2953 MovieClip Frame 1041
_root.timeleft = 8;
Symbol 2953 MovieClip Frame 1043
_root.timeleft = 7.9;
Symbol 2953 MovieClip Frame 1045
_root.timeleft = 7.8;
Symbol 2953 MovieClip Frame 1047
_root.timeleft = 7.7;
Symbol 2953 MovieClip Frame 1049
_root.timeleft = 7.6;
Symbol 2953 MovieClip Frame 1051
_root.timeleft = 7.5;
Symbol 2953 MovieClip Frame 1053
_root.timeleft = 7.4;
Symbol 2953 MovieClip Frame 1055
_root.timeleft = 7.3;
Symbol 2953 MovieClip Frame 1057
_root.timeleft = 7.2;
Symbol 2953 MovieClip Frame 1059
_root.timeleft = 7.1;
Symbol 2953 MovieClip Frame 1061
_root.timeleft = 7;
Symbol 2953 MovieClip Frame 1063
_root.timeleft = 6.9;
Symbol 2953 MovieClip Frame 1065
_root.timeleft = 6.8;
Symbol 2953 MovieClip Frame 1067
_root.timeleft = 6.7;
Symbol 2953 MovieClip Frame 1069
_root.timeleft = 6.6;
Symbol 2953 MovieClip Frame 1071
_root.timeleft = 6.5;
Symbol 2953 MovieClip Frame 1073
_root.timeleft = 6.4;
Symbol 2953 MovieClip Frame 1075
_root.timeleft = 6.3;
Symbol 2953 MovieClip Frame 1077
_root.timeleft = 6.2;
Symbol 2953 MovieClip Frame 1079
_root.timeleft = 6.1;
Symbol 2953 MovieClip Frame 1081
_root.timeleft = 6;
Symbol 2953 MovieClip Frame 1083
_root.timeleft = 5.9;
Symbol 2953 MovieClip Frame 1085
_root.timeleft = 5.8;
Symbol 2953 MovieClip Frame 1087
_root.timeleft = 5.7;
Symbol 2953 MovieClip Frame 1089
_root.timeleft = 5.6;
Symbol 2953 MovieClip Frame 1091
_root.timeleft = 5.5;
Symbol 2953 MovieClip Frame 1093
_root.timeleft = 5.4;
Symbol 2953 MovieClip Frame 1095
_root.timeleft = 5.3;
Symbol 2953 MovieClip Frame 1097
_root.timeleft = 5.2;
Symbol 2953 MovieClip Frame 1099
_root.timeleft = 5.1;
Symbol 2953 MovieClip Frame 1101
_root.timeleft = 5;
Symbol 2953 MovieClip Frame 1103
_root.timeleft = 4.9;
Symbol 2953 MovieClip Frame 1105
_root.timeleft = 4.8;
Symbol 2953 MovieClip Frame 1107
_root.timeleft = 4.7;
Symbol 2953 MovieClip Frame 1109
_root.timeleft = 4.6;
Symbol 2953 MovieClip Frame 1111
_root.timeleft = 4.5;
Symbol 2953 MovieClip Frame 1113
_root.timeleft = 4.4;
Symbol 2953 MovieClip Frame 1115
_root.timeleft = 4.3;
Symbol 2953 MovieClip Frame 1117
_root.timeleft = 4.2;
Symbol 2953 MovieClip Frame 1119
_root.timeleft = 4.1;
Symbol 2953 MovieClip Frame 1121
_root.timeleft = 4;
Symbol 2953 MovieClip Frame 1123
_root.timeleft = 3.9;
Symbol 2953 MovieClip Frame 1125
_root.timeleft = 3.8;
Symbol 2953 MovieClip Frame 1127
_root.timeleft = 3.7;
Symbol 2953 MovieClip Frame 1129
_root.timeleft = 3.6;
Symbol 2953 MovieClip Frame 1131
_root.timeleft = 3.5;
Symbol 2953 MovieClip Frame 1133
_root.timeleft = 3.4;
Symbol 2953 MovieClip Frame 1135
_root.timeleft = 3.3;
Symbol 2953 MovieClip Frame 1137
_root.timeleft = 3.2;
Symbol 2953 MovieClip Frame 1139
_root.timeleft = 3.1;
Symbol 2953 MovieClip Frame 1141
_root.timeleft = 3;
Symbol 2953 MovieClip Frame 1143
_root.timeleft = 2.9;
Symbol 2953 MovieClip Frame 1145
_root.timeleft = 2.8;
Symbol 2953 MovieClip Frame 1147
_root.timeleft = 2.7;
Symbol 2953 MovieClip Frame 1149
_root.timeleft = 2.6;
Symbol 2953 MovieClip Frame 1151
_root.timeleft = 2.5;
Symbol 2953 MovieClip Frame 1153
_root.timeleft = 2.4;
Symbol 2953 MovieClip Frame 1155
_root.timeleft = 2.3;
Symbol 2953 MovieClip Frame 1157
_root.timeleft = 2.2;
Symbol 2953 MovieClip Frame 1159
_root.timeleft = 2.1;
Symbol 2953 MovieClip Frame 1161
_root.timeleft = 2;
Symbol 2953 MovieClip Frame 1163
_root.timeleft = 1.9;
Symbol 2953 MovieClip Frame 1165
_root.timeleft = 1.8;
Symbol 2953 MovieClip Frame 1167
_root.timeleft = 1.7;
Symbol 2953 MovieClip Frame 1169
_root.timeleft = 1.6;
Symbol 2953 MovieClip Frame 1171
_root.timeleft = 1.5;
Symbol 2953 MovieClip Frame 1173
_root.timeleft = 1.4;
Symbol 2953 MovieClip Frame 1175
_root.timeleft = 1.3;
Symbol 2953 MovieClip Frame 1177
_root.timeleft = 1.2;
Symbol 2953 MovieClip Frame 1179
_root.timeleft = 1.1;
Symbol 2953 MovieClip Frame 1181
_root.timeleft = 1;
Symbol 2953 MovieClip Frame 1183
_root.timeleft = 0.9;
Symbol 2953 MovieClip Frame 1185
_root.timeleft = 0.8;
Symbol 2953 MovieClip Frame 1187
_root.timeleft = 0.7;
Symbol 2953 MovieClip Frame 1189
_root.timeleft = 0.6;
Symbol 2953 MovieClip Frame 1191
_root.timeleft = 0.5;
Symbol 2953 MovieClip Frame 1193
_root.timeleft = 0.4;
Symbol 2953 MovieClip Frame 1195
_root.timeleft = 0.3;
Symbol 2953 MovieClip Frame 1197
_root.timeleft = 0.2;
Symbol 2953 MovieClip Frame 1199
_root.timeleft = 0.1;
Symbol 2953 MovieClip Frame 1200
_root.timeleft = 0;
_root.dead = false;
_root.bonusTerm.gotoAndPlay("appear");
stop();
Symbol 2957 MovieClip Frame 1
stop();
Symbol 2957 MovieClip Frame 2
if (_root.winstarted == false) {
_root.failstarted = true;
stopAllSounds();
} else {
this.visible = false;
stop();
}
Symbol 2957 MovieClip Frame 3
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
_root.bullet6.unloadMovie();
_root.bullet7.unloadMovie();
_root.bullet8.unloadMovie();
_root.bullet9.unloadMovie();
_root.bullet10.unloadMovie();
_root.bullet11.unloadMovie();
_root.bullet12.unloadMovie();
_root.bullet13.unloadMovie();
_root.bullet14.unloadMovie();
_root.bullet15.unloadMovie();
if (_root.winstarted == true) {
this.visible = false;
stop();
}
Symbol 2957 MovieClip Frame 4
if (_root.winstarted == true) {
this.visible = false;
stop();
}
Symbol 2957 MovieClip Frame 5
if (_root.winstarted == true) {
this.visible = false;
stop();
}
Symbol 2957 MovieClip Frame 6
if (_root.winstarted == true) {
this.visible = false;
stop();
}
Symbol 2957 MovieClip Frame 7
if (_root.winstarted == true) {
this.visible = false;
stop();
} else {
stop();
_root.gotoAndPlay("challFailed");
}
Symbol 2961 MovieClip Frame 1
stop();
Symbol 2961 MovieClip Frame 2
stopAllSounds();
_root.t1hit = false;
_root.t2hit = false;
_root.winstarted = true;
Symbol 2961 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
_root.bullet6.unloadMovie();
_root.bullet7.unloadMovie();
_root.bullet8.unloadMovie();
_root.bullet9.unloadMovie();
_root.bullet10.unloadMovie();
_root.bullet11.unloadMovie();
_root.bullet12.unloadMovie();
_root.bullet13.unloadMovie();
_root.bullet14.unloadMovie();
_root.bullet15.unloadMovie();
Symbol 2961 MovieClip Frame 10
stop();
_root.gotoAndPlay("challComplete");
Symbol 2963 MovieClip Frame 5
stop();
Symbol 2963 MovieClip Frame 12
stop();
_root.gotoAndStop("b1-3");
Symbol 2967 MovieClip Frame 5
stop();
Symbol 2967 MovieClip Frame 12
stop();
_root.gotoAndStop("b1-4");
Symbol 2969 MovieClip Frame 5
stop();
Symbol 2969 MovieClip Frame 12
stop();
_root.t1hit = true;
Symbol 2991 MovieClip Frame 5
stop();
Symbol 2991 MovieClip Frame 12
stop();
Symbol 2991 MovieClip Frame 19
stop();
_root.t2hit = true;
Symbol 2992 MovieClip Frame 6
stop();
Symbol 2994 MovieClip Frame 5
stop();
Symbol 2994 MovieClip Frame 12
stop();
_root.t1hit = true;
Symbol 2996 MovieClip Frame 5
stop();
Symbol 2996 MovieClip Frame 12
stop();
_root.t2hit = true;
Symbol 2997 MovieClip Frame 6
stop();
Symbol 2999 MovieClip Frame 5
stop();
Symbol 2999 MovieClip Frame 12
stop();
_root.gotoAndStop("b1-7");
Symbol 3001 MovieClip Frame 5
stop();
Symbol 3001 MovieClip Frame 6
stop();
Symbol 3001 MovieClip Frame 7
stop();
Symbol 3001 MovieClip Frame 22
stop();
_root.gotoAndStop("b1-8");
Symbol 3003 MovieClip Frame 5
stop();
Symbol 3003 MovieClip Frame 12
stop();
_root.t2hit = true;
Symbol 3005 MovieClip Frame 5
stop();
Symbol 3005 MovieClip Frame 12
stop();
_root.t3hit = true;
Symbol 3006 MovieClip Frame 11
stop();
Symbol 3008 MovieClip Frame 5
stop();
Symbol 3008 MovieClip Frame 6
stop();
Symbol 3008 MovieClip Frame 7
stop();
Symbol 3008 MovieClip Frame 22
stop();
_root.gotoAndStop("b1-10");
Symbol 3021 MovieClip Frame 5
stop();
Symbol 3021 MovieClip Frame 13
stop();
Symbol 3021 MovieClip Frame 18
stop();
Symbol 3027 MovieClip Frame 5
stop();
Symbol 3027 MovieClip Frame 12
stop();
Symbol 3027 MovieClip Frame 19
stop();
_root.gotoAndStop("b1-11");
Symbol 3029 MovieClip Frame 5
stop();
Symbol 3029 MovieClip Frame 6
stop();
Symbol 3029 MovieClip Frame 7
stop();
Symbol 3029 MovieClip Frame 22
stop();
_root.t1hit = true;
Symbol 3031 MovieClip Frame 5
stop();
Symbol 3031 MovieClip Frame 6
stop();
Symbol 3031 MovieClip Frame 7
stop();
Symbol 3031 MovieClip Frame 22
stop();
_root.t2hit = true;
Symbol 3037 MovieClip Frame 5
stop();
Symbol 3037 MovieClip Frame 12
stop();
Symbol 3037 MovieClip Frame 19
stop();
_root.gotoAndStop("b1-13");
Symbol 3039 MovieClip Frame 5
stop();
Symbol 3039 MovieClip Frame 12
stop();
_root.gotoAndStop("b1-14");
Symbol 3045 MovieClip Frame 5
stop();
Symbol 3045 MovieClip Frame 12
stop();
Symbol 3045 MovieClip Frame 19
stop();
_root.t1hit = true;
Symbol 3050 MovieClip Frame 5
stop();
Symbol 3050 MovieClip Frame 12
stop();
Symbol 3050 MovieClip Frame 19
stop();
_root.t2hit = true;
Symbol 3070 MovieClip Frame 1
stop();
Symbol 3070 MovieClip Frame 6
gotoAndStop (1);
Symbol 3075 MovieClip Frame 5
stop();
Symbol 3075 MovieClip Frame 12
stop();
_root.gotoAndStop("b2-2");
Symbol 3090 MovieClip Frame 5
stop();
Symbol 3090 MovieClip Frame 11
gotoAndStop (5);
Symbol 3090 MovieClip Frame 16
stop();
Symbol 3096 MovieClip Frame 15
stop();
Symbol 3096 MovieClip Frame 22
stop();
Symbol 3096 MovieClip Frame 29
stop();
_root.gotoAndStop("b2-3");
Symbol 3101 MovieClip Frame 5
stop();
Symbol 3101 MovieClip Frame 12
stop();
Symbol 3101 MovieClip Frame 19
stop();
_root.t2hit = true;
Symbol 3104 MovieClip Frame 5
stop();
Symbol 3104 MovieClip Frame 6
stop();
Symbol 3104 MovieClip Frame 7
stop();
Symbol 3104 MovieClip Frame 22
stop();
_root.t1hit = true;
Symbol 3107 MovieClip Frame 5
stop();
Symbol 3107 MovieClip Frame 13
stop();
Symbol 3107 MovieClip Frame 18
stop();
Symbol 3109 MovieClip Frame 5
stop();
Symbol 3109 MovieClip Frame 6
stop();
Symbol 3109 MovieClip Frame 7
stop();
Symbol 3109 MovieClip Frame 22
stop();
_root.gotoAndStop("b2-6");
Symbol 3111 MovieClip Frame 5
stop();
Symbol 3111 MovieClip Frame 12
stop();
_root.t1hit = true;
Symbol 3114 MovieClip Frame 5
stop();
Symbol 3114 MovieClip Frame 12
stop();
_root.gotoAndStop("b2-8");
Symbol 3120 MovieClip Frame 9
stop();
Symbol 3120 MovieClip Frame 16
stop();
Symbol 3120 MovieClip Frame 23
stop();
_root.t2hit = true;
Symbol 3125 MovieClip Frame 13
stop();
Symbol 3125 MovieClip Frame 20
stop();
Symbol 3125 MovieClip Frame 27
stop();
_root.t1hit = true;
Symbol 3127 MovieClip Frame 5
stop();
Symbol 3127 MovieClip Frame 12
stop();
_root.t1hit = true;
Symbol 3129 MovieClip Frame 5
stop();
Symbol 3129 MovieClip Frame 12
stop();
_root.t2hit = true;
Symbol 3131 MovieClip Frame 5
stop();
Symbol 3131 MovieClip Frame 12
stop();
_root.t3hit = true;
Symbol 3132 MovieClip Frame 11
stop();
Symbol 3137 MovieClip Frame 5
stop();
Symbol 3137 MovieClip Frame 12
stop();
Symbol 3137 MovieClip Frame 19
stop();
_root.gotoAndStop("b2-12");
Symbol 3139 MovieClip Frame 5
stop();
Symbol 3139 MovieClip Frame 12
stop();
_root.timeBar.stop();
_root.successBonus.gotoAndPlay("go");
Symbol 3141 MovieClip Frame 1
stop();
Symbol 3141 MovieClip Frame 7
gotoAndStop (1);
Symbol 3149 MovieClip Frame 5
stop();
Symbol 3149 MovieClip Frame 12
stop();
Symbol 3149 MovieClip Frame 19
stop();
_root.t2hit = true;
Symbol 3151 MovieClip Frame 5
stop();
Symbol 3151 MovieClip Frame 6
stop();
Symbol 3151 MovieClip Frame 7
stop();
Symbol 3151 MovieClip Frame 22
stop();
_root.t1hit = true;
Symbol 3170 MovieClip Frame 1
stop();
Symbol 3170 MovieClip Frame 8
_root.t2hit = true;
stop();
Symbol 3173 MovieClip Frame 1
stop();
Symbol 3173 MovieClip Frame 8
_root.t1hit = true;
stop();
Symbol 3174 MovieClip Frame 5
stop();
Symbol 3174 MovieClip Frame 12
stop();
Symbol 3176 MovieClip Frame 40
gotoAndPlay ("loop");
Symbol 3176 MovieClip Frame 48
stop();
_root.tarsdown++;
Symbol 3178 MovieClip Frame 26
gotoAndPlay ("looop");
Symbol 3178 MovieClip Frame 33
stop();
_root.tarsdown++;
Symbol 3180 MovieClip Frame 26
gotoAndPlay ("looop");
Symbol 3180 MovieClip Frame 33
stop();
_root.tarsdown++;
Symbol 3181 MovieClip Frame 5
stop();
Symbol 3181 MovieClip Frame 11
gotoAndStop (5);
Symbol 3181 MovieClip Frame 16
stop();
Symbol 3186 MovieClip Frame 5
stop();
Symbol 3186 MovieClip Frame 12
stop();
Symbol 3186 MovieClip Frame 19
stop();
_root.gotoAndStop("b33-4");
Symbol 3192 MovieClip Frame 1
stop();
Symbol 3192 MovieClip Frame 8
_root.tarsdown++;
stop();
Symbol 3193 MovieClip Frame 5
stop();
Symbol 3193 MovieClip Frame 12
stop();
Symbol 3195 MovieClip Frame 5
stop();
Symbol 3195 MovieClip Frame 12
stop();
_root.tarsdown++;
Symbol 3196 MovieClip Frame 13
stop();
Symbol 3197 MovieClip Frame 5
stop();
Symbol 3197 MovieClip Frame 12
stop();
_root.timeBar.stop();
_root.successBonus.gotoAndPlay("go");
Symbol 3205 MovieClip Frame 5
stop();
Symbol 3205 MovieClip Frame 12
stop();
_root.targetsdown++;
Symbol 3207 MovieClip Frame 5
stop();
Symbol 3207 MovieClip Frame 12
stop();
_root.targetsdown++;
Symbol 3208 MovieClip Frame 1
stop();
Symbol 3210 MovieClip Frame 5
stop();
Symbol 3210 MovieClip Frame 12
stop();
_root.targetsdown++;
Symbol 3212 MovieClip Frame 5
stop();
Symbol 3212 MovieClip Frame 12
stop();
_root.targetsdown++;
Symbol 3214 MovieClip Frame 5
stop();
Symbol 3214 MovieClip Frame 12
stop();
_root.targetsdown++;
Symbol 3215 MovieClip Frame 1
stop();
Instance of Symbol 3217 MovieClip "calcbar" in Symbol 3219 MovieClip Frame 1
onClipEvent (enterFrame) {
this._height = _root.targetsBar.tarDown.text * 8.332;
if (_root.targetsBar.tarDown.text > 0) {
this._visible = true;
}
}
Symbol 3221 MovieClip Frame 5
stop();
Symbol 3221 MovieClip Frame 12
stop();
_root.t4hit = true;
Symbol 3223 MovieClip Frame 5
stop();
Symbol 3223 MovieClip Frame 12
stop();
_root.t3hit = true;
Symbol 3226 MovieClip Frame 5
stop();
Symbol 3226 MovieClip Frame 13
stop();
Symbol 3226 MovieClip Frame 18
stop();
Symbol 3231 MovieClip Frame 5
stop();
Symbol 3231 MovieClip Frame 12
stop();
Symbol 3231 MovieClip Frame 19
stop();
_root.tarsdown++;
Symbol 3236 MovieClip Frame 5
stop();
Symbol 3236 MovieClip Frame 12
stop();
Symbol 3236 MovieClip Frame 19
stop();
_root.tarsdown++;
Symbol 3238 MovieClip Frame 40
gotoAndPlay ("loop");
Symbol 3238 MovieClip Frame 48
stop();
_root.tarsdown++;
Symbol 3240 MovieClip Frame 5
stop();
Symbol 3240 MovieClip Frame 12
stop();
_root.tarsdown++;
Symbol 3242 MovieClip Frame 5
stop();
Symbol 3242 MovieClip Frame 12
stop();
_root.tarsdown++;
Symbol 3243 MovieClip Frame 5
stop();
Symbol 3243 MovieClip Frame 11
gotoAndStop (5);
Symbol 3243 MovieClip Frame 16
stop();
Symbol 3244 MovieClip Frame 5
stop();
Symbol 3244 MovieClip Frame 11
gotoAndStop (5);
Symbol 3244 MovieClip Frame 16
stop();
Symbol 3245 MovieClip Frame 5
stop();
Symbol 3245 MovieClip Frame 11
gotoAndStop (5);
Symbol 3245 MovieClip Frame 16
stop();
Symbol 3247 MovieClip Frame 5
stop();
Symbol 3247 MovieClip Frame 13
stop();
Symbol 3247 MovieClip Frame 18
stop();
Symbol 3256 MovieClip Frame 24
gotoAndPlay ("loop");
Symbol 3256 MovieClip Frame 31
stop();
Symbol 3256 MovieClip Frame 38
stop();
_root.tarsdown++;
Symbol 3261 MovieClip Frame 24
gotoAndPlay ("loop");
Symbol 3261 MovieClip Frame 31
stop();
Symbol 3261 MovieClip Frame 38
stop();
_root.tarsdown++;
Symbol 3263 MovieClip Frame 5
stop();
Symbol 3263 MovieClip Frame 13
stop();
Symbol 3263 MovieClip Frame 18
stop();
Symbol 3271 MovieClip Frame 1
stop();
Symbol 3271 MovieClip Frame 8
_root.tarsdown++;
stop();
Symbol 3274 MovieClip Frame 1
stop();
Symbol 3274 MovieClip Frame 8
_root.tarsdown++;
stop();
Symbol 3275 MovieClip Frame 5
stop();
Symbol 3275 MovieClip Frame 12
stop();
Symbol 3277 MovieClip Frame 5
stop();
Symbol 3277 MovieClip Frame 12
stop();
_root.tarsdown++;
Symbol 3279 MovieClip Frame 5
stop();
Symbol 3279 MovieClip Frame 13
stop();
Symbol 3279 MovieClip Frame 18
stop();
Symbol 3280 MovieClip Frame 5
stop();
Symbol 3280 MovieClip Frame 11
gotoAndStop (5);
Symbol 3280 MovieClip Frame 16
stop();
Symbol 3282 MovieClip Frame 5
stop();
Symbol 3282 MovieClip Frame 6
stop();
Symbol 3282 MovieClip Frame 7
stop();
Symbol 3282 MovieClip Frame 22
stop();
_root.tarsdown++;
Symbol 3286 MovieClip Frame 5
stop();
Symbol 3286 MovieClip Frame 12
stop();
Symbol 3286 MovieClip Frame 19
stop();
_root.timeBar.stop();
_root.successBonus.gotoAndPlay("go");
Symbol 3411 MovieClip Frame 10
stop();
Symbol 3415 MovieClip Frame 10
stop();
Symbol 3436 MovieClip Frame 1
stop();
Symbol 3436 MovieClip Frame 25
gotoAndPlay ("normal");
Symbol 3436 MovieClip Frame 26
play();
Symbol 3436 MovieClip Frame 33
_root.success.gotoAndPlay("appear");
Symbol 3440 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 3442 MovieClip Frame 1
var hitArray = new Array();
hitArray.push(hd1);
hitArray.push(hd2);
hitArray.push(hd3);
hitArray.push(hd4);
hitArray.push(hd5);
hitArray.push(hd6);
hitArray.push(hd7);
hitArray.push(hd8);
hitArray.push(hd9);
hitArray.push(hd10);
hitArray.push(hd11);
hitArray.push(hd12);
hitArray.push(hd13);
hitArray.push(hd14);
hitArray.push(hd15);
hitArray.push(hd16);
hitArray.push(hd17);
hitArray.push(hd18);
hitArray.push(hd19);
hitArray.push(hd20);
hitArray.push(hd21);
hitArray.push(hd22);
hitArray.push(hd23);
hitArray.push(hd24);
hitArray.push(hd25);
hitArray.push(hd26);
Symbol 3442 MovieClip Frame 69
gotoAndPlay ("orb 5 balls");
Symbol 3442 MovieClip Frame 131
gotoAndPlay ("loop4balls");
Symbol 3442 MovieClip Frame 187
gotoAndPlay ("loop3balls");
Symbol 3442 MovieClip Frame 236
gotoAndPlay ("loop2balls");
Symbol 3442 MovieClip Frame 281
gotoAndPlay ("loop1ball");
Symbol 3442 MovieClip Frame 292
gotoAndPlay ("looporb");
Symbol 3456 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3456 MovieClip Frame 2
stop();
Symbol 3462 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3462 MovieClip Frame 2
stop();
Symbol 3478 MovieClip Frame 1
stop();
Symbol 3478 MovieClip Frame 2
play();
Symbol 3478 MovieClip Frame 10
gotoAndStop (1);
Symbol 3479 MovieClip Frame 1
stop();
Symbol 3479 MovieClip Frame 16
_root.terminator.gotoAndPlay("appear");
Instance of Symbol 3483 MovieClip in Symbol 3485 MovieClip Frame 1
onClipEvent (enterFrame) {
this._height = _root.power * 1.043;
if (_root.power < 1) {
this._visible = false;
}
}
Symbol 3491 MovieClip Frame 1
_root.timeleft = 60;
Symbol 3491 MovieClip Frame 3
_root.timeleft = 59.9;
Symbol 3491 MovieClip Frame 5
_root.timeleft = 59.8;
Symbol 3491 MovieClip Frame 7
_root.timeleft = 59.7;
Symbol 3491 MovieClip Frame 9
_root.timeleft = 59.6;
Symbol 3491 MovieClip Frame 11
_root.timeleft = 59.5;
Symbol 3491 MovieClip Frame 13
_root.timeleft = 59.4;
Symbol 3491 MovieClip Frame 15
_root.timeleft = 59.3;
Symbol 3491 MovieClip Frame 17
_root.timeleft = 59.2;
Symbol 3491 MovieClip Frame 19
_root.timeleft = 59.1;
Symbol 3491 MovieClip Frame 21
_root.timeleft = 59;
Symbol 3491 MovieClip Frame 23
_root.timeleft = 58.9;
Symbol 3491 MovieClip Frame 25
_root.timeleft = 58.8;
Symbol 3491 MovieClip Frame 27
_root.timeleft = 58.7;
Symbol 3491 MovieClip Frame 29
_root.timeleft = 58.6;
Symbol 3491 MovieClip Frame 31
_root.timeleft = 58.5;
Symbol 3491 MovieClip Frame 33
_root.timeleft = 58.4;
Symbol 3491 MovieClip Frame 35
_root.timeleft = 58.3;
Symbol 3491 MovieClip Frame 37
_root.timeleft = 58.2;
Symbol 3491 MovieClip Frame 39
_root.timeleft = 58.1;
Symbol 3491 MovieClip Frame 41
_root.timeleft = 58;
Symbol 3491 MovieClip Frame 43
_root.timeleft = 57.9;
Symbol 3491 MovieClip Frame 45
_root.timeleft = 57.8;
Symbol 3491 MovieClip Frame 47
_root.timeleft = 57.7;
Symbol 3491 MovieClip Frame 49
_root.timeleft = 57.6;
Symbol 3491 MovieClip Frame 51
_root.timeleft = 57.5;
Symbol 3491 MovieClip Frame 53
_root.timeleft = 57.4;
Symbol 3491 MovieClip Frame 55
_root.timeleft = 57.3;
Symbol 3491 MovieClip Frame 57
_root.timeleft = 57.2;
Symbol 3491 MovieClip Frame 59
_root.timeleft = 57.1;
Symbol 3491 MovieClip Frame 61
_root.timeleft = 57;
Symbol 3491 MovieClip Frame 63
_root.timeleft = 56.9;
Symbol 3491 MovieClip Frame 65
_root.timeleft = 56.8;
Symbol 3491 MovieClip Frame 67
_root.timeleft = 56.7;
Symbol 3491 MovieClip Frame 69
_root.timeleft = 56.6;
Symbol 3491 MovieClip Frame 71
_root.timeleft = 56.5;
Symbol 3491 MovieClip Frame 73
_root.timeleft = 56.4;
Symbol 3491 MovieClip Frame 75
_root.timeleft = 56.3;
Symbol 3491 MovieClip Frame 77
_root.timeleft = 56.2;
Symbol 3491 MovieClip Frame 79
_root.timeleft = 56.1;
Symbol 3491 MovieClip Frame 81
_root.timeleft = 56;
Symbol 3491 MovieClip Frame 83
_root.timeleft = 55.9;
Symbol 3491 MovieClip Frame 85
_root.timeleft = 55.8;
Symbol 3491 MovieClip Frame 87
_root.timeleft = 55.7;
Symbol 3491 MovieClip Frame 89
_root.timeleft = 55.6;
Symbol 3491 MovieClip Frame 91
_root.timeleft = 55.5;
Symbol 3491 MovieClip Frame 93
_root.timeleft = 55.4;
Symbol 3491 MovieClip Frame 95
_root.timeleft = 55.3;
Symbol 3491 MovieClip Frame 97
_root.timeleft = 55.2;
Symbol 3491 MovieClip Frame 99
_root.timeleft = 55.1;
Symbol 3491 MovieClip Frame 101
_root.timeleft = 55;
Symbol 3491 MovieClip Frame 103
_root.timeleft = 54.9;
Symbol 3491 MovieClip Frame 105
_root.timeleft = 54.8;
Symbol 3491 MovieClip Frame 107
_root.timeleft = 54.7;
Symbol 3491 MovieClip Frame 109
_root.timeleft = 54.6;
Symbol 3491 MovieClip Frame 111
_root.timeleft = 54.5;
Symbol 3491 MovieClip Frame 113
_root.timeleft = 54.4;
Symbol 3491 MovieClip Frame 115
_root.timeleft = 54.3;
Symbol 3491 MovieClip Frame 117
_root.timeleft = 54.2;
Symbol 3491 MovieClip Frame 119
_root.timeleft = 54.1;
Symbol 3491 MovieClip Frame 121
_root.timeleft = 54;
Symbol 3491 MovieClip Frame 123
_root.timeleft = 53.9;
Symbol 3491 MovieClip Frame 125
_root.timeleft = 53.8;
Symbol 3491 MovieClip Frame 127
_root.timeleft = 53.7;
Symbol 3491 MovieClip Frame 129
_root.timeleft = 53.6;
Symbol 3491 MovieClip Frame 131
_root.timeleft = 53.5;
Symbol 3491 MovieClip Frame 133
_root.timeleft = 53.4;
Symbol 3491 MovieClip Frame 135
_root.timeleft = 53.3;
Symbol 3491 MovieClip Frame 137
_root.timeleft = 53.2;
Symbol 3491 MovieClip Frame 139
_root.timeleft = 53.1;
Symbol 3491 MovieClip Frame 141
_root.timeleft = 53;
Symbol 3491 MovieClip Frame 143
_root.timeleft = 52.9;
Symbol 3491 MovieClip Frame 145
_root.timeleft = 52.8;
Symbol 3491 MovieClip Frame 147
_root.timeleft = 52.7;
Symbol 3491 MovieClip Frame 149
_root.timeleft = 52.6;
Symbol 3491 MovieClip Frame 151
_root.timeleft = 52.5;
Symbol 3491 MovieClip Frame 153
_root.timeleft = 52.4;
Symbol 3491 MovieClip Frame 155
_root.timeleft = 52.3;
Symbol 3491 MovieClip Frame 157
_root.timeleft = 52.2;
Symbol 3491 MovieClip Frame 159
_root.timeleft = 52.1;
Symbol 3491 MovieClip Frame 161
_root.timeleft = 52;
Symbol 3491 MovieClip Frame 163
_root.timeleft = 51.9;
Symbol 3491 MovieClip Frame 165
_root.timeleft = 51.8;
Symbol 3491 MovieClip Frame 167
_root.timeleft = 51.7;
Symbol 3491 MovieClip Frame 169
_root.timeleft = 51.6;
Symbol 3491 MovieClip Frame 171
_root.timeleft = 51.5;
Symbol 3491 MovieClip Frame 173
_root.timeleft = 51.4;
Symbol 3491 MovieClip Frame 175
_root.timeleft = 51.3;
Symbol 3491 MovieClip Frame 177
_root.timeleft = 51.2;
Symbol 3491 MovieClip Frame 179
_root.timeleft = 51.1;
Symbol 3491 MovieClip Frame 181
_root.timeleft = 51;
Symbol 3491 MovieClip Frame 183
_root.timeleft = 50.9;
Symbol 3491 MovieClip Frame 185
_root.timeleft = 50.8;
Symbol 3491 MovieClip Frame 187
_root.timeleft = 50.7;
Symbol 3491 MovieClip Frame 189
_root.timeleft = 50.6;
Symbol 3491 MovieClip Frame 191
_root.timeleft = 50.5;
Symbol 3491 MovieClip Frame 193
_root.timeleft = 50.4;
Symbol 3491 MovieClip Frame 195
_root.timeleft = 50.3;
Symbol 3491 MovieClip Frame 197
_root.timeleft = 50.2;
Symbol 3491 MovieClip Frame 199
_root.timeleft = 50.1;
Symbol 3491 MovieClip Frame 201
_root.timeleft = 50;
Symbol 3491 MovieClip Frame 203
_root.timeleft = 49.9;
Symbol 3491 MovieClip Frame 205
_root.timeleft = 49.8;
Symbol 3491 MovieClip Frame 207
_root.timeleft = 49.7;
Symbol 3491 MovieClip Frame 209
_root.timeleft = 49.6;
Symbol 3491 MovieClip Frame 211
_root.timeleft = 49.5;
Symbol 3491 MovieClip Frame 213
_root.timeleft = 49.4;
Symbol 3491 MovieClip Frame 215
_root.timeleft = 49.3;
Symbol 3491 MovieClip Frame 217
_root.timeleft = 49.2;
Symbol 3491 MovieClip Frame 219
_root.timeleft = 49.1;
Symbol 3491 MovieClip Frame 221
_root.timeleft = 49;
Symbol 3491 MovieClip Frame 223
_root.timeleft = 48.9;
Symbol 3491 MovieClip Frame 225
_root.timeleft = 48.8;
Symbol 3491 MovieClip Frame 227
_root.timeleft = 48.7;
Symbol 3491 MovieClip Frame 229
_root.timeleft = 48.6;
Symbol 3491 MovieClip Frame 231
_root.timeleft = 48.5;
Symbol 3491 MovieClip Frame 233
_root.timeleft = 48.4;
Symbol 3491 MovieClip Frame 235
_root.timeleft = 48.3;
Symbol 3491 MovieClip Frame 237
_root.timeleft = 48.2;
Symbol 3491 MovieClip Frame 239
_root.timeleft = 48.1;
Symbol 3491 MovieClip Frame 241
_root.timeleft = 48;
Symbol 3491 MovieClip Frame 243
_root.timeleft = 47.9;
Symbol 3491 MovieClip Frame 245
_root.timeleft = 47.8;
Symbol 3491 MovieClip Frame 247
_root.timeleft = 47.7;
Symbol 3491 MovieClip Frame 249
_root.timeleft = 47.6;
Symbol 3491 MovieClip Frame 251
_root.timeleft = 47.5;
Symbol 3491 MovieClip Frame 253
_root.timeleft = 47.4;
Symbol 3491 MovieClip Frame 255
_root.timeleft = 47.3;
Symbol 3491 MovieClip Frame 257
_root.timeleft = 47.2;
Symbol 3491 MovieClip Frame 259
_root.timeleft = 47.1;
Symbol 3491 MovieClip Frame 261
_root.timeleft = 47;
Symbol 3491 MovieClip Frame 263
_root.timeleft = 46.9;
Symbol 3491 MovieClip Frame 265
_root.timeleft = 46.8;
Symbol 3491 MovieClip Frame 267
_root.timeleft = 46.7;
Symbol 3491 MovieClip Frame 269
_root.timeleft = 46.6;
Symbol 3491 MovieClip Frame 271
_root.timeleft = 46.5;
Symbol 3491 MovieClip Frame 273
_root.timeleft = 46.4;
Symbol 3491 MovieClip Frame 275
_root.timeleft = 46.3;
Symbol 3491 MovieClip Frame 277
_root.timeleft = 46.2;
Symbol 3491 MovieClip Frame 279
_root.timeleft = 46.1;
Symbol 3491 MovieClip Frame 281
_root.timeleft = 46;
Symbol 3491 MovieClip Frame 283
_root.timeleft = 45.9;
Symbol 3491 MovieClip Frame 285
_root.timeleft = 45.8;
Symbol 3491 MovieClip Frame 287
_root.timeleft = 45.7;
Symbol 3491 MovieClip Frame 289
_root.timeleft = 45.6;
Symbol 3491 MovieClip Frame 291
_root.timeleft = 45.5;
Symbol 3491 MovieClip Frame 293
_root.timeleft = 45.4;
Symbol 3491 MovieClip Frame 295
_root.timeleft = 45.3;
Symbol 3491 MovieClip Frame 297
_root.timeleft = 45.2;
Symbol 3491 MovieClip Frame 299
_root.timeleft = 45.1;
Symbol 3491 MovieClip Frame 301
_root.timeleft = 45;
Symbol 3491 MovieClip Frame 303
_root.timeleft = 44.9;
Symbol 3491 MovieClip Frame 305
_root.timeleft = 44.8;
Symbol 3491 MovieClip Frame 307
_root.timeleft = 44.7;
Symbol 3491 MovieClip Frame 309
_root.timeleft = 44.6;
Symbol 3491 MovieClip Frame 311
_root.timeleft = 44.5;
Symbol 3491 MovieClip Frame 313
_root.timeleft = 44.4;
Symbol 3491 MovieClip Frame 315
_root.timeleft = 44.3;
Symbol 3491 MovieClip Frame 317
_root.timeleft = 44.2;
Symbol 3491 MovieClip Frame 319
_root.timeleft = 44.1;
Symbol 3491 MovieClip Frame 321
_root.timeleft = 44;
Symbol 3491 MovieClip Frame 323
_root.timeleft = 43.9;
Symbol 3491 MovieClip Frame 325
_root.timeleft = 43.8;
Symbol 3491 MovieClip Frame 327
_root.timeleft = 43.7;
Symbol 3491 MovieClip Frame 329
_root.timeleft = 43.6;
Symbol 3491 MovieClip Frame 331
_root.timeleft = 43.5;
Symbol 3491 MovieClip Frame 333
_root.timeleft = 43.4;
Symbol 3491 MovieClip Frame 335
_root.timeleft = 43.3;
Symbol 3491 MovieClip Frame 337
_root.timeleft = 43.2;
Symbol 3491 MovieClip Frame 339
_root.timeleft = 43.1;
Symbol 3491 MovieClip Frame 341
_root.timeleft = 43;
Symbol 3491 MovieClip Frame 343
_root.timeleft = 42.9;
Symbol 3491 MovieClip Frame 345
_root.timeleft = 42.8;
Symbol 3491 MovieClip Frame 347
_root.timeleft = 42.7;
Symbol 3491 MovieClip Frame 349
_root.timeleft = 42.6;
Symbol 3491 MovieClip Frame 351
_root.timeleft = 42.5;
Symbol 3491 MovieClip Frame 353
_root.timeleft = 42.4;
Symbol 3491 MovieClip Frame 355
_root.timeleft = 42.3;
Symbol 3491 MovieClip Frame 357
_root.timeleft = 42.2;
Symbol 3491 MovieClip Frame 359
_root.timeleft = 42.1;
Symbol 3491 MovieClip Frame 361
_root.timeleft = 42;
Symbol 3491 MovieClip Frame 363
_root.timeleft = 41.9;
Symbol 3491 MovieClip Frame 365
_root.timeleft = 41.8;
Symbol 3491 MovieClip Frame 367
_root.timeleft = 41.7;
Symbol 3491 MovieClip Frame 369
_root.timeleft = 41.6;
Symbol 3491 MovieClip Frame 371
_root.timeleft = 41.5;
Symbol 3491 MovieClip Frame 373
_root.timeleft = 41.4;
Symbol 3491 MovieClip Frame 375
_root.timeleft = 41.3;
Symbol 3491 MovieClip Frame 377
_root.timeleft = 41.2;
Symbol 3491 MovieClip Frame 379
_root.timeleft = 41.1;
Symbol 3491 MovieClip Frame 381
_root.timeleft = 41;
Symbol 3491 MovieClip Frame 383
_root.timeleft = 40.9;
Symbol 3491 MovieClip Frame 385
_root.timeleft = 40.8;
Symbol 3491 MovieClip Frame 387
_root.timeleft = 40.7;
Symbol 3491 MovieClip Frame 389
_root.timeleft = 40.6;
Symbol 3491 MovieClip Frame 391
_root.timeleft = 40.5;
Symbol 3491 MovieClip Frame 393
_root.timeleft = 40.4;
Symbol 3491 MovieClip Frame 395
_root.timeleft = 40.3;
Symbol 3491 MovieClip Frame 397
_root.timeleft = 40.2;
Symbol 3491 MovieClip Frame 399
_root.timeleft = 40.1;
Symbol 3491 MovieClip Frame 401
_root.timeleft = 40;
Symbol 3491 MovieClip Frame 403
_root.timeleft = 39.9;
Symbol 3491 MovieClip Frame 405
_root.timeleft = 39.8;
Symbol 3491 MovieClip Frame 407
_root.timeleft = 39.7;
Symbol 3491 MovieClip Frame 409
_root.timeleft = 39.6;
Symbol 3491 MovieClip Frame 411
_root.timeleft = 39.5;
Symbol 3491 MovieClip Frame 413
_root.timeleft = 39.4;
Symbol 3491 MovieClip Frame 415
_root.timeleft = 39.3;
Symbol 3491 MovieClip Frame 417
_root.timeleft = 39.2;
Symbol 3491 MovieClip Frame 419
_root.timeleft = 39.1;
Symbol 3491 MovieClip Frame 421
_root.timeleft = 39;
Symbol 3491 MovieClip Frame 423
_root.timeleft = 38.9;
Symbol 3491 MovieClip Frame 425
_root.timeleft = 38.8;
Symbol 3491 MovieClip Frame 427
_root.timeleft = 38.7;
Symbol 3491 MovieClip Frame 429
_root.timeleft = 38.6;
Symbol 3491 MovieClip Frame 431
_root.timeleft = 38.5;
Symbol 3491 MovieClip Frame 433
_root.timeleft = 38.4;
Symbol 3491 MovieClip Frame 435
_root.timeleft = 38.3;
Symbol 3491 MovieClip Frame 437
_root.timeleft = 38.2;
Symbol 3491 MovieClip Frame 439
_root.timeleft = 38.1;
Symbol 3491 MovieClip Frame 441
_root.timeleft = 38;
Symbol 3491 MovieClip Frame 443
_root.timeleft = 37.9;
Symbol 3491 MovieClip Frame 445
_root.timeleft = 37.8;
Symbol 3491 MovieClip Frame 447
_root.timeleft = 37.7;
Symbol 3491 MovieClip Frame 449
_root.timeleft = 37.6;
Symbol 3491 MovieClip Frame 451
_root.timeleft = 37.5;
Symbol 3491 MovieClip Frame 453
_root.timeleft = 37.4;
Symbol 3491 MovieClip Frame 455
_root.timeleft = 37.3;
Symbol 3491 MovieClip Frame 457
_root.timeleft = 37.2;
Symbol 3491 MovieClip Frame 459
_root.timeleft = 37.1;
Symbol 3491 MovieClip Frame 461
_root.timeleft = 37;
Symbol 3491 MovieClip Frame 463
_root.timeleft = 36.9;
Symbol 3491 MovieClip Frame 465
_root.timeleft = 36.8;
Symbol 3491 MovieClip Frame 467
_root.timeleft = 36.7;
Symbol 3491 MovieClip Frame 469
_root.timeleft = 36.6;
Symbol 3491 MovieClip Frame 471
_root.timeleft = 36.5;
Symbol 3491 MovieClip Frame 473
_root.timeleft = 36.4;
Symbol 3491 MovieClip Frame 475
_root.timeleft = 36.3;
Symbol 3491 MovieClip Frame 477
_root.timeleft = 36.2;
Symbol 3491 MovieClip Frame 479
_root.timeleft = 36.1;
Symbol 3491 MovieClip Frame 481
_root.timeleft = 36;
Symbol 3491 MovieClip Frame 483
_root.timeleft = 35.9;
Symbol 3491 MovieClip Frame 485
_root.timeleft = 35.8;
Symbol 3491 MovieClip Frame 487
_root.timeleft = 35.7;
Symbol 3491 MovieClip Frame 489
_root.timeleft = 35.6;
Symbol 3491 MovieClip Frame 491
_root.timeleft = 35.5;
Symbol 3491 MovieClip Frame 493
_root.timeleft = 35.4;
Symbol 3491 MovieClip Frame 495
_root.timeleft = 35.3;
Symbol 3491 MovieClip Frame 497
_root.timeleft = 35.2;
Symbol 3491 MovieClip Frame 499
_root.timeleft = 35.1;
Symbol 3491 MovieClip Frame 501
_root.timeleft = 35;
Symbol 3491 MovieClip Frame 503
_root.timeleft = 34.9;
Symbol 3491 MovieClip Frame 505
_root.timeleft = 34.8;
Symbol 3491 MovieClip Frame 507
_root.timeleft = 34.7;
Symbol 3491 MovieClip Frame 509
_root.timeleft = 34.6;
Symbol 3491 MovieClip Frame 511
_root.timeleft = 34.5;
Symbol 3491 MovieClip Frame 513
_root.timeleft = 34.4;
Symbol 3491 MovieClip Frame 515
_root.timeleft = 34.3;
Symbol 3491 MovieClip Frame 517
_root.timeleft = 34.2;
Symbol 3491 MovieClip Frame 519
_root.timeleft = 34.1;
Symbol 3491 MovieClip Frame 521
_root.timeleft = 34;
Symbol 3491 MovieClip Frame 523
_root.timeleft = 33.9;
Symbol 3491 MovieClip Frame 525
_root.timeleft = 33.8;
Symbol 3491 MovieClip Frame 527
_root.timeleft = 33.7;
Symbol 3491 MovieClip Frame 529
_root.timeleft = 33.6;
Symbol 3491 MovieClip Frame 531
_root.timeleft = 33.5;
Symbol 3491 MovieClip Frame 533
_root.timeleft = 33.4;
Symbol 3491 MovieClip Frame 535
_root.timeleft = 33.3;
Symbol 3491 MovieClip Frame 537
_root.timeleft = 33.2;
Symbol 3491 MovieClip Frame 539
_root.timeleft = 33.1;
Symbol 3491 MovieClip Frame 541
_root.timeleft = 33;
Symbol 3491 MovieClip Frame 543
_root.timeleft = 32.9;
Symbol 3491 MovieClip Frame 545
_root.timeleft = 32.8;
Symbol 3491 MovieClip Frame 547
_root.timeleft = 32.7;
Symbol 3491 MovieClip Frame 549
_root.timeleft = 32.6;
Symbol 3491 MovieClip Frame 551
_root.timeleft = 32.5;
Symbol 3491 MovieClip Frame 553
_root.timeleft = 32.4;
Symbol 3491 MovieClip Frame 555
_root.timeleft = 32.3;
Symbol 3491 MovieClip Frame 557
_root.timeleft = 32.2;
Symbol 3491 MovieClip Frame 559
_root.timeleft = 32.1;
Symbol 3491 MovieClip Frame 561
_root.timeleft = 32;
Symbol 3491 MovieClip Frame 563
_root.timeleft = 31.9;
Symbol 3491 MovieClip Frame 565
_root.timeleft = 31.8;
Symbol 3491 MovieClip Frame 567
_root.timeleft = 31.7;
Symbol 3491 MovieClip Frame 569
_root.timeleft = 31.6;
Symbol 3491 MovieClip Frame 571
_root.timeleft = 31.5;
Symbol 3491 MovieClip Frame 573
_root.timeleft = 31.4;
Symbol 3491 MovieClip Frame 575
_root.timeleft = 31.3;
Symbol 3491 MovieClip Frame 577
_root.timeleft = 31.2;
Symbol 3491 MovieClip Frame 579
_root.timeleft = 31.1;
Symbol 3491 MovieClip Frame 581
_root.timeleft = 31;
Symbol 3491 MovieClip Frame 583
_root.timeleft = 30.9;
Symbol 3491 MovieClip Frame 585
_root.timeleft = 30.8;
Symbol 3491 MovieClip Frame 587
_root.timeleft = 30.7;
Symbol 3491 MovieClip Frame 589
_root.timeleft = 30.6;
Symbol 3491 MovieClip Frame 591
_root.timeleft = 30.5;
Symbol 3491 MovieClip Frame 593
_root.timeleft = 30.4;
Symbol 3491 MovieClip Frame 595
_root.timeleft = 30.3;
Symbol 3491 MovieClip Frame 597
_root.timeleft = 30.2;
Symbol 3491 MovieClip Frame 599
_root.timeleft = 30.1;
Symbol 3491 MovieClip Frame 601
_root.timeleft = 30;
Symbol 3491 MovieClip Frame 603
_root.timeleft = 29.9;
Symbol 3491 MovieClip Frame 605
_root.timeleft = 29.8;
Symbol 3491 MovieClip Frame 607
_root.timeleft = 29.7;
Symbol 3491 MovieClip Frame 609
_root.timeleft = 29.6;
Symbol 3491 MovieClip Frame 611
_root.timeleft = 29.5;
Symbol 3491 MovieClip Frame 613
_root.timeleft = 29.4;
Symbol 3491 MovieClip Frame 615
_root.timeleft = 29.3;
Symbol 3491 MovieClip Frame 617
_root.timeleft = 29.2;
Symbol 3491 MovieClip Frame 619
_root.timeleft = 29.1;
Symbol 3491 MovieClip Frame 621
_root.timeleft = 29;
Symbol 3491 MovieClip Frame 623
_root.timeleft = 28.9;
Symbol 3491 MovieClip Frame 625
_root.timeleft = 28.8;
Symbol 3491 MovieClip Frame 627
_root.timeleft = 28.7;
Symbol 3491 MovieClip Frame 629
_root.timeleft = 28.6;
Symbol 3491 MovieClip Frame 631
_root.timeleft = 28.5;
Symbol 3491 MovieClip Frame 633
_root.timeleft = 28.4;
Symbol 3491 MovieClip Frame 635
_root.timeleft = 28.3;
Symbol 3491 MovieClip Frame 637
_root.timeleft = 28.2;
Symbol 3491 MovieClip Frame 639
_root.timeleft = 28.1;
Symbol 3491 MovieClip Frame 641
_root.timeleft = 28;
Symbol 3491 MovieClip Frame 643
_root.timeleft = 27.9;
Symbol 3491 MovieClip Frame 645
_root.timeleft = 27.8;
Symbol 3491 MovieClip Frame 647
_root.timeleft = 27.7;
Symbol 3491 MovieClip Frame 649
_root.timeleft = 27.6;
Symbol 3491 MovieClip Frame 651
_root.timeleft = 27.5;
Symbol 3491 MovieClip Frame 653
_root.timeleft = 27.4;
Symbol 3491 MovieClip Frame 655
_root.timeleft = 27.3;
Symbol 3491 MovieClip Frame 657
_root.timeleft = 27.2;
Symbol 3491 MovieClip Frame 659
_root.timeleft = 27.1;
Symbol 3491 MovieClip Frame 661
_root.timeleft = 27;
Symbol 3491 MovieClip Frame 663
_root.timeleft = 26.9;
Symbol 3491 MovieClip Frame 665
_root.timeleft = 26.8;
Symbol 3491 MovieClip Frame 667
_root.timeleft = 26.7;
Symbol 3491 MovieClip Frame 669
_root.timeleft = 26.6;
Symbol 3491 MovieClip Frame 671
_root.timeleft = 26.5;
Symbol 3491 MovieClip Frame 673
_root.timeleft = 26.4;
Symbol 3491 MovieClip Frame 675
_root.timeleft = 26.3;
Symbol 3491 MovieClip Frame 677
_root.timeleft = 26.2;
Symbol 3491 MovieClip Frame 679
_root.timeleft = 26.1;
Symbol 3491 MovieClip Frame 681
_root.timeleft = 26;
Symbol 3491 MovieClip Frame 683
_root.timeleft = 25.9;
Symbol 3491 MovieClip Frame 685
_root.timeleft = 25.8;
Symbol 3491 MovieClip Frame 687
_root.timeleft = 25.7;
Symbol 3491 MovieClip Frame 689
_root.timeleft = 25.6;
Symbol 3491 MovieClip Frame 691
_root.timeleft = 25.5;
Symbol 3491 MovieClip Frame 693
_root.timeleft = 25.4;
Symbol 3491 MovieClip Frame 695
_root.timeleft = 25.3;
Symbol 3491 MovieClip Frame 697
_root.timeleft = 25.2;
Symbol 3491 MovieClip Frame 699
_root.timeleft = 25.1;
Symbol 3491 MovieClip Frame 701
_root.timeleft = 25;
Symbol 3491 MovieClip Frame 703
_root.timeleft = 24.9;
Symbol 3491 MovieClip Frame 705
_root.timeleft = 24.8;
Symbol 3491 MovieClip Frame 707
_root.timeleft = 24.7;
Symbol 3491 MovieClip Frame 709
_root.timeleft = 24.6;
Symbol 3491 MovieClip Frame 711
_root.timeleft = 24.5;
Symbol 3491 MovieClip Frame 713
_root.timeleft = 24.4;
Symbol 3491 MovieClip Frame 715
_root.timeleft = 24.3;
Symbol 3491 MovieClip Frame 717
_root.timeleft = 24.2;
Symbol 3491 MovieClip Frame 719
_root.timeleft = 24.1;
Symbol 3491 MovieClip Frame 721
_root.timeleft = 24;
Symbol 3491 MovieClip Frame 723
_root.timeleft = 23.9;
Symbol 3491 MovieClip Frame 725
_root.timeleft = 23.8;
Symbol 3491 MovieClip Frame 727
_root.timeleft = 23.7;
Symbol 3491 MovieClip Frame 729
_root.timeleft = 23.6;
Symbol 3491 MovieClip Frame 731
_root.timeleft = 23.5;
Symbol 3491 MovieClip Frame 733
_root.timeleft = 23.4;
Symbol 3491 MovieClip Frame 735
_root.timeleft = 23.3;
Symbol 3491 MovieClip Frame 737
_root.timeleft = 23.2;
Symbol 3491 MovieClip Frame 739
_root.timeleft = 23.1;
Symbol 3491 MovieClip Frame 741
_root.timeleft = 23;
Symbol 3491 MovieClip Frame 743
_root.timeleft = 22.9;
Symbol 3491 MovieClip Frame 745
_root.timeleft = 22.8;
Symbol 3491 MovieClip Frame 747
_root.timeleft = 22.7;
Symbol 3491 MovieClip Frame 749
_root.timeleft = 22.6;
Symbol 3491 MovieClip Frame 751
_root.timeleft = 22.5;
Symbol 3491 MovieClip Frame 753
_root.timeleft = 22.4;
Symbol 3491 MovieClip Frame 755
_root.timeleft = 22.3;
Symbol 3491 MovieClip Frame 757
_root.timeleft = 22.2;
Symbol 3491 MovieClip Frame 759
_root.timeleft = 22.1;
Symbol 3491 MovieClip Frame 761
_root.timeleft = 22;
Symbol 3491 MovieClip Frame 763
_root.timeleft = 21.9;
Symbol 3491 MovieClip Frame 765
_root.timeleft = 21.8;
Symbol 3491 MovieClip Frame 767
_root.timeleft = 21.7;
Symbol 3491 MovieClip Frame 769
_root.timeleft = 21.6;
Symbol 3491 MovieClip Frame 771
_root.timeleft = 21.5;
Symbol 3491 MovieClip Frame 773
_root.timeleft = 21.4;
Symbol 3491 MovieClip Frame 775
_root.timeleft = 21.3;
Symbol 3491 MovieClip Frame 777
_root.timeleft = 21.2;
Symbol 3491 MovieClip Frame 779
_root.timeleft = 21.1;
Symbol 3491 MovieClip Frame 781
_root.timeleft = 21;
Symbol 3491 MovieClip Frame 783
_root.timeleft = 20.9;
Symbol 3491 MovieClip Frame 785
_root.timeleft = 20.8;
Symbol 3491 MovieClip Frame 787
_root.timeleft = 20.7;
Symbol 3491 MovieClip Frame 789
_root.timeleft = 20.6;
Symbol 3491 MovieClip Frame 791
_root.timeleft = 20.5;
Symbol 3491 MovieClip Frame 793
_root.timeleft = 20.4;
Symbol 3491 MovieClip Frame 795
_root.timeleft = 20.3;
Symbol 3491 MovieClip Frame 797
_root.timeleft = 20.2;
Symbol 3491 MovieClip Frame 799
_root.timeleft = 20.1;
Symbol 3491 MovieClip Frame 801
_root.timeleft = 20;
Symbol 3491 MovieClip Frame 803
_root.timeleft = 19.9;
Symbol 3491 MovieClip Frame 805
_root.timeleft = 19.8;
Symbol 3491 MovieClip Frame 807
_root.timeleft = 19.7;
Symbol 3491 MovieClip Frame 809
_root.timeleft = 19.6;
Symbol 3491 MovieClip Frame 811
_root.timeleft = 19.5;
Symbol 3491 MovieClip Frame 813
_root.timeleft = 19.4;
Symbol 3491 MovieClip Frame 815
_root.timeleft = 19.3;
Symbol 3491 MovieClip Frame 817
_root.timeleft = 19.2;
Symbol 3491 MovieClip Frame 819
_root.timeleft = 19.1;
Symbol 3491 MovieClip Frame 821
_root.timeleft = 19;
Symbol 3491 MovieClip Frame 823
_root.timeleft = 18.9;
Symbol 3491 MovieClip Frame 825
_root.timeleft = 18.8;
Symbol 3491 MovieClip Frame 827
_root.timeleft = 18.7;
Symbol 3491 MovieClip Frame 829
_root.timeleft = 18.6;
Symbol 3491 MovieClip Frame 831
_root.timeleft = 18.5;
Symbol 3491 MovieClip Frame 833
_root.timeleft = 18.4;
Symbol 3491 MovieClip Frame 835
_root.timeleft = 18.3;
Symbol 3491 MovieClip Frame 837
_root.timeleft = 18.2;
Symbol 3491 MovieClip Frame 839
_root.timeleft = 18.1;
Symbol 3491 MovieClip Frame 841
_root.timeleft = 18;
Symbol 3491 MovieClip Frame 843
_root.timeleft = 17.9;
Symbol 3491 MovieClip Frame 845
_root.timeleft = 17.8;
Symbol 3491 MovieClip Frame 847
_root.timeleft = 17.7;
Symbol 3491 MovieClip Frame 849
_root.timeleft = 17.6;
Symbol 3491 MovieClip Frame 851
_root.timeleft = 17.5;
Symbol 3491 MovieClip Frame 853
_root.timeleft = 17.4;
Symbol 3491 MovieClip Frame 855
_root.timeleft = 17.3;
Symbol 3491 MovieClip Frame 857
_root.timeleft = 17.2;
Symbol 3491 MovieClip Frame 859
_root.timeleft = 17.1;
Symbol 3491 MovieClip Frame 861
_root.timeleft = 17;
Symbol 3491 MovieClip Frame 863
_root.timeleft = 16.9;
Symbol 3491 MovieClip Frame 865
_root.timeleft = 16.8;
Symbol 3491 MovieClip Frame 867
_root.timeleft = 16.7;
Symbol 3491 MovieClip Frame 869
_root.timeleft = 16.6;
Symbol 3491 MovieClip Frame 871
_root.timeleft = 16.5;
Symbol 3491 MovieClip Frame 873
_root.timeleft = 16.4;
Symbol 3491 MovieClip Frame 875
_root.timeleft = 16.3;
Symbol 3491 MovieClip Frame 877
_root.timeleft = 16.2;
Symbol 3491 MovieClip Frame 879
_root.timeleft = 16.1;
Symbol 3491 MovieClip Frame 881
_root.timeleft = 16;
Symbol 3491 MovieClip Frame 883
_root.timeleft = 15.9;
Symbol 3491 MovieClip Frame 885
_root.timeleft = 15.8;
Symbol 3491 MovieClip Frame 887
_root.timeleft = 15.7;
Symbol 3491 MovieClip Frame 889
_root.timeleft = 15.6;
Symbol 3491 MovieClip Frame 891
_root.timeleft = 15.5;
Symbol 3491 MovieClip Frame 893
_root.timeleft = 15.4;
Symbol 3491 MovieClip Frame 895
_root.timeleft = 15.3;
Symbol 3491 MovieClip Frame 897
_root.timeleft = 15.2;
Symbol 3491 MovieClip Frame 899
_root.timeleft = 15.1;
Symbol 3491 MovieClip Frame 901
_root.timeleft = 15;
Symbol 3491 MovieClip Frame 903
_root.timeleft = 14.9;
Symbol 3491 MovieClip Frame 905
_root.timeleft = 14.8;
Symbol 3491 MovieClip Frame 907
_root.timeleft = 14.7;
Symbol 3491 MovieClip Frame 909
_root.timeleft = 14.6;
Symbol 3491 MovieClip Frame 911
_root.timeleft = 14.5;
Symbol 3491 MovieClip Frame 913
_root.timeleft = 14.4;
Symbol 3491 MovieClip Frame 915
_root.timeleft = 14.3;
Symbol 3491 MovieClip Frame 917
_root.timeleft = 14.2;
Symbol 3491 MovieClip Frame 919
_root.timeleft = 14.1;
Symbol 3491 MovieClip Frame 921
_root.timeleft = 14;
Symbol 3491 MovieClip Frame 923
_root.timeleft = 13.9;
Symbol 3491 MovieClip Frame 925
_root.timeleft = 13.8;
Symbol 3491 MovieClip Frame 927
_root.timeleft = 13.7;
Symbol 3491 MovieClip Frame 929
_root.timeleft = 13.6;
Symbol 3491 MovieClip Frame 931
_root.timeleft = 13.5;
Symbol 3491 MovieClip Frame 933
_root.timeleft = 13.4;
Symbol 3491 MovieClip Frame 935
_root.timeleft = 13.3;
Symbol 3491 MovieClip Frame 937
_root.timeleft = 13.2;
Symbol 3491 MovieClip Frame 939
_root.timeleft = 13.1;
Symbol 3491 MovieClip Frame 941
_root.timeleft = 13;
Symbol 3491 MovieClip Frame 943
_root.timeleft = 12.9;
Symbol 3491 MovieClip Frame 945
_root.timeleft = 12.8;
Symbol 3491 MovieClip Frame 947
_root.timeleft = 12.7;
Symbol 3491 MovieClip Frame 949
_root.timeleft = 12.6;
Symbol 3491 MovieClip Frame 951
_root.timeleft = 12.5;
Symbol 3491 MovieClip Frame 953
_root.timeleft = 12.4;
Symbol 3491 MovieClip Frame 955
_root.timeleft = 12.3;
Symbol 3491 MovieClip Frame 957
_root.timeleft = 12.2;
Symbol 3491 MovieClip Frame 959
_root.timeleft = 12.1;
Symbol 3491 MovieClip Frame 961
_root.timeleft = 12;
Symbol 3491 MovieClip Frame 963
_root.timeleft = 11.9;
Symbol 3491 MovieClip Frame 965
_root.timeleft = 11.8;
Symbol 3491 MovieClip Frame 967
_root.timeleft = 11.7;
Symbol 3491 MovieClip Frame 969
_root.timeleft = 11.6;
Symbol 3491 MovieClip Frame 971
_root.timeleft = 11.5;
Symbol 3491 MovieClip Frame 973
_root.timeleft = 11.4;
Symbol 3491 MovieClip Frame 975
_root.timeleft = 11.3;
Symbol 3491 MovieClip Frame 977
_root.timeleft = 11.2;
Symbol 3491 MovieClip Frame 979
_root.timeleft = 11.1;
Symbol 3491 MovieClip Frame 981
_root.timeleft = 11;
Symbol 3491 MovieClip Frame 983
_root.timeleft = 10.9;
Symbol 3491 MovieClip Frame 985
_root.timeleft = 10.8;
Symbol 3491 MovieClip Frame 987
_root.timeleft = 10.7;
Symbol 3491 MovieClip Frame 989
_root.timeleft = 10.6;
Symbol 3491 MovieClip Frame 991
_root.timeleft = 10.5;
Symbol 3491 MovieClip Frame 993
_root.timeleft = 10.4;
Symbol 3491 MovieClip Frame 995
_root.timeleft = 10.3;
Symbol 3491 MovieClip Frame 997
_root.timeleft = 10.2;
Symbol 3491 MovieClip Frame 999
_root.timeleft = 10.1;
Symbol 3491 MovieClip Frame 1001
_root.timeleft = 10;
Symbol 3491 MovieClip Frame 1003
_root.timeleft = 9.9;
Symbol 3491 MovieClip Frame 1005
_root.timeleft = 9.8;
Symbol 3491 MovieClip Frame 1007
_root.timeleft = 9.7;
Symbol 3491 MovieClip Frame 1009
_root.timeleft = 9.6;
Symbol 3491 MovieClip Frame 1011
_root.timeleft = 9.5;
Symbol 3491 MovieClip Frame 1013
_root.timeleft = 9.4;
Symbol 3491 MovieClip Frame 1015
_root.timeleft = 9.3;
Symbol 3491 MovieClip Frame 1017
_root.timeleft = 9.2;
Symbol 3491 MovieClip Frame 1019
_root.timeleft = 9.1;
Symbol 3491 MovieClip Frame 1021
_root.timeleft = 9;
Symbol 3491 MovieClip Frame 1023
_root.timeleft = 8.9;
Symbol 3491 MovieClip Frame 1025
_root.timeleft = 8.8;
Symbol 3491 MovieClip Frame 1027
_root.timeleft = 8.7;
Symbol 3491 MovieClip Frame 1029
_root.timeleft = 8.6;
Symbol 3491 MovieClip Frame 1031
_root.timeleft = 8.5;
Symbol 3491 MovieClip Frame 1033
_root.timeleft = 8.4;
Symbol 3491 MovieClip Frame 1035
_root.timeleft = 8.3;
Symbol 3491 MovieClip Frame 1037
_root.timeleft = 8.2;
Symbol 3491 MovieClip Frame 1039
_root.timeleft = 8.1;
Symbol 3491 MovieClip Frame 1041
_root.timeleft = 8;
Symbol 3491 MovieClip Frame 1043
_root.timeleft = 7.9;
Symbol 3491 MovieClip Frame 1045
_root.timeleft = 7.8;
Symbol 3491 MovieClip Frame 1047
_root.timeleft = 7.7;
Symbol 3491 MovieClip Frame 1049
_root.timeleft = 7.6;
Symbol 3491 MovieClip Frame 1051
_root.timeleft = 7.5;
Symbol 3491 MovieClip Frame 1053
_root.timeleft = 7.4;
Symbol 3491 MovieClip Frame 1055
_root.timeleft = 7.3;
Symbol 3491 MovieClip Frame 1057
_root.timeleft = 7.2;
Symbol 3491 MovieClip Frame 1059
_root.timeleft = 7.1;
Symbol 3491 MovieClip Frame 1061
_root.timeleft = 7;
Symbol 3491 MovieClip Frame 1063
_root.timeleft = 6.9;
Symbol 3491 MovieClip Frame 1065
_root.timeleft = 6.8;
Symbol 3491 MovieClip Frame 1067
_root.timeleft = 6.7;
Symbol 3491 MovieClip Frame 1069
_root.timeleft = 6.6;
Symbol 3491 MovieClip Frame 1071
_root.timeleft = 6.5;
Symbol 3491 MovieClip Frame 1073
_root.timeleft = 6.4;
Symbol 3491 MovieClip Frame 1075
_root.timeleft = 6.3;
Symbol 3491 MovieClip Frame 1077
_root.timeleft = 6.2;
Symbol 3491 MovieClip Frame 1079
_root.timeleft = 6.1;
Symbol 3491 MovieClip Frame 1081
_root.timeleft = 6;
Symbol 3491 MovieClip Frame 1083
_root.timeleft = 5.9;
Symbol 3491 MovieClip Frame 1085
_root.timeleft = 5.8;
Symbol 3491 MovieClip Frame 1087
_root.timeleft = 5.7;
Symbol 3491 MovieClip Frame 1089
_root.timeleft = 5.6;
Symbol 3491 MovieClip Frame 1091
_root.timeleft = 5.5;
Symbol 3491 MovieClip Frame 1093
_root.timeleft = 5.4;
Symbol 3491 MovieClip Frame 1095
_root.timeleft = 5.3;
Symbol 3491 MovieClip Frame 1097
_root.timeleft = 5.2;
Symbol 3491 MovieClip Frame 1099
_root.timeleft = 5.1;
Symbol 3491 MovieClip Frame 1101
_root.timeleft = 5;
Symbol 3491 MovieClip Frame 1103
_root.timeleft = 4.9;
Symbol 3491 MovieClip Frame 1105
_root.timeleft = 4.8;
Symbol 3491 MovieClip Frame 1107
_root.timeleft = 4.7;
Symbol 3491 MovieClip Frame 1109
_root.timeleft = 4.6;
Symbol 3491 MovieClip Frame 1111
_root.timeleft = 4.5;
Symbol 3491 MovieClip Frame 1113
_root.timeleft = 4.4;
Symbol 3491 MovieClip Frame 1115
_root.timeleft = 4.3;
Symbol 3491 MovieClip Frame 1117
_root.timeleft = 4.2;
Symbol 3491 MovieClip Frame 1119
_root.timeleft = 4.1;
Symbol 3491 MovieClip Frame 1121
_root.timeleft = 4;
Symbol 3491 MovieClip Frame 1123
_root.timeleft = 3.9;
Symbol 3491 MovieClip Frame 1125
_root.timeleft = 3.8;
Symbol 3491 MovieClip Frame 1127
_root.timeleft = 3.7;
Symbol 3491 MovieClip Frame 1129
_root.timeleft = 3.6;
Symbol 3491 MovieClip Frame 1131
_root.timeleft = 3.5;
Symbol 3491 MovieClip Frame 1133
_root.timeleft = 3.4;
Symbol 3491 MovieClip Frame 1135
_root.timeleft = 3.3;
Symbol 3491 MovieClip Frame 1137
_root.timeleft = 3.2;
Symbol 3491 MovieClip Frame 1139
_root.timeleft = 3.1;
Symbol 3491 MovieClip Frame 1141
_root.timeleft = 3;
Symbol 3491 MovieClip Frame 1143
_root.timeleft = 2.9;
Symbol 3491 MovieClip Frame 1145
_root.timeleft = 2.8;
Symbol 3491 MovieClip Frame 1147
_root.timeleft = 2.7;
Symbol 3491 MovieClip Frame 1149
_root.timeleft = 2.6;
Symbol 3491 MovieClip Frame 1151
_root.timeleft = 2.5;
Symbol 3491 MovieClip Frame 1153
_root.timeleft = 2.4;
Symbol 3491 MovieClip Frame 1155
_root.timeleft = 2.3;
Symbol 3491 MovieClip Frame 1157
_root.timeleft = 2.2;
Symbol 3491 MovieClip Frame 1159
_root.timeleft = 2.1;
Symbol 3491 MovieClip Frame 1161
_root.timeleft = 2;
Symbol 3491 MovieClip Frame 1163
_root.timeleft = 1.9;
Symbol 3491 MovieClip Frame 1165
_root.timeleft = 1.8;
Symbol 3491 MovieClip Frame 1167
_root.timeleft = 1.7;
Symbol 3491 MovieClip Frame 1169
_root.timeleft = 1.6;
Symbol 3491 MovieClip Frame 1171
_root.timeleft = 1.5;
Symbol 3491 MovieClip Frame 1173
_root.timeleft = 1.4;
Symbol 3491 MovieClip Frame 1175
_root.timeleft = 1.3;
Symbol 3491 MovieClip Frame 1177
_root.timeleft = 1.2;
Symbol 3491 MovieClip Frame 1179
_root.timeleft = 1.1;
Symbol 3491 MovieClip Frame 1181
_root.timeleft = 1;
Symbol 3491 MovieClip Frame 1183
_root.timeleft = 0.9;
Symbol 3491 MovieClip Frame 1185
_root.timeleft = 0.8;
Symbol 3491 MovieClip Frame 1187
_root.timeleft = 0.7;
Symbol 3491 MovieClip Frame 1189
_root.timeleft = 0.6;
Symbol 3491 MovieClip Frame 1191
_root.timeleft = 0.5;
Symbol 3491 MovieClip Frame 1193
_root.timeleft = 0.4;
Symbol 3491 MovieClip Frame 1195
_root.timeleft = 0.3;
Symbol 3491 MovieClip Frame 1197
_root.timeleft = 0.2;
Symbol 3491 MovieClip Frame 1199
_root.timeleft = 0.1;
Symbol 3491 MovieClip Frame 1200
_root.dead = false;
_root.timeleft = 0;
stop();
Symbol 3495 MovieClip Frame 1
stop();
Symbol 3495 MovieClip Frame 18
stop();
Symbol 3498 MovieClip Frame 1
stop();
Symbol 3498 MovieClip Frame 18
stop();
Symbol 3507 MovieClip Frame 1
stop();
Symbol 3507 MovieClip Frame 2
stop();
Symbol 3507 MovieClip Frame 3
stop();
Symbol 3507 MovieClip Frame 4
stop();
Symbol 3507 MovieClip Frame 5
stop();
Symbol 3507 MovieClip Frame 6
stop();
Symbol 3512 MovieClip Frame 1
stop();
Symbol 3512 MovieClip Frame 202
_root.orbspeed = 5.8;
_root.maxInertia = 2.2;
_root.inertiaStep = 0.2;
_root.currentInertiaY = 0;
_root.currentInertiaX = 0;
Symbol 3512 MovieClip Frame 217
gotoAndStop (1);
Symbol 3516 MovieClip Frame 1
stop();
Symbol 3516 MovieClip Frame 2
if (_root.winstarted == false) {
stopAllSounds();
_root.failstarted = true;
} else if (_root.winstarted == true) {
stop();
}
Symbol 3516 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
Symbol 3516 MovieClip Frame 10
stop();
_root.gotoAndPlay("tutFailed");
Symbol 3519 MovieClip Frame 1
stop();
Symbol 3519 MovieClip Frame 2
if (_root.failstarted == false) {
stopAllSounds();
_root.winstarted = true;
} else if (_root.failstarted == true) {
stop();
}
Symbol 3519 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
Symbol 3519 MovieClip Frame 10
stop();
_root.gotoAndPlay("tutAccomplished");
Symbol 3524 MovieClip Frame 1
stop();
Symbol 3524 MovieClip Frame 25
gotoAndPlay ("normal");
Symbol 3524 MovieClip Frame 26
play();
Symbol 3524 MovieClip Frame 33
_root.success.gotoAndPlay("appear");
stop();
Symbol 3524 MovieClip Frame 34
_root.success.gotoAndPlay("appear");
stop();
Symbol 3529 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 3531 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3531 MovieClip Frame 2
stop();
Symbol 3558 MovieClip Frame 45
gotoAndPlay ("loop");
Symbol 3559 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3559 MovieClip Frame 2
stop();
shooter1.onEnterFrame = function () {
shootRadians = Math.atan2(_root.orb._y - (_root.stuff._y + _root.stuff.sh1._y), _root.orb._x - (_root.stuff._x + _root.stuff.sh1._x));
shootDegrees = Math.round((shootRadians * 180) / Math.PI);
if ((shootDegrees < -20) && (shootDegrees > -160)) {
this._rotation = (((-shootDegrees) * Math.PI) / 2) + 45;
} else {
this._rotation = shootDegrees + 90;
}
};
Symbol 3560 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3560 MovieClip Frame 2
stop();
shooter1.onEnterFrame = function () {
shootRadians = Math.atan2(_root.orb._y - (_root.stuff._y + _root.stuff.sh2._y), _root.orb._x - (_root.stuff._x + _root.stuff.sh2._x));
shootDegrees = Math.round((shootRadians * 180) / Math.PI);
if ((shootDegrees < 25) && (shootDegrees > -115)) {
this._rotation = (((-shootDegrees) * Math.PI) / 2) + 150;
} else {
this._rotation = shootDegrees + 90;
}
};
Symbol 3562 MovieClip Frame 1
_root.timeleft = 60;
Symbol 3562 MovieClip Frame 3
_root.timeleft = 59.9;
Symbol 3562 MovieClip Frame 5
_root.timeleft = 59.8;
Symbol 3562 MovieClip Frame 7
_root.timeleft = 59.7;
Symbol 3562 MovieClip Frame 9
_root.timeleft = 59.6;
Symbol 3562 MovieClip Frame 11
_root.timeleft = 59.5;
Symbol 3562 MovieClip Frame 13
_root.timeleft = 59.4;
Symbol 3562 MovieClip Frame 15
_root.timeleft = 59.3;
Symbol 3562 MovieClip Frame 17
_root.timeleft = 59.2;
Symbol 3562 MovieClip Frame 19
_root.timeleft = 59.1;
Symbol 3562 MovieClip Frame 21
_root.timeleft = 59;
Symbol 3562 MovieClip Frame 23
_root.timeleft = 58.9;
Symbol 3562 MovieClip Frame 25
_root.timeleft = 58.8;
Symbol 3562 MovieClip Frame 27
_root.timeleft = 58.7;
Symbol 3562 MovieClip Frame 29
_root.timeleft = 58.6;
Symbol 3562 MovieClip Frame 31
_root.timeleft = 58.5;
Symbol 3562 MovieClip Frame 33
_root.timeleft = 58.4;
Symbol 3562 MovieClip Frame 35
_root.timeleft = 58.3;
Symbol 3562 MovieClip Frame 37
_root.timeleft = 58.2;
Symbol 3562 MovieClip Frame 39
_root.timeleft = 58.1;
Symbol 3562 MovieClip Frame 41
_root.timeleft = 58;
Symbol 3562 MovieClip Frame 43
_root.timeleft = 57.9;
Symbol 3562 MovieClip Frame 45
_root.timeleft = 57.8;
Symbol 3562 MovieClip Frame 47
_root.timeleft = 57.7;
Symbol 3562 MovieClip Frame 49
_root.timeleft = 57.6;
Symbol 3562 MovieClip Frame 51
_root.timeleft = 57.5;
Symbol 3562 MovieClip Frame 53
_root.timeleft = 57.4;
Symbol 3562 MovieClip Frame 55
_root.timeleft = 57.3;
Symbol 3562 MovieClip Frame 57
_root.timeleft = 57.2;
Symbol 3562 MovieClip Frame 59
_root.timeleft = 57.1;
Symbol 3562 MovieClip Frame 61
_root.timeleft = 57;
Symbol 3562 MovieClip Frame 63
_root.timeleft = 56.9;
Symbol 3562 MovieClip Frame 65
_root.timeleft = 56.8;
Symbol 3562 MovieClip Frame 67
_root.timeleft = 56.7;
Symbol 3562 MovieClip Frame 69
_root.timeleft = 56.6;
Symbol 3562 MovieClip Frame 71
_root.timeleft = 56.5;
Symbol 3562 MovieClip Frame 73
_root.timeleft = 56.4;
Symbol 3562 MovieClip Frame 75
_root.timeleft = 56.3;
Symbol 3562 MovieClip Frame 77
_root.timeleft = 56.2;
Symbol 3562 MovieClip Frame 79
_root.timeleft = 56.1;
Symbol 3562 MovieClip Frame 81
_root.timeleft = 56;
Symbol 3562 MovieClip Frame 83
_root.timeleft = 55.9;
Symbol 3562 MovieClip Frame 85
_root.timeleft = 55.8;
Symbol 3562 MovieClip Frame 87
_root.timeleft = 55.7;
Symbol 3562 MovieClip Frame 89
_root.timeleft = 55.6;
Symbol 3562 MovieClip Frame 91
_root.timeleft = 55.5;
Symbol 3562 MovieClip Frame 93
_root.timeleft = 55.4;
Symbol 3562 MovieClip Frame 95
_root.timeleft = 55.3;
Symbol 3562 MovieClip Frame 97
_root.timeleft = 55.2;
Symbol 3562 MovieClip Frame 99
_root.timeleft = 55.1;
Symbol 3562 MovieClip Frame 101
_root.timeleft = 55;
Symbol 3562 MovieClip Frame 103
_root.timeleft = 54.9;
Symbol 3562 MovieClip Frame 105
_root.timeleft = 54.8;
Symbol 3562 MovieClip Frame 107
_root.timeleft = 54.7;
Symbol 3562 MovieClip Frame 109
_root.timeleft = 54.6;
Symbol 3562 MovieClip Frame 111
_root.timeleft = 54.5;
Symbol 3562 MovieClip Frame 113
_root.timeleft = 54.4;
Symbol 3562 MovieClip Frame 115
_root.timeleft = 54.3;
Symbol 3562 MovieClip Frame 117
_root.timeleft = 54.2;
Symbol 3562 MovieClip Frame 119
_root.timeleft = 54.1;
Symbol 3562 MovieClip Frame 121
_root.timeleft = 54;
Symbol 3562 MovieClip Frame 123
_root.timeleft = 53.9;
Symbol 3562 MovieClip Frame 125
_root.timeleft = 53.8;
Symbol 3562 MovieClip Frame 127
_root.timeleft = 53.7;
Symbol 3562 MovieClip Frame 129
_root.timeleft = 53.6;
Symbol 3562 MovieClip Frame 131
_root.timeleft = 53.5;
Symbol 3562 MovieClip Frame 133
_root.timeleft = 53.4;
Symbol 3562 MovieClip Frame 135
_root.timeleft = 53.3;
Symbol 3562 MovieClip Frame 137
_root.timeleft = 53.2;
Symbol 3562 MovieClip Frame 139
_root.timeleft = 53.1;
Symbol 3562 MovieClip Frame 141
_root.timeleft = 53;
Symbol 3562 MovieClip Frame 143
_root.timeleft = 52.9;
Symbol 3562 MovieClip Frame 145
_root.timeleft = 52.8;
Symbol 3562 MovieClip Frame 147
_root.timeleft = 52.7;
Symbol 3562 MovieClip Frame 149
_root.timeleft = 52.6;
Symbol 3562 MovieClip Frame 151
_root.timeleft = 52.5;
Symbol 3562 MovieClip Frame 153
_root.timeleft = 52.4;
Symbol 3562 MovieClip Frame 155
_root.timeleft = 52.3;
Symbol 3562 MovieClip Frame 157
_root.timeleft = 52.2;
Symbol 3562 MovieClip Frame 159
_root.timeleft = 52.1;
Symbol 3562 MovieClip Frame 161
_root.timeleft = 52;
Symbol 3562 MovieClip Frame 163
_root.timeleft = 51.9;
Symbol 3562 MovieClip Frame 165
_root.timeleft = 51.8;
Symbol 3562 MovieClip Frame 167
_root.timeleft = 51.7;
Symbol 3562 MovieClip Frame 169
_root.timeleft = 51.6;
Symbol 3562 MovieClip Frame 171
_root.timeleft = 51.5;
Symbol 3562 MovieClip Frame 173
_root.timeleft = 51.4;
Symbol 3562 MovieClip Frame 175
_root.timeleft = 51.3;
Symbol 3562 MovieClip Frame 177
_root.timeleft = 51.2;
Symbol 3562 MovieClip Frame 179
_root.timeleft = 51.1;
Symbol 3562 MovieClip Frame 181
_root.timeleft = 51;
Symbol 3562 MovieClip Frame 183
_root.timeleft = 50.9;
Symbol 3562 MovieClip Frame 185
_root.timeleft = 50.8;
Symbol 3562 MovieClip Frame 187
_root.timeleft = 50.7;
Symbol 3562 MovieClip Frame 189
_root.timeleft = 50.6;
Symbol 3562 MovieClip Frame 191
_root.timeleft = 50.5;
Symbol 3562 MovieClip Frame 193
_root.timeleft = 50.4;
Symbol 3562 MovieClip Frame 195
_root.timeleft = 50.3;
Symbol 3562 MovieClip Frame 197
_root.timeleft = 50.2;
Symbol 3562 MovieClip Frame 199
_root.timeleft = 50.1;
Symbol 3562 MovieClip Frame 201
_root.timeleft = 50;
Symbol 3562 MovieClip Frame 203
_root.timeleft = 49.9;
Symbol 3562 MovieClip Frame 205
_root.timeleft = 49.8;
Symbol 3562 MovieClip Frame 207
_root.timeleft = 49.7;
Symbol 3562 MovieClip Frame 209
_root.timeleft = 49.6;
Symbol 3562 MovieClip Frame 211
_root.timeleft = 49.5;
Symbol 3562 MovieClip Frame 213
_root.timeleft = 49.4;
Symbol 3562 MovieClip Frame 215
_root.timeleft = 49.3;
Symbol 3562 MovieClip Frame 217
_root.timeleft = 49.2;
Symbol 3562 MovieClip Frame 219
_root.timeleft = 49.1;
Symbol 3562 MovieClip Frame 221
_root.timeleft = 49;
Symbol 3562 MovieClip Frame 223
_root.timeleft = 48.9;
Symbol 3562 MovieClip Frame 225
_root.timeleft = 48.8;
Symbol 3562 MovieClip Frame 227
_root.timeleft = 48.7;
Symbol 3562 MovieClip Frame 229
_root.timeleft = 48.6;
Symbol 3562 MovieClip Frame 231
_root.timeleft = 48.5;
Symbol 3562 MovieClip Frame 233
_root.timeleft = 48.4;
Symbol 3562 MovieClip Frame 235
_root.timeleft = 48.3;
Symbol 3562 MovieClip Frame 237
_root.timeleft = 48.2;
Symbol 3562 MovieClip Frame 239
_root.timeleft = 48.1;
Symbol 3562 MovieClip Frame 241
_root.timeleft = 48;
Symbol 3562 MovieClip Frame 243
_root.timeleft = 47.9;
Symbol 3562 MovieClip Frame 245
_root.timeleft = 47.8;
Symbol 3562 MovieClip Frame 247
_root.timeleft = 47.7;
Symbol 3562 MovieClip Frame 249
_root.timeleft = 47.6;
Symbol 3562 MovieClip Frame 251
_root.timeleft = 47.5;
Symbol 3562 MovieClip Frame 253
_root.timeleft = 47.4;
Symbol 3562 MovieClip Frame 255
_root.timeleft = 47.3;
Symbol 3562 MovieClip Frame 257
_root.timeleft = 47.2;
Symbol 3562 MovieClip Frame 259
_root.timeleft = 47.1;
Symbol 3562 MovieClip Frame 261
_root.timeleft = 47;
Symbol 3562 MovieClip Frame 263
_root.timeleft = 46.9;
Symbol 3562 MovieClip Frame 265
_root.timeleft = 46.8;
Symbol 3562 MovieClip Frame 267
_root.timeleft = 46.7;
Symbol 3562 MovieClip Frame 269
_root.timeleft = 46.6;
Symbol 3562 MovieClip Frame 271
_root.timeleft = 46.5;
Symbol 3562 MovieClip Frame 273
_root.timeleft = 46.4;
Symbol 3562 MovieClip Frame 275
_root.timeleft = 46.3;
Symbol 3562 MovieClip Frame 277
_root.timeleft = 46.2;
Symbol 3562 MovieClip Frame 279
_root.timeleft = 46.1;
Symbol 3562 MovieClip Frame 281
_root.timeleft = 46;
Symbol 3562 MovieClip Frame 283
_root.timeleft = 45.9;
Symbol 3562 MovieClip Frame 285
_root.timeleft = 45.8;
Symbol 3562 MovieClip Frame 287
_root.timeleft = 45.7;
Symbol 3562 MovieClip Frame 289
_root.timeleft = 45.6;
Symbol 3562 MovieClip Frame 291
_root.timeleft = 45.5;
Symbol 3562 MovieClip Frame 293
_root.timeleft = 45.4;
Symbol 3562 MovieClip Frame 295
_root.timeleft = 45.3;
Symbol 3562 MovieClip Frame 297
_root.timeleft = 45.2;
Symbol 3562 MovieClip Frame 299
_root.timeleft = 45.1;
Symbol 3562 MovieClip Frame 301
_root.timeleft = 45;
Symbol 3562 MovieClip Frame 303
_root.timeleft = 44.9;
Symbol 3562 MovieClip Frame 305
_root.timeleft = 44.8;
Symbol 3562 MovieClip Frame 307
_root.timeleft = 44.7;
Symbol 3562 MovieClip Frame 309
_root.timeleft = 44.6;
Symbol 3562 MovieClip Frame 311
_root.timeleft = 44.5;
Symbol 3562 MovieClip Frame 313
_root.timeleft = 44.4;
Symbol 3562 MovieClip Frame 315
_root.timeleft = 44.3;
Symbol 3562 MovieClip Frame 317
_root.timeleft = 44.2;
Symbol 3562 MovieClip Frame 319
_root.timeleft = 44.1;
Symbol 3562 MovieClip Frame 321
_root.timeleft = 44;
Symbol 3562 MovieClip Frame 323
_root.timeleft = 43.9;
Symbol 3562 MovieClip Frame 325
_root.timeleft = 43.8;
Symbol 3562 MovieClip Frame 327
_root.timeleft = 43.7;
Symbol 3562 MovieClip Frame 329
_root.timeleft = 43.6;
Symbol 3562 MovieClip Frame 331
_root.timeleft = 43.5;
Symbol 3562 MovieClip Frame 333
_root.timeleft = 43.4;
Symbol 3562 MovieClip Frame 335
_root.timeleft = 43.3;
Symbol 3562 MovieClip Frame 337
_root.timeleft = 43.2;
Symbol 3562 MovieClip Frame 339
_root.timeleft = 43.1;
Symbol 3562 MovieClip Frame 341
_root.timeleft = 43;
Symbol 3562 MovieClip Frame 343
_root.timeleft = 42.9;
Symbol 3562 MovieClip Frame 345
_root.timeleft = 42.8;
Symbol 3562 MovieClip Frame 347
_root.timeleft = 42.7;
Symbol 3562 MovieClip Frame 349
_root.timeleft = 42.6;
Symbol 3562 MovieClip Frame 351
_root.timeleft = 42.5;
Symbol 3562 MovieClip Frame 353
_root.timeleft = 42.4;
Symbol 3562 MovieClip Frame 355
_root.timeleft = 42.3;
Symbol 3562 MovieClip Frame 357
_root.timeleft = 42.2;
Symbol 3562 MovieClip Frame 359
_root.timeleft = 42.1;
Symbol 3562 MovieClip Frame 361
_root.timeleft = 42;
Symbol 3562 MovieClip Frame 363
_root.timeleft = 41.9;
Symbol 3562 MovieClip Frame 365
_root.timeleft = 41.8;
Symbol 3562 MovieClip Frame 367
_root.timeleft = 41.7;
Symbol 3562 MovieClip Frame 369
_root.timeleft = 41.6;
Symbol 3562 MovieClip Frame 371
_root.timeleft = 41.5;
Symbol 3562 MovieClip Frame 373
_root.timeleft = 41.4;
Symbol 3562 MovieClip Frame 375
_root.timeleft = 41.3;
Symbol 3562 MovieClip Frame 377
_root.timeleft = 41.2;
Symbol 3562 MovieClip Frame 379
_root.timeleft = 41.1;
Symbol 3562 MovieClip Frame 381
_root.timeleft = 41;
Symbol 3562 MovieClip Frame 383
_root.timeleft = 40.9;
Symbol 3562 MovieClip Frame 385
_root.timeleft = 40.8;
Symbol 3562 MovieClip Frame 387
_root.timeleft = 40.7;
Symbol 3562 MovieClip Frame 389
_root.timeleft = 40.6;
Symbol 3562 MovieClip Frame 391
_root.timeleft = 40.5;
Symbol 3562 MovieClip Frame 393
_root.timeleft = 40.4;
Symbol 3562 MovieClip Frame 395
_root.timeleft = 40.3;
Symbol 3562 MovieClip Frame 397
_root.timeleft = 40.2;
Symbol 3562 MovieClip Frame 399
_root.timeleft = 40.1;
Symbol 3562 MovieClip Frame 401
_root.timeleft = 40;
Symbol 3562 MovieClip Frame 403
_root.timeleft = 39.9;
Symbol 3562 MovieClip Frame 405
_root.timeleft = 39.8;
Symbol 3562 MovieClip Frame 407
_root.timeleft = 39.7;
Symbol 3562 MovieClip Frame 409
_root.timeleft = 39.6;
Symbol 3562 MovieClip Frame 411
_root.timeleft = 39.5;
Symbol 3562 MovieClip Frame 413
_root.timeleft = 39.4;
Symbol 3562 MovieClip Frame 415
_root.timeleft = 39.3;
Symbol 3562 MovieClip Frame 417
_root.timeleft = 39.2;
Symbol 3562 MovieClip Frame 419
_root.timeleft = 39.1;
Symbol 3562 MovieClip Frame 421
_root.timeleft = 39;
Symbol 3562 MovieClip Frame 423
_root.timeleft = 38.9;
Symbol 3562 MovieClip Frame 425
_root.timeleft = 38.8;
Symbol 3562 MovieClip Frame 427
_root.timeleft = 38.7;
Symbol 3562 MovieClip Frame 429
_root.timeleft = 38.6;
Symbol 3562 MovieClip Frame 431
_root.timeleft = 38.5;
Symbol 3562 MovieClip Frame 433
_root.timeleft = 38.4;
Symbol 3562 MovieClip Frame 435
_root.timeleft = 38.3;
Symbol 3562 MovieClip Frame 437
_root.timeleft = 38.2;
Symbol 3562 MovieClip Frame 439
_root.timeleft = 38.1;
Symbol 3562 MovieClip Frame 441
_root.timeleft = 38;
Symbol 3562 MovieClip Frame 443
_root.timeleft = 37.9;
Symbol 3562 MovieClip Frame 445
_root.timeleft = 37.8;
Symbol 3562 MovieClip Frame 447
_root.timeleft = 37.7;
Symbol 3562 MovieClip Frame 449
_root.timeleft = 37.6;
Symbol 3562 MovieClip Frame 451
_root.timeleft = 37.5;
Symbol 3562 MovieClip Frame 453
_root.timeleft = 37.4;
Symbol 3562 MovieClip Frame 455
_root.timeleft = 37.3;
Symbol 3562 MovieClip Frame 457
_root.timeleft = 37.2;
Symbol 3562 MovieClip Frame 459
_root.timeleft = 37.1;
Symbol 3562 MovieClip Frame 461
_root.timeleft = 37;
Symbol 3562 MovieClip Frame 463
_root.timeleft = 36.9;
Symbol 3562 MovieClip Frame 465
_root.timeleft = 36.8;
Symbol 3562 MovieClip Frame 467
_root.timeleft = 36.7;
Symbol 3562 MovieClip Frame 469
_root.timeleft = 36.6;
Symbol 3562 MovieClip Frame 471
_root.timeleft = 36.5;
Symbol 3562 MovieClip Frame 473
_root.timeleft = 36.4;
Symbol 3562 MovieClip Frame 475
_root.timeleft = 36.3;
Symbol 3562 MovieClip Frame 477
_root.timeleft = 36.2;
Symbol 3562 MovieClip Frame 479
_root.timeleft = 36.1;
Symbol 3562 MovieClip Frame 481
_root.timeleft = 36;
Symbol 3562 MovieClip Frame 483
_root.timeleft = 35.9;
Symbol 3562 MovieClip Frame 485
_root.timeleft = 35.8;
Symbol 3562 MovieClip Frame 487
_root.timeleft = 35.7;
Symbol 3562 MovieClip Frame 489
_root.timeleft = 35.6;
Symbol 3562 MovieClip Frame 491
_root.timeleft = 35.5;
Symbol 3562 MovieClip Frame 493
_root.timeleft = 35.4;
Symbol 3562 MovieClip Frame 495
_root.timeleft = 35.3;
Symbol 3562 MovieClip Frame 497
_root.timeleft = 35.2;
Symbol 3562 MovieClip Frame 499
_root.timeleft = 35.1;
Symbol 3562 MovieClip Frame 501
_root.timeleft = 35;
Symbol 3562 MovieClip Frame 503
_root.timeleft = 34.9;
Symbol 3562 MovieClip Frame 505
_root.timeleft = 34.8;
Symbol 3562 MovieClip Frame 507
_root.timeleft = 34.7;
Symbol 3562 MovieClip Frame 509
_root.timeleft = 34.6;
Symbol 3562 MovieClip Frame 511
_root.timeleft = 34.5;
Symbol 3562 MovieClip Frame 513
_root.timeleft = 34.4;
Symbol 3562 MovieClip Frame 515
_root.timeleft = 34.3;
Symbol 3562 MovieClip Frame 517
_root.timeleft = 34.2;
Symbol 3562 MovieClip Frame 519
_root.timeleft = 34.1;
Symbol 3562 MovieClip Frame 521
_root.timeleft = 34;
Symbol 3562 MovieClip Frame 523
_root.timeleft = 33.9;
Symbol 3562 MovieClip Frame 525
_root.timeleft = 33.8;
Symbol 3562 MovieClip Frame 527
_root.timeleft = 33.7;
Symbol 3562 MovieClip Frame 529
_root.timeleft = 33.6;
Symbol 3562 MovieClip Frame 531
_root.timeleft = 33.5;
Symbol 3562 MovieClip Frame 533
_root.timeleft = 33.4;
Symbol 3562 MovieClip Frame 535
_root.timeleft = 33.3;
Symbol 3562 MovieClip Frame 537
_root.timeleft = 33.2;
Symbol 3562 MovieClip Frame 539
_root.timeleft = 33.1;
Symbol 3562 MovieClip Frame 541
_root.timeleft = 33;
Symbol 3562 MovieClip Frame 543
_root.timeleft = 32.9;
Symbol 3562 MovieClip Frame 545
_root.timeleft = 32.8;
Symbol 3562 MovieClip Frame 547
_root.timeleft = 32.7;
Symbol 3562 MovieClip Frame 549
_root.timeleft = 32.6;
Symbol 3562 MovieClip Frame 551
_root.timeleft = 32.5;
Symbol 3562 MovieClip Frame 553
_root.timeleft = 32.4;
Symbol 3562 MovieClip Frame 555
_root.timeleft = 32.3;
Symbol 3562 MovieClip Frame 557
_root.timeleft = 32.2;
Symbol 3562 MovieClip Frame 559
_root.timeleft = 32.1;
Symbol 3562 MovieClip Frame 561
_root.timeleft = 32;
Symbol 3562 MovieClip Frame 563
_root.timeleft = 31.9;
Symbol 3562 MovieClip Frame 565
_root.timeleft = 31.8;
Symbol 3562 MovieClip Frame 567
_root.timeleft = 31.7;
Symbol 3562 MovieClip Frame 569
_root.timeleft = 31.6;
Symbol 3562 MovieClip Frame 571
_root.timeleft = 31.5;
Symbol 3562 MovieClip Frame 573
_root.timeleft = 31.4;
Symbol 3562 MovieClip Frame 575
_root.timeleft = 31.3;
Symbol 3562 MovieClip Frame 577
_root.timeleft = 31.2;
Symbol 3562 MovieClip Frame 579
_root.timeleft = 31.1;
Symbol 3562 MovieClip Frame 581
_root.timeleft = 31;
Symbol 3562 MovieClip Frame 583
_root.timeleft = 30.9;
Symbol 3562 MovieClip Frame 585
_root.timeleft = 30.8;
Symbol 3562 MovieClip Frame 587
_root.timeleft = 30.7;
Symbol 3562 MovieClip Frame 589
_root.timeleft = 30.6;
Symbol 3562 MovieClip Frame 591
_root.timeleft = 30.5;
Symbol 3562 MovieClip Frame 593
_root.timeleft = 30.4;
Symbol 3562 MovieClip Frame 595
_root.timeleft = 30.3;
Symbol 3562 MovieClip Frame 597
_root.timeleft = 30.2;
Symbol 3562 MovieClip Frame 599
_root.timeleft = 30.1;
Symbol 3562 MovieClip Frame 601
_root.timeleft = 30;
Symbol 3562 MovieClip Frame 603
_root.timeleft = 29.9;
Symbol 3562 MovieClip Frame 605
_root.timeleft = 29.8;
Symbol 3562 MovieClip Frame 607
_root.timeleft = 29.7;
Symbol 3562 MovieClip Frame 609
_root.timeleft = 29.6;
Symbol 3562 MovieClip Frame 611
_root.timeleft = 29.5;
Symbol 3562 MovieClip Frame 613
_root.timeleft = 29.4;
Symbol 3562 MovieClip Frame 615
_root.timeleft = 29.3;
Symbol 3562 MovieClip Frame 617
_root.timeleft = 29.2;
Symbol 3562 MovieClip Frame 619
_root.timeleft = 29.1;
Symbol 3562 MovieClip Frame 621
_root.timeleft = 29;
Symbol 3562 MovieClip Frame 623
_root.timeleft = 28.9;
Symbol 3562 MovieClip Frame 625
_root.timeleft = 28.8;
Symbol 3562 MovieClip Frame 627
_root.timeleft = 28.7;
Symbol 3562 MovieClip Frame 629
_root.timeleft = 28.6;
Symbol 3562 MovieClip Frame 631
_root.timeleft = 28.5;
Symbol 3562 MovieClip Frame 633
_root.timeleft = 28.4;
Symbol 3562 MovieClip Frame 635
_root.timeleft = 28.3;
Symbol 3562 MovieClip Frame 637
_root.timeleft = 28.2;
Symbol 3562 MovieClip Frame 639
_root.timeleft = 28.1;
Symbol 3562 MovieClip Frame 641
_root.timeleft = 28;
Symbol 3562 MovieClip Frame 643
_root.timeleft = 27.9;
Symbol 3562 MovieClip Frame 645
_root.timeleft = 27.8;
Symbol 3562 MovieClip Frame 647
_root.timeleft = 27.7;
Symbol 3562 MovieClip Frame 649
_root.timeleft = 27.6;
Symbol 3562 MovieClip Frame 651
_root.timeleft = 27.5;
Symbol 3562 MovieClip Frame 653
_root.timeleft = 27.4;
Symbol 3562 MovieClip Frame 655
_root.timeleft = 27.3;
Symbol 3562 MovieClip Frame 657
_root.timeleft = 27.2;
Symbol 3562 MovieClip Frame 659
_root.timeleft = 27.1;
Symbol 3562 MovieClip Frame 661
_root.timeleft = 27;
Symbol 3562 MovieClip Frame 663
_root.timeleft = 26.9;
Symbol 3562 MovieClip Frame 665
_root.timeleft = 26.8;
Symbol 3562 MovieClip Frame 667
_root.timeleft = 26.7;
Symbol 3562 MovieClip Frame 669
_root.timeleft = 26.6;
Symbol 3562 MovieClip Frame 671
_root.timeleft = 26.5;
Symbol 3562 MovieClip Frame 673
_root.timeleft = 26.4;
Symbol 3562 MovieClip Frame 675
_root.timeleft = 26.3;
Symbol 3562 MovieClip Frame 677
_root.timeleft = 26.2;
Symbol 3562 MovieClip Frame 679
_root.timeleft = 26.1;
Symbol 3562 MovieClip Frame 681
_root.timeleft = 26;
Symbol 3562 MovieClip Frame 683
_root.timeleft = 25.9;
Symbol 3562 MovieClip Frame 685
_root.timeleft = 25.8;
Symbol 3562 MovieClip Frame 687
_root.timeleft = 25.7;
Symbol 3562 MovieClip Frame 689
_root.timeleft = 25.6;
Symbol 3562 MovieClip Frame 691
_root.timeleft = 25.5;
Symbol 3562 MovieClip Frame 693
_root.timeleft = 25.4;
Symbol 3562 MovieClip Frame 695
_root.timeleft = 25.3;
Symbol 3562 MovieClip Frame 697
_root.timeleft = 25.2;
Symbol 3562 MovieClip Frame 699
_root.timeleft = 25.1;
Symbol 3562 MovieClip Frame 701
_root.timeleft = 25;
Symbol 3562 MovieClip Frame 703
_root.timeleft = 24.9;
Symbol 3562 MovieClip Frame 705
_root.timeleft = 24.8;
Symbol 3562 MovieClip Frame 707
_root.timeleft = 24.7;
Symbol 3562 MovieClip Frame 709
_root.timeleft = 24.6;
Symbol 3562 MovieClip Frame 711
_root.timeleft = 24.5;
Symbol 3562 MovieClip Frame 713
_root.timeleft = 24.4;
Symbol 3562 MovieClip Frame 715
_root.timeleft = 24.3;
Symbol 3562 MovieClip Frame 717
_root.timeleft = 24.2;
Symbol 3562 MovieClip Frame 719
_root.timeleft = 24.1;
Symbol 3562 MovieClip Frame 721
_root.timeleft = 24;
Symbol 3562 MovieClip Frame 723
_root.timeleft = 23.9;
Symbol 3562 MovieClip Frame 725
_root.timeleft = 23.8;
Symbol 3562 MovieClip Frame 727
_root.timeleft = 23.7;
Symbol 3562 MovieClip Frame 729
_root.timeleft = 23.6;
Symbol 3562 MovieClip Frame 731
_root.timeleft = 23.5;
Symbol 3562 MovieClip Frame 733
_root.timeleft = 23.4;
Symbol 3562 MovieClip Frame 735
_root.timeleft = 23.3;
Symbol 3562 MovieClip Frame 737
_root.timeleft = 23.2;
Symbol 3562 MovieClip Frame 739
_root.timeleft = 23.1;
Symbol 3562 MovieClip Frame 741
_root.timeleft = 23;
Symbol 3562 MovieClip Frame 743
_root.timeleft = 22.9;
Symbol 3562 MovieClip Frame 745
_root.timeleft = 22.8;
Symbol 3562 MovieClip Frame 747
_root.timeleft = 22.7;
Symbol 3562 MovieClip Frame 749
_root.timeleft = 22.6;
Symbol 3562 MovieClip Frame 751
_root.timeleft = 22.5;
Symbol 3562 MovieClip Frame 753
_root.timeleft = 22.4;
Symbol 3562 MovieClip Frame 755
_root.timeleft = 22.3;
Symbol 3562 MovieClip Frame 757
_root.timeleft = 22.2;
Symbol 3562 MovieClip Frame 759
_root.timeleft = 22.1;
Symbol 3562 MovieClip Frame 761
_root.timeleft = 22;
Symbol 3562 MovieClip Frame 763
_root.timeleft = 21.9;
Symbol 3562 MovieClip Frame 765
_root.timeleft = 21.8;
Symbol 3562 MovieClip Frame 767
_root.timeleft = 21.7;
Symbol 3562 MovieClip Frame 769
_root.timeleft = 21.6;
Symbol 3562 MovieClip Frame 771
_root.timeleft = 21.5;
Symbol 3562 MovieClip Frame 773
_root.timeleft = 21.4;
Symbol 3562 MovieClip Frame 775
_root.timeleft = 21.3;
Symbol 3562 MovieClip Frame 777
_root.timeleft = 21.2;
Symbol 3562 MovieClip Frame 779
_root.timeleft = 21.1;
Symbol 3562 MovieClip Frame 781
_root.timeleft = 21;
Symbol 3562 MovieClip Frame 783
_root.timeleft = 20.9;
Symbol 3562 MovieClip Frame 785
_root.timeleft = 20.8;
Symbol 3562 MovieClip Frame 787
_root.timeleft = 20.7;
Symbol 3562 MovieClip Frame 789
_root.timeleft = 20.6;
Symbol 3562 MovieClip Frame 791
_root.timeleft = 20.5;
Symbol 3562 MovieClip Frame 793
_root.timeleft = 20.4;
Symbol 3562 MovieClip Frame 795
_root.timeleft = 20.3;
Symbol 3562 MovieClip Frame 797
_root.timeleft = 20.2;
Symbol 3562 MovieClip Frame 799
_root.timeleft = 20.1;
Symbol 3562 MovieClip Frame 801
_root.timeleft = 20;
Symbol 3562 MovieClip Frame 803
_root.timeleft = 19.9;
Symbol 3562 MovieClip Frame 805
_root.timeleft = 19.8;
Symbol 3562 MovieClip Frame 807
_root.timeleft = 19.7;
Symbol 3562 MovieClip Frame 809
_root.timeleft = 19.6;
Symbol 3562 MovieClip Frame 811
_root.timeleft = 19.5;
Symbol 3562 MovieClip Frame 813
_root.timeleft = 19.4;
Symbol 3562 MovieClip Frame 815
_root.timeleft = 19.3;
Symbol 3562 MovieClip Frame 817
_root.timeleft = 19.2;
Symbol 3562 MovieClip Frame 819
_root.timeleft = 19.1;
Symbol 3562 MovieClip Frame 821
_root.timeleft = 19;
Symbol 3562 MovieClip Frame 823
_root.timeleft = 18.9;
Symbol 3562 MovieClip Frame 825
_root.timeleft = 18.8;
Symbol 3562 MovieClip Frame 827
_root.timeleft = 18.7;
Symbol 3562 MovieClip Frame 829
_root.timeleft = 18.6;
Symbol 3562 MovieClip Frame 831
_root.timeleft = 18.5;
Symbol 3562 MovieClip Frame 833
_root.timeleft = 18.4;
Symbol 3562 MovieClip Frame 835
_root.timeleft = 18.3;
Symbol 3562 MovieClip Frame 837
_root.timeleft = 18.2;
Symbol 3562 MovieClip Frame 839
_root.timeleft = 18.1;
Symbol 3562 MovieClip Frame 841
_root.timeleft = 18;
Symbol 3562 MovieClip Frame 843
_root.timeleft = 17.9;
Symbol 3562 MovieClip Frame 845
_root.timeleft = 17.8;
Symbol 3562 MovieClip Frame 847
_root.timeleft = 17.7;
Symbol 3562 MovieClip Frame 849
_root.timeleft = 17.6;
Symbol 3562 MovieClip Frame 851
_root.timeleft = 17.5;
Symbol 3562 MovieClip Frame 853
_root.timeleft = 17.4;
Symbol 3562 MovieClip Frame 855
_root.timeleft = 17.3;
Symbol 3562 MovieClip Frame 857
_root.timeleft = 17.2;
Symbol 3562 MovieClip Frame 859
_root.timeleft = 17.1;
Symbol 3562 MovieClip Frame 861
_root.timeleft = 17;
Symbol 3562 MovieClip Frame 863
_root.timeleft = 16.9;
Symbol 3562 MovieClip Frame 865
_root.timeleft = 16.8;
Symbol 3562 MovieClip Frame 867
_root.timeleft = 16.7;
Symbol 3562 MovieClip Frame 869
_root.timeleft = 16.6;
Symbol 3562 MovieClip Frame 871
_root.timeleft = 16.5;
Symbol 3562 MovieClip Frame 873
_root.timeleft = 16.4;
Symbol 3562 MovieClip Frame 875
_root.timeleft = 16.3;
Symbol 3562 MovieClip Frame 877
_root.timeleft = 16.2;
Symbol 3562 MovieClip Frame 879
_root.timeleft = 16.1;
Symbol 3562 MovieClip Frame 881
_root.timeleft = 16;
Symbol 3562 MovieClip Frame 883
_root.timeleft = 15.9;
Symbol 3562 MovieClip Frame 885
_root.timeleft = 15.8;
Symbol 3562 MovieClip Frame 887
_root.timeleft = 15.7;
Symbol 3562 MovieClip Frame 889
_root.timeleft = 15.6;
Symbol 3562 MovieClip Frame 891
_root.timeleft = 15.5;
Symbol 3562 MovieClip Frame 893
_root.timeleft = 15.4;
Symbol 3562 MovieClip Frame 895
_root.timeleft = 15.3;
Symbol 3562 MovieClip Frame 897
_root.timeleft = 15.2;
Symbol 3562 MovieClip Frame 899
_root.timeleft = 15.1;
Symbol 3562 MovieClip Frame 901
_root.timeleft = 15;
Symbol 3562 MovieClip Frame 903
_root.timeleft = 14.9;
Symbol 3562 MovieClip Frame 905
_root.timeleft = 14.8;
Symbol 3562 MovieClip Frame 907
_root.timeleft = 14.7;
Symbol 3562 MovieClip Frame 909
_root.timeleft = 14.6;
Symbol 3562 MovieClip Frame 911
_root.timeleft = 14.5;
Symbol 3562 MovieClip Frame 913
_root.timeleft = 14.4;
Symbol 3562 MovieClip Frame 915
_root.timeleft = 14.3;
Symbol 3562 MovieClip Frame 917
_root.timeleft = 14.2;
Symbol 3562 MovieClip Frame 919
_root.timeleft = 14.1;
Symbol 3562 MovieClip Frame 921
_root.timeleft = 14;
Symbol 3562 MovieClip Frame 923
_root.timeleft = 13.9;
Symbol 3562 MovieClip Frame 925
_root.timeleft = 13.8;
Symbol 3562 MovieClip Frame 927
_root.timeleft = 13.7;
Symbol 3562 MovieClip Frame 929
_root.timeleft = 13.6;
Symbol 3562 MovieClip Frame 931
_root.timeleft = 13.5;
Symbol 3562 MovieClip Frame 933
_root.timeleft = 13.4;
Symbol 3562 MovieClip Frame 935
_root.timeleft = 13.3;
Symbol 3562 MovieClip Frame 937
_root.timeleft = 13.2;
Symbol 3562 MovieClip Frame 939
_root.timeleft = 13.1;
Symbol 3562 MovieClip Frame 941
_root.timeleft = 13;
Symbol 3562 MovieClip Frame 943
_root.timeleft = 12.9;
Symbol 3562 MovieClip Frame 945
_root.timeleft = 12.8;
Symbol 3562 MovieClip Frame 947
_root.timeleft = 12.7;
Symbol 3562 MovieClip Frame 949
_root.timeleft = 12.6;
Symbol 3562 MovieClip Frame 951
_root.timeleft = 12.5;
Symbol 3562 MovieClip Frame 953
_root.timeleft = 12.4;
Symbol 3562 MovieClip Frame 955
_root.timeleft = 12.3;
Symbol 3562 MovieClip Frame 957
_root.timeleft = 12.2;
Symbol 3562 MovieClip Frame 959
_root.timeleft = 12.1;
Symbol 3562 MovieClip Frame 961
_root.timeleft = 12;
Symbol 3562 MovieClip Frame 963
_root.timeleft = 11.9;
Symbol 3562 MovieClip Frame 965
_root.timeleft = 11.8;
Symbol 3562 MovieClip Frame 967
_root.timeleft = 11.7;
Symbol 3562 MovieClip Frame 969
_root.timeleft = 11.6;
Symbol 3562 MovieClip Frame 971
_root.timeleft = 11.5;
Symbol 3562 MovieClip Frame 973
_root.timeleft = 11.4;
Symbol 3562 MovieClip Frame 975
_root.timeleft = 11.3;
Symbol 3562 MovieClip Frame 977
_root.timeleft = 11.2;
Symbol 3562 MovieClip Frame 979
_root.timeleft = 11.1;
Symbol 3562 MovieClip Frame 981
_root.timeleft = 11;
Symbol 3562 MovieClip Frame 983
_root.timeleft = 10.9;
Symbol 3562 MovieClip Frame 985
_root.timeleft = 10.8;
Symbol 3562 MovieClip Frame 987
_root.timeleft = 10.7;
Symbol 3562 MovieClip Frame 989
_root.timeleft = 10.6;
Symbol 3562 MovieClip Frame 991
_root.timeleft = 10.5;
Symbol 3562 MovieClip Frame 993
_root.timeleft = 10.4;
Symbol 3562 MovieClip Frame 995
_root.timeleft = 10.3;
Symbol 3562 MovieClip Frame 997
_root.timeleft = 10.2;
Symbol 3562 MovieClip Frame 999
_root.timeleft = 10.1;
Symbol 3562 MovieClip Frame 1001
_root.timeleft = 10;
Symbol 3562 MovieClip Frame 1003
_root.timeleft = 9.9;
Symbol 3562 MovieClip Frame 1005
_root.timeleft = 9.8;
Symbol 3562 MovieClip Frame 1007
_root.timeleft = 9.7;
Symbol 3562 MovieClip Frame 1009
_root.timeleft = 9.6;
Symbol 3562 MovieClip Frame 1011
_root.timeleft = 9.5;
Symbol 3562 MovieClip Frame 1013
_root.timeleft = 9.4;
Symbol 3562 MovieClip Frame 1015
_root.timeleft = 9.3;
Symbol 3562 MovieClip Frame 1017
_root.timeleft = 9.2;
Symbol 3562 MovieClip Frame 1019
_root.timeleft = 9.1;
Symbol 3562 MovieClip Frame 1021
_root.timeleft = 9;
Symbol 3562 MovieClip Frame 1023
_root.timeleft = 8.9;
Symbol 3562 MovieClip Frame 1025
_root.timeleft = 8.8;
Symbol 3562 MovieClip Frame 1027
_root.timeleft = 8.7;
Symbol 3562 MovieClip Frame 1029
_root.timeleft = 8.6;
Symbol 3562 MovieClip Frame 1031
_root.timeleft = 8.5;
Symbol 3562 MovieClip Frame 1033
_root.timeleft = 8.4;
Symbol 3562 MovieClip Frame 1035
_root.timeleft = 8.3;
Symbol 3562 MovieClip Frame 1037
_root.timeleft = 8.2;
Symbol 3562 MovieClip Frame 1039
_root.timeleft = 8.1;
Symbol 3562 MovieClip Frame 1041
_root.timeleft = 8;
Symbol 3562 MovieClip Frame 1043
_root.timeleft = 7.9;
Symbol 3562 MovieClip Frame 1045
_root.timeleft = 7.8;
Symbol 3562 MovieClip Frame 1047
_root.timeleft = 7.7;
Symbol 3562 MovieClip Frame 1049
_root.timeleft = 7.6;
Symbol 3562 MovieClip Frame 1051
_root.timeleft = 7.5;
Symbol 3562 MovieClip Frame 1053
_root.timeleft = 7.4;
Symbol 3562 MovieClip Frame 1055
_root.timeleft = 7.3;
Symbol 3562 MovieClip Frame 1057
_root.timeleft = 7.2;
Symbol 3562 MovieClip Frame 1059
_root.timeleft = 7.1;
Symbol 3562 MovieClip Frame 1061
_root.timeleft = 7;
Symbol 3562 MovieClip Frame 1063
_root.timeleft = 6.9;
Symbol 3562 MovieClip Frame 1065
_root.timeleft = 6.8;
Symbol 3562 MovieClip Frame 1067
_root.timeleft = 6.7;
Symbol 3562 MovieClip Frame 1069
_root.timeleft = 6.6;
Symbol 3562 MovieClip Frame 1071
_root.timeleft = 6.5;
Symbol 3562 MovieClip Frame 1073
_root.timeleft = 6.4;
Symbol 3562 MovieClip Frame 1075
_root.timeleft = 6.3;
Symbol 3562 MovieClip Frame 1077
_root.timeleft = 6.2;
Symbol 3562 MovieClip Frame 1079
_root.timeleft = 6.1;
Symbol 3562 MovieClip Frame 1081
_root.timeleft = 6;
Symbol 3562 MovieClip Frame 1083
_root.timeleft = 5.9;
Symbol 3562 MovieClip Frame 1085
_root.timeleft = 5.8;
Symbol 3562 MovieClip Frame 1087
_root.timeleft = 5.7;
Symbol 3562 MovieClip Frame 1089
_root.timeleft = 5.6;
Symbol 3562 MovieClip Frame 1091
_root.timeleft = 5.5;
Symbol 3562 MovieClip Frame 1093
_root.timeleft = 5.4;
Symbol 3562 MovieClip Frame 1095
_root.timeleft = 5.3;
Symbol 3562 MovieClip Frame 1097
_root.timeleft = 5.2;
Symbol 3562 MovieClip Frame 1099
_root.timeleft = 5.1;
Symbol 3562 MovieClip Frame 1101
_root.timeleft = 5;
Symbol 3562 MovieClip Frame 1103
_root.timeleft = 4.9;
Symbol 3562 MovieClip Frame 1105
_root.timeleft = 4.8;
Symbol 3562 MovieClip Frame 1107
_root.timeleft = 4.7;
Symbol 3562 MovieClip Frame 1109
_root.timeleft = 4.6;
Symbol 3562 MovieClip Frame 1111
_root.timeleft = 4.5;
Symbol 3562 MovieClip Frame 1113
_root.timeleft = 4.4;
Symbol 3562 MovieClip Frame 1115
_root.timeleft = 4.3;
Symbol 3562 MovieClip Frame 1117
_root.timeleft = 4.2;
Symbol 3562 MovieClip Frame 1119
_root.timeleft = 4.1;
Symbol 3562 MovieClip Frame 1121
_root.timeleft = 4;
Symbol 3562 MovieClip Frame 1123
_root.timeleft = 3.9;
Symbol 3562 MovieClip Frame 1125
_root.timeleft = 3.8;
Symbol 3562 MovieClip Frame 1127
_root.timeleft = 3.7;
Symbol 3562 MovieClip Frame 1129
_root.timeleft = 3.6;
Symbol 3562 MovieClip Frame 1131
_root.timeleft = 3.5;
Symbol 3562 MovieClip Frame 1133
_root.timeleft = 3.4;
Symbol 3562 MovieClip Frame 1135
_root.timeleft = 3.3;
Symbol 3562 MovieClip Frame 1137
_root.timeleft = 3.2;
Symbol 3562 MovieClip Frame 1139
_root.timeleft = 3.1;
Symbol 3562 MovieClip Frame 1141
_root.timeleft = 3;
Symbol 3562 MovieClip Frame 1143
_root.timeleft = 2.9;
Symbol 3562 MovieClip Frame 1145
_root.timeleft = 2.8;
Symbol 3562 MovieClip Frame 1147
_root.timeleft = 2.7;
Symbol 3562 MovieClip Frame 1149
_root.timeleft = 2.6;
Symbol 3562 MovieClip Frame 1151
_root.timeleft = 2.5;
Symbol 3562 MovieClip Frame 1153
_root.timeleft = 2.4;
Symbol 3562 MovieClip Frame 1155
_root.timeleft = 2.3;
Symbol 3562 MovieClip Frame 1157
_root.timeleft = 2.2;
Symbol 3562 MovieClip Frame 1159
_root.timeleft = 2.1;
Symbol 3562 MovieClip Frame 1161
_root.timeleft = 2;
Symbol 3562 MovieClip Frame 1163
_root.timeleft = 1.9;
Symbol 3562 MovieClip Frame 1165
_root.timeleft = 1.8;
Symbol 3562 MovieClip Frame 1167
_root.timeleft = 1.7;
Symbol 3562 MovieClip Frame 1169
_root.timeleft = 1.6;
Symbol 3562 MovieClip Frame 1171
_root.timeleft = 1.5;
Symbol 3562 MovieClip Frame 1173
_root.timeleft = 1.4;
Symbol 3562 MovieClip Frame 1175
_root.timeleft = 1.3;
Symbol 3562 MovieClip Frame 1177
_root.timeleft = 1.2;
Symbol 3562 MovieClip Frame 1179
_root.timeleft = 1.1;
Symbol 3562 MovieClip Frame 1181
_root.timeleft = 1;
Symbol 3562 MovieClip Frame 1183
_root.timeleft = 0.9;
Symbol 3562 MovieClip Frame 1185
_root.timeleft = 0.8;
Symbol 3562 MovieClip Frame 1187
_root.timeleft = 0.7;
Symbol 3562 MovieClip Frame 1189
_root.timeleft = 0.6;
Symbol 3562 MovieClip Frame 1191
_root.timeleft = 0.5;
Symbol 3562 MovieClip Frame 1193
_root.timeleft = 0.4;
Symbol 3562 MovieClip Frame 1195
_root.timeleft = 0.3;
Symbol 3562 MovieClip Frame 1197
_root.timeleft = 0.2;
Symbol 3562 MovieClip Frame 1199
_root.timeleft = 0.1;
Symbol 3562 MovieClip Frame 1200
_root.dead = false;
_root.timeleft = 0;
_root.terminator.gotoAndPlay("appear");
stop();
Symbol 3565 MovieClip Frame 1
stop();
Symbol 3565 MovieClip Frame 2
if (_root.winstarted == false) {
stopAllSounds();
_root.failstarted = true;
} else if (_root.winstarted == true) {
stop();
}
Symbol 3565 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
Symbol 3565 MovieClip Frame 10
stop();
_root.gotoAndPlay("missionFailed");
Symbol 3568 MovieClip Frame 1
stop();
Symbol 3568 MovieClip Frame 2
if (_root.failstarted == false) {
stopAllSounds();
_root.winstarted = true;
} else if (_root.failstarted == true) {
stop();
}
Symbol 3568 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
Symbol 3568 MovieClip Frame 10
stop();
_root.gotoAndPlay("missionAccomplished");
Symbol 3582 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 3601 MovieClip Frame 1
stop();
Symbol 3601 MovieClip Frame 18
stop();
Symbol 3606 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3606 MovieClip Frame 2
stop();
Symbol 3615 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3615 MovieClip Frame 2
stop();
Symbol 3623 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 3623 MovieClip Frame 1
/* no clip actions */
Symbol 3638 MovieClip Frame 1
stop();
Symbol 3638 MovieClip Frame 56
stop();
Symbol 3640 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3640 MovieClip Frame 2
stop();
Symbol 3646 MovieClip Frame 1
stop();
Symbol 3651 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3651 MovieClip Frame 2
stop();
Symbol 3657 MovieClip Frame 38
gotoAndPlay ("loop");
Symbol 3659 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 3659 MovieClip Frame 1
/* no clip actions */
Symbol 3666 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3666 MovieClip Frame 2
stop();
Symbol 3667 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3667 MovieClip Frame 2
stop();
shooter1.onEnterFrame = function () {
shootRadians = Math.atan2(_root.orb._y - (_root.stuff._y + _root.stuff.sh1._y), _root.orb._x - (_root.stuff._x + _root.stuff.sh1._x));
shootDegrees = Math.round((shootRadians * 180) / Math.PI);
if ((shootDegrees < 160) && (shootDegrees > 20)) {
this._rotation = (((-shootDegrees) * Math.PI) / 2) + 135;
} else {
this._rotation = shootDegrees + 90;
}
};
Symbol 3669 MovieClip Frame 3
stop();
Symbol 3674 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 3674 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1209 MovieClip "fix1" in Symbol 3674 MovieClip Frame 1
/* no clip actions */
Symbol 3715 MovieClip Frame 1
stop();
Symbol 3715 MovieClip Frame 25
gotoAndPlay ("normal");
Symbol 3715 MovieClip Frame 26
play();
Symbol 3715 MovieClip Frame 33
_root.success.gotoAndPlay("appear");
stop();
Symbol 3715 MovieClip Frame 34
_root.success.gotoAndPlay("appear");
stop();
Symbol 3762 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 3778 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3778 MovieClip Frame 2
stop();
Symbol 3785 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3785 MovieClip Frame 2
stop();
Symbol 3810 MovieClip Frame 1
stop();
Symbol 3810 MovieClip Frame 56
stop();
Symbol 3818 MovieClip Frame 1
stop();
Symbol 3818 MovieClip Frame 19
stop();
Symbol 3822 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 3830 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 3839 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3839 MovieClip Frame 2
stop();
Symbol 3855 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3855 MovieClip Frame 2
stop();
Symbol 3870 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3870 MovieClip Frame 2
stop();
Symbol 3878 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 3878 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1209 MovieClip "fix1" in Symbol 3878 MovieClip Frame 1
/* no clip actions */
Symbol 3890 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 3890 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion2" in Symbol 3890 MovieClip Frame 1
/* no clip actions */
Symbol 3891 MovieClip Frame 14
stop();
Symbol 3892 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
}
};
Symbol 3892 MovieClip Frame 2
stop();
Symbol 3893 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
}
};
Symbol 3893 MovieClip Frame 2
stop();
Symbol 3901 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3901 MovieClip Frame 2
stop();
Symbol 3908 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 3908 MovieClip Frame 2
stop();
Symbol 3943 MovieClip Frame 1
stop();
Symbol 3943 MovieClip Frame 25
gotoAndPlay ("normal");
Symbol 3943 MovieClip Frame 26
play();
Symbol 3943 MovieClip Frame 33
_root.success.gotoAndPlay("appear");
stop();
Symbol 3943 MovieClip Frame 34
_root.success.gotoAndPlay("appear");
stop();
Symbol 3985 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 4025 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4025 MovieClip Frame 2
stop();
Symbol 4034 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4034 MovieClip Frame 2
stop();
Symbol 4054 MovieClip Frame 1
stop();
Symbol 4054 MovieClip Frame 18
stop();
Symbol 4060 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4060 MovieClip Frame 2
stop();
Symbol 4071 MovieClip Frame 1
stop();
Symbol 4071 MovieClip Frame 8
stop();
Symbol 4072 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 4072 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1209 MovieClip "fix1" in Symbol 4072 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion2" in Symbol 4072 MovieClip Frame 1
/* no clip actions */
Symbol 4078 MovieClip Frame 1
stop();
Symbol 4078 MovieClip Frame 18
stop();
Symbol 4082 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4082 MovieClip Frame 2
stop();
Symbol 4108 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4108 MovieClip Frame 2
stop();
Symbol 4110 MovieClip Frame 1
stop();
Symbol 4110 MovieClip Frame 18
stop();
Symbol 4121 MovieClip Frame 1
stop();
Symbol 4121 MovieClip Frame 18
stop();
Symbol 4127 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Symbol 4129 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4129 MovieClip Frame 2
stop();
Symbol 4131 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4131 MovieClip Frame 2
stop();
Symbol 4132 MovieClip Frame 1
stop();
Symbol 4132 MovieClip Frame 18
stop();
Symbol 4175 MovieClip Frame 1
stop();
Symbol 4175 MovieClip Frame 8
stop();
Symbol 4178 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion2" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion3" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion4" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion5" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion6" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion7" in Symbol 4178 MovieClip Frame 1
/* no clip actions */
Symbol 4183 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((((_parent._y + this._y) + (this._height / 2)) > 0) && (((_parent._y + this._y) - (this._height / 2)) < Stage.height)) && (((_parent._x + this._x) + (this._width / 2)) > 0)) && (((_parent._x + this._x) - (this._width / 2)) < Stage.width)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 4183 MovieClip Frame 2
stop();
Symbol 4187 MovieClip Frame 1
stop();
Symbol 4187 MovieClip Frame 25
gotoAndPlay ("normal");
Symbol 4187 MovieClip Frame 26
play();
Symbol 4187 MovieClip Frame 33
_root.success.gotoAndPlay("appear");
stop();
Symbol 4187 MovieClip Frame 34
_root.success.gotoAndPlay("appear");
stop();
Symbol 4195 MovieClip Frame 1
var resetArray = new Array();
resetArray.push(reset1);
resetArray.push(reset2);
resetArray.push(reset3);
resetArray.push(reset4);
resetArray.push(reset5);
resetArray.push(reset6);
resetArray.push(reset7);
resetArray.push(reset8);
resetArray.push(reset9);
resetArray.push(reset10);
var bulletsdownArray = new Array();
bulletsdownArray.push(bulletdown1);
bulletsdownArray.push(bulletdown2);
bulletsdownArray.push(bulletdown3);
bulletsdownArray.push(bulletdown4);
bulletsdownArray.push(bulletdown5);
bulletsdownArray.push(bulletdown6);
bulletsdownArray.push(bulletdown7);
bulletsdownArray.push(bulletdown8);
bulletsdownArray.push(bulletdown9);
bulletsdownArray.push(bulletdown10);
var bulletsupArray = new Array();
bulletsupArray.push(bulletup1);
bulletsupArray.push(bulletup2);
bulletsupArray.push(bulletup3);
bulletsupArray.push(bulletup4);
bulletsupArray.push(bulletup5);
bulletsupArray.push(bulletup6);
bulletsupArray.push(bulletup7);
bulletsupArray.push(bulletup8);
bulletsupArray.push(bulletup9);
bulletsupArray.push(bulletup10);
var fixArray = new Array();
fixArray.push(fix1);
fixArray.push(fix2);
fixArray.push(fix3);
fixArray.push(fix4);
fixArray.push(fix5);
fixArray.push(fix6);
fixArray.push(fix7);
fixArray.push(fix8);
fixArray.push(fix9);
fixArray.push(fix10);
var confusionArray = new Array();
confusionArray.push(confusion1);
confusionArray.push(confusion2);
confusionArray.push(confusion3);
confusionArray.push(confusion4);
confusionArray.push(confusion5);
confusionArray.push(confusion6);
confusionArray.push(confusion7);
confusionArray.push(confusion8);
confusionArray.push(confusion9);
confusionArray.push(confusion10);
var powerupsSmallArray = new Array();
powerupsSmallArray.push(powerups1);
powerupsSmallArray.push(powerups2);
powerupsSmallArray.push(powerups3);
powerupsSmallArray.push(powerups4);
powerupsSmallArray.push(powerups5);
powerupsSmallArray.push(powerups6);
powerupsSmallArray.push(powerups7);
powerupsSmallArray.push(powerups8);
powerupsSmallArray.push(powerups9);
powerupsSmallArray.push(powerups10);
var powerupsMediumArray = new Array();
powerupsMediumArray.push(powerupm1);
powerupsMediumArray.push(powerupm2);
powerupsMediumArray.push(powerupm3);
powerupsMediumArray.push(powerupm4);
powerupsMediumArray.push(powerupm5);
powerupsMediumArray.push(powerupm6);
powerupsMediumArray.push(powerupm7);
powerupsMediumArray.push(powerupm8);
powerupsMediumArray.push(powerupm9);
powerupsMediumArray.push(powerupm10);
var powerupsLargeArray = new Array();
powerupsLargeArray.push(powerupl1);
powerupsLargeArray.push(powerupl2);
powerupsLargeArray.push(powerupl3);
powerupsLargeArray.push(powerupl4);
powerupsLargeArray.push(powerupl5);
powerupsLargeArray.push(powerupl6);
powerupsLargeArray.push(powerupl7);
powerupsLargeArray.push(powerupl8);
powerupsLargeArray.push(powerupl9);
powerupsLargeArray.push(powerupl10);
var speedupsArray = new Array();
speedupsArray.push(speedup1);
speedupsArray.push(speedup2);
speedupsArray.push(speedup3);
speedupsArray.push(speedup4);
speedupsArray.push(speedup5);
speedupsArray.push(speedup6);
speedupsArray.push(speedup7);
speedupsArray.push(speedup8);
speedupsArray.push(speedup9);
speedupsArray.push(speedup10);
var speeddownsArray = new Array();
speeddownsArray.push(speedDown1);
speeddownsArray.push(speedDown2);
speeddownsArray.push(speedDown3);
speeddownsArray.push(speedDown4);
speeddownsArray.push(speedDown5);
speeddownsArray.push(speedDown6);
speeddownsArray.push(speedDown7);
speeddownsArray.push(speedDown8);
speeddownsArray.push(speedDown9);
speeddownsArray.push(speedDown10);
Instance of Symbol 1208 MovieClip "confusion1" in Symbol 4195 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1208 MovieClip "confusion2" in Symbol 4195 MovieClip Frame 1
/* no clip actions */
Symbol 4200 MovieClip Frame 1
stop();
Symbol 4200 MovieClip Frame 8
stop();
Symbol 4263 MovieClip Frame 1
stop();
Symbol 4263 MovieClip Frame 11
gotoAndPlay ("normal");
Symbol 4263 MovieClip Frame 12
play();
Symbol 4263 MovieClip Frame 19
_root.success.gotoAndPlay("appear");
stop();
Symbol 4263 MovieClip Frame 20
_root.success.gotoAndPlay("appear");
stop();
Symbol 4388 MovieClip Frame 194
stop();
Symbol 4389 MovieClip Frame 1
stop();
Symbol 4441 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4441 MovieClip Frame 49
stop();
Symbol 4492 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4492 MovieClip Frame 49
stop();
Symbol 4543 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4543 MovieClip Frame 49
stop();
Symbol 4594 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4594 MovieClip Frame 49
stop();
Instance of Symbol 4441 MovieClip "key7get" in Symbol 4595 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4492 MovieClip "key19get" in Symbol 4595 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4543 MovieClip "key1get" in Symbol 4595 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4594 MovieClip "key13get" in Symbol 4595 MovieClip Frame 1
/* no clip actions */
Symbol 4646 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4646 MovieClip Frame 49
stop();
Symbol 4697 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4697 MovieClip Frame 49
stop();
Symbol 4700 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4700 MovieClip Frame 49
stop();
Symbol 4751 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4751 MovieClip Frame 49
stop();
Symbol 4802 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4802 MovieClip Frame 49
stop();
Symbol 4853 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4853 MovieClip Frame 49
stop();
Symbol 4904 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4904 MovieClip Frame 49
stop();
Symbol 4955 MovieClip Frame 48
gotoAndPlay (1);
Symbol 4955 MovieClip Frame 49
stop();
Symbol 5006 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5006 MovieClip Frame 49
stop();
Symbol 5057 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5057 MovieClip Frame 49
stop();
Symbol 5108 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5108 MovieClip Frame 49
stop();
Symbol 5159 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5159 MovieClip Frame 49
stop();
Symbol 5210 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5210 MovieClip Frame 49
stop();
Symbol 5261 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5261 MovieClip Frame 49
stop();
Symbol 5312 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5312 MovieClip Frame 49
stop();
Symbol 5363 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5363 MovieClip Frame 49
stop();
Symbol 5414 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5414 MovieClip Frame 49
stop();
Symbol 5465 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5465 MovieClip Frame 49
stop();
Symbol 5516 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5516 MovieClip Frame 49
stop();
Symbol 5567 MovieClip Frame 48
gotoAndPlay (1);
Symbol 5567 MovieClip Frame 49
stop();
Instance of Symbol 4543 MovieClip "key1get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4492 MovieClip "key19get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4594 MovieClip "key13get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4441 MovieClip "key7get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4646 MovieClip "key2get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4697 MovieClip "key3get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4700 MovieClip "key4get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4751 MovieClip "key5get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4802 MovieClip "key6get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4853 MovieClip "key8get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4904 MovieClip "key9get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 4955 MovieClip "key10get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5006 MovieClip "key11get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5057 MovieClip "key12get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5108 MovieClip "key14get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5159 MovieClip "key15get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5210 MovieClip "key16get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5261 MovieClip "key17get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5312 MovieClip "key18get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5363 MovieClip "key20get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5414 MovieClip "key21get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5465 MovieClip "key22get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5516 MovieClip "key23get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 5567 MovieClip "key24get" in Symbol 5568 MovieClip Frame 1
/* no clip actions */
Symbol 5593 MovieClip Frame 1
_root.timeleft = 60;
Symbol 5593 MovieClip Frame 3
_root.timeleft = 59.9;
Symbol 5593 MovieClip Frame 5
_root.timeleft = 59.8;
Symbol 5593 MovieClip Frame 7
_root.timeleft = 59.7;
Symbol 5593 MovieClip Frame 9
_root.timeleft = 59.6;
Symbol 5593 MovieClip Frame 11
_root.timeleft = 59.5;
Symbol 5593 MovieClip Frame 13
_root.timeleft = 59.4;
Symbol 5593 MovieClip Frame 15
_root.timeleft = 59.3;
Symbol 5593 MovieClip Frame 17
_root.timeleft = 59.2;
Symbol 5593 MovieClip Frame 19
_root.timeleft = 59.1;
Symbol 5593 MovieClip Frame 21
_root.timeleft = 59;
Symbol 5593 MovieClip Frame 23
_root.timeleft = 58.9;
Symbol 5593 MovieClip Frame 25
_root.timeleft = 58.8;
Symbol 5593 MovieClip Frame 27
_root.timeleft = 58.7;
Symbol 5593 MovieClip Frame 29
_root.timeleft = 58.6;
Symbol 5593 MovieClip Frame 31
_root.timeleft = 58.5;
Symbol 5593 MovieClip Frame 33
_root.timeleft = 58.4;
Symbol 5593 MovieClip Frame 35
_root.timeleft = 58.3;
Symbol 5593 MovieClip Frame 37
_root.timeleft = 58.2;
Symbol 5593 MovieClip Frame 39
_root.timeleft = 58.1;
Symbol 5593 MovieClip Frame 41
_root.timeleft = 58;
Symbol 5593 MovieClip Frame 43
_root.timeleft = 57.9;
Symbol 5593 MovieClip Frame 45
_root.timeleft = 57.8;
Symbol 5593 MovieClip Frame 47
_root.timeleft = 57.7;
Symbol 5593 MovieClip Frame 49
_root.timeleft = 57.6;
Symbol 5593 MovieClip Frame 51
_root.timeleft = 57.5;
Symbol 5593 MovieClip Frame 53
_root.timeleft = 57.4;
Symbol 5593 MovieClip Frame 55
_root.timeleft = 57.3;
Symbol 5593 MovieClip Frame 57
_root.timeleft = 57.2;
Symbol 5593 MovieClip Frame 59
_root.timeleft = 57.1;
Symbol 5593 MovieClip Frame 61
_root.timeleft = 57;
Symbol 5593 MovieClip Frame 63
_root.timeleft = 56.9;
Symbol 5593 MovieClip Frame 65
_root.timeleft = 56.8;
Symbol 5593 MovieClip Frame 67
_root.timeleft = 56.7;
Symbol 5593 MovieClip Frame 69
_root.timeleft = 56.6;
Symbol 5593 MovieClip Frame 71
_root.timeleft = 56.5;
Symbol 5593 MovieClip Frame 73
_root.timeleft = 56.4;
Symbol 5593 MovieClip Frame 75
_root.timeleft = 56.3;
Symbol 5593 MovieClip Frame 77
_root.timeleft = 56.2;
Symbol 5593 MovieClip Frame 79
_root.timeleft = 56.1;
Symbol 5593 MovieClip Frame 81
_root.timeleft = 56;
Symbol 5593 MovieClip Frame 83
_root.timeleft = 55.9;
Symbol 5593 MovieClip Frame 85
_root.timeleft = 55.8;
Symbol 5593 MovieClip Frame 87
_root.timeleft = 55.7;
Symbol 5593 MovieClip Frame 89
_root.timeleft = 55.6;
Symbol 5593 MovieClip Frame 91
_root.timeleft = 55.5;
Symbol 5593 MovieClip Frame 93
_root.timeleft = 55.4;
Symbol 5593 MovieClip Frame 95
_root.timeleft = 55.3;
Symbol 5593 MovieClip Frame 97
_root.timeleft = 55.2;
Symbol 5593 MovieClip Frame 99
_root.timeleft = 55.1;
Symbol 5593 MovieClip Frame 101
_root.timeleft = 55;
Symbol 5593 MovieClip Frame 103
_root.timeleft = 54.9;
Symbol 5593 MovieClip Frame 105
_root.timeleft = 54.8;
Symbol 5593 MovieClip Frame 107
_root.timeleft = 54.7;
Symbol 5593 MovieClip Frame 109
_root.timeleft = 54.6;
Symbol 5593 MovieClip Frame 111
_root.timeleft = 54.5;
Symbol 5593 MovieClip Frame 113
_root.timeleft = 54.4;
Symbol 5593 MovieClip Frame 115
_root.timeleft = 54.3;
Symbol 5593 MovieClip Frame 117
_root.timeleft = 54.2;
Symbol 5593 MovieClip Frame 119
_root.timeleft = 54.1;
Symbol 5593 MovieClip Frame 121
_root.timeleft = 54;
Symbol 5593 MovieClip Frame 123
_root.timeleft = 53.9;
Symbol 5593 MovieClip Frame 125
_root.timeleft = 53.8;
Symbol 5593 MovieClip Frame 127
_root.timeleft = 53.7;
Symbol 5593 MovieClip Frame 129
_root.timeleft = 53.6;
Symbol 5593 MovieClip Frame 131
_root.timeleft = 53.5;
Symbol 5593 MovieClip Frame 133
_root.timeleft = 53.4;
Symbol 5593 MovieClip Frame 135
_root.timeleft = 53.3;
Symbol 5593 MovieClip Frame 137
_root.timeleft = 53.2;
Symbol 5593 MovieClip Frame 139
_root.timeleft = 53.1;
Symbol 5593 MovieClip Frame 141
_root.timeleft = 53;
Symbol 5593 MovieClip Frame 143
_root.timeleft = 52.9;
Symbol 5593 MovieClip Frame 145
_root.timeleft = 52.8;
Symbol 5593 MovieClip Frame 147
_root.timeleft = 52.7;
Symbol 5593 MovieClip Frame 149
_root.timeleft = 52.6;
Symbol 5593 MovieClip Frame 151
_root.timeleft = 52.5;
Symbol 5593 MovieClip Frame 153
_root.timeleft = 52.4;
Symbol 5593 MovieClip Frame 155
_root.timeleft = 52.3;
Symbol 5593 MovieClip Frame 157
_root.timeleft = 52.2;
Symbol 5593 MovieClip Frame 159
_root.timeleft = 52.1;
Symbol 5593 MovieClip Frame 161
_root.timeleft = 52;
Symbol 5593 MovieClip Frame 163
_root.timeleft = 51.9;
Symbol 5593 MovieClip Frame 165
_root.timeleft = 51.8;
Symbol 5593 MovieClip Frame 167
_root.timeleft = 51.7;
Symbol 5593 MovieClip Frame 169
_root.timeleft = 51.6;
Symbol 5593 MovieClip Frame 171
_root.timeleft = 51.5;
Symbol 5593 MovieClip Frame 173
_root.timeleft = 51.4;
Symbol 5593 MovieClip Frame 175
_root.timeleft = 51.3;
Symbol 5593 MovieClip Frame 177
_root.timeleft = 51.2;
Symbol 5593 MovieClip Frame 179
_root.timeleft = 51.1;
Symbol 5593 MovieClip Frame 181
_root.timeleft = 51;
Symbol 5593 MovieClip Frame 183
_root.timeleft = 50.9;
Symbol 5593 MovieClip Frame 185
_root.timeleft = 50.8;
Symbol 5593 MovieClip Frame 187
_root.timeleft = 50.7;
Symbol 5593 MovieClip Frame 189
_root.timeleft = 50.6;
Symbol 5593 MovieClip Frame 191
_root.timeleft = 50.5;
Symbol 5593 MovieClip Frame 193
_root.timeleft = 50.4;
Symbol 5593 MovieClip Frame 195
_root.timeleft = 50.3;
Symbol 5593 MovieClip Frame 197
_root.timeleft = 50.2;
Symbol 5593 MovieClip Frame 199
_root.timeleft = 50.1;
Symbol 5593 MovieClip Frame 201
_root.timeleft = 50;
Symbol 5593 MovieClip Frame 203
_root.timeleft = 49.9;
Symbol 5593 MovieClip Frame 205
_root.timeleft = 49.8;
Symbol 5593 MovieClip Frame 207
_root.timeleft = 49.7;
Symbol 5593 MovieClip Frame 209
_root.timeleft = 49.6;
Symbol 5593 MovieClip Frame 211
_root.timeleft = 49.5;
Symbol 5593 MovieClip Frame 213
_root.timeleft = 49.4;
Symbol 5593 MovieClip Frame 215
_root.timeleft = 49.3;
Symbol 5593 MovieClip Frame 217
_root.timeleft = 49.2;
Symbol 5593 MovieClip Frame 219
_root.timeleft = 49.1;
Symbol 5593 MovieClip Frame 221
_root.timeleft = 49;
Symbol 5593 MovieClip Frame 223
_root.timeleft = 48.9;
Symbol 5593 MovieClip Frame 225
_root.timeleft = 48.8;
Symbol 5593 MovieClip Frame 227
_root.timeleft = 48.7;
Symbol 5593 MovieClip Frame 229
_root.timeleft = 48.6;
Symbol 5593 MovieClip Frame 231
_root.timeleft = 48.5;
Symbol 5593 MovieClip Frame 233
_root.timeleft = 48.4;
Symbol 5593 MovieClip Frame 235
_root.timeleft = 48.3;
Symbol 5593 MovieClip Frame 237
_root.timeleft = 48.2;
Symbol 5593 MovieClip Frame 239
_root.timeleft = 48.1;
Symbol 5593 MovieClip Frame 241
_root.timeleft = 48;
Symbol 5593 MovieClip Frame 243
_root.timeleft = 47.9;
Symbol 5593 MovieClip Frame 245
_root.timeleft = 47.8;
Symbol 5593 MovieClip Frame 247
_root.timeleft = 47.7;
Symbol 5593 MovieClip Frame 249
_root.timeleft = 47.6;
Symbol 5593 MovieClip Frame 251
_root.timeleft = 47.5;
Symbol 5593 MovieClip Frame 253
_root.timeleft = 47.4;
Symbol 5593 MovieClip Frame 255
_root.timeleft = 47.3;
Symbol 5593 MovieClip Frame 257
_root.timeleft = 47.2;
Symbol 5593 MovieClip Frame 259
_root.timeleft = 47.1;
Symbol 5593 MovieClip Frame 261
_root.timeleft = 47;
Symbol 5593 MovieClip Frame 263
_root.timeleft = 46.9;
Symbol 5593 MovieClip Frame 265
_root.timeleft = 46.8;
Symbol 5593 MovieClip Frame 267
_root.timeleft = 46.7;
Symbol 5593 MovieClip Frame 269
_root.timeleft = 46.6;
Symbol 5593 MovieClip Frame 271
_root.timeleft = 46.5;
Symbol 5593 MovieClip Frame 273
_root.timeleft = 46.4;
Symbol 5593 MovieClip Frame 275
_root.timeleft = 46.3;
Symbol 5593 MovieClip Frame 277
_root.timeleft = 46.2;
Symbol 5593 MovieClip Frame 279
_root.timeleft = 46.1;
Symbol 5593 MovieClip Frame 281
_root.timeleft = 46;
Symbol 5593 MovieClip Frame 283
_root.timeleft = 45.9;
Symbol 5593 MovieClip Frame 285
_root.timeleft = 45.8;
Symbol 5593 MovieClip Frame 287
_root.timeleft = 45.7;
Symbol 5593 MovieClip Frame 289
_root.timeleft = 45.6;
Symbol 5593 MovieClip Frame 291
_root.timeleft = 45.5;
Symbol 5593 MovieClip Frame 293
_root.timeleft = 45.4;
Symbol 5593 MovieClip Frame 295
_root.timeleft = 45.3;
Symbol 5593 MovieClip Frame 297
_root.timeleft = 45.2;
Symbol 5593 MovieClip Frame 299
_root.timeleft = 45.1;
Symbol 5593 MovieClip Frame 301
_root.timeleft = 45;
Symbol 5593 MovieClip Frame 303
_root.timeleft = 44.9;
Symbol 5593 MovieClip Frame 305
_root.timeleft = 44.8;
Symbol 5593 MovieClip Frame 307
_root.timeleft = 44.7;
Symbol 5593 MovieClip Frame 309
_root.timeleft = 44.6;
Symbol 5593 MovieClip Frame 311
_root.timeleft = 44.5;
Symbol 5593 MovieClip Frame 313
_root.timeleft = 44.4;
Symbol 5593 MovieClip Frame 315
_root.timeleft = 44.3;
Symbol 5593 MovieClip Frame 317
_root.timeleft = 44.2;
Symbol 5593 MovieClip Frame 319
_root.timeleft = 44.1;
Symbol 5593 MovieClip Frame 321
_root.timeleft = 44;
Symbol 5593 MovieClip Frame 323
_root.timeleft = 43.9;
Symbol 5593 MovieClip Frame 325
_root.timeleft = 43.8;
Symbol 5593 MovieClip Frame 327
_root.timeleft = 43.7;
Symbol 5593 MovieClip Frame 329
_root.timeleft = 43.6;
Symbol 5593 MovieClip Frame 331
_root.timeleft = 43.5;
Symbol 5593 MovieClip Frame 333
_root.timeleft = 43.4;
Symbol 5593 MovieClip Frame 335
_root.timeleft = 43.3;
Symbol 5593 MovieClip Frame 337
_root.timeleft = 43.2;
Symbol 5593 MovieClip Frame 339
_root.timeleft = 43.1;
Symbol 5593 MovieClip Frame 341
_root.timeleft = 43;
Symbol 5593 MovieClip Frame 343
_root.timeleft = 42.9;
Symbol 5593 MovieClip Frame 345
_root.timeleft = 42.8;
Symbol 5593 MovieClip Frame 347
_root.timeleft = 42.7;
Symbol 5593 MovieClip Frame 349
_root.timeleft = 42.6;
Symbol 5593 MovieClip Frame 351
_root.timeleft = 42.5;
Symbol 5593 MovieClip Frame 353
_root.timeleft = 42.4;
Symbol 5593 MovieClip Frame 355
_root.timeleft = 42.3;
Symbol 5593 MovieClip Frame 357
_root.timeleft = 42.2;
Symbol 5593 MovieClip Frame 359
_root.timeleft = 42.1;
Symbol 5593 MovieClip Frame 361
_root.timeleft = 42;
Symbol 5593 MovieClip Frame 363
_root.timeleft = 41.9;
Symbol 5593 MovieClip Frame 365
_root.timeleft = 41.8;
Symbol 5593 MovieClip Frame 367
_root.timeleft = 41.7;
Symbol 5593 MovieClip Frame 369
_root.timeleft = 41.6;
Symbol 5593 MovieClip Frame 371
_root.timeleft = 41.5;
Symbol 5593 MovieClip Frame 373
_root.timeleft = 41.4;
Symbol 5593 MovieClip Frame 375
_root.timeleft = 41.3;
Symbol 5593 MovieClip Frame 377
_root.timeleft = 41.2;
Symbol 5593 MovieClip Frame 379
_root.timeleft = 41.1;
Symbol 5593 MovieClip Frame 381
_root.timeleft = 41;
Symbol 5593 MovieClip Frame 383
_root.timeleft = 40.9;
Symbol 5593 MovieClip Frame 385
_root.timeleft = 40.8;
Symbol 5593 MovieClip Frame 387
_root.timeleft = 40.7;
Symbol 5593 MovieClip Frame 389
_root.timeleft = 40.6;
Symbol 5593 MovieClip Frame 391
_root.timeleft = 40.5;
Symbol 5593 MovieClip Frame 393
_root.timeleft = 40.4;
Symbol 5593 MovieClip Frame 395
_root.timeleft = 40.3;
Symbol 5593 MovieClip Frame 397
_root.timeleft = 40.2;
Symbol 5593 MovieClip Frame 399
_root.timeleft = 40.1;
Symbol 5593 MovieClip Frame 401
_root.timeleft = 40;
Symbol 5593 MovieClip Frame 403
_root.timeleft = 39.9;
Symbol 5593 MovieClip Frame 405
_root.timeleft = 39.8;
Symbol 5593 MovieClip Frame 407
_root.timeleft = 39.7;
Symbol 5593 MovieClip Frame 409
_root.timeleft = 39.6;
Symbol 5593 MovieClip Frame 411
_root.timeleft = 39.5;
Symbol 5593 MovieClip Frame 413
_root.timeleft = 39.4;
Symbol 5593 MovieClip Frame 415
_root.timeleft = 39.3;
Symbol 5593 MovieClip Frame 417
_root.timeleft = 39.2;
Symbol 5593 MovieClip Frame 419
_root.timeleft = 39.1;
Symbol 5593 MovieClip Frame 421
_root.timeleft = 39;
Symbol 5593 MovieClip Frame 423
_root.timeleft = 38.9;
Symbol 5593 MovieClip Frame 425
_root.timeleft = 38.8;
Symbol 5593 MovieClip Frame 427
_root.timeleft = 38.7;
Symbol 5593 MovieClip Frame 429
_root.timeleft = 38.6;
Symbol 5593 MovieClip Frame 431
_root.timeleft = 38.5;
Symbol 5593 MovieClip Frame 433
_root.timeleft = 38.4;
Symbol 5593 MovieClip Frame 435
_root.timeleft = 38.3;
Symbol 5593 MovieClip Frame 437
_root.timeleft = 38.2;
Symbol 5593 MovieClip Frame 439
_root.timeleft = 38.1;
Symbol 5593 MovieClip Frame 441
_root.timeleft = 38;
Symbol 5593 MovieClip Frame 443
_root.timeleft = 37.9;
Symbol 5593 MovieClip Frame 445
_root.timeleft = 37.8;
Symbol 5593 MovieClip Frame 447
_root.timeleft = 37.7;
Symbol 5593 MovieClip Frame 449
_root.timeleft = 37.6;
Symbol 5593 MovieClip Frame 451
_root.timeleft = 37.5;
Symbol 5593 MovieClip Frame 453
_root.timeleft = 37.4;
Symbol 5593 MovieClip Frame 455
_root.timeleft = 37.3;
Symbol 5593 MovieClip Frame 457
_root.timeleft = 37.2;
Symbol 5593 MovieClip Frame 459
_root.timeleft = 37.1;
Symbol 5593 MovieClip Frame 461
_root.timeleft = 37;
Symbol 5593 MovieClip Frame 463
_root.timeleft = 36.9;
Symbol 5593 MovieClip Frame 465
_root.timeleft = 36.8;
Symbol 5593 MovieClip Frame 467
_root.timeleft = 36.7;
Symbol 5593 MovieClip Frame 469
_root.timeleft = 36.6;
Symbol 5593 MovieClip Frame 471
_root.timeleft = 36.5;
Symbol 5593 MovieClip Frame 473
_root.timeleft = 36.4;
Symbol 5593 MovieClip Frame 475
_root.timeleft = 36.3;
Symbol 5593 MovieClip Frame 477
_root.timeleft = 36.2;
Symbol 5593 MovieClip Frame 479
_root.timeleft = 36.1;
Symbol 5593 MovieClip Frame 481
_root.timeleft = 36;
Symbol 5593 MovieClip Frame 483
_root.timeleft = 35.9;
Symbol 5593 MovieClip Frame 485
_root.timeleft = 35.8;
Symbol 5593 MovieClip Frame 487
_root.timeleft = 35.7;
Symbol 5593 MovieClip Frame 489
_root.timeleft = 35.6;
Symbol 5593 MovieClip Frame 491
_root.timeleft = 35.5;
Symbol 5593 MovieClip Frame 493
_root.timeleft = 35.4;
Symbol 5593 MovieClip Frame 495
_root.timeleft = 35.3;
Symbol 5593 MovieClip Frame 497
_root.timeleft = 35.2;
Symbol 5593 MovieClip Frame 499
_root.timeleft = 35.1;
Symbol 5593 MovieClip Frame 501
_root.timeleft = 35;
Symbol 5593 MovieClip Frame 503
_root.timeleft = 34.9;
Symbol 5593 MovieClip Frame 505
_root.timeleft = 34.8;
Symbol 5593 MovieClip Frame 507
_root.timeleft = 34.7;
Symbol 5593 MovieClip Frame 509
_root.timeleft = 34.6;
Symbol 5593 MovieClip Frame 511
_root.timeleft = 34.5;
Symbol 5593 MovieClip Frame 513
_root.timeleft = 34.4;
Symbol 5593 MovieClip Frame 515
_root.timeleft = 34.3;
Symbol 5593 MovieClip Frame 517
_root.timeleft = 34.2;
Symbol 5593 MovieClip Frame 519
_root.timeleft = 34.1;
Symbol 5593 MovieClip Frame 521
_root.timeleft = 34;
Symbol 5593 MovieClip Frame 523
_root.timeleft = 33.9;
Symbol 5593 MovieClip Frame 525
_root.timeleft = 33.8;
Symbol 5593 MovieClip Frame 527
_root.timeleft = 33.7;
Symbol 5593 MovieClip Frame 529
_root.timeleft = 33.6;
Symbol 5593 MovieClip Frame 531
_root.timeleft = 33.5;
Symbol 5593 MovieClip Frame 533
_root.timeleft = 33.4;
Symbol 5593 MovieClip Frame 535
_root.timeleft = 33.3;
Symbol 5593 MovieClip Frame 537
_root.timeleft = 33.2;
Symbol 5593 MovieClip Frame 539
_root.timeleft = 33.1;
Symbol 5593 MovieClip Frame 541
_root.timeleft = 33;
Symbol 5593 MovieClip Frame 543
_root.timeleft = 32.9;
Symbol 5593 MovieClip Frame 545
_root.timeleft = 32.8;
Symbol 5593 MovieClip Frame 547
_root.timeleft = 32.7;
Symbol 5593 MovieClip Frame 549
_root.timeleft = 32.6;
Symbol 5593 MovieClip Frame 551
_root.timeleft = 32.5;
Symbol 5593 MovieClip Frame 553
_root.timeleft = 32.4;
Symbol 5593 MovieClip Frame 555
_root.timeleft = 32.3;
Symbol 5593 MovieClip Frame 557
_root.timeleft = 32.2;
Symbol 5593 MovieClip Frame 559
_root.timeleft = 32.1;
Symbol 5593 MovieClip Frame 561
_root.timeleft = 32;
Symbol 5593 MovieClip Frame 563
_root.timeleft = 31.9;
Symbol 5593 MovieClip Frame 565
_root.timeleft = 31.8;
Symbol 5593 MovieClip Frame 567
_root.timeleft = 31.7;
Symbol 5593 MovieClip Frame 569
_root.timeleft = 31.6;
Symbol 5593 MovieClip Frame 571
_root.timeleft = 31.5;
Symbol 5593 MovieClip Frame 573
_root.timeleft = 31.4;
Symbol 5593 MovieClip Frame 575
_root.timeleft = 31.3;
Symbol 5593 MovieClip Frame 577
_root.timeleft = 31.2;
Symbol 5593 MovieClip Frame 579
_root.timeleft = 31.1;
Symbol 5593 MovieClip Frame 581
_root.timeleft = 31;
Symbol 5593 MovieClip Frame 583
_root.timeleft = 30.9;
Symbol 5593 MovieClip Frame 585
_root.timeleft = 30.8;
Symbol 5593 MovieClip Frame 587
_root.timeleft = 30.7;
Symbol 5593 MovieClip Frame 589
_root.timeleft = 30.6;
Symbol 5593 MovieClip Frame 591
_root.timeleft = 30.5;
Symbol 5593 MovieClip Frame 593
_root.timeleft = 30.4;
Symbol 5593 MovieClip Frame 595
_root.timeleft = 30.3;
Symbol 5593 MovieClip Frame 597
_root.timeleft = 30.2;
Symbol 5593 MovieClip Frame 599
_root.timeleft = 30.1;
Symbol 5593 MovieClip Frame 601
_root.timeleft = 30;
Symbol 5593 MovieClip Frame 603
_root.timeleft = 29.9;
Symbol 5593 MovieClip Frame 605
_root.timeleft = 29.8;
Symbol 5593 MovieClip Frame 607
_root.timeleft = 29.7;
Symbol 5593 MovieClip Frame 609
_root.timeleft = 29.6;
Symbol 5593 MovieClip Frame 611
_root.timeleft = 29.5;
Symbol 5593 MovieClip Frame 613
_root.timeleft = 29.4;
Symbol 5593 MovieClip Frame 615
_root.timeleft = 29.3;
Symbol 5593 MovieClip Frame 617
_root.timeleft = 29.2;
Symbol 5593 MovieClip Frame 619
_root.timeleft = 29.1;
Symbol 5593 MovieClip Frame 621
_root.timeleft = 29;
Symbol 5593 MovieClip Frame 623
_root.timeleft = 28.9;
Symbol 5593 MovieClip Frame 625
_root.timeleft = 28.8;
Symbol 5593 MovieClip Frame 627
_root.timeleft = 28.7;
Symbol 5593 MovieClip Frame 629
_root.timeleft = 28.6;
Symbol 5593 MovieClip Frame 631
_root.timeleft = 28.5;
Symbol 5593 MovieClip Frame 633
_root.timeleft = 28.4;
Symbol 5593 MovieClip Frame 635
_root.timeleft = 28.3;
Symbol 5593 MovieClip Frame 637
_root.timeleft = 28.2;
Symbol 5593 MovieClip Frame 639
_root.timeleft = 28.1;
Symbol 5593 MovieClip Frame 641
_root.timeleft = 28;
Symbol 5593 MovieClip Frame 643
_root.timeleft = 27.9;
Symbol 5593 MovieClip Frame 645
_root.timeleft = 27.8;
Symbol 5593 MovieClip Frame 647
_root.timeleft = 27.7;
Symbol 5593 MovieClip Frame 649
_root.timeleft = 27.6;
Symbol 5593 MovieClip Frame 651
_root.timeleft = 27.5;
Symbol 5593 MovieClip Frame 653
_root.timeleft = 27.4;
Symbol 5593 MovieClip Frame 655
_root.timeleft = 27.3;
Symbol 5593 MovieClip Frame 657
_root.timeleft = 27.2;
Symbol 5593 MovieClip Frame 659
_root.timeleft = 27.1;
Symbol 5593 MovieClip Frame 661
_root.timeleft = 27;
Symbol 5593 MovieClip Frame 663
_root.timeleft = 26.9;
Symbol 5593 MovieClip Frame 665
_root.timeleft = 26.8;
Symbol 5593 MovieClip Frame 667
_root.timeleft = 26.7;
Symbol 5593 MovieClip Frame 669
_root.timeleft = 26.6;
Symbol 5593 MovieClip Frame 671
_root.timeleft = 26.5;
Symbol 5593 MovieClip Frame 673
_root.timeleft = 26.4;
Symbol 5593 MovieClip Frame 675
_root.timeleft = 26.3;
Symbol 5593 MovieClip Frame 677
_root.timeleft = 26.2;
Symbol 5593 MovieClip Frame 679
_root.timeleft = 26.1;
Symbol 5593 MovieClip Frame 681
_root.timeleft = 26;
Symbol 5593 MovieClip Frame 683
_root.timeleft = 25.9;
Symbol 5593 MovieClip Frame 685
_root.timeleft = 25.8;
Symbol 5593 MovieClip Frame 687
_root.timeleft = 25.7;
Symbol 5593 MovieClip Frame 689
_root.timeleft = 25.6;
Symbol 5593 MovieClip Frame 691
_root.timeleft = 25.5;
Symbol 5593 MovieClip Frame 693
_root.timeleft = 25.4;
Symbol 5593 MovieClip Frame 695
_root.timeleft = 25.3;
Symbol 5593 MovieClip Frame 697
_root.timeleft = 25.2;
Symbol 5593 MovieClip Frame 699
_root.timeleft = 25.1;
Symbol 5593 MovieClip Frame 701
_root.timeleft = 25;
Symbol 5593 MovieClip Frame 703
_root.timeleft = 24.9;
Symbol 5593 MovieClip Frame 705
_root.timeleft = 24.8;
Symbol 5593 MovieClip Frame 707
_root.timeleft = 24.7;
Symbol 5593 MovieClip Frame 709
_root.timeleft = 24.6;
Symbol 5593 MovieClip Frame 711
_root.timeleft = 24.5;
Symbol 5593 MovieClip Frame 713
_root.timeleft = 24.4;
Symbol 5593 MovieClip Frame 715
_root.timeleft = 24.3;
Symbol 5593 MovieClip Frame 717
_root.timeleft = 24.2;
Symbol 5593 MovieClip Frame 719
_root.timeleft = 24.1;
Symbol 5593 MovieClip Frame 721
_root.timeleft = 24;
Symbol 5593 MovieClip Frame 723
_root.timeleft = 23.9;
Symbol 5593 MovieClip Frame 725
_root.timeleft = 23.8;
Symbol 5593 MovieClip Frame 727
_root.timeleft = 23.7;
Symbol 5593 MovieClip Frame 729
_root.timeleft = 23.6;
Symbol 5593 MovieClip Frame 731
_root.timeleft = 23.5;
Symbol 5593 MovieClip Frame 733
_root.timeleft = 23.4;
Symbol 5593 MovieClip Frame 735
_root.timeleft = 23.3;
Symbol 5593 MovieClip Frame 737
_root.timeleft = 23.2;
Symbol 5593 MovieClip Frame 739
_root.timeleft = 23.1;
Symbol 5593 MovieClip Frame 741
_root.timeleft = 23;
Symbol 5593 MovieClip Frame 743
_root.timeleft = 22.9;
Symbol 5593 MovieClip Frame 745
_root.timeleft = 22.8;
Symbol 5593 MovieClip Frame 747
_root.timeleft = 22.7;
Symbol 5593 MovieClip Frame 749
_root.timeleft = 22.6;
Symbol 5593 MovieClip Frame 751
_root.timeleft = 22.5;
Symbol 5593 MovieClip Frame 753
_root.timeleft = 22.4;
Symbol 5593 MovieClip Frame 755
_root.timeleft = 22.3;
Symbol 5593 MovieClip Frame 757
_root.timeleft = 22.2;
Symbol 5593 MovieClip Frame 759
_root.timeleft = 22.1;
Symbol 5593 MovieClip Frame 761
_root.timeleft = 22;
Symbol 5593 MovieClip Frame 763
_root.timeleft = 21.9;
Symbol 5593 MovieClip Frame 765
_root.timeleft = 21.8;
Symbol 5593 MovieClip Frame 767
_root.timeleft = 21.7;
Symbol 5593 MovieClip Frame 769
_root.timeleft = 21.6;
Symbol 5593 MovieClip Frame 771
_root.timeleft = 21.5;
Symbol 5593 MovieClip Frame 773
_root.timeleft = 21.4;
Symbol 5593 MovieClip Frame 775
_root.timeleft = 21.3;
Symbol 5593 MovieClip Frame 777
_root.timeleft = 21.2;
Symbol 5593 MovieClip Frame 779
_root.timeleft = 21.1;
Symbol 5593 MovieClip Frame 781
_root.timeleft = 21;
Symbol 5593 MovieClip Frame 783
_root.timeleft = 20.9;
Symbol 5593 MovieClip Frame 785
_root.timeleft = 20.8;
Symbol 5593 MovieClip Frame 787
_root.timeleft = 20.7;
Symbol 5593 MovieClip Frame 789
_root.timeleft = 20.6;
Symbol 5593 MovieClip Frame 791
_root.timeleft = 20.5;
Symbol 5593 MovieClip Frame 793
_root.timeleft = 20.4;
Symbol 5593 MovieClip Frame 795
_root.timeleft = 20.3;
Symbol 5593 MovieClip Frame 797
_root.timeleft = 20.2;
Symbol 5593 MovieClip Frame 799
_root.timeleft = 20.1;
Symbol 5593 MovieClip Frame 801
_root.timeleft = 20;
Symbol 5593 MovieClip Frame 803
_root.timeleft = 19.9;
Symbol 5593 MovieClip Frame 805
_root.timeleft = 19.8;
Symbol 5593 MovieClip Frame 807
_root.timeleft = 19.7;
Symbol 5593 MovieClip Frame 809
_root.timeleft = 19.6;
Symbol 5593 MovieClip Frame 811
_root.timeleft = 19.5;
Symbol 5593 MovieClip Frame 813
_root.timeleft = 19.4;
Symbol 5593 MovieClip Frame 815
_root.timeleft = 19.3;
Symbol 5593 MovieClip Frame 817
_root.timeleft = 19.2;
Symbol 5593 MovieClip Frame 819
_root.timeleft = 19.1;
Symbol 5593 MovieClip Frame 821
_root.timeleft = 19;
Symbol 5593 MovieClip Frame 823
_root.timeleft = 18.9;
Symbol 5593 MovieClip Frame 825
_root.timeleft = 18.8;
Symbol 5593 MovieClip Frame 827
_root.timeleft = 18.7;
Symbol 5593 MovieClip Frame 829
_root.timeleft = 18.6;
Symbol 5593 MovieClip Frame 831
_root.timeleft = 18.5;
Symbol 5593 MovieClip Frame 833
_root.timeleft = 18.4;
Symbol 5593 MovieClip Frame 835
_root.timeleft = 18.3;
Symbol 5593 MovieClip Frame 837
_root.timeleft = 18.2;
Symbol 5593 MovieClip Frame 839
_root.timeleft = 18.1;
Symbol 5593 MovieClip Frame 841
_root.timeleft = 18;
Symbol 5593 MovieClip Frame 843
_root.timeleft = 17.9;
Symbol 5593 MovieClip Frame 845
_root.timeleft = 17.8;
Symbol 5593 MovieClip Frame 847
_root.timeleft = 17.7;
Symbol 5593 MovieClip Frame 849
_root.timeleft = 17.6;
Symbol 5593 MovieClip Frame 851
_root.timeleft = 17.5;
Symbol 5593 MovieClip Frame 853
_root.timeleft = 17.4;
Symbol 5593 MovieClip Frame 855
_root.timeleft = 17.3;
Symbol 5593 MovieClip Frame 857
_root.timeleft = 17.2;
Symbol 5593 MovieClip Frame 859
_root.timeleft = 17.1;
Symbol 5593 MovieClip Frame 861
_root.timeleft = 17;
Symbol 5593 MovieClip Frame 863
_root.timeleft = 16.9;
Symbol 5593 MovieClip Frame 865
_root.timeleft = 16.8;
Symbol 5593 MovieClip Frame 867
_root.timeleft = 16.7;
Symbol 5593 MovieClip Frame 869
_root.timeleft = 16.6;
Symbol 5593 MovieClip Frame 871
_root.timeleft = 16.5;
Symbol 5593 MovieClip Frame 873
_root.timeleft = 16.4;
Symbol 5593 MovieClip Frame 875
_root.timeleft = 16.3;
Symbol 5593 MovieClip Frame 877
_root.timeleft = 16.2;
Symbol 5593 MovieClip Frame 879
_root.timeleft = 16.1;
Symbol 5593 MovieClip Frame 881
_root.timeleft = 16;
Symbol 5593 MovieClip Frame 883
_root.timeleft = 15.9;
Symbol 5593 MovieClip Frame 885
_root.timeleft = 15.8;
Symbol 5593 MovieClip Frame 887
_root.timeleft = 15.7;
Symbol 5593 MovieClip Frame 889
_root.timeleft = 15.6;
Symbol 5593 MovieClip Frame 891
_root.timeleft = 15.5;
Symbol 5593 MovieClip Frame 893
_root.timeleft = 15.4;
Symbol 5593 MovieClip Frame 895
_root.timeleft = 15.3;
Symbol 5593 MovieClip Frame 897
_root.timeleft = 15.2;
Symbol 5593 MovieClip Frame 899
_root.timeleft = 15.1;
Symbol 5593 MovieClip Frame 901
_root.timeleft = 15;
Symbol 5593 MovieClip Frame 903
_root.timeleft = 14.9;
Symbol 5593 MovieClip Frame 905
_root.timeleft = 14.8;
Symbol 5593 MovieClip Frame 907
_root.timeleft = 14.7;
Symbol 5593 MovieClip Frame 909
_root.timeleft = 14.6;
Symbol 5593 MovieClip Frame 911
_root.timeleft = 14.5;
Symbol 5593 MovieClip Frame 913
_root.timeleft = 14.4;
Symbol 5593 MovieClip Frame 915
_root.timeleft = 14.3;
Symbol 5593 MovieClip Frame 917
_root.timeleft = 14.2;
Symbol 5593 MovieClip Frame 919
_root.timeleft = 14.1;
Symbol 5593 MovieClip Frame 921
_root.timeleft = 14;
Symbol 5593 MovieClip Frame 923
_root.timeleft = 13.9;
Symbol 5593 MovieClip Frame 925
_root.timeleft = 13.8;
Symbol 5593 MovieClip Frame 927
_root.timeleft = 13.7;
Symbol 5593 MovieClip Frame 929
_root.timeleft = 13.6;
Symbol 5593 MovieClip Frame 931
_root.timeleft = 13.5;
Symbol 5593 MovieClip Frame 933
_root.timeleft = 13.4;
Symbol 5593 MovieClip Frame 935
_root.timeleft = 13.3;
Symbol 5593 MovieClip Frame 937
_root.timeleft = 13.2;
Symbol 5593 MovieClip Frame 939
_root.timeleft = 13.1;
Symbol 5593 MovieClip Frame 941
_root.timeleft = 13;
Symbol 5593 MovieClip Frame 943
_root.timeleft = 12.9;
Symbol 5593 MovieClip Frame 945
_root.timeleft = 12.8;
Symbol 5593 MovieClip Frame 947
_root.timeleft = 12.7;
Symbol 5593 MovieClip Frame 949
_root.timeleft = 12.6;
Symbol 5593 MovieClip Frame 951
_root.timeleft = 12.5;
Symbol 5593 MovieClip Frame 953
_root.timeleft = 12.4;
Symbol 5593 MovieClip Frame 955
_root.timeleft = 12.3;
Symbol 5593 MovieClip Frame 957
_root.timeleft = 12.2;
Symbol 5593 MovieClip Frame 959
_root.timeleft = 12.1;
Symbol 5593 MovieClip Frame 961
_root.timeleft = 12;
Symbol 5593 MovieClip Frame 963
_root.timeleft = 11.9;
Symbol 5593 MovieClip Frame 965
_root.timeleft = 11.8;
Symbol 5593 MovieClip Frame 967
_root.timeleft = 11.7;
Symbol 5593 MovieClip Frame 969
_root.timeleft = 11.6;
Symbol 5593 MovieClip Frame 971
_root.timeleft = 11.5;
Symbol 5593 MovieClip Frame 973
_root.timeleft = 11.4;
Symbol 5593 MovieClip Frame 975
_root.timeleft = 11.3;
Symbol 5593 MovieClip Frame 977
_root.timeleft = 11.2;
Symbol 5593 MovieClip Frame 979
_root.timeleft = 11.1;
Symbol 5593 MovieClip Frame 981
_root.timeleft = 11;
Symbol 5593 MovieClip Frame 983
_root.timeleft = 10.9;
Symbol 5593 MovieClip Frame 985
_root.timeleft = 10.8;
Symbol 5593 MovieClip Frame 987
_root.timeleft = 10.7;
Symbol 5593 MovieClip Frame 989
_root.timeleft = 10.6;
Symbol 5593 MovieClip Frame 991
_root.timeleft = 10.5;
Symbol 5593 MovieClip Frame 993
_root.timeleft = 10.4;
Symbol 5593 MovieClip Frame 995
_root.timeleft = 10.3;
Symbol 5593 MovieClip Frame 997
_root.timeleft = 10.2;
Symbol 5593 MovieClip Frame 999
_root.timeleft = 10.1;
Symbol 5593 MovieClip Frame 1001
_root.timeleft = 10;
Symbol 5593 MovieClip Frame 1003
_root.timeleft = 9.9;
Symbol 5593 MovieClip Frame 1005
_root.timeleft = 9.8;
Symbol 5593 MovieClip Frame 1007
_root.timeleft = 9.7;
Symbol 5593 MovieClip Frame 1009
_root.timeleft = 9.6;
Symbol 5593 MovieClip Frame 1011
_root.timeleft = 9.5;
Symbol 5593 MovieClip Frame 1013
_root.timeleft = 9.4;
Symbol 5593 MovieClip Frame 1015
_root.timeleft = 9.3;
Symbol 5593 MovieClip Frame 1017
_root.timeleft = 9.2;
Symbol 5593 MovieClip Frame 1019
_root.timeleft = 9.1;
Symbol 5593 MovieClip Frame 1021
_root.timeleft = 9;
Symbol 5593 MovieClip Frame 1023
_root.timeleft = 8.9;
Symbol 5593 MovieClip Frame 1025
_root.timeleft = 8.8;
Symbol 5593 MovieClip Frame 1027
_root.timeleft = 8.7;
Symbol 5593 MovieClip Frame 1029
_root.timeleft = 8.6;
Symbol 5593 MovieClip Frame 1031
_root.timeleft = 8.5;
Symbol 5593 MovieClip Frame 1033
_root.timeleft = 8.4;
Symbol 5593 MovieClip Frame 1035
_root.timeleft = 8.3;
Symbol 5593 MovieClip Frame 1037
_root.timeleft = 8.2;
Symbol 5593 MovieClip Frame 1039
_root.timeleft = 8.1;
Symbol 5593 MovieClip Frame 1041
_root.timeleft = 8;
Symbol 5593 MovieClip Frame 1043
_root.timeleft = 7.9;
Symbol 5593 MovieClip Frame 1045
_root.timeleft = 7.8;
Symbol 5593 MovieClip Frame 1047
_root.timeleft = 7.7;
Symbol 5593 MovieClip Frame 1049
_root.timeleft = 7.6;
Symbol 5593 MovieClip Frame 1051
_root.timeleft = 7.5;
Symbol 5593 MovieClip Frame 1053
_root.timeleft = 7.4;
Symbol 5593 MovieClip Frame 1055
_root.timeleft = 7.3;
Symbol 5593 MovieClip Frame 1057
_root.timeleft = 7.2;
Symbol 5593 MovieClip Frame 1059
_root.timeleft = 7.1;
Symbol 5593 MovieClip Frame 1061
_root.timeleft = 7;
Symbol 5593 MovieClip Frame 1063
_root.timeleft = 6.9;
Symbol 5593 MovieClip Frame 1065
_root.timeleft = 6.8;
Symbol 5593 MovieClip Frame 1067
_root.timeleft = 6.7;
Symbol 5593 MovieClip Frame 1069
_root.timeleft = 6.6;
Symbol 5593 MovieClip Frame 1071
_root.timeleft = 6.5;
Symbol 5593 MovieClip Frame 1073
_root.timeleft = 6.4;
Symbol 5593 MovieClip Frame 1075
_root.timeleft = 6.3;
Symbol 5593 MovieClip Frame 1077
_root.timeleft = 6.2;
Symbol 5593 MovieClip Frame 1079
_root.timeleft = 6.1;
Symbol 5593 MovieClip Frame 1081
_root.timeleft = 6;
Symbol 5593 MovieClip Frame 1083
_root.timeleft = 5.9;
Symbol 5593 MovieClip Frame 1085
_root.timeleft = 5.8;
Symbol 5593 MovieClip Frame 1087
_root.timeleft = 5.7;
Symbol 5593 MovieClip Frame 1089
_root.timeleft = 5.6;
Symbol 5593 MovieClip Frame 1091
_root.timeleft = 5.5;
Symbol 5593 MovieClip Frame 1093
_root.timeleft = 5.4;
Symbol 5593 MovieClip Frame 1095
_root.timeleft = 5.3;
Symbol 5593 MovieClip Frame 1097
_root.timeleft = 5.2;
Symbol 5593 MovieClip Frame 1099
_root.timeleft = 5.1;
Symbol 5593 MovieClip Frame 1101
_root.timeleft = 5;
Symbol 5593 MovieClip Frame 1103
_root.timeleft = 4.9;
Symbol 5593 MovieClip Frame 1105
_root.timeleft = 4.8;
Symbol 5593 MovieClip Frame 1107
_root.timeleft = 4.7;
Symbol 5593 MovieClip Frame 1109
_root.timeleft = 4.6;
Symbol 5593 MovieClip Frame 1111
_root.timeleft = 4.5;
Symbol 5593 MovieClip Frame 1113
_root.timeleft = 4.4;
Symbol 5593 MovieClip Frame 1115
_root.timeleft = 4.3;
Symbol 5593 MovieClip Frame 1117
_root.timeleft = 4.2;
Symbol 5593 MovieClip Frame 1119
_root.timeleft = 4.1;
Symbol 5593 MovieClip Frame 1121
_root.timeleft = 4;
Symbol 5593 MovieClip Frame 1123
_root.timeleft = 3.9;
Symbol 5593 MovieClip Frame 1125
_root.timeleft = 3.8;
Symbol 5593 MovieClip Frame 1127
_root.timeleft = 3.7;
Symbol 5593 MovieClip Frame 1129
_root.timeleft = 3.6;
Symbol 5593 MovieClip Frame 1131
_root.timeleft = 3.5;
Symbol 5593 MovieClip Frame 1133
_root.timeleft = 3.4;
Symbol 5593 MovieClip Frame 1135
_root.timeleft = 3.3;
Symbol 5593 MovieClip Frame 1137
_root.timeleft = 3.2;
Symbol 5593 MovieClip Frame 1139
_root.timeleft = 3.1;
Symbol 5593 MovieClip Frame 1141
_root.timeleft = 3;
Symbol 5593 MovieClip Frame 1143
_root.timeleft = 2.9;
Symbol 5593 MovieClip Frame 1145
_root.timeleft = 2.8;
Symbol 5593 MovieClip Frame 1147
_root.timeleft = 2.7;
Symbol 5593 MovieClip Frame 1149
_root.timeleft = 2.6;
Symbol 5593 MovieClip Frame 1151
_root.timeleft = 2.5;
Symbol 5593 MovieClip Frame 1153
_root.timeleft = 2.4;
Symbol 5593 MovieClip Frame 1155
_root.timeleft = 2.3;
Symbol 5593 MovieClip Frame 1157
_root.timeleft = 2.2;
Symbol 5593 MovieClip Frame 1159
_root.timeleft = 2.1;
Symbol 5593 MovieClip Frame 1161
_root.timeleft = 2;
Symbol 5593 MovieClip Frame 1163
_root.timeleft = 1.9;
Symbol 5593 MovieClip Frame 1165
_root.timeleft = 1.8;
Symbol 5593 MovieClip Frame 1167
_root.timeleft = 1.7;
Symbol 5593 MovieClip Frame 1169
_root.timeleft = 1.6;
Symbol 5593 MovieClip Frame 1171
_root.timeleft = 1.5;
Symbol 5593 MovieClip Frame 1173
_root.timeleft = 1.4;
Symbol 5593 MovieClip Frame 1175
_root.timeleft = 1.3;
Symbol 5593 MovieClip Frame 1177
_root.timeleft = 1.2;
Symbol 5593 MovieClip Frame 1179
_root.timeleft = 1.1;
Symbol 5593 MovieClip Frame 1181
_root.timeleft = 1;
Symbol 5593 MovieClip Frame 1183
_root.timeleft = 0.9;
Symbol 5593 MovieClip Frame 1185
_root.timeleft = 0.8;
Symbol 5593 MovieClip Frame 1187
_root.timeleft = 0.7;
Symbol 5593 MovieClip Frame 1189
_root.timeleft = 0.6;
Symbol 5593 MovieClip Frame 1191
_root.timeleft = 0.5;
Symbol 5593 MovieClip Frame 1193
_root.timeleft = 0.4;
Symbol 5593 MovieClip Frame 1195
_root.timeleft = 0.3;
Symbol 5593 MovieClip Frame 1197
_root.timeleft = 0.2;
Symbol 5593 MovieClip Frame 1199
_root.timeleft = 0.1;
Symbol 5593 MovieClip Frame 1201
_root.colorChange = true;
my_color = new Color(_root);
myColorTransform = {ra:-100, rb:255, ga:-100, gb:255, ba:-100, bb:255};
my_color.setTransform(myColorTransform);
Symbol 5593 MovieClip Frame 1213
stopAllSounds();
if (_root.musicplaying == true) {
bgSound = new Sound();
bgSound.attachSound("0mFinalloopRev");
bgSound.start(0, 999);
}
Symbol 5593 MovieClip Frame 1323
stop();
Symbol 5639 MovieClip Frame 1
stop();
Symbol 5641 MovieClip Frame 1
stop();
Symbol 5641 MovieClip Frame 2
if (_root.winstarted == false) {
stopAllSounds();
_root.failstarted = true;
} else if (_root.winstarted == true) {
stop();
}
Symbol 5641 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
Symbol 5641 MovieClip Frame 10
if (_root.colorChange == true) {
my_color = new Color(_root);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
}
stop();
_root.gotoAndPlay("missionFailed");
Symbol 5655 MovieClip Frame 1
stop();
Symbol 5655 MovieClip Frame 2
if (_root.failstarted == false) {
stopAllSounds();
_root.winstarted = true;
} else if (_root.failstarted == true) {
stop();
}
Symbol 5655 MovieClip Frame 4
_root.bullet1.unloadMovie();
_root.bullet2.unloadMovie();
_root.bullet3.unloadMovie();
_root.bullet4.unloadMovie();
_root.bullet5.unloadMovie();
Symbol 5655 MovieClip Frame 17
stop();
_root.gotoAndPlay("finalanimat");
Symbol 5657 MovieClip Frame 34
stop();
Symbol 5658 MovieClip Frame 1
stop();
Symbol 5658 MovieClip Frame 60
stop();