Frame 3
Stage.showMenu = false;
stop();
playd.stop();
var blackbell = new Sound();
blackbell.stop();
blackbell.attachSound("blackbell");
blackbell.start(0, 100000);
Frame 4
abp = 0;
resulta = false;
specialmeter = 0;
death = false;
speed = 5;
Mouse.addListener(onMouseDown);
var mouseListener = new Object(_root.mouse);
onMouseDown = function () {
if ((_root.abp > 2) && (_root.death == false)) {
_root.death = false;
shielding = true;
fullyes = false;
}
};
Mouse.addListener(onMouseUp);
var mouseListener = new Object(_root.mouse2);
onMouseUp = function () {
shielding = false;
};
resultb = false;
_root.lives = 5;
_root.lives2 = 5;
_root.redalive = true;
_root.bluealive = true;
var playd = new Sound();
playd.attachSound("play");
blackbell.stop();
playd.start(0, 100000);
side1 = false;
side2 = false;
side3 = false;
side4 = false;
dssx = 0;
dssy = 0;
fullspecial = false;
Mouse.hide();
_root.shielding = false;
spawn = 30;
score = 0;
bluealive = true;
Instance of Symbol 80 MovieClip "mastermind" in Frame 4
onClipEvent (load) {
timer = 30;
i = 0;
timer4 = 0;
timer2 = 0;
timer3 = 0;
scores = 0;
radius = 126.5;
lifelimit = 1000;
anon = 0;
_root.spawn = 50;
difficulty = 1;
chance = 0;
timer5 = 0;
counter = 0;
scoregain = 0.2;
_root.death = false;
_root.speed = 2;
scoregain = 0.2;
_root.spawn = 90;
chance = 0;
}
onClipEvent (enterFrame) {
if (_root.death == true) {
_root.speed = 0;
_root.mouse._x = 1000;
_root.mouse._y = 1000;
_root.mouse2._x = 1000;
_root.mouse2._y = 1000;
Mouse.show();
timer++;
timer2++;
timer3++;
timer4++;
timer5--;
scores = scores - scoregain;
scoress = scoress - scoregain;
_root.specialmeter = _root.specialmeter - 0.2;
}
if (_root.death == false) {
timer5++;
if (timer4 > 1) {
timer4--;
timer++;
} else {
_root.speed = 3;
}
if (timer3 == 0) {
_root.side1 = false;
_root.side2 = false;
_root.side3 = false;
_root.side4 = false;
_root.dssx = 0;
_root.dssy = 0;
} else {
timer3--;
}
timer--;
if (timer2 > 0) {
timer2--;
}
i = i + 1;
if ((_root.lives == 0) || (_root.lives2 == 0)) {
_root.death = true;
_root.gotoAndStop("death");
}
if (timer5 == lifelimit) {
_root.lives++;
_root.lives2++;
if (difficulty < 5) {
difficulty++;
}
if (difficulty == 1) {
_root.speed = 2;
scoregain = 0.2;
_root.spawn = 90;
chance = 0;
this.gotoAndStop(1);
}
if (difficulty == 2) {
_root.speed = 3;
_root.spawn = 45;
chance = 150;
scoregain = 2;
this.gotoAndStop(2);
}
if (difficulty == 3) {
_root.speed = 3;
_root.spawn = 40;
chance = 120;
scoregain = 4;
this.gotoAndStop(3);
}
if (difficulty == 4) {
_root.speed = 4;
_root.spawn = 35;
chance = 100;
scoregain = 8;
this.gotoAndStop(4);
}
if (difficulty == 5) {
_root.speed = 7;
_root.spawn = 20;
chance = 75;
scoregain = 10;
this.gotoAndStop(5);
}
lifelimit = lifelimit + 1000;
}
scores = scores + scoregain;
scoress = scores;
if ((((timer5 > (lifelimit - 2)) && (timer5 < lifelimit)) || (timer4 == 149)) || (counter == 1)) {
_root.flashs.gotoAndPlay(2);
counter = 0;
}
_root.score = Math.round(scores);
if (_root.shielding == true) {
if (_root.abp > 5) {
_root.bar.timer = _root.bar.timer - 5;
_root.mouse._alpha = int(random(50)) + 30;
_root.mouse2._alpha = int(random(50)) + 30;
} else {
_root.shielding = false;
}
}
if (_root.specialmeter > 59.8) {
_root.fullspecial = true;
}
if ((_root.shielding == false) && (_root.abp > 84)) {
if ((_root.fullspecial == false) && (timer4 < 2)) {
_root.specialmeter = _root.specialmeter + 0.2;
}
_root.fullyes = true;
} else {
_root.fullyes = false;
}
if (_root.shielding == false) {
_root.mouse._alpha = 100;
_root.mouse2._alpha = 100;
}
if (timer == 0) {
timer = _root.spawn;
duplicateMovieClip (_root.rightblock, "rightblock" + i, i);
}
if (timer == (_root.spawn / 2)) {
duplicateMovieClip (_root.leftblock, "leftblock" + i, i);
}
if (timer2 < 2) {
count = 1;
if (difficulty > 1) {
anon = int(random(chance));
if ((anon > 50) && (anon < 55)) {
anon = int(random(100));
if ((anon > 0) && (anon < 25)) {
_root.side1 = true;
_root.ds._x = _root.pointa._x;
_root.ds._y = _root.pointa._y;
_root.dssx = 10;
_root.dssy = 0;
timer2 = 450;
timer3 = 150;
}
if ((anon > 25) && (anon < 50)) {
_root.side2 = true;
_root.ds._x = _root.pointb._x;
_root.ds._y = _root.pointb._y;
_root.dssx = 0;
_root.dssy = 10;
timer3 = 150;
timer2 = 450;
}
if ((anon > 50) && (anon < 75)) {
_root.side3 = true;
_root.ds._x = _root.pointc._x;
_root.ds._y = _root.pointc._y;
_root.dssx = -10;
_root.dssy = 0;
timer3 = 210;
timer2 = 450;
}
if ((anon > 75) && (anon < 100)) {
_root.side4 = true;
_root.ds._x = _root.pointd._x;
_root.ds._y = _root.pointd._y;
_root.dssx = 0;
_root.dssy = -10;
timer3 = 150;
timer2 = 450;
}
}
}
}
if (((_root.specialmeter > 29) && (_root.fullyes == true)) && (Key.isDown(32))) {
_root.speed = 0;
_root.abp = 0;
_root.bar.timer = 0;
_root.specialmeter = _root.specialmeter - 30;
_root.fullspecial = false;
timer4 = 150;
}
if ((((_root.fullspecial == true) && (_root.fullyes == true)) && (Key.isDown(16))) && (difficulty > 1)) {
_root.speed = 0;
_root.abp = 0;
_root.bar.timer = 0;
_root.specialmeter = 0;
_root.fullspecial = false;
counter++;
difficulty--;
timer4 = 150;
if (difficulty == 1) {
_root.speed = 2;
_root.spawn = 50;
chance = 0;
scoregain = 0.2;
this.gotoAndStop(1);
}
if (difficulty == 2) {
_root.speed = 3;
_root.spawn = 45;
chance = 150;
this.gotoAndStop(2);
scoregain = 2;
}
if (difficulty == 3) {
_root.speed = 3;
_root.spawn = 40;
chance = 120;
this.gotoAndStop(3);
scoregain = 4;
}
if (difficulty == 4) {
_root.speed = 4;
_root.spawn = 35;
chance = 100;
this.gotoAndStop(4);
scoregain = 8;
}
if (difficulty == 5) {
_root.speed = 7;
_root.spawn = 20;
chance = 75;
scoregain = 10;
this.gotoAndStop(5);
}
}
}
}
Instance of Symbol 85 MovieClip in Frame 4
onClipEvent (enterFrame) {
if ((_root.mastermind.timer5 > 900) && (_root.mastermind.timer5 < 1000)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 93 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.side1 == true) {
this.gotoAndStop(2);
}
if (_root.side1 == false) {
this.gotoAndStop(1);
}
}
Instance of Symbol 93 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.side3 == true) {
this.gotoAndStop(2);
}
if (_root.side3 == false) {
this.gotoAndStop(1);
}
}
Instance of Symbol 93 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.side2 == true) {
this.gotoAndStop(2);
}
if (_root.side2 == false) {
this.gotoAndStop(1);
}
}
Instance of Symbol 93 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.side4 == true) {
this.gotoAndStop(2);
}
if (_root.side4 == false) {
this.gotoAndStop(1);
}
}
Instance of Symbol 95 MovieClip "mouse" in Frame 4
onClipEvent (enterFrame) {
xx = _x;
yy = _y;
if (_root.redalive == true) {
this.gotoAndStop(1);
_y = _root._ymouse;
_x = _root._xmouse;
}
if (this.hitTest(_root.rinofdeath(439, 439, true))) {
_root.redalive = false;
}
if (_root.redalive == false) {
this.gotoAndStop(2);
}
if (_root.resulta == true) {
_root.redalive = false;
}
}
Instance of Symbol 96 MovieClip "mouse2" in Frame 4
onClipEvent (enterFrame) {
xx = _x;
yy = _y;
if (_root.bluealive == true) {
this.gotoAndStop(1);
_y = (500 - _root._ymouse);
_x = (500 - _root._xmouse);
}
if (_root.bluealive == false) {
this.gotoAndStop(2);
}
if (_root.resultb == true) {
_root.bluealive = false;
}
_root.resultb = _root.ring_mc.hitTest(xx, yy, true);
}
Instance of Symbol 97 MovieClip "bottomblock" in Frame 4
onClipEvent (load) {
_y = (int(random(350)) + 50);
_x = 650;
timer = 10;
i = 0;
_xscale = (int(random(100)) + 50);
_yscale = (int(random(50)) + 50);
}
onClipEvent (enterFrame) {
if (timer == 0) {
removeMovieClip(this);
}
_x = (_x - _root.speed);
}
Instance of Symbol 107 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.lives2 == 0) {
this.gotoAndStop(1);
}
if (_root.lives2 == 1) {
this.gotoAndStop(2);
}
if (_root.lives2 == 2) {
this.gotoAndStop(3);
}
if (_root.lives2 == 3) {
this.gotoAndStop(4);
}
if (_root.lives2 == 4) {
this.gotoAndStop(5);
}
if (_root.lives2 == 5) {
this.gotoAndStop(6);
}
if (_root.lives2 > 5) {
this.gotoAndStop(7);
}
}
Instance of Symbol 115 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.lives == 0) {
this.gotoAndStop(1);
}
if (_root.lives == 1) {
this.gotoAndStop(2);
}
if (_root.lives == 2) {
this.gotoAndStop(3);
}
if (_root.lives == 3) {
this.gotoAndStop(4);
}
if (_root.lives == 4) {
this.gotoAndStop(5);
}
if (_root.lives == 5) {
this.gotoAndStop(6);
}
if (_root.lives > 5) {
this.gotoAndStop(7);
}
}
Instance of Symbol 117 MovieClip "zzz" in Frame 4
onClipEvent (enterFrame) {
if (_root.redalive == false) {
this._x = _root._xmouse;
this._y = _root._ymouse;
} else {
_y = 1000;
_x = 1000;
}
}
Instance of Symbol 119 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.bluealive == false) {
this._x = 500 - _root._xmouse;
this._y = 500 - _root._ymouse;
} else {
_y = 1000;
_x = 1000;
}
}
Instance of Symbol 124 MovieClip "asdf" in Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + (_root.speed / 3));
}
Instance of Symbol 124 MovieClip "asdf2" in Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + (_root.speed / 5));
}
Instance of Symbol 132 MovieClip "asdf3" in Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + _root.speed);
if (_root.mastermind.timer5 < 1000) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 146 MovieClip "heatbar" in Frame 4
onClipEvent (load) {
xx = _x;
_xscale = 0;
heat = 100;
}
onClipEvent (enterFrame) {
_xscale = heat;
if (_root.abp < 10) {
heat++;
}
if (heat > 1) {
heat = heat - 0.2;
}
if (heat > 85) {
heat = 85;
}
}
Instance of Symbol 148 MovieClip in Frame 4
onClipEvent (load) {
pos = _y;
}
onClipEvent (enterFrame) {
_y = (pos - _root.specialmeter);
}
Instance of Symbol 151 MovieClip "bar" in Frame 4
onClipEvent (load) {
xx = _x;
_xscale = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (_root.death == false) {
_xscale = timer;
_root.abp = timer;
if (timer < 20) {
}
if (timer < 86) {
timer++;
} else {
_root.full == true;
}
}
}
Instance of Symbol 154 MovieClip "shine" in Frame 4
onClipEvent (enterFrame) {
if (_root.fullyes == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 160 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.fullspecial == true) {
this.gotoAndStop(2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 168 MovieClip "ds" in Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + 50);
_x = (_x + _root.dssx);
_y = (_y + _root.dssy);
if (this.hitTest(_root.mouse) && (_root.shielding == false)) {
_root.redalive = false;
}
if (this.hitTest(_root.mouse2) && (_root.shielding == false)) {
_root.bluealive = false;
}
}
Instance of Symbol 174 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.death == true) {
this.gotoAndPlay(3);
}
}
Instance of Symbol 97 MovieClip "rightblock" in Frame 4
onClipEvent (load) {
_y = (int(random(350)) + 50);
_x = 650;
timer = 10;
i = 0;
_xscale = (int(random(100)) + 50);
_yscale = (int(random(50)) + 50);
}
onClipEvent (enterFrame) {
if (timer == 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.mouse) && (_root.shielding == false)) {
_root.redalive = false;
}
if (this.hitTest(_root.mouse2) && (_root.shielding == false)) {
_root.bluealive = false;
}
_x = (_x - _root.speed);
}
Instance of Symbol 7 MovieClip [leftblock] "leftblock" in Frame 4
onClipEvent (load) {
_y = (int(random(350)) + 50);
_x = -100;
timer = 10;
i = 0;
_xscale = (int(random(100)) + 50);
_yscale = (int(random(50)) + 50);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse) && (_root.shielding == false)) {
_root.redalive = false;
}
if (this.hitTest(_root.mouse2) && (_root.shielding == false)) {
_root.bluealive = false;
}
if (timer == 0) {
removeMovieClip(this);
}
_x = (_x + _root.speed);
}
Frame 5
speed = 9000;
Mouse.show();
_root.HPScoreService.postScore(_root.score, "mode");
Instance of Symbol 189 MovieClip in Frame 5
onClipEvent (load) {
tip = int(random(15));
if (tip == 1) {
_root.tip = "If you want a higher score, try keeping it on a moderate difficulty; easy enough so as to not kill you, and hard enough to get a decent point gain.";
}
if (tip == 2) {
_root.tip = "The difficulty shifter isn't your only special ability, try using the timestop ability on a harder difficult for more points.";
}
if (tip == 3) {
_root.tip = "Try not to rely to much on the faze move; moving to quickly while fazed could get you into a sticky situation when it wears off.";
}
if (tip == 4) {
_root.tip = "These tips are very helpful, listen to them or DAI!";
}
if (tip == 5) {
_root.tip = "Try to keep away from the edges, odds are if one cursor touches the edge, they both will!";
}
if (tip == 6) {
_root.tip = "The spinners are very hard to dodge if you don't see them coming, pay close attention to your warning indicators!";
}
if (tip == 7) {
_root.tip = "Balance your faze and special abiliies strategically. Don't rely too much on faze and difficulty switch, use them both only when needed.";
}
if (tip == 8) {
_root.tip = "The trap in the center of the stage is deadly and can easily trap your cursor against an oncoming block.";
}
if (tip == 9) {
_root.tip = "The object of this game is to be very strategic while moving and doing both quickly. Try to think about where the other curor will go. at all times";
}
if (tip == 10) {
_root.tip = "Don't think you can faze through everything, relying too much too much on the faze will constantly get you pwned.";
}
if (tip == 11) {
_root.tip = "Don't keep shifting to the lower difficulties, you get much more points on the harder ones.";
}
if (tip == 12) {
_root.tip = "Time stop is not invincibility. If you're trapped you will need to rely on your brain and the faze move to get out.";
}
if (tip == 13) {
_root.tip = "Always remember what cursor does what! Forgetting which cursor is anti and which is not will always get you killed.";
}
if (tip == 14) {
_root.tip = "The whole point of this game is to score. I can't reward you with a cookie or anything though... Sorry... :(";
}
if (tip == 15) {
_root.tip = "This is the last tip picked from the list of randomly generated tips. Do you like it? Is it the best?";
}
}
Frame 10
stop();
playd.stop();
var beep = new Sound();
blackbell.stop();
beep.attachSound("beep");
Instance of Symbol 85 MovieClip in Frame 10
onClipEvent (enterFrame) {
if ((_root.mastermind.timer5 > 900) && (_root.mastermind.timer5 < 1000)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 146 MovieClip "heatbar" in Frame 10
onClipEvent (load) {
xx = _x;
_xscale = 0;
heat = 100;
}
onClipEvent (enterFrame) {
_xscale = heat;
if (_root.abp < 10) {
heat++;
}
if (heat > 1) {
heat = heat - 0.2;
}
if (heat > 85) {
heat = 85;
}
}
Symbol 18 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 18 MovieClip Frame 37
startMovie();
Symbol 22 Button
on (release) {
getURL ("http://www.khemer.com");
}
Symbol 31 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 41 MovieClip Frame 36
_root.mouse2._x = 500 - _root._xmouse;
_root.mouse2._y = 500 - _root._ymouse;
Symbol 41 MovieClip Frame 41
_root.lives2 = _root.lives2 - 1;
_root.bluealive = true;
Symbol 42 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 36
_root.mouse._x = _root._xmouse;
_root.mouse._y = _root._ymouse;
Symbol 45 MovieClip Frame 41
_root.mouse._x = _root._xmouse;
_root.mouse._y = _root._ymouse;
_root.lives = _root.lives - 1;
_root.redalive = true;
Symbol 46 MovieClip Frame 1
stop();
Symbol 52 Button
on (release) {
_root.gotoAndStop("intro");
}
Symbol 57 Button
on (release) {
getURL ("http://www.khemer.com");
}
Symbol 62 Button
on (release) {
_root._quality = "BEST";
}
Symbol 66 Button
on (release) {
_root._quality = "MEDIUM";
}
Symbol 69 Button
on (release) {
_root._quality = "LOW";
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip in Symbol 107 MovieClip Frame 7
onClipEvent (enterFrame) {
this._parent.lives = _root.lives2;
}
Instance of Symbol 106 MovieClip in Symbol 115 MovieClip Frame 7
onClipEvent (enterFrame) {
this._parent.lives = _root.lives;
}
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse) && (_root.shielding == false)) {
_root.redalive = false;
}
if (this.hitTest(_root.mouse2) && (_root.shielding == false)) {
_root.bluealive = false;
}
}
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse) && (_root.shielding == false)) {
_root.redalive = false;
}
if (this.hitTest(_root.mouse2) && (_root.shielding == false)) {
_root.bluealive = false;
}
}
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse) && (_root.shielding == false)) {
_root.redalive = false;
}
if (this.hitTest(_root.mouse2) && (_root.shielding == false)) {
_root.bluealive = false;
}
}
Symbol 145 Button
on (press) {
_root.lightning.gotoAndPlay(1);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 17
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
play();
Symbol 174 MovieClip Frame 15
stop();
Symbol 177 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 182 Button
on (release) {
_root.gotoAndStop("game2");
}
Symbol 187 Button
on (release) {
getURL ("http://www.khemer.com");
}
Symbol 197 MovieClip Frame 20
stop();
Symbol 202 Button
on (release) {
_root.gotoAndStop("instructions2");
}
Symbol 208 Button
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 209 Button
on (release) {
_root.gotoAndStop("instructions3");
}
Symbol 213 Button
on (release) {
_root.gotoAndStop("instructions2");
}
Symbol 221 Button
on (release) {
_root.gotoAndStop("intro");
}
Symbol 229 MovieClip Frame 20
_root.beep.start(0, 0);
Symbol 229 MovieClip Frame 47
_root.beep.start(0, 0);
Symbol 229 MovieClip Frame 74
_root.beep.start(0, 0);
Symbol 229 MovieClip Frame 79
_root.gotoAndStop("game");