Frame 1
play();
Frame 2
stop();
_root.game_so = SharedObject.getLocal("FlashGamesStudio");
_root.game_so.data.playerName = "";
_root.game_so.data.userPassword = "";
_root.btn_skip._visible = true;
_root.play_more = "http://www.t45ol.com/";
Frame 3
stop();
_root.aaa.stop();
restartit = false;
delall();
thinkits = 6;
thinkyou = 1;
shuffle = 3;
totalscore0 = 0;
mytest = false;
_root.lifes = 6;
_root.item_1 = 3;
_root.item_2 = 3;
_root.item_3 = 3;
Instance of Symbol 356 MovieClip in Frame 3
onClipEvent (load) {
if (_root.mysound1.getVolume() == 0) {
gotoAndStop (2);
}
}
Frame 5
stop();
_root.load_fngameid();
delall();
if ((thinkyou > 1) and (thinkyou <= 31)) {
if (restartit == false) {
if ((thinkyou <= 30) and (lifes > 0)) {
roll_mc.gotoAndPlay(2);
} else {
roll_mc.gotoAndStop(1);
}
totalscore00 = totalscore0;
} else {
if (lifes > 0) {
totalscore0 = totalscore00;
}
roll_mc.gotoAndStop(1);
restartit = false;
}
} else {
if (lifes > 0) {
if (mytest == true) {
} else {
totalscore00 = 0;
totalscore0 = totalscore00;
}
}
roll_mc.gotoAndStop(1);
restartit = false;
}
var i = 1;
while (i < 31) {
if (i == thinkyou) {
arrow_mc._x = this["lv" + thinkyou]._x;
arrow_mc._y = this["lv" + thinkyou]._y;
this["lv" + i].gotoAndStop(1);
this["lv" + i].gotoAndStop(1);
} else if (i < thinkyou) {
if ((i == 1) or ((i % 6) == 0)) {
this["lv" + i].gotoAndPlay(2);
this["lv" + i].useHandCursor = false;
} else {
this["lv" + i].gotoAndStop(2);
this["lv" + i].useHandCursor = false;
}
} else {
this["lv" + i].gotoAndStop(1);
this["lv" + i].useHandCursor = false;
}
i++;
}
if (thinkyou >= 31) {
arrow_mc._visible = false;
success_mc.gotoAndPlay(2);
submit_btn.enabled = false;
submit_btn._visible = false;
}
if (totalscore0 <= 0) {
submit_btn._visible = false;
submit_btn.enabled = false;
}
_root.boardy = 50;
Instance of Symbol 643 MovieClip "lv24" in Frame 5
/* no clip actions */
Instance of Symbol 668 MovieClip "helpnum" in Frame 5
onClipEvent (load) {
gotoAndStop(_root.lifes + 1);
}
Instance of Symbol 737 MovieClip "gameover_mc" in Frame 5
onClipEvent (load) {
if (_root.lifes <= 0) {
gotoAndStop (2);
}
}
Instance of Symbol 749 MovieClip "not_t45" in Frame 5
onClipEvent (load) {
sub = function () {
if (((this._url.indexOf(_parent.game1_url) != -1) || (this._url.indexOf(_parent.game2_url) != -1)) || (this._url.indexOf(_parent.game3_url) != -1)) {
this._visible = false;
var _local4 = new MovieClipLoader();
_local4.addListener(this);
_local4.loadClip(_root.score_url, _root.load_board);
_root.load_board._x = (Stage.width / 2) - 173;
_root.load_board._y = ((Stage.height / 2) - 150) + _root.boardy;
_root.variables = String(_root.variables).split("").reverse();
_root.variables = _root.variables.join("");
} else {
this._visible = true;
}
};
this._visible = false;
}
Frame 6
stop();
reset = "0";
temp1 = "0";
temp2 = "0";
temp3 = "0";
temp4 = "0";
temp5 = "0";
temp6 = "0";
temp7 = "0";
temp8 = "0";
temp9 = "0";
temp10 = "0";
temp11 = "0";
temp12 = "0";
temp13 = "0";
temp14 = "0";
temp15 = "0";
temp16 = "0";
temp17 = "0";
temp18 = "0";
temp19 = "0";
temp20 = "0";
temp21 = "0";
temp22 = "0";
temp23 = "0";
temp24 = "0";
temp25 = "0";
temp26 = "0";
temp27 = "0";
temp28 = "0";
temp29 = "0";
temp30 = "0";
temp31 = "0";
temp32 = "0";
temp33 = "0";
temp34 = "0";
temp35 = "0";
temp36 = "0";
temp37 = "0";
temp38 = "0";
temp39 = "0";
temp40 = "0";
temp41 = "0";
temp42 = "0";
temp43 = "0";
temp44 = "0";
temp45 = "0";
temp46 = "0";
temp47 = "0";
temp48 = "0";
temp49 = "0";
temp50 = "0";
temp51 = "0";
temp52 = "0";
temp53 = "0";
temp54 = "0";
temp55 = "0";
temp56 = "0";
temp57 = "0";
temp58 = "0";
temp59 = "0";
temp60 = "0";
temp61 = "0";
temp62 = "0";
temp63 = "0";
temp64 = "0";
temp65 = "0";
temp66 = "0";
temp67 = "0";
temp68 = "0";
temp69 = "0";
temp70 = "0";
temp71 = "0";
temp72 = "0";
temp73 = "0";
temp74 = "0";
temp75 = "0";
temp76 = "0";
temp77 = "0";
temp78 = "0";
temp79 = "0";
temp80 = "0";
temp81 = "0";
temp82 = "0";
temp83 = "0";
temp84 = "0";
temp85 = "0";
temp86 = "0";
temp87 = "0";
temp88 = "0";
temp89 = "0";
temp90 = "0";
temp91 = "0";
temp92 = "0";
temp93 = "0";
temp94 = "0";
temp95 = "0";
temp96 = "0";
temp97 = "0";
temp98 = "0";
temp99 = "0";
temp100 = "0";
temp101 = "0";
temp102 = "0";
temp103 = "0";
temp104 = "0";
temp105 = "0";
temp106 = "0";
temp107 = "0";
temp108 = "0";
temp109 = "0";
temp110 = "0";
temp111 = "0";
temp112 = "0";
temp113 = "0";
temp114 = "0";
temp115 = "0";
temp116 = "0";
temp117 = "0";
temp118 = "0";
temp119 = "0";
temp120 = "0";
temp121 = "0";
temp122 = "0";
temp123 = "0";
temp124 = "0";
temp125 = "0";
temp126 = "0";
temp127 = "0";
temp128 = "0";
temp129 = "0";
temp130 = "0";
temp131 = "0";
temp132 = "0";
temp133 = "0";
temp134 = "0";
temp135 = "0";
temp136 = "0";
temp137 = "0";
temp138 = "0";
temp139 = "0";
temp140 = "0";
temp141 = "0";
temp142 = "0";
temp143 = "0";
temp144 = "0";
myobj = new Object();
myobj.onKeyDown = function () {
if (Key.isDown(32) and Key.isDown(39)) {
play();
}
};
Key.addListener(myobj);
function connectit(clickkey) {
mynes.start();
if ((startkey == 0) && (totalg[clickkey] != 50)) {
startkey = clickkey;
}
if ((((startkey != 0) && (startkey != clickkey)) && (totalg[clickkey] != totalg[startkey])) && (totalg[clickkey] != 50)) {
_root["g" + startkey].gotoAndStop(1);
startkey = clickkey;
}
if (((startkey != 0) && (startkey != clickkey)) && (totalg[clickkey] == totalg[startkey])) {
_root["g" + startkey].gotoAndStop(1);
endkey = clickkey;
tempstart = totalg[startkey];
tempend = totalg[endkey];
thestring = startkey;
totalg[startkey] = 50;
totalg[endkey] = 50;
findlu(startkey, endkey);
totalg[startkey] = tempstart;
totalg[endkey] = tempend;
startkey = 0;
endkey = 0;
if (thestring != startkey) {
getline = thestring.split(",");
_root.ctrl.gotoAndPlay(2);
_root.killit = false;
}
}
if (startkey != 0) {
_root["g" + startkey].gotoAndStop(2);
}
}
function findlu(x, y) {
thestartx = ((x - 1) % 16) + 1;
thestarty = ((x - thestartx) / 16) + 1;
theendx = ((y - 1) % 16) + 1;
theendy = ((y - theendx) / 16) + 1;
ii = thestartx;
while (ii >= 1) {
thenext = 88;
k = ((thestarty - 1) * 16) + ii;
x_lt(k, x);
k1 = ((theendy - 1) * 16) + ii;
x_lt(k1, y);
y_lt(k, k1);
if (thenext != 0) {
tmps = x;
i = 1;
while (i < (Math.abs(thestartx - ii) + 1)) {
tmps = tmps - 1;
thestring = (thestring + ",") + tmps;
i++;
}
if (thestarty < theendy) {
i = 1;
while (i < ((theendy - thestarty) + 1)) {
tmps = tmps + 16;
thestring = (thestring + ",") + tmps;
i++;
}
} else {
i = 1;
while (i < ((thestarty - theendy) + 1)) {
tmps = tmps - 16;
thestring = (thestring + ",") + tmps;
i++;
}
}
i = 1;
while (i < (Math.abs(theendx - ii) + 1)) {
if (k1 < y) {
tmps = tmps + 1;
} else {
tmps = tmps - 1;
}
thestring = (thestring + ",") + tmps;
i++;
}
return(undefined);
}
ii--;
}
ii = thestartx + 1;
while (ii <= 16) {
thenext = 88;
k = ((thestarty - 1) * 16) + ii;
x_lt(k, x);
k1 = ((theendy - 1) * 16) + ii;
x_lt(k1, y);
y_lt(k, k1);
if (thenext != 0) {
tmps = x;
i = 1;
while (i < (Math.abs(thestartx - ii) + 1)) {
tmps = tmps + 1;
thestring = (thestring + ",") + tmps;
i++;
}
if (thestarty < theendy) {
i = 1;
while (i < ((theendy - thestarty) + 1)) {
tmps = tmps + 16;
thestring = (thestring + ",") + tmps;
i++;
}
} else {
i = 1;
while (i < ((thestarty - theendy) + 1)) {
tmps = tmps - 16;
thestring = (thestring + ",") + tmps;
i++;
}
}
i = 1;
while (i < (Math.abs(theendx - ii) + 1)) {
if (k1 < y) {
tmps = tmps + 1;
} else {
tmps = tmps - 1;
}
thestring = (thestring + ",") + tmps;
i++;
}
return(undefined);
}
ii++;
}
ii = thestarty;
while (ii >= 1) {
thenext = 88;
k = ((ii - 1) * 16) + thestartx;
y_lt(k, x);
k1 = ((ii - 1) * 16) + theendx;
y_lt(k1, y);
x_lt(k, k1);
if (thenext != 0) {
tmps = x;
i = 1;
while (i < (Math.abs(thestarty - ii) + 1)) {
tmps = tmps - 16;
thestring = (thestring + ",") + tmps;
i++;
}
if (thestartx < theendx) {
i = 1;
while (i < ((theendx - thestartx) + 1)) {
tmps = tmps + 1;
thestring = (thestring + ",") + tmps;
i++;
}
} else {
i = 1;
while (i < ((thestartx - theendx) + 1)) {
tmps = tmps - 1;
thestring = (thestring + ",") + tmps;
i++;
}
}
i = 1;
while (i < (Math.abs(theendy - ii) + 1)) {
if (k1 < y) {
tmps = tmps + 16;
} else {
tmps = tmps - 16;
}
thestring = (thestring + ",") + tmps;
i++;
}
return(undefined);
}
ii--;
}
ii = thestarty + 1;
while (ii <= 16) {
thenext = 88;
k = ((ii - 1) * 16) + thestartx;
y_lt(k, x);
k1 = ((ii - 1) * 16) + theendx;
y_lt(k1, y);
x_lt(k, k1);
if (thenext != 0) {
tmps = x;
i = 1;
while (i < (Math.abs(thestarty - ii) + 1)) {
tmps = tmps + 16;
thestring = (thestring + ",") + tmps;
i++;
}
if (thestartx < theendx) {
i = 1;
while (i < ((theendx - thestartx) + 1)) {
tmps = tmps + 1;
thestring = (thestring + ",") + tmps;
i++;
}
} else {
i = 1;
while (i < ((thestartx - theendx) + 1)) {
tmps = tmps - 1;
thestring = (thestring + ",") + tmps;
i++;
}
}
i = 1;
while (i < (Math.abs(theendy - ii) + 1)) {
if (k1 < y) {
tmps = tmps + 16;
} else {
tmps = tmps - 16;
}
thestring = (thestring + ",") + tmps;
i++;
}
return(undefined);
}
ii++;
}
if (thenext == 0) {
thestring = 0;
}
}
function x_lt(xx, yy) {
kk = 0;
while (kk < (Math.abs(yy - xx) + 1)) {
thetest = Math.min(xx, yy) + kk;
if (totalg[thetest] < 50) {
thenext = 0;
}
kk++;
}
}
function y_lt(xx, yy) {
kk = 0;
while (kk < ((Math.abs(yy - xx) / 16) + 1)) {
thetest = Math.min(xx, yy) + (kk * 16);
if (totalg[thetest] < 50) {
thenext = 0;
}
kk++;
}
}
mylevel1 = [50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 50, 50, 50, 50, 50, 50, 50, 50, 0, 50, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 0, 50, 50, 50, 50, 50, 50, 50, 50, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel2 = [50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 50, 0, 0, 50, 0, 50, 50, 0, 50, 50, 0, 50, 50, 0, 50, 0, 0, 50, 0, 50, 50, 0, 50, 50, 0, 50, 50, 0, 50, 0, 0, 50, 0, 50, 50, 0, 50, 50, 0, 50, 50, 0, 50, 0, 0, 50, 0, 50, 50, 0, 50, 50, 0, 50, 50, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel3 = [50, 0, 0, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 50, 50, 0, 0, 0, 0, 50, 50, 0, 50, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 0, 50, 0, 50, 50, 50, 50, 0, 50, 0, 50, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 0, 50, 50, 0, 0, 0, 0, 50, 50, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0];
mylevel4 = [50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 50, 0, 50, 50, 50, 50, 50, 50, 50, 50, 0, 50, 0, 0, 50, 0, 50, 50, 50, 50, 50, 50, 50, 50, 0, 50, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel5 = [50, 50, 50, 50, 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50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel8 = [50, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0];
mylevel9 = [50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50];
mylevel10 = [50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 50, 50, 0, 0, 0, 50, 50, 50, 50, 50, 50, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 50, 50, 50, 50, 50, 50, 0, 0, 0, 50, 50, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50];
mylevel11 = [50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50];
mylevel12 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel20 = new Array(50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 50, 0, 0, 0);
mylevel21 = [50, 0, 0, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 0, 50, 0, 0, 50, 50, 0, 0, 50, 50, 0, 0, 50, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0];
mylevel22 = [50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 0, 0, 0, 0, 50, 50, 0, 0, 50, 0, 0, 0, 50, 50, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 0, 50, 50, 50, 50, 50, 50, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50];
mylevel23 = [50, 50, 50, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 50, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 50, 50, 0, 0, 0, 0, 50, 50, 0, 0, 50, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50];
mylevel24 = [0, 0, 0, 0, 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0, 0, 50, 0, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 50, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel27 = [50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
mylevel28 = [50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 0, 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duplicateMovieClip (pause_mc1, "pause_mc", 99916);
duplicateMovieClip (fen_mc1, "fen_mc", 99915);
killit = false;
g_num = 192;
a_width = 45;
a_width2 = 40;
a_x0 = 5;
a_y0 = 20;
i = 1;
while (i <= g_num) {
duplicateMovieClip (g0, "g" + i, 400 + i);
duplicateMovieClip (c0, "c" + i, 9000 + i);
_root["g" + i]._x = (a_width * ((i - 1) % 16)) + a_x0;
_root["g" + i]._y = (a_width2 * int((i - 1) / 16)) + a_y0;
_root["c" + i]._x = (a_width * ((i - 1) % 16)) + a_x0;
_root["c" + i]._y = (a_width2 * int(i / 16)) + a_y0;
i++;
}
a_num = 140;
i = 1;
while (i <= a_num) {
duplicateMovieClip (a0, "a" + i, i);
_root["a" + i]._x = ((a_width * ((i - 1) % 14)) + a_x0) + a_width;
_root["a" + i]._y = ((a_width2 * int((i - 1) / 14)) + a_y0) + a_width2;
i++;
}
_root.mybt._visible = 1;
_root.myf._visible = 1;
_root.myp._visible = 1;
helpnum._visible = 1;
_root.thetimer.tbar._visible = 1;
the_test_nm = 0;
_root["\u5F53\u524D\u5173\u5206"] = 0;
_root["\u8FDE\u51FB\u6570"] = 0;
coola = 0;
coolz = 0;
esc_bz = 0;
guanshu = new Array(3, 4, 5, 6, 7, 8, 9);
guanshu1 = new Array();
gi = 7;
while (gi >= 1) {
abi = random(gi);
guanshu1[gi - 1] = guanshu[abi];
guanshu.splice(abi, 1);
gi--;
}
mynes = new Sound();
mynes.attachSound("csound");
totaline = new Array();
totaline = eval ("mylevel" + thinkyou);
totaline2 = new Array(50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 0, 0, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 0, 0, 0, 0, 0, 0, 50, 50, 50, 50, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 0, 0, 50, 0, 0, 0, 0, 50, 50, 50, 0, 0, 50, 50, 50, 0, 0, 0);
totalg = new Array();
getline = new Array();
thestring = 0;
startkey = 0;
endkey = 0;
Set("\u603B\u6570", 0);
check_length_fun = function () {
ll = 1;
while (ll < totaline.length) {
if (totaline[ll] == 0) {
\u603B\u6570++;
}
ll++;
}
if ((\u603B\u6570 / 2) != int(\u603B\u6570 / 2)) {
Set("\u603B\u6570", \u603B\u6570 + 1);
}
};
check_length_fun();
myi = 0;
myj = 0;
Set("\u4E34\u65F6_array", new Array());
Set("\u4E34\u65F6_array2", new Array());
i = 1;
while (i < 141) {
if (totaline[i] == 0) {
if (myi < (\u603B\u6570 / 2)) {
if (myi < 36) {
_root.totaline[i] = myi + 1;
} else {
x = random(45) + 1;
_root.totaline[i] = x;
}
\u4E34\u65F6_array.push(_root.totaline[i]);
myi++;
} else {
totaline[i] = \u4E34\u65F6_array[myj];
\u4E34\u65F6_array2.push(_root.totaline[i]);
myj++;
}
}
i++;
}
i = 0;
while (i < 100) {
x = random(140) + 1;
y = random(140) + 1;
if ((totaline[x] != 50) and (totaline[y] != 50)) {
z = totaline[x];
totaline[x] = totaline[y];
totaline[y] = z;
}
i++;
}
i = 1;
while (i < 141) {
if (_root.totaline[i] == undefined) {
}
_root["a" + i].gotoAndStop(_root.totaline[i]);
i++;
}
j = 1;
i = 1;
while (i < 193) {
x = ((i - 1) % 16) + 1;
y = ((i - x) / 16) + 1;
if ((((x == 1) || (x == 16)) || (y == 1)) || (y == 12)) {
totalg[i] = 50;
} else {
totalg[i] = totaline[j];
j = j + 1;
}
i++;
}
kill2_fun = function () {
killnum = 1;
if ((_root.coola != 0) && (_root.totalg[_root.coola] != 50)) {
_root["g" + _root.coola].gotoAndStop(2);
_root.coola0 = _root.coola;
_root.connectit(_root.coola);
}
if ((_root.coolz != 0) && (_root.totalg[_root.coolz] != 50)) {
_root["g" + _root.coolz].gotoAndStop(2);
_root.coolz0 = _root.coolz;
_root.connectit(_root.coolz);
}
};
_root["\u7206\u70B8"] = 0;
restartit = false;
iscon = false;
mytest = false;
Instance of Symbol 668 MovieClip "helpnum" in Frame 6
onClipEvent (load) {
gotoAndStop(_root.lifes + 1);
}
Instance of Symbol 892 MovieClip "thetimer" in Frame 6
onClipEvent (load) {
_root["\u5012\u8BB0\u65F6"] = 1;
tbar._visible = 1;
_root.timetotal = this._totalframes - 20;
}
onClipEvent (enterFrame) {
if (_root["\u5012\u8BB0\u65F6"] < 1) {
_root["\u5012\u8BB0\u65F6"] = 0;
} else {
_root["\u5012\u8BB0\u65F6"] = int(((_root.timetotal - this._currentframe) / 25) * 10) / 10;
}
_root.shaizi.gotoAndStop(this._currentframe);
if ((this._currentframe >= _root.timetotal) and (_root.died._currentframe != 2)) {
_root.lifes--;
_root.helpnum.gotoAndStop(_root.lifes + 1);
_root.iscon = true;
_root.died.gotoAndStop(2);
i = 1;
while (i < 193) {
_root.totalg[i] = 50;
i++;
}
delete this.onEnterFrame;
}
}
Instance of Symbol 905 MovieClip "c0" in Frame 6
onClipEvent (mouseDown) {
if (((this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.pause_mc._currentframe == 1)) and (_root.kill_mc._currentframe == 1)) and (_root.killit == false)) {
_root.connectit(this._name.substr(1) * 1);
}
}
Instance of Symbol 1002 MovieClip in Frame 6
onClipEvent (load) {
if (_root.mysound1.getVolume() == 0) {
gotoAndStop (2);
}
_root.aaa = new Sound();
_root.aaa.attachSound("bg_music");
_root.aaa.start(0, 99999);
}
Frame 7
stop();
myp.enabled = false;
mybt.enabled = false;
Frame 8
stop();
delall();
thetimer.stop();
item_1btn.enabled = false;
item_2btn.enabled = false;
item_3btn.enabled = false;
mybt2.enabled = false;
mybt.enabled = false;
Instance of Symbol 749 MovieClip "not_t45" in Frame 8
onClipEvent (load) {
fun = function () {
if (((this._url.indexOf(_parent.game1_url) != -1) || (this._url.indexOf(_parent.game2_url) != -1)) || (this._url.indexOf(_parent.game3_url) != -1)) {
this._visible = false;
_parent.load_board;
_parent.score_url;
_parent.load_board._x = (Stage.width / 2) - 173;
_parent.load_board._y = ((Stage.height / 2) - 150) - 50;
_parent.variables = String(_parent.variables).split("").reverse();
_parent.variables = _parent.variables.join("");
} else {
this._visible = true;
}
_root.rep_btn._visible = true;
_root.rep_btn.enabled = true;
_root.quit_btn.enabled = false;
_root.help_btn.enabled = false;
};
this._visible = false;
_root.rep_btn._visible = false;
_root.rep_btn.enabled = false;
}
Frame 9
stop();
delall();
Symbol 33 MovieClip [exp] Frame 16
stop();
Instance of Symbol 37 MovieClip in Symbol 107 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 107 MovieClip Frame 84
stop();
Symbol 118 MovieClip Frame 2
stop();
Instance of Symbol 116 MovieClip "Bar_mc" in Symbol 118 MovieClip Frame 2
onClipEvent (enterFrame) {
TotalKB = _root.getBytesTotal() / 1000;
LoadedKB = _root.getBytesLoaded() / 1000;
LoadedPercent = int((LoadedKB / TotalKB) * 100);
_parent.Percent_txt.text = LoadedPercent + "%";
if ((LoadedPercent >= 100) and (_root._currentframe == 1)) {
_root.play();
}
_parent.Bar_mc.gotoAndStop(LoadedPercent);
}
onClipEvent (load) {
_root.Percent_txt.text = "0%";
}
Symbol 123 Button
on (release) {
}
Symbol 262 MovieClip Frame 2
gotoAndPlay (1);
Symbol 303 MovieClip Frame 2
gotoAndPlay (1);
Symbol 321 MovieClip Frame 164
_root.gotoAndPlay("start");
Symbol 325 Button
on (press, keyPress "<Enter>") {
_root.gotoAndPlay("start");
}
Symbol 353 Button
on (release) {
gotoAndStop (2);
_root.mysound1.setVolume(0);
}
Symbol 355 Button
on (release) {
gotoAndStop (1);
_root.mysound1.setVolume(100);
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 377 Button
on (release) {
myvar1 = new LoadVars();
myvar1.onLoad = function () {
if ((myvar1.success * 1) == 1) {
_root.getinfo = myvar1.info;
}
};
getmykey = function () {
myvar1.fngameid = _root.thisid;
};
getmykey();
_root.gotoAndStop(5);
}
Symbol 406 Button
on (press) {
gotoAndStop (4);
}
Symbol 413 Button
on (press) {
}
Symbol 447 Button
on (release) {
gotoAndStop (3);
}
Symbol 461 MovieClip Frame 14
stop();
Symbol 472 MovieClip Frame 13
stop();
Symbol 482 MovieClip Frame 13
stop();
Symbol 493 MovieClip Frame 13
stop();
Symbol 503 MovieClip Frame 13
stop();
Symbol 509 Button
on (release) {
}
Symbol 594 Button
on (release) {
if (shuffle > 0) {
shuffle--;
_root.shuffle_show = 1;
_root.ctrl.gotoAndPlay(4);
}
}
Symbol 608 Button
on (release) {
clearInterval(myset);
clearInterval(myset2);
temp = random(5);
if (temp != 1) {
temp2 = random(7) + 1;
tool_mc.gotoAndStop(temp2);
mc2.gotoAndStop(2);
if (temp2 == 1) {
_root.item_1++;
} else if (temp2 == 2) {
_root.item_2++;
} else if (temp2 == 3) {
_root.item_3++;
} else if (temp2 == 4) {
_root.shuffle++;
} else if (temp2 == 5) {
_root.thinkits++;
} else if (temp2 == 6) {
_root.totalscore0 = _root.totalscore0 + 500;
} else if (temp2 == 7) {
_root.totalscore0 = _root.totalscore0 + 1000;
}
} else {
tool_mc.gotoAndStop(8);
mc2.gotoAndStop(3);
}
roll_btn.enabled = false;
roll_btn._alpha = 60;
go_fun();
}
Symbol 609 MovieClip Frame 1
myset = setInterval(function () {
mc2.gotoAndStop(random(3) + 1);
}, 500);
myset2 = setInterval(function () {
tool_mc.gotoAndStop(random(8) + 1);
}, 50);
go_fun = function () {
setTimeout(function () {
_parent.play();
}, 3000);
};
Instance of Symbol 576 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 610 MovieClip Frame 1
Symbol 610 MovieClip Frame 33
stop();
Symbol 610 MovieClip Frame 44
stop();
Symbol 643 MovieClip Frame 1
this.onRelease = function () {
if ((this._currentframe == 1) and (_root.thinkyou == (this._name.substr(2) * 1))) {
_root.thinkyou = this._name.substr(2) * 1;
_root.gotoAndStop(6);
}
};
Instance of Symbol 612 MovieClip in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 643 MovieClip Frame 17
gotoAndPlay (2);
Symbol 655 MovieClip Frame 1
this.onRelease = function () {
if (_root.thinkyou == (this._name.substr(2) * 1)) {
_root.gotoAndStop(6);
}
};
Symbol 668 MovieClip Frame 1
stop();
Symbol 682 Button
on (release) {
roll_mc.gotoAndStop(1);
var i = 1;
while (i < 31) {
this["lv" + i].enabled = false;
i++;
}
_root.boardy = -50;
_root.not_t45.sub();
submit_btn._visible = false;
submit_btn.enabled = false;
}
Symbol 688 Button
on (release) {
gotoAndStop ("start");
}
Symbol 692 MovieClip Frame 1
stop();
this.onRelease = function () {
if ((this._currentframe == 1) and ((this._name.substr(2) * 1) == _root.thinkyou)) {
_root.thinkyou = this._name.substr(2) * 1;
_root.gotoAndStop(6);
}
};
Symbol 717 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 725 MovieClip Frame 37
stop();
Symbol 727 MovieClip Frame 1
i = 2;
while (Number(i) < 80) {
duplicateMovieClip ("isk1", "isk" + i, 16384 + i);
setProperty("isk" + i, _rotation , random(360));
scalefactor = 40 + Number(random(60));
setProperty("isk" + i, _xscale , scalefactor);
setProperty("isk" + i, _yscale , scalefactor);
i = Number(i) + 1;
}
Symbol 730 MovieClip Frame 1
if (_root.thinkyou >= 31) {
play();
} else {
stop();
}
Symbol 730 MovieClip Frame 38
stop();
_root.not_t45.sub();
Symbol 737 MovieClip Frame 1
stop();
Symbol 737 MovieClip Frame 2
_root.roll_mc.gotoAndStop(1);
var i = 1;
while (i < 31) {
_root["lv" + i].enabled = false;
i++;
}
_root.not_t45.sub();
_root.submit_btn._visible = false;
_root.submit_btn.enabled = false;
_root.arrow_mc._visible = false;
Symbol 744 Button
on (release) {
_root.game_id;
}
Symbol 748 Button
on (release) {
}
Instance of Symbol 33 MovieClip [exp] in Symbol 846 MovieClip Frame 46
onClipEvent (load) {
if (_root["\u7206\u70B8"] == 0) {
_visible = false;
gotoAndStop (1);
} else {
gotoAndPlay (2);
_visible = true;
}
}
Symbol 878 MovieClip Frame 1
stop();
stop();
Symbol 885 MovieClip Frame 1
stop();
Symbol 892 MovieClip Frame 1
Symbol 896 MovieClip Frame 1
stop();
Symbol 900 Button
on (release) {
if (item_1btn.enabled == true) {
if (_root.item_1 > 0) {
killit = true;
if ((_root.coola != 0) && (_root.totalg[_root.coola] != 50)) {
_root.item_1 = _root.item_1 - 1;
tellTarget ("_root.g" + _root.coola) {
gotoAndStop (2);
};
_root.coola0 = _root.coola;
_root.connectit(_root.coola);
}
if ((_root.coolz != 0) && (_root.totalg[_root.coolz] != 50)) {
tellTarget ("_root.g" + _root.coolz) {
gotoAndStop (2);
_root.coolz0 = _root.coolz;
setTimeout(function () {
_root.connectit(_root.coolz);
killit = false;
}, 500);
};
}
}
}
}
Symbol 901 Button
on (release) {
if (item_2 > 0) {
_root.item_2 = _root.item_2 - 1;
tempaddtime = thetimer._currentframe - 200;
if (tempaddtime >= 1) {
thetimer.gotoAndPlay(tempaddtime);
} else {
thetimer.gotoAndPlay(1);
}
}
}
Symbol 902 Button
on (release) {
if ((_root.item_3 > 0) and (kill_mc._currentframe == 1)) {
_root.item_3 = _root.item_3 - 1;
kill_mc.gotoAndPlay(2);
}
}
Symbol 903 Button
on (release, keyPress "f") {
if (mybt.enabled == true) {
if (_root.thinkits > 0) {
if ((_root.coola != 0) && (_root.totalg[_root.coola] != 50)) {
_root.thinkits = _root.thinkits - 1;
_root.helpnum.gotoAndStop(_root.thinkits + 1);
tellTarget ("_root.g" + _root.coola) {
gotoAndStop (2);
};
_root.coola0 = _root.coola;
}
if ((_root.coolz != 0) && (_root.totalg[_root.coolz] != 50)) {
tellTarget ("_root.g" + _root.coolz) {
gotoAndStop (2);
_root.coolz0 = _root.coolz;
};
}
}
}
}
Symbol 918 MovieClip Frame 1
stop();
Instance of Symbol 912 MovieClip in Symbol 918 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 927 Button
on (release, keyPress "p") {
if (_root.esc_bz == 0) {
_root.esc_bz = 1;
_root.thetimer.stop();
_root.pause_mc.gotoAndStop(2);
} else {
_root.esc_bz = 0;
_root.thetimer.play();
_root.pause_mc.gotoAndStop(1);
}
}
Symbol 931 Button
on (release, keyPress "q") {
_root.yn_mc.gotoAndStop(2);
}
Symbol 937 Button
on (release) {
if (died._currentframe == 1) {
_root.iscon = false;
died.gotoAndStop(2);
}
}
Symbol 938 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 2
if ((_root.coola != 0) && (_root.totalg[_root.coola] != 50)) {
tellTarget ("_root.g" + _root.coola) {
gotoAndStop (2);
};
_root.coola0 = _root.coola;
_root.connectit(_root.coola);
}
if ((_root.coolz != 0) && (_root.totalg[_root.coolz] != 50)) {
tellTarget ("_root.g" + _root.coolz) {
gotoAndStop (2);
_root.coolz0 = _root.coolz;
};
}
Symbol 939 MovieClip Frame 14
_root.connectit(_root.coolz);
Symbol 939 MovieClip Frame 22
if ((_root.coola != 0) && (_root.totalg[_root.coola] != 50)) {
tellTarget ("_root.g" + _root.coola) {
gotoAndStop (2);
};
_root.coola0 = _root.coola;
_root.connectit(_root.coola);
}
if ((_root.coolz != 0) && (_root.totalg[_root.coolz] != 50)) {
tellTarget ("_root.g" + _root.coolz) {
gotoAndStop (2);
_root.coolz0 = _root.coolz;
};
}
Symbol 939 MovieClip Frame 33
_root.connectit(_root.coolz);
if (_root.mytest) {
gotoAndPlay (2);
}
Symbol 940 MovieClip Frame 1
gotoAndStop (4);
Symbol 940 MovieClip Frame 2
guan3 = function () {
if (((xy - 1) < 6) && ((yy - 1) < 6)) {
i = yy - 1;
while (i < 5) {
_root.totaline[(((14 * i) - 14) + yx) - 1] = _root.totaline[((14 * i) + yx) - 1];
i++;
}
_root.totaline[(56 + yx) - 1] = 50;
i = xy - 1;
while (i < 5) {
_root.totaline[(((14 * i) - 14) + xx) - 1] = _root.totaline[((14 * i) + xx) - 1];
i++;
}
_root.totaline[(56 + xx) - 1] = 50;
}
if (((xy - 1) > 5) && ((yy - 1) > 5)) {
i = xy - 1;
while (i > 6) {
_root.totaline[(((14 * i) - 14) + xx) - 1] = _root.totaline[(((14 * i) - 28) + xx) - 1];
i--;
}
_root.totaline[(70 + xx) - 1] = 50;
i = yy - 1;
while (i > 6) {
_root.totaline[(((14 * i) - 14) + yx) - 1] = _root.totaline[(((14 * i) - 28) + yx) - 1];
i--;
}
_root.totaline[(70 + yx) - 1] = 50;
}
if ((((xy - 1) > 5) && ((yy - 1) < 6)) || (((xy - 1) < 6) && ((yy - 1) > 5))) {
if ((yy - 1) < 6) {
i = yy - 1;
while (i < 5) {
_root.totaline[(((14 * i) - 14) + yx) - 1] = _root.totaline[((14 * i) + yx) - 1];
i++;
}
_root.totaline[(56 + yx) - 1] = 50;
}
if ((xy - 1) < 6) {
i = xy - 1;
while (i < 5) {
_root.totaline[(((14 * i) - 14) + xx) - 1] = _root.totaline[((14 * i) + xx) - 1];
i++;
}
_root.totaline[(56 + xx) - 1] = 50;
}
if ((xy - 1) > 5) {
i = xy - 1;
while (i > 6) {
_root.totaline[(((14 * i) - 14) + xx) - 1] = _root.totaline[(((14 * i) - 28) + xx) - 1];
i--;
}
_root.totaline[(70 + xx) - 1] = 50;
}
if ((yy - 1) > 5) {
i = yy - 1;
while (i > 6) {
_root.totaline[(((14 * i) - 14) + yx) - 1] = _root.totaline[(((14 * i) - 28) + yx) - 1];
i--;
}
_root.totaline[(70 + yx) - 1] = 50;
}
}
};
guan4 = function () {
if (((xx - 1) < 8) && ((yx - 1) < 8)) {
i = yx - 1;
while (i < 7) {
_root.totaline[((14 * yy) - 28) + i] = _root.totaline[(((14 * yy) - 28) + i) + 1];
i++;
}
_root.totaline[((14 * yy) - 28) + 7] = 50;
i = xx - 1;
while (i < 7) {
_root.totaline[((14 * xy) - 28) + i] = _root.totaline[(((14 * xy) - 28) + i) + 1];
i++;
}
_root.totaline[((14 * xy) - 28) + 7] = 50;
}
if (((xx - 1) > 7) && ((yx - 1) > 7)) {
i = xx - 1;
while (i > 8) {
_root.totaline[((14 * xy) - 28) + i] = _root.totaline[(((14 * xy) - 28) + i) - 1];
i--;
}
_root.totaline[((14 * xy) - 28) + 8] = 50;
i = yx - 1;
while (i > 8) {
_root.totaline[((14 * yy) - 28) + i] = _root.totaline[(((14 * yy) - 28) + i) - 1];
i--;
}
_root.totaline[((14 * yy) - 28) + 8] = 50;
}
if ((((xx - 1) < 8) && ((yx - 1) > 7)) || (((yx - 1) < 8) && ((xx - 1) > 7))) {
if ((yx - 1) < 8) {
i = yx - 1;
while (i < 7) {
_root.totaline[((14 * yy) - 28) + i] = _root.totaline[(((14 * yy) - 28) + i) + 1];
i++;
}
_root.totaline[((14 * yy) - 28) + 7] = 50;
}
if ((xx - 1) < 8) {
i = xx - 1;
while (i < 7) {
_root.totaline[((14 * xy) - 28) + i] = _root.totaline[(((14 * xy) - 28) + i) + 1];
i++;
}
_root.totaline[((14 * xy) - 28) + 7] = 50;
}
if ((xx - 1) > 7) {
i = xx - 1;
while (i > 8) {
_root.totaline[((14 * xy) - 28) + i] = _root.totaline[(((14 * xy) - 28) + i) - 1];
i--;
}
_root.totaline[((14 * xy) - 28) + 8] = 50;
}
if ((yx - 1) > 7) {
i = yx - 1;
while (i > 8) {
_root.totaline[((14 * yy) - 28) + i] = _root.totaline[(((14 * yy) - 28) + i) - 1];
i--;
}
_root.totaline[((14 * yy) - 28) + 8] = 50;
}
}
};
guan5 = function () {
i = yx - 1;
while (i < 14) {
_root.totaline[((14 * yy) - 28) + i] = _root.totaline[(((14 * yy) - 28) + i) + 1];
i++;
}
_root.totaline[((14 * yy) - 28) + 14] = 50;
i = xx - 1;
while (i < 14) {
_root.totaline[((14 * xy) - 28) + i] = _root.totaline[(((14 * xy) - 28) + i) + 1];
i++;
}
_root.totaline[((14 * xy) - 28) + 14] = 50;
};
guan6 = function () {
i = xy - 1;
while (i > 1) {
_root.totaline[(((14 * i) - 14) + xx) - 1] = _root.totaline[(((14 * i) - 28) + xx) - 1];
i--;
}
_root.totaline[xx - 1] = 50;
i = yy - 1;
while (i > 1) {
_root.totaline[(((14 * i) - 14) + yx) - 1] = _root.totaline[(((14 * i) - 28) + yx) - 1];
i--;
}
_root.totaline[yx - 1] = 50;
};
guan7 = function () {
i = yy - 1;
while (i < 10) {
_root.totaline[(((14 * i) - 14) + yx) - 1] = _root.totaline[((14 * i) + yx) - 1];
i++;
}
_root.totaline[(yx - 1) + 126] = 50;
i = xy - 1;
while (i < 10) {
_root.totaline[(((14 * i) - 14) + xx) - 1] = _root.totaline[((14 * i) + xx) - 1];
i++;
}
_root.totaline[(xx - 1) + 126] = 50;
};
guan8 = function () {
i = xx - 1;
while (i > 1) {
_root.totaline[((14 * xy) - 28) + i] = _root.totaline[(((14 * xy) - 28) + i) - 1];
i--;
}
_root.totaline[((14 * xy) - 28) + 1] = 50;
i = yx - 1;
while (i > 1) {
_root.totaline[((14 * yy) - 28) + i] = _root.totaline[(((14 * yy) - 28) + i) - 1];
i--;
}
_root.totaline[((14 * yy) - 28) + 1] = 50;
};
guan9 = function () {
_root.totaline[x] = 50;
_root.totaline[y] = 50;
joinall(x);
};
Symbol 940 MovieClip Frame 3
function joinall() {
mykey = 0;
i = 1;
while (i < 141) {
x_i = ((i - 1) % 14) + 1;
y_i = ((i - x_i) / 14) + 1;
if (((_root.totaline[i] == 50) && (i > 14)) && (i < 127)) {
if ((y_i < 6) && (_root.totaline[i - 14] < 50)) {
_root.totaline[i] = _root.totaline[i - 14];
_root.totaline[i - 14] = 50;
mykey = 1;
}
if ((y_i > 5) && (_root.totaline[i + 14] < 50)) {
_root.totaline[i] = _root.totaline[i + 14];
_root.totaline[i + 14] = 50;
mykey = 1;
}
}
if (((_root.totaline[i] == 50) && (x_i > 1)) && (x_i < 14)) {
if ((x_i < 8) && (_root.totaline[i - 1] < 50)) {
_root.totaline[i] = _root.totaline[i - 1];
_root.totaline[i - 1] = 50;
mykey = 1;
}
if ((x_i > 7) && (_root.totaline[i + 1] < 50)) {
_root.totaline[i] = _root.totaline[i + 1];
_root.totaline[i + 1] = 50;
mykey = 1;
}
}
i++;
}
if (mykey == 1) {
joinall();
} else {
return(undefined);
}
}
rudi._x = rudi.xstart;
rudi._y = 200;
ebene = 7;
goodies = 0;
g.gotoAndStop(goodies + 1);
sballlev = 100;
sball.lev = 2;
sballlev = 0;
var sballID;
i = 0;
while (i < _root.getline.length) {
if (i == 0) {
if ((_root.getline[i + 1] - _root.getline[i]) == -16) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (3);
};
}
if ((_root.getline[i + 1] - _root.getline[i]) == 16) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (4);
};
}
if ((_root.getline[i + 1] - _root.getline[i]) == -1) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (5);
};
}
if ((_root.getline[i + 1] - _root.getline[i]) == 1) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (6);
};
}
}
if (i == (_root.getline.length - 1)) {
if ((_root.getline[i - 1] - _root.getline[i]) == -16) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (3);
};
}
if ((_root.getline[i - 1] - _root.getline[i]) == 16) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (4);
};
}
if ((_root.getline[i - 1] - _root.getline[i]) == -1) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (5);
};
}
if ((_root.getline[i - 1] - _root.getline[i]) == 1) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (6);
};
}
}
if ((i != 0) && (i != (_root.getline.length - 1))) {
if ((Math.abs(_root.getline[i + 1] - _root.getline[i]) == 16) && (Math.abs(_root.getline[i - 1] - _root.getline[i]) == 16)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (7);
};
}
if ((Math.abs(_root.getline[i + 1] - _root.getline[i]) == 1) && (Math.abs(_root.getline[i - 1] - _root.getline[i]) == 1)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (8);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == -16) && ((_root.getline[i - 1] - _root.getline[i]) == -1)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (9);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == -16) && ((_root.getline[i - 1] - _root.getline[i]) == 1)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (10);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == 16) && ((_root.getline[i - 1] - _root.getline[i]) == -1)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (11);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == 16) && ((_root.getline[i - 1] - _root.getline[i]) == 1)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (12);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == -1) && ((_root.getline[i - 1] - _root.getline[i]) == -16)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (9);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == 1) && ((_root.getline[i - 1] - _root.getline[i]) == -16)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (10);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == -1) && ((_root.getline[i - 1] - _root.getline[i]) == 16)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (11);
};
}
if (((_root.getline[i + 1] - _root.getline[i]) == 1) && ((_root.getline[i - 1] - _root.getline[i]) == 16)) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (12);
};
}
}
i++;
}
k1 = _root.getline[0] * 1;
k2 = _root.getline[_root.getline.length - 1] * 1;
_root.fen_mc._x = _root["c" + _root.getline[_root.getline.length - 1]]._x;
_root.fen_mc._y = _root["c" + _root.getline[_root.getline.length - 1]]._y;
x = Math.min(_root.getline[0], _root.getline[_root.getline.length - 1]) * 1;
y = Math.max(_root.getline[0], _root.getline[_root.getline.length - 1]) * 1;
xx = (((x - 1) % 16) + 1) * 1;
xy = (((x - xx) / 16) + 1) * 1;
x = (((x - 16) - ((xy - 1) * 2)) + 1) * 1;
yx = (((y - 1) % 16) + 1) * 1;
yy = (((y - yx) / 16) + 1) * 1;
y = (((y - 16) - ((yy - 1) * 2)) + 1) * 1;
if (!((_root.thinkyou % 6) === 0)) {
_root.totaline[x] = 50;
_root.totaline[y] = 50;
} else if (_root.thinkyou == 6) {
tempguan = random(2);
if (tempguan == 1) {
guan8();
} else {
guan3();
}
} else if (_root.thinkyou == 12) {
tempguan = random(2);
if (tempguan == 1) {
guan4();
} else {
guan9();
}
} else if (_root.thinkyou == 18) {
guan5();
} else if (_root.thinkyou == 24) {
guan6();
} else if (_root.thinkyou == 30) {
guan7();
} else if (_root.thinkyou == 29) {
} else if (_root.thinkyou == 30) {
}
j = 1;
i = 1;
while (i < 193) {
x = ((i - 1) % 16) + 1;
y = ((i - x) / 16) + 1;
if ((((x == 1) || (x == 16)) || (y == 1)) || (y == 12)) {
_root.totalg[i] = 50;
} else {
_root.totalg[i] = _root.totaline[j];
j = j + 1;
}
i++;
}
if (_root.thinkyou <= 6) {
_root.totalscore0 = _root.totalscore0 + 10;
_root["\u52A0\u7684\u5206"] = 10;
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + 10;
} else if ((_root.thinkyou <= 12) and (_root.thinkyou > 6)) {
_root.totalscore0 = _root.totalscore0 + 15;
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + 15;
_root["\u52A0\u7684\u5206"] = 15;
} else if ((_root.thinkyou <= 18) and (_root.thinkyou > 12)) {
_root.totalscore0 = _root.totalscore0 + 20;
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + 20;
_root["\u52A0\u7684\u5206"] = 20;
} else if ((_root.thinkyou >= 19) and (_root.thinkyou < 25)) {
_root.totalscore0 = _root.totalscore0 + 30;
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + 30;
_root["\u52A0\u7684\u5206"] = 30;
} else if (_root.thinkyou <= 30) {
_root.totalscore0 = _root.totalscore0 + 40;
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + 40;
_root["\u52A0\u7684\u5206"] = 40;
}
if (_root.thinkyou <= 6) {
myaddtime = 280;
} else if (_root.thinkyou <= 12) {
myaddtime = 200;
} else if (_root.thinkyou <= 18) {
myaddtime = 120;
} else if (_root.thinkyou <= 24) {
myaddtime = 80;
} else if (_root.thinkyou <= 28) {
myaddtime = 50;
} else if (_root.thinkyou <= 29) {
myaddtime = 35;
} else if (_root.thinkyou <= 31) {
myaddtime = 20;
}
_root.fen_mc.gotoAndPlay(2);
if ((_root.thetimer._currentframe - myaddtime) > 0) {
_root.thetimer.gotoAndPlay(_root.thetimer._currentframe - myaddtime);
} else {
_root.thetimer.gotoAndPlay(1);
}
if (_root.addspeed_mc._currentframe != 1) {
_root["\u8FDE\u51FB\u6570"] = _root["\u8FDE\u51FB\u6570"] + 1;
}
_root.addspeed_mc.gotoAndPlay(2);
Symbol 940 MovieClip Frame 4
function encrypt(string) {
localkey = encryptkey;
encrypt1 = new Array();
i = 0;
while (i < string.length) {
encryptchar = new Number();
encryptchar = int(string.charCodeAt(i));
j = 0;
while (j < localkey.length) {
codewith = int(localkey.charCodeAt(j));
encryptchar = encryptchar ^ codewith;
j++;
}
encrypt1[i] = String(encryptchar);
i++;
}
strencrypt = encrypt1.join(":");
return(strencrypt);
}
function getit(x, y) {
thestartx = ((x - 1) % 16) + 1;
thestarty = ((x - thestartx) / 16) + 1;
theendx = ((y - 1) % 16) + 1;
theendy = ((y - theendx) / 16) + 1;
ii = 16;
while (ii >= 1) {
thenext = 88;
k = ((thestarty - 1) * 16) + ii;
x_l(k, x);
k1 = ((theendy - 1) * 16) + ii;
x_l(k1, y);
y_l(k, k1);
if (thenext == 88) {
diednum = 3;
return(undefined);
}
ii--;
}
ii = 16;
while (ii >= 1) {
thenext = 88;
k = ((ii - 1) * 16) + thestartx;
y_l(k, x);
k1 = ((ii - 1) * 16) + theendx;
y_l(k1, y);
x_l(k, k1);
if (thenext == 88) {
diednum = 3;
return(undefined);
}
ii--;
}
}
function x_l(xx, yy) {
kk = 0;
while (kk < (Math.abs(yy - xx) + 1)) {
thetest = Math.min(xx, yy) + kk;
if (_root.totalg[thetest] < 50) {
_root.ctrl.thenext = 0;
return(undefined);
}
kk++;
}
}
function y_l(xx, yy) {
kk = 0;
while (kk < ((Math.abs(yy - xx) / 16) + 1)) {
thetest = Math.min(xx, yy) + (kk * 16);
if (_root.totalg[thetest] < 50) {
_root.ctrl.thenext = 0;
return(undefined);
}
kk++;
}
}
_root.coola = 0;
_root.coolz = 0;
stop();
diednum = 1;
_root.the_test_nm = 0;
thenext = 0;
i = 18;
while (i < 176) {
if (((diednum == 1) && (_root.totalg[i] != 50)) && (_root.totalg[i] == _root.totalg[i + 1])) {
diednum = 0;
_root.coola = i;
_root.coolz = i + 1;
break;
}
if (((diednum == 1) && (_root.totalg[i] != 50)) && (_root.totalg[i] == _root.totalg[i + 16])) {
diednum = 0;
_root.coola = i;
_root.coolz = i + 16;
break;
}
if (((diednum == 1) && (_root.totalg[i] != 50)) && ((((_root.totalg[i + 1] == 50) || (_root.totalg[i - 1] == 50)) || (_root.totalg[i + 16] == 50)) || (_root.totalg[i - 16] == 50))) {
j = i + 1;
while (j < 177) {
if ((_root.totalg[i] == _root.totalg[j]) && ((((_root.totalg[j + 1] == 50) || (_root.totalg[j - 1] == 50)) || (_root.totalg[j + 16] == 50)) || (_root.totalg[j - 16] == 50))) {
tempstart = _root.totalg[i];
tempend = _root.totalg[j];
_root.totalg[i] = 50;
_root.totalg[j] = 50;
getit(i, j);
_root.totalg[i] = tempstart;
_root.totalg[j] = tempend;
if (diednum == 3) {
_root.coola = i;
_root.coolz = j;
break;
}
}
j++;
}
}
i++;
}
i = 0;
while (i < _root.getline.length) {
tellTarget ("_root.g" + _root.getline[i]) {
gotoAndStop (1);
};
i++;
}
i = 1;
while (i < 141) {
tellTarget ("_root.a" + i) {
gotoAndStop(_root.totaline[_root.ctrl.i]);
};
i++;
}
if (diednum == 1) {
gotoAndStop (5);
}
Symbol 940 MovieClip Frame 5
function reloadit() {
kong = new Array();
j = 0;
i = 1;
while (i < 141) {
if (_root.totaline[i] != 50) {
kong[j] = i;
j = j + 1;
}
i++;
}
i = 1;
while (i < 100) {
k = random(kong.length);
k1 = random(kong.length);
x = _root.totaline[kong[k]];
_root.totaline[kong[k]] = _root.totaline[kong[k1]];
_root.totaline[kong[k1]] = x;
i++;
}
i = 1;
while (i < 141) {
tellTarget ("_root.a" + i) {
gotoAndStop(_root.totaline[_root.ctrl.i]);
};
i++;
}
j = 1;
i = 1;
while (i < 193) {
x = ((i - 1) % 16) + 1;
y = ((i - x) / 16) + 1;
if ((((x == 1) || (x == 16)) || (y == 1)) || (y == 12)) {
_root.totalg[i] = 50;
} else {
_root.totalg[i] = _root.totaline[j];
j = j + 1;
}
i++;
}
}
stop();
the_bd_bz = 1;
i = 1;
while (i < 141) {
if (_root.totaline[i] != 50) {
the_bd_bz = 0;
break;
}
i++;
}
if (the_bd_bz == 0) {
tellTarget ("_root.died") {
gotoAndPlay (3);
};
reloadit();
_level0.died.gotoAndPlay(3);
gotoAndStop (4);
}
if (the_bd_bz == 1) {
tellTarget ("_root.next") {
gotoAndPlay (2);
};
}
Symbol 941 MovieClip Frame 26
_root["\u7206\u70B8"] = 1;
stop();
Symbol 942 MovieClip Frame 1
check_time = new Date();
check_time0 = int(String(check_time.getTime()).substr(0, 10));
Symbol 942 MovieClip Frame 11
check_time1 = new Date();
check_time1 = int(String(check_time1.getTime()).substr(0, 10));
check_time2 = check_time1 - check_time0;
if (check_time2 > 3) {
if (((check_time2 * 12) + _root.thetimer._currentframe) > _root.timetotal) {
_root.thetimer.gotoAndPlay(_root.timetotal);
} else {
_root.thetimer.gotoAndPlay((check_time2 * 12) + _root.thetimer._currentframe);
}
}
Symbol 953 Button
on (release) {
_root.thetimer.play();
_parent.gotoAndStop(1);
}
Symbol 957 Button
on (release) {
_root.lifes--;
_root.restartit = true;
it = true;
if (Key.getCode() == 32) {
_root.mytest = true;
}
_root.gotoAndStop(5);
}
Symbol 971 Button
on (release) {
_root.gotoAndPlay("fail");
}
Symbol 972 Button
on (release) {
_root.restartit = false;
_root.gotoAndPlay(3);
}
Symbol 976 Button
on (release) {
_root.restartit = true;
it = true;
_root.gotoAndStop(5);
}
Symbol 979 MovieClip Frame 1
stop();
Symbol 979 MovieClip Frame 2
stop();
Instance of Symbol 977 MovieClip in Symbol 979 MovieClip Frame 2
onClipEvent (load) {
if (_root.lifes > 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 990 MovieClip Frame 1
stop();
Symbol 990 MovieClip Frame 2
stop();
tellTarget ("_root.thetimer") {
stop();
};
if (_root.iscon == true) {
tishi_mc.gotoAndStop(2);
} else {
tishi_mc.gotoAndStop(1);
}
a_btn.useHandCursor = false;
Instance of Symbol 989 MovieClip in Symbol 990 MovieClip Frame 3
onClipEvent (load) {
if (_root.shuffle_show == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 990 MovieClip Frame 29
_root.shuffle_show = 0;
gotoAndStop (1);
Symbol 990 MovieClip Frame 30
stop();
tellTarget ("_root.thetimer") {
stop();
};
tellTarget ("_root") {
gotoAndStop ("success");
};
Symbol 992 Button
on (release, keyPress "n") {
gotoAndStop (1);
}
Symbol 993 Button
on (release, keyPress "y") {
_root.died.gotoAndStop(1);
stopAllSounds();
_root.restartit = true;
_root.gotoAndPlay(3);
}
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 2
a_btn.useHandCursor = false;
Symbol 1000 Button
on (release) {
aaa.stop();
gotoAndStop (2);
_root.mysound1.setVolume(0);
}
Symbol 1001 Button
on (release) {
aaa.start(0, 999999);
gotoAndStop (1);
_root.mysound1.setVolume(100);
}
Symbol 1002 MovieClip Frame 1
stop();
Instance of Symbol 1037 MovieClip in Symbol 1038 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.thinkyou);
}
Symbol 1058 Button
on (press) {
_root.thinkyou++;
clearInterval(_parent.myset4);
_root.restartit = false;
_root.gotoAndStop(5);
}
Symbol 1064 Button
on (press) {
_root.thinkyou++;
clearInterval(_parent.myset4);
_root.restartit = false;
_root.gotoAndStop(5);
}
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 2
stop();
Set("\u5012\u8BB0\u65F6", _root["\u5012\u8BB0\u65F6"]);
_root["\u7269\u54C1\u6570"] = (((_root.item_1 + _root.item_2) + _root.item_3) + _root.shuffle) + _root.thinkits;
ktime = int(\u5012\u8BB0\u65F6 / 5) * 5;
i = 0;
j = _root.thetimer._currentframe + 10;
_root.kscore = _root.totalscore0;
_root.kscore2 = _root["\u5F53\u524D\u5173\u5206"];
myfun = setInterval(function () {
if (i <= ktime) {
_root.totalscore0 = _root.kscore + i;
_root["\u5F53\u524D\u5173\u5206"] = _root.kscore2 + i;
_root.thetimer.gotoAndStop(j);
if (j <= (_root.timetotal - 70)) {
j = j + 50;
}
i = i + 5;
} else {
_root["\u5012\u8BB0\u65F6"] = 0;
_root.thetimer.tbar._visible = 0;
_root.thetimer.gotoAndStop(_root.thetimer._totalframes - 25);
_root.shaizi.gotoAndStop(_root.shaizi._totalframes - 100);
if (_root.thinkyou == 30) {
_root.totalscore0 = _root.totalscore0 + ((_root["\u7269\u54C1\u6570"] * 100) + (_root.lifes * 1000));
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + ((_root["\u7269\u54C1\u6570"] * 100) + (_root.lifes * 1000));
play();
} else {
play();
}
clearInterval(myfun);
}
}, 1);
_root.coola = 0;
_root.myp.enabled = 0;
_root.myp._alpha = 30;
t1._visible = false;
t2._visible = false;
t3._visible = false;
t4._visible = false;
t5._visible = false;
c1._visible = false;
c2._visible = false;
Instance of Symbol 1047 MovieClip "t5" in Symbol 1066 MovieClip Frame 2
onClipEvent (load) {
if (_root["\u5F53\u524D\u5173\u5206"] > 1000) {
gotoAndStop (5);
} else if (_root["\u5F53\u524D\u5173\u5206"] > 500) {
gotoAndStop (4);
} else if (_root["\u5F53\u524D\u5173\u5206"] > 400) {
gotoAndStop (3);
} else if (_root["\u5F53\u524D\u5173\u5206"] > 300) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1066 MovieClip Frame 5
stop();
clearInterval(myfun);
if (_root.thinkyou == 30) {
fn.gotoAndStop(2);
} else {
fn.gotoAndStop(1);
}
_root["\u5F53\u524D\u5173\u5206"] = _root["\u5F53\u524D\u5173\u5206"] + (_root["\u8FDE\u51FB\u6570"] * 10);
_root.totalscore0 = _root.totalscore0 + (_root["\u8FDE\u51FB\u6570"] * 10);
tt = 0;
myset4 = setInterval(function () {
tt++;
if (tt == 1) {
t1._visible = true;
c1._visible = true;
}
if (tt == 2) {
t2._visible = true;
c2._visible = true;
}
if (tt == 3) {
t3._visible = true;
}
if (tt == 4) {
t4._visible = true;
}
if (tt == 5) {
t5._visible = true;
}
if (tt >= 6) {
clearInterval(myset4);
}
}, 300);
Symbol 1066 MovieClip Frame 6
stop();
if (_root.thinkyou < 30) {
_root.thinkits = _root.thinkits + 1;
}
_root.thinkyou = _root.thinkyou + 1;
if ((_root.thinkyou > 4) and (_root.thinkyou < 30)) {
_root.thinkits = _root.thinkits + 1;
}
if (_root.thinkyou < 31) {
_root.lastlevel = _root.thinkyou;
_root.thetimer.gotoAndPlay(1);
if (_root.thinkyou == 2) {
i = 1;
while (i < 141) {
if (i < 36) {
_root.totaline[i] = i;
}
if ((i > 35) && (i < 71)) {
x = random(45) + 1;
_root.totaline[i] = x;
}
if (i > 70) {
_root.totaline[i] = _root.totaline[i - 70];
}
i++;
}
}
if (_root.thinkyou > 2) {
i = 1;
while (i < 141) {
if (i < 41) {
_root.totaline[i] = i;
}
if ((i > 40) && (i < 71)) {
x = random(45) + 1;
_root.totaline[i] = x;
}
if (i > 70) {
_root.totaline[i] = _root.totaline[i - 70];
}
i++;
}
}
i = 0;
while (i < 100) {
x = random(140) + 1;
y = random(140) + 1;
z = _root.totaline[x];
_root.totaline[x] = _root.totaline[y];
_root.totaline[y] = z;
i++;
}
i = 1;
while (i < 141) {
tellTarget ("_root.a" + i) {
gotoAndStop(_root.totaline[_root.next.i]);
};
i++;
}
j = 1;
i = 1;
while (i < 193) {
x = ((i - 1) % 16) + 1;
y = ((i - x) / 16) + 1;
if ((((x == 1) || (x == 16)) || (y == 1)) || (y == 12)) {
_root.totalg[i] = 50;
} else {
_root.totalg[i] = _root.totaline[j];
j = j + 1;
}
i++;
}
_root.ctrl.gotoAndStop(4);
}
Symbol 1097 Button
on (release) {
_root.esc_bz = 0;
_root.thetimer.play();
gotoAndStop (1);
}
Symbol 1098 MovieClip Frame 1
stop();
Symbol 1098 MovieClip Frame 2
a_btn.useHandCursor = false;
Symbol 1099 Button
on (release) {
_root.died.gotoAndStop(1);
stopAllSounds();
_root.gotoAndPlay(3);
}