Frame 6
stop();
stopAllSounds();
fscommand ("allowscale", "false");
_quality = "best";
Stage.showMenu = false;
Frame 11
stop();
fscommand ("allowscale", "false");
Stage.showMenu = false;
_quality = "best";
_root.attachMovie("appear1", "appear1", 9000);
_root.attachMovie("appear2", "appear2", 10000);
_root.attachMovie("appear3", "appear3", 11000);
_root.attachMovie("appear4", "appear4", 12000);
_root.attachMovie("centre", "centre", 8000);
_root.centre._x = 225;
_root.centre._y = 200;
_root.attachMovie("board", "board", 7000);
_root.board._x = 225;
_root.board._y = 200;
_root.attachMovie("dis", "dis", 6000);
_root.dis._x = 175;
_root.dis._y = 59;
_root.attachMovie("onoff", "onoff", 5000);
_root.onoff._x = 422;
_root.onoff._y = 392;
_root.board.pad1.gotoAndStop(1);
_root.board.pad2.gotoAndStop(1);
_root.board.pad3.gotoAndStop(1);
_root.board.pad4.gotoAndStop(1);
_root.board.pad5.gotoAndStop(1);
_root.board.pad6.gotoAndStop(1);
_root.board.pad7.gotoAndStop(1);
_root.board.pad8.gotoAndStop(1);
_root.board.pad9.gotoAndStop(1);
_root.board.pad10.gotoAndStop(1);
_root.board.pad11.gotoAndStop(1);
_root.board.pad12.gotoAndStop(1);
_root.board.pad13.gotoAndStop(1);
_root.board.pad14.gotoAndStop(1);
_root.board.pad15.gotoAndStop(1);
_root.board.pad16.gotoAndStop(1);
var choose = undefined;
var choose2 = undefined;
var game = false;
var levelup = false;
var lifelost = false;
var level = 1;
var score = 0;
var need = true;
var need2 = true;
var facecount = 0;
var maxfacecount = (random(250) + 250);
var facechoose = undefined;
var newpadneed2 = true;
var newpadneed = true;
var rotspeed = 0;
var dir = 1;
var dirtimer = 0;
var maxdirtimer = 200;
var lighttimer = 0;
var lighttimer2 = 0;
var maxlighttimer = 50;
var maxlighttimer2 = 50;
var newpadtimer = 0;
var maxpadtimer = 25;
var newpadtimer2 = 0;
var maxpadtimer2 = 250;
var clicks = 0;
var maxclicks = 5;
var lives = 3;
var allowed = true;
var started = false;
board._xscale = 100;
board._yscale = 100;
centre._xscale = 100;
centre._yscale = 100;
_root.onEnterFrame = function () {
if (_root.levelup == true) {
started = false;
appear4.play();
appear4._x = 225;
appear4._y = 200;
} else {
appear4._x = 1000;
appear4._y = 275;
appear4.gotoAndPlay(1);
}
if ((_root.lifelost == true) and (_root.lives > 0)) {
started = false;
appear2.play();
appear2._x = 225;
appear2._y = 200;
} else {
appear2._x = 1000;
appear2._y = 275;
appear2.gotoAndPlay(1);
}
if (_root.game == true) {
started = false;
appear3.play();
appear3._x = 225;
appear3._y = 200;
} else {
appear3._x = 1000;
appear3._y = 275;
appear3.gotoAndPlay(1);
}
centre.score = _root.score;
centre.level = _root.level;
centre.lives = _root.lives;
if (level >= 25) {
started = false;
gamecomplete = true;
game = true;
}
if (allowed == true) {
pausecounter = pausecounter + 1;
if (pausecounter >= 25) {
if (key.isDown(key.space)) {
allowed = false;
pausecounter = 0;
}
}
if (started == true) {
if (level > 5) {
facecount = facecount + 1;
}
if (facecount == maxfacecount) {
facechoose = random(4);
if (facechoose == 0) {
_root.face1.play();
var maxfacecount = (random(150) + 250);
facecount = 0;
} else if (facechoose == 1) {
_root.face2.play();
facecount = 0;
var maxfacecount = (random(150) + 250);
} else if (facechoose == 2) {
_root.face3.play();
facecount = 0;
var maxfacecount = (random(150) + 250);
} else if (facechoose == 3) {
_root.face4.play();
facecount = 0;
var maxfacecount = (random(150) + 250);
}
}
if (clicks == maxclicks) {
if (level > 15) {
board._xscale = board._xscale - 2;
board._yscale = board._yscale - 2;
centre._xscale = centre._xscale - 2;
centre._yscale = centre._yscale - 2;
}
started = false;
lighttimer = 0;
newpadtimer = 0;
levelup = true;
clicks = 0;
dirtimer = 0;
_root.level = _root.level + 1;
maxclicks = maxclicks + 1;
maxpadtimer = maxpadtimer - 0.5;
maxdirtimer = maxdirtimer - 1;
if (level > 19) {
maxlighttimer = 37;
}
rotspeed = rotspeed + 0.25;
}
if (lives == 0) {
started = false;
gamecomplete = false;
game = true;
}
if (need2 == true) {
if (choose2 == 0) {
_root.board.pad9.gotoAndPlay(2);
} else if (choose2 == 1) {
_root.board.pad10.gotoAndPlay(2);
} else if (choose2 == 2) {
_root.board.pad11.gotoAndPlay(2);
} else if (choose2 == 3) {
_root.board.pad12.gotoAndPlay(2);
} else if (choose2 == 4) {
_root.board.pad13.gotoAndPlay(2);
} else if (choose2 == 5) {
_root.board.pad14.gotoAndPlay(2);
} else if (choose2 == 6) {
_root.board.pad15.gotoAndPlay(2);
} else if (choose2 == 7) {
_root.board.pad16.gotoAndPlay(2);
}
}
if (need == true) {
if (choose == 0) {
_root.board.pad1.gotoAndPlay(2);
} else if (choose == 1) {
_root.board.pad2.gotoAndPlay(2);
} else if (choose == 2) {
_root.board.pad3.gotoAndPlay(2);
} else if (choose == 3) {
_root.board.pad4.gotoAndPlay(2);
} else if (choose == 4) {
_root.board.pad5.gotoAndPlay(2);
} else if (choose == 5) {
_root.board.pad6.gotoAndPlay(2);
} else if (choose == 6) {
_root.board.pad7.gotoAndPlay(2);
} else if (choose == 7) {
_root.board.pad8.gotoAndPlay(2);
}
}
if (newpadneed2 == true) {
newpadtimer2 = newpadtimer2 + 1;
}
if (newpadneed == true) {
newpadtimer = newpadtimer + 1;
}
dirtimer = dirtimer + 1;
if (newpadtimer2 == maxpadtimer2) {
choose2 = random(8);
newpadtimer2 = 0;
need2 = true;
countdown2 = true;
lighttimer2 = 0;
newpadneed2 = false;
}
if ((newpadtimer == (maxpadtimer + 0.5)) or (newpadtimer == maxpadtimer)) {
choose = random(8);
newpadtimer = 0;
need = true;
countdown = true;
lighttimer = 0;
newpadneed = false;
}
if (countdown2 == true) {
lighttimer2 = lighttimer2 + 1;
if (lighttimer2 == maxlighttimer2) {
lighttimer2 = 0;
newpadtimer2 = 0;
_root.countdown2 = false;
_root.need2 = false;
_root.newpadtimer2 = 0;
countdown2 = false;
_root.board.pad9.gotoAndStop(1);
_root.board.pad10.gotoAndStop(1);
_root.board.pad11.gotoAndStop(1);
_root.board.pad12.gotoAndStop(1);
_root.board.pad13.gotoAndStop(1);
_root.board.pad14.gotoAndStop(1);
_root.board.pad15.gotoAndStop(1);
_root.board.pad16.gotoAndStop(1);
newpadneed2 = true;
}
}
if (countdown == true) {
lighttimer = lighttimer + 1;
if (lighttimer == maxlighttimer) {
if (lives > 1) {
started = false;
}
lighttimer = 0;
newpadtimer = 0;
_root.countdown = false;
_root.need = false;
_root.newpadtimer = 0;
lives = lives - 1;
lifelost = true;
lighttimer = 0;
countdown = false;
_root.board.pad1.gotoAndStop(1);
_root.board.pad2.gotoAndStop(1);
_root.board.pad3.gotoAndStop(1);
_root.board.pad4.gotoAndStop(1);
_root.board.pad5.gotoAndStop(1);
_root.board.pad6.gotoAndStop(1);
_root.board.pad7.gotoAndStop(1);
_root.board.pad8.gotoAndStop(1);
newpadneed = true;
}
}
if (dirtimer == maxdirtimer) {
if (dir == 1) {
dir = 2;
} else if (dir == 2) {
dir = 1;
}
dirtimer = 0;
}
if (dir == 1) {
_root.board._rotation = _root.board._rotation + rotspeed;
_root.board.pad1._rotation = _root.board.pad1._rotation - rotspeed;
_root.board.pad2._rotation = _root.board.pad2._rotation - rotspeed;
_root.board.pad3._rotation = _root.board.pad3._rotation - rotspeed;
_root.board.pad4._rotation = _root.board.pad4._rotation - rotspeed;
_root.board.pad5._rotation = _root.board.pad5._rotation - rotspeed;
_root.board.pad6._rotation = _root.board.pad6._rotation - rotspeed;
_root.board.pad7._rotation = _root.board.pad7._rotation - rotspeed;
_root.board.pad8._rotation = _root.board.pad8._rotation - rotspeed;
_root.board.pad9._rotation = _root.board.pad9._rotation - rotspeed;
_root.board.pad10._rotation = _root.board.pad10._rotation - rotspeed;
_root.board.pad11._rotation = _root.board.pad11._rotation - rotspeed;
_root.board.pad12._rotation = _root.board.pad12._rotation - rotspeed;
_root.board.pad13._rotation = _root.board.pad13._rotation - rotspeed;
_root.board.pad14._rotation = _root.board.pad14._rotation - rotspeed;
_root.board.pad15._rotation = _root.board.pad15._rotation - rotspeed;
_root.board.pad16._rotation = _root.board.pad16._rotation - rotspeed;
} else if (dir == 2) {
_root.board._rotation = _root.board._rotation - rotspeed;
_root.board.pad1._rotation = _root.board.pad1._rotation + rotspeed;
_root.board.pad2._rotation = _root.board.pad2._rotation + rotspeed;
_root.board.pad3._rotation = _root.board.pad3._rotation + rotspeed;
_root.board.pad4._rotation = _root.board.pad4._rotation + rotspeed;
_root.board.pad5._rotation = _root.board.pad5._rotation + rotspeed;
_root.board.pad6._rotation = _root.board.pad6._rotation + rotspeed;
_root.board.pad7._rotation = _root.board.pad7._rotation + rotspeed;
_root.board.pad8._rotation = _root.board.pad8._rotation + rotspeed;
_root.board.pad9._rotation = _root.board.pad9._rotation + rotspeed;
_root.board.pad10._rotation = _root.board.pad10._rotation + rotspeed;
_root.board.pad11._rotation = _root.board.pad11._rotation + rotspeed;
_root.board.pad12._rotation = _root.board.pad12._rotation + rotspeed;
_root.board.pad13._rotation = _root.board.pad13._rotation + rotspeed;
_root.board.pad14._rotation = _root.board.pad14._rotation + rotspeed;
_root.board.pad15._rotation = _root.board.pad15._rotation + rotspeed;
_root.board.pad16._rotation = _root.board.pad16._rotation + rotspeed;
}
}
} else {
pausecounter = pausecounter + 1;
if (pausecounter >= 25) {
if (key.isDown(key.space)) {
allowed = true;
pausecounter = 0;
}
}
}
};
Instance of Symbol 117 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.allowed == true) {
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
}
Frame 12
stop();
_root.dis.removeMovieClip();
_root.appear1.removeMovieClip();
_root.appear2.removeMovieClip();
_root.appear3.removeMovieClip();
_root.appear4.removeMovieClip();
_root.centre.removeMovieClip();
_root.onoff.removeMovieClip();
_root.board.removeMovieClip();
stopAllSounds();
Stage.showMenu = false;
fscommand ("allowscale", "false");
_quality = "best";
Instance of Symbol 123 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.gamecomplete == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
}
Instance of Symbol 141 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.gamecomplete == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
}
Instance of Symbol 147 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.score < 50) {
gotoAndPlay (1);
} else if ((_root.score > 49) and (_root.score < 100)) {
gotoAndPlay (2);
} else if ((_root.score > 99) and (_root.score < 150)) {
gotoAndPlay (3);
} else if ((_root.score > 149) and (_root.score < 250)) {
gotoAndPlay (4);
} else if (_root.score > 249) {
gotoAndPlay (5);
}
}
Symbol 4 Button
on (release) {
gotoAndStop (21);
}
Symbol 7 Button
on (release) {
gotoAndPlay (21);
}
Symbol 10 Button
on (release) {
gotoAndPlay (11);
}
Symbol 11 MovieClip [onoff] Frame 1
stop();
Symbol 11 MovieClip [onoff] Frame 11
stop();
Symbol 11 MovieClip [onoff] Frame 21
stopAllSounds();
stop();
Symbol 20 Button
on (press) {
if (_root.allowed == true) {
_root.score = _root.score + 10;
_root.countdown2 = false;
_root.lighttimer2 = 0;
_root.newpadtimer2 = 0;
_root.need2 = false;
_root.newpadtimer2 = 0;
_root.newpadneed2 = true;
gotoAndPlay (1);
}
}
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 30 Button
on (press) {
if (_root.allowed == true) {
_root.score = _root.score + 1;
_root.countdown = false;
_root.lighttimer = 0;
_root.newpadtimer = 0;
_root.need = false;
_root.newpadtimer = 0;
_root.newpadneed = true;
_root.clicks = _root.clicks + 1;
gotoAndPlay (1);
}
}
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 44 Button
on (press) {
if (_root.allowed == true) {
_root.score = _root.score - 10;
_root.countdown2 = false;
_root.lighttimer2 = 0;
_root.newpadtimer2 = 0;
_root.need2 = false;
_root.newpadtimer2 = 0;
_root.newpadneed2 = true;
gotoAndPlay (1);
}
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 64 MovieClip [appear1] Frame 1
if ((((_root.started == false) and (_root.game == false)) and (_root.lifelost == false)) and (_root.levelup == false)) {
play();
_x = 225;
_y = 200;
} else {
_x = 1000;
_y = 275;
gotoAndPlay (1);
}
Symbol 64 MovieClip [appear1] Frame 50
_root.started = true;
Symbol 67 MovieClip [appear4] Frame 50
_root.levelup = false;
_root.started = true;
Symbol 70 MovieClip [appear2] Frame 50
_root.lifelost = false;
_root.started = true;
Symbol 73 MovieClip [appear3] Frame 50
_root.gotoAndPlay(12);
Symbol 79 Button
on (release) {
getURL ("http://www.jarkey.net", "_blank");
}
Symbol 97 Button
on (release) {
gotoAndPlay (11);
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 132 Button
on (release) {
gotoAndPlay (11);
}
Symbol 136 Button
on (release) {
getURL ("http://www.jarkey.net", "_blank");
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Symbol 147 MovieClip Frame 3
stop();
Symbol 147 MovieClip Frame 4
stop();
Symbol 147 MovieClip Frame 5
stop();