Frame 1
function gameSave() {
trace("saved");
var _local1 = SharedObject.getLocal("magical_library");
var _local2 = {highScore_arr:highScore_arr};
_local1.data.myObj = _local2;
}
fscommand ("allowscale", false);
fscommand ("showmenu", false);
myLSO = SharedObject.getLocal("magical_library");
if (myLSO.data.myObj == undefined) {
trace("first play");
highScore_arr = [["cpu", 210000], ["cpu", 160000], ["cpu", 120000], ["cpu", 80000], ["cpu", 40000], ["cpu", 10000], ["cpu", 8000], ["cpu", 6000], ["cpu", 4000], ["cpu", 1000]];
gameSave();
} else {
trace("loaded");
var myObj = myLSO.data.myObj;
highScore_arr = myObj.highScore_arr.slice();
}
this.onMouseDown = function () {
Mouse.hide();
};
Mouse.hide();
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
Frame 2
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
loaded = int((byteloaded / bytetotal) * 100);
load_bar.gotoAndStop(loaded);
Frame 5
if (byteloaded == bytetotal) {
gotoAndStop (10);
} else {
gotoAndPlay ("loop");
}
Frame 10
this.onMouseDown = function () {
Mouse.hide();
};
Mouse.hide();
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
ss = new Sound();
ss.attachSound("Title");
ss.start(0, 50);
var ND = 0;
var soundZ = 0;
var qualityNum = 1;
var soundZZ = 0;
var TTl = 0;
stop();
Frame 11
function copy() {
if (_root.bookB <= (_root.level[_root.R][_root.L][2] - _root.bookN)) {
_root.ZB.A._rotation = _root.ZB.A._rotation + _root.ZBA;
if (_root.ZF.length < _root.bookN) {
i = random(4);
_root.attachMovie("b" + i, "BB" + _root.book, _root.book + 150);
if (_root.book < 4) {
_root["BB" + _root.book]._y = 50 + random(100);
_root["BB" + _root.book]._x = 30 + (_root.book * 50);
} else {
_root["BB" + _root.book]._y = -40;
}
_root["BB" + _root.book]._x = 50 + random(350);
_root.RA++;
KK = random(5);
if (((_root.speedb == 1) && (_root.RA > 5)) || ((_root.speedb == 1) && (KK == 0))) {
_root.RA = 0;
_root["BB" + _root.book].Y = ((_root.speeda + _root.speedb) + 1) + random(2);
} else if (((_root.speedb == 1.6) && (_root.RA > 4)) || ((_root.speedb == 1.6) && (KK <= 1))) {
_root.RA = 0;
_root["BB" + _root.book].Y = ((_root.speeda + _root.speedb) + 1) + random(3);
} else if (((_root.speedb == 2) && (_root.RA > 3)) || ((_root.speedb == 2) && (KK <= 2))) {
_root.RA = 0;
_root["BB" + _root.book].Y = ((_root.speeda + _root.speedb) + 1) + random(3);
} else {
_root["BB" + _root.book].Y = _root.speeda + _root.speedb;
}
o = random(allZF.length);
v = allZF[o];
_root["BB" + _root.book].abc.gotoAndStop(v);
var _local2 = [_root.book, v];
_root.ZF.push(_local2);
_root.book++;
if ((((_root.book % 14) == 0) && (_root.MFZJSL < _root.level[_root.R][_root.L][0])) && (_root.Right.length > 0)) {
_root.MFZJSL++;
_root.book++;
OK = 1;
_root.attachMovie("MFJZ1", "MFJZ1", 380);
_root.MFJZ1._y = 40 + random(300);
_root.MFJZ1._x = 50 + random(350);
}
}
}
}
function down() {
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]]._y = _root["BB" + _root.ZF[i][0]]._y + _root["BB" + _root.ZF[i][0]].Y;
if (_root["BB" + _root.ZF[i][0]]._y > 390) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
if (_root.soundZ == 0) {
s5 = new Sound();
s5.attachSound("S5");
s5.start(0, 1);
}
_root.live++;
_root.boo["BO" + _root.live].play();
_root.bookB++;
if (_root.live >= 10) {
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
_root.book = 0;
DE();
_root.gotoAndStop("nopass");
} else if (_root.bookB >= _root.level[_root.R][_root.L][2]) {
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
DE();
_root.book = 0;
_root.bookB = 0;
_root.gotoAndStop("pass");
}
_root.ZF.splice(i, 1);
i--;
_root.copy();
}
i++;
}
}
function GW1SJ() {
if (_root.R == 1) {
if (_root.L == 0) {
_root.GW1c = 0;
} else if ((_root.L == 1) || (_root.L == 2)) {
_root.GW1c++;
if (_root.GW1c >= 2) {
_root.GW1c = 0;
}
} else if (_root.L == 3) {
_root.GW1c++;
if (_root.GW1c >= 3) {
_root.GW1c = 0;
}
} else if (_root.L == 4) {
_root.GW1c++;
if (_root.GW1c >= 4) {
_root.GW1c = 0;
}
}
} else if (_root.R == 2) {
if (_root.L == 0) {
_root.GW1c = 5;
} else if ((_root.L == 1) || (_root.L == 2)) {
_root.GW1c = 5 + random(2);
} else if (_root.L == 3) {
if (_root.GW1DYC == 0) {
_root.GW1c = 7;
} else {
_root.GW1c = 5 + random(3);
}
} else if (_root.L == 4) {
_root.GW1c = 4 + random(3);
}
}
}
function GW1FZ() {
if (_root.R >= 1) {
GW1SJ();
_root.attachMovie("GW11", "GW1", 383);
GW1CX = 1;
_root.GW1.A.gotoAndStop(_root.GW1c + 1);
if (_root.GW1c == 0) {
_root.GW1._x = 200;
} else if ((_root.GW1c >= 1) && (_root.GW1c <= 4)) {
_root.GW1._x = 100;
} else {
_root.GW1._x = 0;
}
_root.GW1._y = 250 + (_root.live * 10);
}
}
function GW2FZ() {
if (((_root.GW2D.length > 0) && (_root.R == 2)) && (_root.Right.length < _root.level[_root.R][_root.L][1])) {
GW2CX = 1;
_root.attachMovie("GW2", "GW2", 387);
_root.GW2._x = _root["R" + _root.GW2D[0]]._x - 30;
_root.GW2._y = _root["R" + _root.GW2D[0]]._y;
_root.GW2._width = 130;
_root.GW2._height = 100;
}
}
function MCYD() {
u = random(2);
if (u == 0) {
if (_root.R == 0) {
t = random(4);
if (t >= 3) {
t = 8;
}
} else if (_root.R == 1) {
t = random(6);
} else if (_root.R == 2) {
t = random(8);
}
} else {
t++;
if ((t >= 8) && (_root.R == 2)) {
t = 0;
} else if ((t >= 6) && (_root.R == 1)) {
t = 0;
} else if ((t >= 3) && (_root.R == 0)) {
t = 0;
}
}
if (t == 0) {
JI = random(2);
if (JI == 0) {
_root.MC0._visible = true;
_root.MC0.play();
} else {
_root.BJ.BJA.C.play();
}
} else if (t == 5) {
JI = random(2);
if (JI == 0) {
_root.MC5._visible = true;
_root.MC5.play();
} else {
_root.BJ.BJA.C.play();
}
} else if (t == 4) {
_root.MC4._visible = true;
_root.MC4.play();
} else if (t == 6) {
_root.MC6._visible = true;
_root.MC6.play();
} else if (t == 7) {
_root.BJ.BJA.W.play();
} else if (t == 8) {
_root.BJ.BJA.W._visible = true;
_root.BJ.BJA.W.play();
} else {
_root["MC" + t].play();
}
}
function Soundd() {
if (soundZ == 0) {
if (((((_root.RRR == 1) || (_root.RRR == 4)) || (_root.RRR == 7)) || (_root.RRR == 10)) || (_root.RRR == 13)) {
ss = new Sound();
ss.attachSound("room1");
ss.start(0, 500);
} else if (((((_root.RRR == 2) || (_root.RRR == 5)) || (_root.RRR == 8)) || (_root.RRR == 11)) || (_root.RRR == 14)) {
ss = new Sound();
ss.attachSound("room2");
ss.start(0, 500);
} else if (((((_root.RRR == 3) || (_root.RRR == 6)) || (_root.RRR == 9)) || (_root.RRR == 12)) || (_root.RRR == 15)) {
ss = new Sound();
ss.attachSound("room3");
ss.start(0, 500);
}
}
}
var level = [[[4, 2, 60], [5, 3, 80], [6, 4, 100], [7, 5, 110], [8, 6, 130]], [[6, 4, 100], [7, 5, 110], [8, 6, 130], [9, 7, 150], [10, 8, 170]], [[8, 6, 130], [9, 7, 150], [10, 8, 170], [11, 9, 190], [12, 10, 210]]];
var GW1ZF = [[3, 28, 15, 14, 0, 0, 0], [4, 12, 22, 31, 15, 0, 0], [4, 26, 19, 24, 21, 0, 0], [5, 17, 28, 15, 15, 24, 0], [5, 33, 18, 19, 30, 15, 0], [6, 25, 28, 11, 24, 17, 15], [6, 26, 31, 28, 26, 22, 15], [6, 35, 15, 22, 22, 25, 33]];
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
var Right = new Array();
var R = 0;
var L = 0;
var bookN = 5;
var book = 0;
var bookB = 0;
var allZF = new Array();
var ZF = new Array();
var lestZF = new Array();
var speeda = 0;
var speedb = 0;
var OK = 0;
var sscore = 0;
var fscore = 0;
var tscore = 0;
var foscore = 0;
var jlscore = 0;
var xscore = 0;
var lzjlscore = 0;
var LZSL = 0;
var LZXS = 0;
var BZ = 100;
var MFZJZF = new Array();
var MFZJSL = 0;
var blackalpha = 100;
var GW2D = new Array();
var GW2CX = 0;
var GW1D = new Array();
var GW1CX = 0;
var live = 0;
var alllive = 3;
var ZT = 0;
var KKK = 0;
var allr = 0;
var allok = 0;
var GW1c = 0;
var GW2c = 0;
var GW1CC = 0;
var JJCC = 0;
var nm = 0;
var nmGW1 = 0;
var GW1DYC = 0;
var nmGW2 = 0;
var enterok = 0;
var t = 0;
var ZBA = 0;
var RA = 0;
var JZOK = 1;
var RRR = 1;
if (ND == 1) {
_root.speedb = 1.6;
gotoAndStop ("begin");
} else if (ND == 2) {
_root.speedb = 2;
gotoAndStop ("begin");
}
stop();
Frame 20
function BZL(X, Y) {
_root.attachMovie("MFBZ2", "M" + _root.BZ, _root.BZ);
_root["M" + _root.BZ]._x = X + 10;
_root["M" + _root.BZ]._y = Y + 10;
if (_root.soundZ == 0) {
s3 = new Sound();
s3.attachSound("S3");
s3.start(0, 1);
}
_root["M" + _root.BZ].play();
_root.BZ++;
if (_root.BZ >= 120) {
_root.BZ = 100;
}
}
function DE() {
clearInterval(ID2);
clearInterval(ID3);
Key.removeListener(this);
}
nm = 0;
TTl = 1;
JZOK = 1;
if (_root.book == 0) {
stopAllSounds();
Soundd();
GW1DYC = 0;
_root.GW1c = 0;
_root.ZB.A._rotation = 0;
i = 1;
while (i <= 10) {
if (i <= _root.live) {
_root.boo["BO" + i].gotoAndStop(5);
}
i++;
}
speeda = ((_root.R / 2) + (0.2 * L)) + 0.3;
while (allZF.length > 0) {
allZF.pop();
}
while (lestZF.length > 0) {
lestZF.pop();
}
while (ZF.length > 0) {
ZF.pop();
}
while (Right.length > 0) {
Right.pop();
}
while (_root.GW2D.length > 0) {
_root.GW2D.pop();
}
_root.MFZJSL = 0;
if ((((_root.R == 0) && (_root.L == 3)) || ((_root.R == 1) && (_root.L == 1))) || ((_root.R == 2) && (_root.L == 2))) {
i = 1;
while (i <= 10) {
allZF[i - 1] = i;
i++;
}
} else {
i = 1;
while (i <= 26) {
allZF[i - 1] = i + 10;
i++;
}
}
GW1c = 0;
OK = 0;
GW1CX = 0;
GW2CX = 0;
tscore = 0;
foscore = 0;
jlscore = 0;
lzjlscore = 0;
xscore = 0;
allr = 0;
allok = 0;
LV = "";
LZ = "";
LZSL = _root.level[_root.R][_root.L][1];
LZXS = 0;
bookB = 0;
ZBA = 0;
ZBA = 360 / (_root.level[_root.R][_root.L][2] - bookN);
i = 1;
while (i <= 10) {
if (i > _root.level[_root.R][_root.L][1]) {
_root["R" + i]._visible = false;
} else {
_root.Right.push(i);
if (_root.R == 2) {
_root.GW2D.push(i);
}
_root["R" + i]._visible = true;
}
i++;
}
i = 0;
while (i <= 4) {
_root.copy();
i++;
}
}
Key.addListener(this);
this.onKeyDown = function () {
var _local3 = 0;
if (((Key.getAscii() != 13) && (_root.ZT == 0)) && (Key.getAscii() != 32)) {
allok++;
i = 0;
while (i < _root.ZF.length) {
if ((((_root.ZF[i][1] + 47) == Key.getAscii()) || ((_root.ZF[i][1] + 86) == Key.getAscii())) || ((_root.ZF[i][1] + 54) == Key.getAscii())) {
_root.sscore = _root.sscore + 10;
_root.foscore = _root.foscore + 10;
_root.xscore = _root.xscore + 10;
allr++;
_local3 = 1;
BZL(_root["BB" + _root.ZF[i][0]]._x, _root["BB" + _root.ZF[i][0]]._y);
_root["BB" + _root.ZF[i][0]].removeMovieClip();
_root.ZF.splice(i, 1);
i--;
_root.bookB++;
_root.copy();
if (_root.bookB >= _root.level[_root.R][_root.L][2]) {
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
DE();
_root.book = 0;
_root.bookB = 0;
_root.gotoAndStop("pass");
}
break;
}
i++;
}
if (_local3 == 0) {
_root.sscore = _root.sscore - 20;
_root.foscore = _root.foscore - 20;
_root.xscore = _root.xscore - 20;
}
_local3 = 0;
} else if (((GW2CX == 1) && (Key.getAscii() == 32)) && (_root.ZT == 0)) {
clearInterval(ID2);
_root.GW2.gotoAndStop(2);
_root.GW1.stop();
Key.removeListener(this);
_root.MFJZ1.stop();
_root.attachMovie("MFJZ2", "MFJZ2", 381);
_root.MFJZ2._y = 50;
_root.MFJZ2._x = 100;
_root.gotoAndStop("OK1");
} else if (((GW1CX == 1) && (Key.getAscii() == 32)) && (_root.ZT == 0)) {
DE();
_root.attachMovie("MFJZ3", "ccolor", 382);
_root.ccolor._y = 50;
_root.ccolor._x = 100;
_root.MFJZ1.stop();
_root.gotoAndStop("OK2");
} else if (((OK == 1) && (Key.getAscii() == 32)) && (_root.ZT == 0)) {
DE();
_root.MFJZ1.removeMovieClip();
_root.attachMovie("MFJZ2", "MFJZ2", 380);
_root.MFJZ2._y = 50;
_root.MFJZ2._x = 100;
_root.gotoAndStop("OK1");
} else if ((Key.getAscii() == 13) && (_root.ZT == 0)) {
stopAllSounds();
enterok = 1;
_root.ZT = 1;
clearInterval(ID2);
if (OK == 1) {
_root.MFJZ1.stop();
}
if (GW1CX == 1) {
_root.GW1.stop();
}
if (GW2CX == 1) {
_root.GW2.stop();
}
} else if ((Key.getAscii() == 13) && (_root.ZT == 1)) {
_root.ZT = 0;
enterok = 0;
Soundd();
ID2 = setInterval(down, 20);
if (OK == 1) {
_root.MFJZ1.play();
}
if (GW1CX == 1) {
_root.GW1.play();
}
if (GW2CX == 1) {
_root.GW2.play();
}
} else if ((((Key.getAscii() == 32) && (OK == 0)) && (GW2CX == 0)) && (GW1CX == 0)) {
if (_root.soundZ == 0) {
s5 = new Sound();
s5.attachSound("S11");
s5.start(0, 1);
}
_root.live++;
_root.boo["BO" + _root.live].play();
if (_root.live >= 10) {
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
_root.book = 0;
DE();
_root.gotoAndStop("nopass");
}
}
};
ID3 = setInterval(MCYD, 5000);
ID2 = setInterval(down, 20);
stop();
Frame 25
nm = 1;
Key.removeListener(this);
clearInterval(ID2);
clearInterval(ID3);
Key.addListener(this);
this.onKeyDown = function () {
if ((((((_root.MFZJZF[0][1] + 47) == Key.getAscii()) && (_root.ZT == 0)) && (_root.JZOK == 0)) || ((((_root.MFZJZF[0][1] + 86) == Key.getAscii()) && (_root.ZT == 0)) && (_root.JZOK == 0))) || ((((_root.MFZJZF[0][1] + 54) == Key.getAscii()) && (_root.ZT == 0)) && (_root.JZOK == 0))) {
_root.MFJZ2["Z" + _root.MFZJZF[0][0]]._visible = false;
_root.MFZJZF.shift();
if (_root.soundZ == 0) {
s3 = new Sound();
s3.attachSound("S3");
s3.start(0, 1);
}
if (_root.MFZJZF.length <= 0) {
_root.MFJZ2.gotoAndPlay("OKL");
if (_root.soundZ == 0) {
s4 = new Sound();
s4.attachSound("S4");
s4.start(0, 1);
}
if (GW2CX == 0) {
OK = 0;
if (_root.Right.length > 0) {
_root["R" + _root.Right[0]]._visible = true;
_root["R" + _root.Right[0]].gotoAndPlay(2);
_root.b["L" + _root.Right[0]].gotoAndPlay(2);
_root.LZXS++;
_root.lzjlscore = _root.lzjlscore + 500;
_root.sscore = _root.sscore + 500;
_root.xscore = _root.xscore + 500;
_root.b._alpha = _root.b._alpha - 10;
_root.Right.shift();
if ((_root.Right.length <= 0) && (_root.L == 4)) {
if (_root.R <= 1) {
_root.b._visible = false;
} else if ((_root.R == 2) && (_root.GW2D.length == _root.level[_root.R][_root.L][1])) {
_root.b._alpha = 0;
}
}
}
} else if (GW2CX == 1) {
GW2CX = 0;
_root.GW2.removeMovieClip();
}
_root.MFJZ1.play();
_root.GW1.play();
Key.removeListener(this);
_root.gotoAndPlay("begin");
}
} else if ((Key.getAscii() == 13) && (_root.ZT == 0)) {
_root.ZT = 1;
stopAllSounds();
_root.MFJZ2.A.stop();
} else if ((Key.getAscii() == 13) && (_root.ZT == 1)) {
_root.ZT = 0;
Soundd();
_root.MFJZ2.A.play();
}
};
stop();
Frame 30
nm = 2;
Key.removeListener(this);
clearInterval(ID2);
clearInterval(ID3);
_root.GW1.A.gotoAndStop(_root.GW1c + 1);
Key.addListener(this);
this.onKeyDown = function () {
i = _root.GW1D[0][1];
if (((((_root.GW1D[1][1] + 86) == Key.getAscii()) && (_root.ZT == 0)) && (_root.JZOK == 0)) || ((((_root.GW1D[1][1] + 54) == Key.getAscii()) && (_root.ZT == 0)) && (_root.JZOK == 0))) {
_root.ccolor["Z" + _root.GW1D[1][0]]._visible = false;
_root.GW1D.splice(1, 1);
i--;
if (_root.soundZ == 0) {
s3 = new Sound();
s3.attachSound("S3");
s3.start(0, 1);
}
_root.GW1D.splice(0, 1, [0, i]);
if (i == 0) {
_root.GW1CX = 0;
_root.ccolor.gotoAndPlay("OKL");
Key.removeListener(this);
_root.MFJZ1.play();
_root.BZL(_root.GW1._x + 28, _root.GW1._y + 28);
_root.GW1.removeMovieClip();
_root.gotoAndStop("begin");
}
} else if ((Key.getAscii() == 13) && (_root.ZT == 0)) {
_root.ZT = 1;
stopAllSounds();
_root.GW1.stop();
} else if ((Key.getAscii() == 13) && (_root.ZT == 1)) {
_root.ZT = 0;
Soundd();
_root.GW1.play();
}
};
stop();
Frame 39
stopAllSounds();
clearInterval(ID2);
clearInterval(ID3);
_root.book = 0;
LV = int((allr / allok) * 100) + "%";
LZ = (LZXS + "/") + LZSL;
jlscore = int((allr / allok) * 1000);
sscore = sscore + jlscore;
xscore = xscore + jlscore;
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
_root.ccolor.removeMovieClip();
_root.MFJZ1.removeMovieClip();
_root.MFJZ2.removeMovieClip();
_root.GW1.removeMovieClip();
_root.GW2.removeMovieClip();
if ((R == 2) && (L == 4)) {
gotoAndStop ("gameover2");
}
Key.removeListener(this);
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
_root.L++;
if (_root.L >= 5) {
_root.R++;
_root.L = 0;
}
stopAllSounds();
Key.removeListener(this);
_root.gotoAndStop("begin");
}
};
if ((((LZXS < 2) || ((_root.speedb == 1) && (int((allr / allok) * 100) < 60))) || ((_root.speedb == 1.6) && (int((allr / allok) * 100) < 70))) || ((_root.speedb == 2) && (int((allr / allok) * 100) < 80))) {
Key.removeListener(this);
_root.gotoAndStop("nonopass");
} else {
fscore = sscore;
_root.RRR++;
if (_root.soundZ == 0) {
s4 = new Sound();
s4.attachSound("victory");
s4.start(0, 1);
}
}
stop();
Frame 40
stopAllSounds();
clearInterval(ID2);
clearInterval(ID3);
_root.book = 0;
live = 0;
sscore = fscore;
speeda = _root.R + (0.2 * L);
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
_root.ccolor.removeMovieClip();
_root.MFJZ1.removeMovieClip();
_root.MFJZ2.removeMovieClip();
_root.GW1._visible = false;
_root.GW1.gotoAndStop(1);
_root.GW2.gotoAndStop(1);
_root.GW2._visible = false;
_root.alllive--;
if (_root.alllive == 0) {
gotoAndStop ("gameover");
}
Key.removeListener(this);
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
Key.removeListener(this);
_root.gotoAndStop("begin");
}
};
stop();
Frame 41
function submit_f() {
highScore_arr.push([Name, sscore]);
}
stopAllSounds();
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
if (_root.alllive <= 0) {
_root.MC1.gotoAndStop(2);
} else {
_root.MC1.gotoAndStop(1);
}
Key.removeListener(this);
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
Key.removeListener(this);
_root.submit_f();
_root.gotoAndStop("highscore");
}
};
stop();
Frame 42
stopAllSounds();
_root.n._alpha = 0;
nameOutput = "";
scoreOutput = "";
numberOutput = "";
var Q = highScore_arr.length;
var i = 0;
while (i < Q) {
var j = i;
while (j < Q) {
if (highScore_arr[i][1] < highScore_arr[j][1]) {
var temp = highScore_arr[i][0];
highScore_arr[i][0] = highScore_arr[j][0];
highScore_arr[j][0] = temp;
var temp = highScore_arr[i][1];
highScore_arr[i][1] = highScore_arr[j][1];
highScore_arr[j][1] = temp;
}
j++;
}
i++;
}
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
nameOutput = nameOutput + (highScore_arr[i][0] + newline);
scoreOutput = scoreOutput + (highScore_arr[i][1] + newline);
if (i < 9) {
numberOutput = numberOutput + (("0" + (i + 1)) + newline);
} else {
numberOutput = numberOutput + ((i + 1) + newline);
}
i++;
}
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
if ((highScore_arr[i][0] == _root.Name) && (highScore_arr[i][1] == _root.sscore)) {
_root.n._alpha = 100;
switch (i) {
case 0 :
_root.n._y = 112;
break;
case 1 :
_root.n._y = 130;
break;
case 2 :
_root.n._y = 147;
break;
case 3 :
_root.n._y = 164;
break;
case 4 :
_root.n._y = 181;
break;
case 5 :
_root.n._y = 198;
break;
case 6 :
_root.n._y = 215;
break;
case 7 :
_root.n._y = 232;
break;
case 8 :
_root.n._y = 248;
break;
case 9 :
_root.n._y = 266;
}
}
i++;
}
if (Q > 10) {
Q = 10;
}
var i = 0;
while (i < Q) {
this["name" + (i + 1)] = highScore_arr[i][0];
this["score" + (i + 1)] = highScore_arr[i][1];
i++;
}
gameSave();
stop();
Instance of Symbol 646 MovieClip "Z" in Frame 42
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.gotoAndStop("startA");
}
}
Frame 43
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
stop();
Instance of Symbol 646 MovieClip "Z" in Frame 43
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.gotoAndStop("start");
}
}
Frame 44
stopAllSounds();
i = 0;
while (i < _root.ZF.length) {
_root["BB" + _root.ZF[i][0]].removeMovieClip();
i++;
}
this.onEnterFrame = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
_root.ccolor.removeMovieClip();
_root.MFJZ1.removeMovieClip();
_root.MFJZ2.removeMovieClip();
_root.GW1._visible = false;
_root.GW1.gotoAndStop(1);
_root.GW2.gotoAndStop(1);
_root.GW2._visible = false;
Key.removeListener(this);
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
Key.removeListener(this);
_root.gotoAndStop("gameover");
}
};
stop();
Frame 45
stop();
Instance of Symbol 646 MovieClip "Z" in Frame 45
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.gotoAndStop("startA");
}
}
Frame 46
stopAllSounds();
Key.removeListener(this);
Key.addListener(this);
this.onKeyDown = function () {
if (Key.getAscii() == 32) {
stopAllSounds();
Key.removeListener(this);
_root.gotoAndStop("begin");
}
};
sscore = fscore;
_root.alllive--;
if (_root.alllive == 0) {
gotoAndStop ("gameover");
}
if (((LZXS >= 2) && (int((allr / allok) * 100) < 60)) && (_root.speedb == 1)) {
_root.bt.gotoAndPlay(1);
} else if (((LZXS < 2) && (int((allr / allok) * 100) > 60)) && (_root.speedb == 1)) {
_root.bt.gotoAndPlay(4);
} else if (((LZXS < 2) && (int((allr / allok) * 100) < 60)) && (_root.speedb == 1)) {
_root.bt.gotoAndPlay(7);
} else if (((LZXS >= 2) && (int((allr / allok) * 100) < 70)) && (_root.speedb == 1.6)) {
_root.bt.gotoAndPlay(11);
} else if (((LZXS < 2) && (int((allr / allok) * 100) > 70)) && (_root.speedb == 1.6)) {
_root.bt.gotoAndPlay(14);
} else if (((LZXS < 2) && (int((allr / allok) * 100) < 70)) && (_root.speedb == 1.6)) {
_root.bt.gotoAndPlay(17);
} else if (((LZXS >= 2) && (int((allr / allok) * 100) < 80)) && (_root.speedb == 2)) {
_root.bt.gotoAndPlay(20);
} else if (((LZXS < 2) && (int((allr / allok) * 100) > 80)) && (_root.speedb == 2)) {
_root.bt.gotoAndPlay(22);
} else if (((LZXS < 2) && (int((allr / allok) * 100) < 80)) && (_root.speedb == 2)) {
_root.bt.gotoAndPlay(25);
}
stop();
Frame 55
stop();
Symbol 62 MovieClip [GW1B1] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 62 MovieClip [GW1B1] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 62 MovieClip [GW1B1] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 62 MovieClip [GW1B1] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 62 MovieClip [GW1B1] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 62 MovieClip [GW1B1] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 62 MovieClip [GW1B1] Frame 30
this.removeMovieClip();
Symbol 78 MovieClip [GW1B7] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 78 MovieClip [GW1B7] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 78 MovieClip [GW1B7] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 78 MovieClip [GW1B7] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 78 MovieClip [GW1B7] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 78 MovieClip [GW1B7] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 78 MovieClip [GW1B7] Frame 30
this.removeMovieClip();
Symbol 94 MovieClip [GW1B3] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 94 MovieClip [GW1B3] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 94 MovieClip [GW1B3] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 94 MovieClip [GW1B3] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 94 MovieClip [GW1B3] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 94 MovieClip [GW1B3] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 94 MovieClip [GW1B3] Frame 30
this.removeMovieClip();
Symbol 110 MovieClip [GW1B0] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 110 MovieClip [GW1B0] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 110 MovieClip [GW1B0] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 110 MovieClip [GW1B0] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 110 MovieClip [GW1B0] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 110 MovieClip [GW1B0] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 110 MovieClip [GW1B0] Frame 30
this.removeMovieClip();
Symbol 126 MovieClip [GW1B2] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 126 MovieClip [GW1B2] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 126 MovieClip [GW1B2] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 126 MovieClip [GW1B2] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 126 MovieClip [GW1B2] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 126 MovieClip [GW1B2] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 126 MovieClip [GW1B2] Frame 30
this.removeMovieClip();
Symbol 142 MovieClip [GW1B6] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 142 MovieClip [GW1B6] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 142 MovieClip [GW1B6] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 142 MovieClip [GW1B6] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 142 MovieClip [GW1B6] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 142 MovieClip [GW1B6] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 142 MovieClip [GW1B6] Frame 30
this.removeMovieClip();
Symbol 158 MovieClip [GW1B4] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 158 MovieClip [GW1B4] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 158 MovieClip [GW1B4] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 158 MovieClip [GW1B4] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 158 MovieClip [GW1B4] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 158 MovieClip [GW1B4] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 158 MovieClip [GW1B4] Frame 30
this.removeMovieClip();
Symbol 174 MovieClip [GW1B5] Frame 14
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 174 MovieClip [GW1B5] Frame 16
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 174 MovieClip [GW1B5] Frame 18
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 174 MovieClip [GW1B5] Frame 20
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 174 MovieClip [GW1B5] Frame 22
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 174 MovieClip [GW1B5] Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 174 MovieClip [GW1B5] Frame 30
this.removeMovieClip();
Symbol 177 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 215 MovieClip [color] Frame 1
if (_root.R == 1) {
c = random(_root.L + 1);
} else if (_root.R == 2) {
c = random(_root.L + 4);
}
while (_root.GW1D.length > 0) {
_root.GW1D.pop();
}
i = 0;
while (i < 7) {
_root.GW1D.push([i, _root.GW1ZF[c][i]]);
i++;
}
D = _root.GW1D[0][1];
s4 = new Sound();
s4.attachSound("S4");
s4.start(0, 1);
this.gotoAndStop(D - 1);
Symbol 215 MovieClip [color] Frame 2
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
Symbol 215 MovieClip [color] Frame 3
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
Symbol 215 MovieClip [color] Frame 4
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
Symbol 215 MovieClip [color] Frame 5
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
Symbol 223 MovieClip [MFJZ3] Frame 1
while (_root.GW1D.length > 0) {
_root.GW1D.pop();
}
i = 0;
while (i < 7) {
_root.GW1D.push([i, _root.GW1ZF[_root.GW1c][i]]);
i++;
}
D = _root.GW1D[0][1];
if (_root.soundZ == 0) {
s4 = new Sound();
s4.attachSound("S4");
s4.start(0, 1);
}
Symbol 223 MovieClip [MFJZ3] Frame 7
switch (D) {
case 3 :
this.gotoAndStop(15);
break;
case 4 :
this.gotoAndStop(16);
break;
case 5 :
this.gotoAndStop(17);
break;
case 6 :
this.gotoAndStop(18);
}
Symbol 223 MovieClip [MFJZ3] Frame 15
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
_root.JZOK = 0;
Symbol 223 MovieClip [MFJZ3] Frame 16
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
_root.JZOK = 0;
Symbol 223 MovieClip [MFJZ3] Frame 17
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
_root.JZOK = 0;
Symbol 223 MovieClip [MFJZ3] Frame 18
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
_root.JZOK = 0;
Symbol 223 MovieClip [MFJZ3] Frame 19
i = 1;
while (i <= 6) {
if (_root.GW1D[i][1] > 0) {
this["Z" + i]._alpha = 100;
this["Z" + i].gotoAndStop(_root.GW1D[i][1]);
}
i++;
}
_root.JZOK = 0;
Symbol 223 MovieClip [MFJZ3] Frame 30
this.removeMovieClip();
Symbol 233 MovieClip Frame 242
if (_root.GW2CX == 0) {
_root.OK = 0;
} else if (_root.GW2CX == 1) {
_root.GW2CX = 0;
_root.GW2.removeMovieClip();
_root["R" + _root.GW2D[0]]._visible = false;
var t = 0;
i = 0;
while (i < _root.Right.length) {
if (_root.Right[i] == _root.GW2D[0]) {
_root.Right.splice(i, 1);
t = 1;
}
i++;
}
if (t == 0) {
_root.LZXS--;
_root.lzjlscore = _root.lzjlscore - 500;
_root.sscore = _root.sscore - 500;
_root.xscore = _root.xscore - 500;
_root.b["L" + _root.GW2D[0]].gotoAndStop(1);
if (_root.b._alpha < 100) {
_root.b._alpha = _root.b._alpha + 10;
}
}
kk = _root.GW2D.shift();
_root.GW2D.push(kk);
_root.Right.push(kk);
if (_root.soundZ == 0) {
s5 = new Sound();
s5.attachSound("S11");
s5.start(0, 1);
}
}
_root.MFJZ1.play();
_root.GW1.play();
_root.gotoAndStop("begin");
_root.MFJZ2.removeMovieClip();
Symbol 234 MovieClip [MFJZ2] Frame 1
if (_root.R == 0) {
MFZJZFCD = 4;
} else if (_root.R == 1) {
MFZJZFCD = 4 + random(3);
} else if (_root.R == 2) {
MFZJZFCD = 4 + random(5);
}
while (_root.MFZJZF.length > 0) {
_root.MFZJZF.pop();
}
o = 1;
while (o <= MFZJZFCD) {
if ((((_root.R == 0) && (_root.L == 3)) || ((_root.R == 1) && (_root.L == 1))) || ((_root.R == 2) && (_root.L == 2))) {
D = 1 + random(10);
} else {
D = 11 + random(26);
}
var TT = [o, D];
_root.MFZJZF.push(TT);
o++;
}
if (_root.soundZ == 0) {
s4 = new Sound();
s4.attachSound("S4");
s4.start(0, 1);
}
Symbol 234 MovieClip [MFJZ2] Frame 8
switch (MFZJZFCD) {
case 4 :
this.gotoAndStop(15);
break;
case 5 :
this.gotoAndStop(16);
break;
case 6 :
this.gotoAndStop(17);
break;
case 7 :
this.gotoAndStop(18);
break;
case 8 :
this.gotoAndStop(19);
}
Symbol 234 MovieClip [MFJZ2] Frame 15
i = 1;
while (i <= 20) {
if (i == _root.MFZJZF[i - 1][0]) {
this["Z" + i].gotoAndStop(_root.MFZJZF[i - 1][1]);
}
i++;
}
if (_root.speedb == 1) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(62);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(32);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(2);
}
} else if (_root.speedb == 1.6) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(152);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(122);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(92);
}
} else if (_root.speedb == 2) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(182);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(152);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(122);
}
}
_root.JZOK = 0;
stop();
Symbol 234 MovieClip [MFJZ2] Frame 16
i = 1;
while (i <= 20) {
if (i == _root.MFZJZF[i - 1][0]) {
this["Z" + i].gotoAndStop(_root.MFZJZF[i - 1][1]);
}
i++;
}
if (_root.speedb == 1) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(62);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(32);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(2);
}
} else if (_root.speedb == 1.6) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(152);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(122);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(92);
}
} else if (_root.speedb == 2) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(182);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(152);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(122);
}
}
_root.JZOK = 0;
stop();
Symbol 234 MovieClip [MFJZ2] Frame 17
i = 1;
while (i <= 20) {
if (i == _root.MFZJZF[i - 1][0]) {
this["Z" + i].gotoAndStop(_root.MFZJZF[i - 1][1]);
}
i++;
}
if (_root.speedb == 1) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(62);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(32);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(2);
}
} else if (_root.speedb == 1.6) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(152);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(122);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(92);
}
} else if (_root.speedb == 2) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(182);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(152);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(122);
}
}
_root.JZOK = 0;
stop();
Symbol 234 MovieClip [MFJZ2] Frame 18
i = 1;
while (i <= 20) {
if (i == _root.MFZJZF[i - 1][0]) {
this["Z" + i].gotoAndStop(_root.MFZJZF[i - 1][1]);
}
i++;
}
if (_root.speedb == 1) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(62);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(32);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(2);
}
} else if (_root.speedb == 1.6) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(152);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(122);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(92);
}
} else if (_root.speedb == 2) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(182);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(152);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(122);
}
}
_root.JZOK = 0;
stop();
Symbol 234 MovieClip [MFJZ2] Frame 19
i = 1;
while (i <= 20) {
if (i == _root.MFZJZF[i - 1][0]) {
this["Z" + i].gotoAndStop(_root.MFZJZF[i - 1][1]);
}
i++;
}
if (_root.speedb == 1) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(62);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(32);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(2);
}
} else if (_root.speedb == 1.6) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(152);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(122);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(92);
}
} else if (_root.speedb == 2) {
switch (MFZJZFCD) {
case 4 :
this.A.gotoAndPlay(182);
break;
case 5 :
case 6 :
this.A.gotoAndPlay(152);
break;
case 7 :
case 8 :
this.A.gotoAndPlay(122);
}
}
_root.JZOK = 0;
stop();
Symbol 234 MovieClip [MFJZ2] Frame 30
this.removeMovieClip();
Symbol 238 MovieClip [MFJZ1] Frame 1
var C = 0;
if ((_root.R == 0) && (_root.L == 0)) {
this.A._alpha = 100;
} else {
this.A._alpha = 0;
}
Symbol 238 MovieClip [MFJZ1] Frame 2
if ((_root.R == 0) && (_root.L == 0)) {
this.A._alpha = 100;
} else {
this.A._alpha = 0;
}
Symbol 238 MovieClip [MFJZ1] Frame 30
C++;
if (C >= 3) {
_root.OK = 0;
this.removeMovieClip();
}
gotoAndPlay (2);
Symbol 241 MovieClip [MGBZ] Frame 10
this.removeMovieClip();
Symbol 242 MovieClip [MFBZ2] Frame 10
this.removeMovieClip();
Symbol 260 MovieClip [GW2] Frame 1
var C = 1;
if ((_root.R == 2) && (_root.L == 0)) {
this.B._alpha = 100;
} else {
this.B._alpha = 0;
}
if (_root.soundZ == 0) {
s13 = new Sound();
s13.attachSound("S13");
s13.start(0, 1);
}
Symbol 260 MovieClip [GW2] Frame 2
if ((_root.R == 2) && (_root.L == 0)) {
this.B._alpha = 100;
} else {
this.B._alpha = 0;
}
Symbol 260 MovieClip [GW2] Frame 31
if (C < 2) {
C++;
this.gotoAndPlay(2);
} else {
_root.GW2CX = 0;
_root["R" + _root.GW2D[0]]._visible = false;
var t = 0;
i = 0;
while (i < _root.Right.length) {
if (_root.Right[i] == _root.GW2D[0]) {
_root.Right.splice(i, 1);
t = 1;
}
i++;
}
if (t == 0) {
_root.LZXS--;
_root.lzjlscore = _root.lzjlscore - 500;
_root.sscore = _root.sscore - 500;
_root.xscore = _root.xscore - 500;
_root.b["L" + _root.GW2D[0]].gotoAndStop(1);
if (_root.b._alpha < 100) {
_root.b._alpha = _root.b._alpha + 10;
}
}
kk = _root.GW2D.shift();
_root.GW2D.push(kk);
_root.Right.push(kk);
_root.BZL(this._x + 50, this._y + 37);
if (_root.soundZ == 0) {
s5 = new Sound();
s5.attachSound("S11");
s5.start(0, 1);
}
this.removeMovieClip();
}
Symbol 284 MovieClip [GW1] Frame 1
stop();
Symbol 284 MovieClip [GW1] Frame 2
stop();
Symbol 284 MovieClip [GW1] Frame 3
stop();
Symbol 284 MovieClip [GW1] Frame 4
stop();
Symbol 284 MovieClip [GW1] Frame 5
stop();
Symbol 284 MovieClip [GW1] Frame 6
stop();
Symbol 284 MovieClip [GW1] Frame 7
stop();
Symbol 284 MovieClip [GW1] Frame 8
stop();
Symbol 285 MovieClip [GW11] Frame 1
if ((_root.R == 1) && (_root.L == 0)) {
this.B._alpha = 100;
} else {
this.B._alpha = 0;
}
if (_root.soundZ == 0) {
s4 = new Sound();
s4.attachSound("S4");
s4.start(0, 1);
}
Symbol 285 MovieClip [GW11] Frame 2
this._x = this._x + 4;
if (this._x > 455) {
gotoAndPlay (5);
}
Symbol 285 MovieClip [GW11] Frame 3
gotoAndPlay (2);
Symbol 285 MovieClip [GW11] Frame 5
_root.GW1CX = 0;
_root.live++;
_root.ccolor.removeMovieClip();
_root.MFJZ1.play();
_root.gotoAndStop("begin");
_root.boo["BO" + _root.live].play();
if (_root.live >= 10) {
_root.DE();
_root.alllive--;
_root.gotoAndStop("nopass");
}
_root.attachMovie("GW1B" + _root.GW1c, "GW1B", 386);
_root.GW1B._width = 86;
_root.GW1B._height = 84;
_root.GW1B._x = this._x + 135;
_root.GW1B._y = this._y + 37;
this.removeMovieClip();
Symbol 292 MovieClip Frame 1
_root.BJ.BJA.W._visible = false;
stop();
Symbol 292 MovieClip Frame 2
_root.BJ.BJA.W._visible = true;
if (_root.soundZ == 0) {
s12 = new Sound();
s12.attachSound("S12");
s12.start(0, 1);
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 12
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 15
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 18
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 21
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 24
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 32
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 35
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 38
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 41
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 44
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 53
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 56
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 59
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 298 MovieClip Frame 62
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 300 MovieClip [BJ0] Frame 1
this.W._visible = false;
this.stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 5
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 7
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 9
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 11
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 13
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 15
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 17
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 19
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 21
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 23
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 25
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 27
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 29
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 31
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 33
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 35
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 37
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 39
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 326 MovieClip Frame 41
if (_root.soundZ == 0) {
s14 = new Sound();
s14.attachSound("S14");
s14.start(0, 1);
}
Symbol 332 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 343 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 26
stop();
Symbol 353 Button
on (release) {
gotoAndStop ("start");
}
Symbol 357 Button
on (release) {
gotoAndStop ("help");
}
Symbol 361 Button
on (release) {
gotoAndStop ("highscore");
}
Symbol 365 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 369 Button
on (release) {
getURL ("http://freegames.agame.com", "_blank");
}
Symbol 372 Button
on (release) {
if (_root.soundZ == 0) {
stopAllSounds();
_root.an.gotoAndStop(3);
} else if (_root.soundZ == 1) {
if (_root.TTl == 0) {
sT = new Sound();
sT.attachSound("Title");
sT.start(0, 50);
}
_root.an.gotoAndStop(2);
}
}
Symbol 375 MovieClip Frame 1
if (_root.soundZ == 1) {
this.gotoAndStop(3);
}
Symbol 375 MovieClip Frame 2
_root.soundZ = 0;
stop();
Symbol 375 MovieClip Frame 3
_root.soundZ = 1;
stopAllSounds();
stop();
Symbol 378 Button
on (release) {
if ((++_root.qualityNum) > 3) {
_root.qualityNum = 1;
}
gotoAndStop(_root.qualityNum);
}
Symbol 381 MovieClip Frame 1
if (_root.qualityNum == 1) {
stop();
_quality = "high";
} else {
gotoAndStop(_root.qualityNum);
}
Symbol 381 MovieClip Frame 2
_quality = "medium";
Symbol 381 MovieClip Frame 3
_quality = "low";
Symbol 383 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 387 Button
on (release) {
_root.speedb = 1;
gotoAndStop ("begin");
}
Symbol 391 Button
on (release) {
_root.speedb = 1.6;
gotoAndStop ("begin");
}
Symbol 395 Button
on (release) {
_root.speedb = 2;
gotoAndStop ("begin");
}
Symbol 397 MovieClip Frame 1
this.BJA.removeMovieClip();
Symbol 397 MovieClip Frame 2
this.attachMovie("BJ" + _root.R, "BJA", 1);
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S7");
ss.start(0, 1);
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 8
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 425 MovieClip Frame 13
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 425 MovieClip Frame 19
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 425 MovieClip Frame 24
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 425 MovieClip Frame 29
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 425 MovieClip Frame 35
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S8");
ss.start(0, 1);
}
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S7");
ss.start(0, 1);
}
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 20
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 20
stop();
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 20
stop();
Symbol 477 MovieClip Frame 1
this._visible = false;
stop();
Symbol 477 MovieClip Frame 2
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S6");
ss.start(0, 1);
}
Symbol 481 MovieClip Frame 1
this._visible = false;
stop();
Symbol 481 MovieClip Frame 2
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S10");
ss.start(0, 1);
}
Symbol 487 MovieClip Frame 1
this._visible = false;
stop();
Symbol 487 MovieClip Frame 2
if (_root.soundZ == 0) {
ss = new Sound();
ss.attachSound("S7");
ss.start(0, 1);
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 20
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 20
stop();
Symbol 497 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 20
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 20
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 20
stop();
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 20
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 20
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 20
stop();
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 20
stop();
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 20
stop();
Symbol 528 MovieClip Frame 1
if (_root.R == 0) {
YY = (_root.R + 1) + _root.L;
} else if (_root.R == 1) {
YY = ((_root.R + 1) + _root.L) + 4;
} else if (_root.R == 2) {
YY = ((_root.R + 1) + _root.L) + 8;
}
Symbol 532 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
this.A._rotation = 0;
stop();
Symbol 543 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 5
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 5
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 5
stop();
Symbol 553 MovieClip Frame 1
stop();
Symbol 553 MovieClip Frame 5
stop();
Symbol 554 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 5
stop();
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 5
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 5
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 5
stop();
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 5
stop();
Symbol 564 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
var ii = _root.level[_root.R][_root.L][2];
Symbol 569 MovieClip Frame 2
if (_root.enterok == 0) {
if (_root.R >= 1) {
_root.nmGW1++;
if ((_root.nmGW1 > 300) && (_root.nm == 0)) {
_root.GW1FZ();
_root.nmGW1 = 0;
_root.GW1DYC = 1;
}
if (_root.R == 2) {
_root.nmGW2++;
if ((_root.nmGW2 > 450) && (_root.nm == 0)) {
_root.GW2FZ();
_root.nmGW2 = 0;
}
}
}
}
Symbol 600 MovieClip Frame 1
if (_root.R == 0) {
YY = (_root.R + 1) + _root.L;
} else if (_root.R == 1) {
YY = ((_root.R + 1) + _root.L) + 4;
} else if (_root.R == 2) {
YY = ((_root.R + 1) + _root.L) + 8;
}
Symbol 604 Button
on (release) {
_root.L++;
if (_root.L >= 5) {
_root.R++;
_root.L = 0;
}
gotoAndStop ("begin");
}
Symbol 609 Button
on (release) {
gotoAndStop ("begin");
}
Symbol 618 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 621 Button
on (release) {
submit_f();
gotoAndStop ("highscore");
}
Symbol 624 Button
on (release) {
gotoAndStop ("start");
}
Symbol 627 Button
on (release) {
submit_f();
gotoAndStop ("highscore");
}
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 2
stop();
Symbol 637 Button
on (release) {
gotoAndStop ("startA");
}
Symbol 638 Button
on (release) {
getURL ("http://moregames.agame.com", "_blank");
}
Symbol 671 Button
on (release) {
gotoAndStop ("start");
}
Symbol 685 Button
on (release) {
_root.gotoAndStop("gameover");
}
Symbol 689 Button
on (release) {
_root.gotoAndStop("gameover");
}
Symbol 693 Button
on (release) {
_root.gotoAndStop("gameover");
}
Symbol 694 MovieClip Frame 1
if (_root.soundZ == 0) {
s4 = new Sound();
s4.attachSound("S4");
s4.start(0, 1);
}
Symbol 694 MovieClip Frame 11
switch (_root.speedb) {
case 1 :
this.gotoAndPlay("A");
break;
case 1.6 :
this.gotoAndPlay("B");
break;
case 2 :
this.gotoAndPlay("C");
}
Symbol 694 MovieClip Frame 21
stop();
Symbol 694 MovieClip Frame 31
stop();
Symbol 694 MovieClip Frame 41
stop();
Symbol 735 MovieClip Frame 3
gotoAndPlay (1);
Symbol 735 MovieClip Frame 6
gotoAndPlay (4);
Symbol 735 MovieClip Frame 9
gotoAndPlay (7);
Symbol 735 MovieClip Frame 12
gotoAndPlay (10);
Symbol 735 MovieClip Frame 15
gotoAndPlay (14);
Symbol 735 MovieClip Frame 18
gotoAndPlay (17);
Symbol 735 MovieClip Frame 21
gotoAndPlay (20);
Symbol 735 MovieClip Frame 24
gotoAndPlay (22);
Symbol 735 MovieClip Frame 27
gotoAndPlay (25);