Frame 1
function remstep() {
if (num == 5) {
mystep.shift();
mystep.push((((rm + ",") + rn) + "@") + stage.toString());
} else {
mystep[num] = (((rm + ",") + rn) + "@") + stage.toString();
num++;
}
board.backbu = num;
}
function backstep() {
var _local2 = _root;
if (_local2.youxiqu.renwu._currentframe < 5) {
if (num > 0) {
var tmpstep = new Array();
tmpstep = mystep[num - 1].split("@");
var ppmn = new Array();
ppmn = tmpstep[0].split(",");
ppm = ppmn[0];
ppn = ppmn[1];
var _local3 = tmpstep[1].split(",");
var _local1 = new Array();
i = 0;
while (i < 8) {
_local1[i] = _local3.slice(i * 14, (i + 1) * 14);
i++;
}
youxiqu.renwu._x = W * (ppn - 1);
youxiqu.renwu._y = H * (ppm - 1);
rn = int(ppn);
rm = int(ppm);
youxiqu.renwu.swapDepths(2 * rm);
j = 0;
while (j < columns) {
i = 0;
while (i < rows) {
stage[i][j] = _local1[i][j];
_local2.youxiqu["hang" + (i + 1)]["gezi" + (j + 1)].gotoAndStop(["g" + _local1[i][j]]);
i++;
}
j++;
}
recover();
num--;
}
board.backbu = num;
}
}
function rememberstep(a) {
var _local2 = a;
nowtotalstep++;
repl();
if (_local2 == 1) {
var _local1 = random(3);
if (_local1 == 0) {
nowrem = 1;
} else if (_local1 == 1) {
nowrem = 5;
} else if (_local1 == 2) {
nowrem = 9;
}
} else if (_local2 == 2) {
var _local1 = random(3);
if (_local1 == 0) {
nowrem = 0;
} else if (_local1 == 1) {
nowrem = 2;
} else if (_local1 == 2) {
nowrem = 6;
}
} else if (_local2 == 3) {
var _local1 = random(2);
if (_local1 == 0) {
nowrem = 3;
} else if (_local1 == 1) {
nowrem = 7;
}
} else if (_local2 == 4) {
var _local1 = random(2);
if (_local1 == 0) {
nowrem = 4;
} else if (_local1 == 1) {
nowrem = 8;
}
}
repstep = repstep + String(nowrem);
board.nowtstep = nowtotalstep;
}
function repl() {
if (rnum == 5) {
rep.shift();
rep.push(repstep);
} else {
rep[rnum] = repstep;
rnum++;
}
}
function recover() {
if (rnum > 0) {
repstep = rep[rnum - 1];
if (repstep == null) {
repstep = "";
}
nowtotalstep--;
rnum--;
}
board.nowtstep = nowtotalstep;
}
function replay() {
var _local2 = _root;
if ((nowrep < totalstep) && (replaying)) {
if (_local2.youxiqu.renwu._currentframe < 5) {
var _local1 = jiance(repcode[nowrep]);
if (_local1 == 1) {
_local2.qianjin(repcode[nowrep]);
_local2.renwuface = a;
nowrep++;
} else if (_local1 == 2) {
if (_local2.renwuface == a) {
_local2.tuidong(repcode[nowrep]);
nowrep++;
} else {
_local2.renwuface = a;
youxiqu.renwu.gotoAndStop("zhan" + a);
}
} else if (_local1 == 4) {
youxiqu.renwu.gotoAndStop("tao");
clearInterval(replayID);
} else if (_local1 == 5) {
clearInterval(replayID);
board.bofangboard.gotoAndStop(4);
} else if (_local1 == 0) {
clearInterval(replayID);
board.bofangboard.gotoAndStop(4);
} else {
clearInterval(replayID);
board.bofangboard.gotoAndStop(4);
}
}
} else {
clearInterval(replayID);
}
}
function goreplay() {
replayID = setInterval(replay, steptime);
}
function replaycode(a) {
var _local1 = new Array();
_local1 = a.split("|");
var _local2 = _local1[0];
if (_local2 < 10) {
_local2 = "0" + _local2;
}
var _local3 = _local2;
_local3 = _local3 + _local1[1];
_local3 = (_local3 + "@") + _local1[0];
return(_local3);
}
function fenjierepcode(a) {
var _local3 = new Array();
_local3 = a.split("@");
myrpcode = escape(_local3[0]);
mytempcode = new Array();
mytmpcode = "";
mytempcode = myrpcode.split("%0D");
i = 0;
while (i < mytempcode.length) {
mytmpcode = mytmpcode + mytempcode[i];
i++;
}
var _local1 = new Array();
_local1 = mytmpcode.split("");
repstage = int(_local1[0] * 10) + int(_local1[1]);
totalstep = _local1.length - 2;
var _local2 = totalstep + 2;
repstring = "";
i = 2;
while (i < _local2) {
repstring = repstring + String(_local1[i]);
i++;
}
replayuncode(repstring, totalstep);
}
function replayuncode(a, b) {
var _local1 = b;
repcode = new Array();
repcode = a.split("");
i = 0;
while (i < _local1) {
if ((repcode[i] == 5) || (repcode[i] == 9)) {
repcode[i] = 1;
} else if ((repcode[i] == 0) || (repcode[i] == 6)) {
repcode[i] = 2;
} else if (repcode[i] == 7) {
repcode[i] = 3;
} else if (repcode[i] == 8) {
repcode[i] = 4;
}
i++;
}
}
function pwdcode(a) {
uncode = 100 - a;
if (uncode < 10) {
uncode = "0" + uncode;
}
uncode = String(uncode);
var _local1 = new Array();
_local1[0] = random(10);
_local1[1] = random(6) + 4;
do {
_local1[2] = random(6) + 4;
} while (_local1[2] == _local1[1]);
do {
_local1[3] = random(6) + 4;
} while ((_local1[3] == _local1[1]) || (_local1[3] == _local1[2]));
var s = new Array();
s = uncode.split("");
_local1[_local1[1]] = s[0];
_local1[_local1[3]] = s[1];
_local1[_local1[2]] = (2 * random(5)) + 1;
var t = new Array();
var _local3 = 0;
i = 4;
while (i < 10) {
if (((i != _local1[1]) && (i != _local1[2])) && (i != _local1[3])) {
t[_local3] = i;
_local3++;
}
i++;
}
_local1[t[1]] = s[1];
i = 0;
while (i < 10) {
_local1[i] = int(_local1[i]);
i++;
}
var temp = (((((((_local1[0] + _local1[1]) + _local1[2]) + _local1[3]) + _local1[_local1[1]]) + _local1[_local1[2]]) + _local1[_local1[3]]) + _local1[t[1]]);
temp = String(temp);
var su = new Array();
su = temp.split("");
_local1[t[0]] = su[1];
_local1[t[2]] = su[0];
var _local2 = "";
i = 0;
while (i < 10) {
_local2 = _local2 + String(_local1[i]);
i++;
}
return(_local2);
}
function pwduncode(a) {
var code = a;
var _local1 = new Array();
_local1 = code.split("");
i = 0;
while (i < 10) {
_local1[i] = int(_local1[i]);
i++;
}
if (((_local1[1] > 3) && (_local1[2] > 3)) && (_local1[3] > 3)) {
if ((_local1[_local1[2]] % 2) == 1) {
var _local3 = new Array();
var _local2 = 0;
i = 4;
while (i < 10) {
if (((i != _local1[1]) && (i != _local1[2])) && (i != _local1[3])) {
_local3[_local2] = i;
_local2++;
}
i++;
}
if (_local1[_local3[1]] == _local1[_local1[3]]) {
var temp = (((((((int(_local1[0]) + _local1[1]) + _local1[2]) + _local1[3]) + _local1[_local1[1]]) + _local1[_local1[2]]) + _local1[_local1[3]]) + _local1[_local3[1]]);
var tsum = ((_local1[_local3[2]] * 10) + _local1[_local3[0]]);
if (tsum == temp) {
uncode = 100 - ((_local1[_local1[1]] * 10) + _local1[_local1[3]]);
} else {
uncode = "\u9519\u8BEF\u7684\u9009\u5173\u5BC6\u7801";
}
} else {
uncode = "\u9519\u8BEF\u7684\u9009\u5173\u5BC6\u7801";
}
} else {
uncode = "\u9519\u8BEF\u7684\u9009\u5173\u5BC6\u7801";
}
} else {
uncode = "\u9519\u8BEF\u7684\u9009\u5173\u5BC6\u7801";
}
return(uncode);
}
function stagedata() {
stagedata1();
stagedata2();
}
function stagedata1() {
rm1 = 1;
rn1 = 1;
stage1 = new Array();
stage1 = [[0, 0, 0, 31, 0, 0, 11, 1, 0, 0, 0, 0, 0, 0], [11, 11, 11, 11, 0, 21, 11, 1, 0, 0, 11, 11, 11, 31], [0, 0, 0, 31, 0, 0, 11, 1, 0, 0, 31, 0, 0, 0], [1, 1, 1, 1, 0, 0, 11, 1, 0, 0, 1, 1, 1, 31], [0, 0, 0, 31, 0, 0, 11, 1, 0, 0, 31, 0, 0, 0], [21, 21, 21, 21, 0, 0, 11, 1, 0, 0, 21, 21, 21, 31], [0, 0, 0, 0, 0, 0, 11, 1, 0, 0, 31, 0, 0, 0], [0, 0, 0, 0, 21, 21, 21, 21, 21, 21, 31, 0, 0, 30]];
rm2 = 1;
rn2 = 1;
stage2 = new Array();
stage2 = [[0, 12, 12, 31, 0, 2, 2, 2, 2, 2, 31, 0, 0, 0], [0, 12, 31, 0, 2, 0, 0, 0, 0, 0, 2, 0, 31, 0], [0, 12, 31, 0, 2, 0, 31, 31, 0, 0, 2, 31, 22, 0], [0, 12, 31, 0, 0, 0, 31, 0, 0, 2, 0, 31, 22, 0], [0, 12, 12, 31, 0, 0, 0, 0, 2, 0, 31, 31, 22, 0], [0, 12, 31, 0, 0, 0, 2, 2, 0, 31, 22, 22, 0, 0], [0, 12, 31, 0, 0, 2, 0, 0, 0, 22, 31, 0, 0, 0], [0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 30, 31, 0]];
rm3 = 1;
rn3 = 1;
stage3 = new Array();
stage3 = [[0, 23, 31, 0, 13, 13, 13, 13, 13, 0, 0, 3, 0, 3], [0, 0, 0, 13, 0, 0, 0, 0, 0, 13, 0, 31, 31, 0], [23, 31, 0, 0, 31, 0, 0, 0, 0, 13, 0, 0, 31, 3], [0, 31, 23, 31, 31, 31, 13, 13, 13, 0, 31, 0, 0, 0], [23, 31, 23, 31, 0, 0, 0, 0, 0, 13, 0, 31, 3, 0], [23, 31, 0, 31, 31, 31, 31, 31, 31, 0, 13, 31, 0, 0], [0, 0, 0, 13, 0, 0, 0, 0, 0, 13, 0, 0, 0, 3], [30, 31, 0, 0, 13, 13, 13, 13, 13, 0, 31, 3, 31, 31]];
rm4 = 1;
rn4 = 1;
stage4 = new Array();
stage4 = [[0, 0, 31, 0, 0, 14, 4, 4, 24, 0, 0, 0, 31, 31], [0, 31, 0, 0, 14, 4, 0, 4, 24, 0, 31, 0, 0, 0], [0, 0, 0, 14, 4, 0, 0, 4, 24, 0, 31, 31, 31, 0], [0, 0, 14, 4, 0, 0, 0, 4, 24, 0, 31, 31, 31, 0], [31, 14, 4, 0, 0, 0, 0, 4, 24, 0, 0, 0, 31, 0], [0, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 24, 31, 0], [31, 14, 14, 14, 14, 14, 14, 4, 24, 24, 24, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 4, 24, 30, 0, 0, 31, 31]];
rm5 = 3;
rn5 = 12;
stage5 = new Array();
stage5 = [[0, 0, 0, 31, 5, 25, 5, 15, 25, 5, 30, 0, 0, 0], [0, 31, 0, 31, 25, 0, 0, 0, 0, 0, 31, 31, 0, 0], [0, 31, 0, 31, 15, 0, 0, 0, 0, 0, 0, 0, 31, 0], [0, 31, 0, 31, 5, 5, 15, 15, 5, 31, 31, 31, 31, 0], [0, 31, 0, 0, 0, 0, 0, 0, 0, 25, 31, 31, 31, 0], [0, 31, 0, 31, 5, 0, 0, 0, 0, 5, 31, 31, 31, 0], [0, 31, 31, 31, 25, 0, 0, 0, 0, 5, 31, 31, 31, 0], [0, 0, 0, 0, 15, 15, 5, 5, 25, 0, 0, 0, 0, 0]];
rm6 = 8;
rn6 = 1;
stage6 = new Array();
stage6 = [[0, 31, 0, 0, 0, 6, 26, 6, 16, 26, 0, 0, 0, 0], [0, 31, 0, 31, 6, 0, 0, 0, 0, 0, 6, 31, 31, 0], [0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 31, 0, 0], [0, 31, 31, 31, 26, 0, 0, 0, 0, 0, 0, 31, 0, 31], [0, 0, 0, 0, 6, 6, 16, 6, 16, 6, 26, 0, 0, 31], [0, 31, 31, 31, 16, 0, 0, 0, 0, 0, 31, 31, 31, 31], [0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 26, 0, 0, 0], [0, 31, 31, 31, 16, 6, 26, 31, 26, 6, 16, 31, 31, 30]];
rm7 = 1;
rn7 = 1;
stage7 = new Array();
stage7 = [[0, 31, 0, 7, 17, 7, 27, 7, 17, 27, 7, 0, 31, 0], [0, 31, 0, 27, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0], [0, 31, 0, 0, 0, 31, 0, 0, 17, 0, 31, 31, 31, 0], [0, 0, 0, 31, 31, 0, 0, 27, 0, 31, 0, 30, 31, 0], [0, 31, 0, 0, 31, 0, 7, 0, 31, 0, 0, 31, 31, 0], [0, 31, 31, 0, 31, 0, 27, 0, 31, 0, 0, 0, 0, 0], [0, 0, 31, 0, 31, 0, 17, 31, 31, 31, 31, 31, 31, 0], [0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0]];
rm8 = 7;
rn8 = 7;
stage8 = new Array();
stage8 = [[0, 0, 0, 8, 8, 18, 28, 18, 8, 8, 0, 0, 0, 0], [0, 0, 0, 18, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0], [0, 0, 0, 28, 18, 28, 8, 28, 18, 18, 0, 0, 0, 0], [0, 0, 0, 0, 0, 31, 30, 31, 0, 0, 0, 0, 0, 0], [0, 0, 0, 28, 18, 28, 31, 18, 28, 8, 0, 0, 0, 0], [0, 0, 0, 18, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0], [0, 0, 0, 8, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0], [0, 0, 0, 18, 28, 8, 28, 18, 28, 8, 0, 0, 0, 0]];
rm9 = 3;
rn9 = 7;
stage9 = new Array();
stage9 = [[31, 31, 0, 9, 29, 19, 9, 19, 19, 19, 0, 31, 31, 31], [31, 0, 0, 29, 0, 0, 0, 0, 0, 31, 0, 0, 0, 31], [31, 0, 0, 19, 0, 0, 0, 0, 0, 31, 0, 0, 0, 31], [31, 0, 0, 9, 31, 29, 31, 9, 31, 30, 0, 0, 0, 31], [31, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 31], [31, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 31], [31, 0, 0, 19, 0, 0, 0, 0, 0, 31, 0, 0, 0, 31], [31, 31, 0, 29, 9, 19, 9, 19, 9, 29, 0, 31, 31, 31]];
rm10 = 1;
rn10 = 1;
stage10 = new Array();
stage10 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 31, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [44, 0, 31, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [44, 31, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 31, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [30, 31, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 31]];
rm11 = 5;
rn11 = 4;
stage11 = new Array();
stage11 = [[0, 0, 0, 0, 0, 0, 11, 19, 18, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 12, 0, 17, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 13, 0, 16, 0, 31, 31, 31, 0], [0, 0, 31, 19, 31, 0, 14, 0, 15, 0, 31, 30, 31, 0], [0, 0, 31, 0, 31, 0, 15, 0, 14, 0, 31, 19, 31, 0], [0, 0, 31, 31, 31, 0, 16, 0, 13, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 17, 0, 12, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 18, 19, 11, 0, 0, 0, 0, 0]];
rm12 = 3;
rn12 = 2;
stage12 = new Array();
stage12 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 21, 31, 31, 31, 21, 31, 31, 31, 21, 31, 31, 31, 0], [0, 0, 0, 0, 0, 0, 25, 0, 27, 0, 0, 0, 21, 0], [0, 31, 29, 25, 27, 21, 29, 0, 29, 25, 21, 31, 31, 0], [0, 21, 0, 0, 0, 0, 25, 0, 31, 0, 0, 0, 31, 0], [0, 31, 25, 27, 31, 26, 29, 0, 29, 25, 31, 21, 31, 0], [0, 21, 0, 21, 0, 0, 31, 0, 27, 0, 29, 0, 21, 0], [0, 31, 0, 25, 0, 0, 29, 0, 25, 0, 21, 30, 31, 0]];
rm13 = 5;
rn13 = 7;
stage13 = new Array();
stage13 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31], [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11], [0, 16, 0, 14, 0, 12, 0, 12, 0, 14, 0, 16, 0, 30], [17, 0, 15, 0, 13, 0, 0, 0, 13, 0, 15, 0, 17, 0], [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11], [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm14 = 4;
rn14 = 6;
stage14 = new Array();
stage14 = [[31, 0, 0, 1, 2, 3, 4, 5, 6, 7, 1, 0, 0, 31], [31, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 31], [31, 0, 12, 0, 25, 14, 3, 22, 11, 18, 0, 15, 0, 31], [31, 0, 13, 0, 16, 0, 0, 0, 0, 5, 0, 16, 0, 31], [31, 0, 14, 0, 7, 0, 0, 0, 0, 27, 0, 17, 0, 30], [31, 0, 15, 0, 21, 2, 13, 4, 15, 6, 0, 18, 0, 31], [31, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 31], [31, 0, 0, 21, 27, 26, 25, 24, 23, 22, 21, 0, 0, 31]];
rm15 = 8;
rn15 = 1;
stage15 = new Array();
stage15 = [[23, 0, 4, 0, 3, 0, 14, 0, 0, 11, 0, 0, 4, 30], [0, 2, 31, 22, 0, 0, 0, 3, 0, 1, 0, 13, 0, 31], [0, 0, 11, 0, 0, 0, 0, 0, 12, 31, 2, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0], [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 31], [0, 0, 0, 0, 12, 31, 22, 0, 0, 0, 0, 0, 11, 0], [0, 0, 0, 23, 0, 14, 0, 13, 0, 0, 0, 1, 0, 0], [0, 0, 4, 0, 0, 0, 0, 0, 24, 0, 21, 0, 0, 0]];
rm16 = 1;
rn16 = 1;
stage16 = new Array();
stage16 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 1, 1, 30, 1, 1, 0, 0, 0, 0]];
rm17 = 1;
rn17 = 1;
stage17 = new Array();
stage17 = [[0, 0, 0, 0, 0, 0, 11, 11, 11, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 11, 11, 11, 11, 11, 0, 0, 0, 0], [0, 0, 0, 0, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0], [0, 0, 12, 0, 11, 11, 11, 30, 11, 11, 11, 0, 11, 0], [0, 0, 0, 0, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0], [0, 0, 0, 0, 0, 11, 11, 11, 11, 11, 0, 0, 0, 0], [31, 0, 0, 0, 0, 0, 11, 11, 11, 0, 0, 0, 0, 31], [31, 31, 0, 0, 11, 0, 0, 0, 0, 0, 11, 0, 31, 31]];
rm18 = 8;
rn18 = 14;
stage18 = new Array();
stage18 = [[0, 0, 31, 0, 0, 0, 31, 0, 0, 0, 0, 0, 31, 31], [0, 0, 31, 0, 0, 25, 11, 0, 0, 21, 0, 31, 31, 31], [0, 0, 31, 0, 22, 0, 31, 0, 0, 22, 24, 0, 31, 31], [0, 0, 31, 0, 23, 0, 31, 0, 0, 23, 0, 31, 31, 31], [0, 0, 31, 0, 29, 0, 31, 31, 0, 24, 19, 0, 31, 31], [0, 0, 31, 0, 0, 25, 11, 0, 0, 0, 0, 0, 31, 31], [0, 0, 31, 0, 29, 0, 31, 31, 31, 11, 19, 0, 24, 24], [0, 0, 31, 0, 24, 30, 31, 11, 0, 0, 0, 0, 24, 0]];
rm19 = 4;
rn19 = 1;
stage19 = new Array();
stage19 = [[0, 19, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0], [19, 44, 14, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 13], [0, 44, 0, 44, 18, 0, 18, 0, 0, 0, 17, 0, 44, 0], [0, 44, 0, 44, 30, 44, 44, 44, 44, 44, 44, 17, 44, 0], [0, 44, 15, 44, 44, 44, 44, 44, 44, 44, 44, 16, 44, 0], [0, 44, 0, 15, 0, 0, 0, 0, 0, 0, 16, 0, 44, 0], [11, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 12], [0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0]];
rm20 = 2;
rn20 = 13;
stage20 = new Array();
stage20 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 14, 13, 12, 11, 19, 0, 0, 11, 0, 0, 0], [0, 0, 0, 15, 12, 11, 19, 18, 0, 0, 12, 0, 0, 0], [0, 0, 0, 16, 13, 31, 19, 17, 0, 0, 13, 0, 0, 0], [0, 0, 0, 17, 14, 30, 18, 16, 0, 0, 0, 0, 0, 0], [0, 0, 0, 18, 15, 16, 17, 15, 0, 0, 0, 0, 0, 0], [0, 0, 0, 19, 11, 12, 13, 14, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm21 = 1;
rn21 = 1;
stage21 = new Array();
stage21 = [[0, 0, 31, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 31], [0, 29, 0, 21, 0, 0, 0, 0, 0, 11, 0, 29, 0, 0], [0, 0, 0, 0, 0, 31, 9, 1, 0, 0, 31, 0, 0, 0], [0, 1, 0, 11, 0, 19, 30, 29, 0, 19, 0, 21, 0, 0], [31, 0, 31, 0, 0, 11, 21, 31, 0, 0, 0, 0, 0, 31], [0, 9, 0, 1, 0, 0, 0, 0, 0, 1, 0, 9, 0, 0], [0, 0, 0, 0, 0, 11, 0, 19, 0, 0, 31, 0, 0, 0], [0, 0, 31, 0, 0, 0, 31, 0, 0, 19, 0, 21, 0, 31]];
rm22 = 8;
rn22 = 13;
stage22 = new Array();
stage22 = [[21, 0, 27, 0, 29, 0, 28, 0, 27, 0, 31, 0, 26, 21], [21, 22, 0, 26, 0, 24, 0, 25, 0, 26, 0, 27, 0, 21], [21, 0, 25, 0, 31, 0, 23, 0, 28, 0, 25, 0, 28, 21], [21, 29, 0, 23, 0, 27, 0, 24, 0, 31, 0, 23, 0, 21], [21, 0, 23, 0, 25, 0, 25, 0, 26, 0, 27, 0, 29, 21], [21, 31, 0, 22, 0, 31, 0, 24, 0, 22, 0, 22, 0, 21], [21, 0, 29, 0, 26, 0, 25, 0, 23, 0, 29, 0, 28, 21], [21, 30, 0, 27, 0, 24, 0, 23, 0, 31, 0, 28, 0, 21]];
rm23 = 8;
rn23 = 14;
stage23 = new Array();
stage23 = [[30, 0, 0, 0, 1, 0, 3, 3, 0, 1, 0, 0, 0, 0], [0, 31, 31, 31, 0, 8, 0, 0, 7, 0, 31, 31, 31, 0], [0, 0, 31, 0, 5, 0, 9, 2, 0, 5, 0, 31, 0, 0], [0, 0, 31, 0, 0, 4, 0, 0, 6, 0, 0, 31, 0, 0], [0, 0, 31, 0, 0, 6, 0, 0, 4, 0, 0, 31, 0, 0], [0, 0, 31, 0, 3, 0, 2, 9, 0, 3, 0, 31, 0, 0], [0, 31, 31, 31, 0, 7, 0, 0, 8, 0, 31, 31, 31, 0], [0, 0, 0, 0, 1, 0, 5, 5, 0, 1, 0, 0, 0, 0]];
rm24 = 1;
rn24 = 1;
stage24 = new Array();
stage24 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 22, 23, 24, 25, 23, 27, 22, 24, 15, 12, 0, 0], [0, 0, 2, 0, 5, 0, 19, 0, 4, 0, 5, 13, 0, 0], [0, 0, 15, 17, 0, 3, 30, 1, 0, 22, 0, 14, 0, 0], [0, 0, 9, 0, 7, 0, 23, 0, 12, 0, 1, 15, 0, 0], [0, 0, 8, 18, 0, 7, 0, 24, 0, 2, 0, 16, 0, 0], [0, 0, 7, 6, 5, 4, 3, 2, 1, 19, 17, 14, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm25 = 4;
rn25 = 8;
stage25 = new Array();
stage25 = [[31, 4, 0, 2, 31, 0, 31, 0, 1, 31, 0, 9, 0, 3], [7, 0, 4, 31, 0, 31, 6, 7, 0, 3, 8, 31, 9, 0], [0, 31, 3, 0, 0, 2, 0, 9, 7, 8, 0, 9, 31, 30], [6, 7, 0, 5, 4, 7, 6, 0, 31, 0, 1, 4, 0, 5], [0, 4, 0, 7, 0, 8, 5, 1, 0, 7, 6, 0, 31, 0], [5, 0, 3, 31, 4, 5, 0, 0, 7, 0, 5, 31, 0, 5], [0, 31, 0, 0, 31, 8, 3, 1, 31, 6, 1, 0, 1, 0], [6, 0, 31, 0, 2, 0, 2, 0, 5, 0, 0, 5, 31, 6]];
rm26 = 8;
rn26 = 14;
stage26 = new Array();
stage26 = [[0, 22, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 22, 0], [0, 22, 0, 0, 0, 0, 30, 22, 0, 0, 0, 0, 22, 0], [0, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 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, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 0], [0, 22, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 22, 0], [0, 22, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 22, 0]];
rm27 = 1;
rn27 = 1;
stage27 = new Array();
stage27 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 1, 31, 2, 31, 3, 31, 4, 31, 5, 31, 6, 31, 7], [1, 0, 5, 0, 2, 0, 4, 0, 4, 0, 5, 0, 6, 0], [0, 1, 0, 6, 0, 3, 5, 0, 2, 0, 7, 6, 31, 7], [5, 31, 0, 31, 7, 0, 31, 6, 0, 6, 0, 5, 0, 5], [0, 2, 4, 1, 4, 2, 5, 0, 7, 0, 31, 0, 1, 0], [4, 0, 7, 0, 0, 6, 0, 5, 31, 3, 2, 0, 3, 5], [30, 7, 31, 6, 3, 31, 3, 0, 4, 0, 4, 3, 6, 31]];
rm28 = 1;
rn28 = 1;
stage28 = new Array();
stage28 = [[0, 26, 0, 31, 0, 26, 44, 26, 0, 31, 0, 26, 44, 26], [26, 0, 26, 44, 26, 0, 26, 0, 26, 0, 26, 0, 26, 44], [0, 26, 0, 26, 0, 31, 0, 26, 0, 26, 0, 26, 0, 26], [26, 44, 26, 0, 26, 0, 26, 0, 26, 0, 31, 0, 26, 44], [0, 31, 0, 26, 44, 26, 0, 31, 44, 26, 44, 26, 0, 26], [26, 0, 26, 44, 26, 0, 26, 44, 31, 0, 26, 0, 26, 44], [0, 26, 0, 26, 44, 31, 0, 26, 0, 26, 44, 26, 0, 26], [26, 0, 31, 0, 26, 0, 26, 0, 26, 0, 31, 0, 31, 30]];
rm29 = 1;
rn29 = 1;
stage29 = new Array();
stage29 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 31, 31, 31, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 31, 1, 2, 3, 4, 5, 6, 7, 8, 8, 31, 31, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 31, 31, 31, 1, 2, 3, 4, 5, 6, 7, 8, 8, 0], [31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [30, 1, 2, 3, 4, 5, 6, 7, 8, 8, 31, 31, 31, 31]];
rm30 = 4;
rn30 = 8;
stage30 = new Array();
stage30 = [[0, 22, 24, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0], [0, 22, 28, 0, 0, 22, 0, 26, 0, 22, 0, 31, 0, 0], [0, 22, 24, 0, 0, 0, 26, 24, 26, 0, 0, 23, 0, 0], [0, 22, 31, 0, 24, 26, 24, 0, 24, 28, 24, 31, 0, 0], [0, 22, 31, 0, 0, 0, 26, 0, 26, 0, 0, 31, 0, 0], [0, 22, 31, 0, 0, 22, 0, 0, 0, 22, 0, 31, 0, 0], [23, 22, 31, 0, 0, 0, 26, 31, 26, 0, 0, 24, 0, 0], [30, 22, 31, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0]];
rm31 = 8;
rn31 = 14;
stage31 = new Array();
stage31 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 21, 0], [0, 0, 0, 0, 0, 21, 22, 21, 0, 0, 0, 0, 22, 0], [0, 0, 0, 0, 21, 22, 23, 22, 21, 0, 0, 0, 23, 0], [0, 0, 0, 21, 22, 23, 24, 23, 22, 21, 0, 0, 24, 0], [0, 0, 21, 22, 23, 24, 25, 24, 23, 22, 21, 0, 25, 0], [0, 21, 22, 23, 24, 25, 26, 25, 24, 23, 22, 21, 26, 0], [21, 22, 23, 24, 25, 26, 30, 26, 25, 24, 23, 22, 21, 0]];
rm32 = 1;
rn32 = 7;
stage32 = new Array();
stage32 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 31, 31, 0, 31, 0, 31, 31, 0, 0, 0, 0], [31, 0, 6, 0, 7, 0, 5, 0, 4, 0, 2, 0, 31, 0], [31, 6, 0, 4, 0, 1, 9, 8, 0, 3, 0, 4, 31, 0], [31, 0, 8, 0, 5, 3, 30, 2, 8, 0, 3, 0, 31, 0], [31, 4, 0, 3, 0, 6, 7, 4, 0, 2, 0, 5, 31, 0], [31, 0, 9, 0, 6, 0, 2, 0, 5, 0, 5, 0, 31, 0], [0, 0, 0, 31, 31, 0, 31, 0, 31, 31, 0, 0, 0, 0]];
rm33 = 2;
rn33 = 3;
stage33 = new Array();
stage33 = [[28, 31, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 31, 28], [31, 26, 0, 0, 22, 0, 22, 0, 24, 0, 24, 0, 26, 31], [31, 26, 0, 23, 0, 23, 0, 23, 0, 31, 0, 23, 26, 31], [31, 26, 22, 0, 23, 31, 24, 0, 28, 0, 22, 0, 26, 31], [31, 26, 0, 24, 0, 22, 0, 24, 0, 23, 0, 28, 26, 31], [31, 26, 28, 0, 23, 0, 24, 0, 23, 0, 28, 31, 26, 31], [31, 26, 0, 28, 0, 24, 31, 22, 0, 22, 23, 30, 26, 31], [28, 31, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 31, 28]];
rm34 = 1;
rn34 = 1;
stage34 = new Array();
stage34 = [[0, 11, 0, 31, 0, 11, 0, 11, 0, 31, 0, 31, 0, 11], [11, 0, 11, 0, 11, 0, 11, 0, 11, 0, 11, 0, 11, 0], [0, 11, 0, 11, 0, 31, 0, 31, 0, 11, 0, 11, 0, 11], [11, 0, 11, 0, 11, 0, 11, 0, 11, 0, 31, 0, 31, 0], [0, 31, 0, 31, 0, 11, 0, 31, 0, 11, 0, 11, 0, 11], [11, 0, 11, 0, 11, 0, 11, 0, 31, 0, 31, 0, 11, 0], [0, 11, 0, 11, 0, 31, 0, 11, 0, 11, 0, 11, 0, 11], [11, 0, 31, 0, 11, 0, 11, 0, 11, 0, 31, 0, 31, 30]];
rm35 = 8;
rn35 = 14;
stage35 = new Array();
stage35 = [[17, 16, 15, 14, 13, 12, 30, 12, 13, 14, 15, 16, 17, 18], [17, 16, 15, 14, 13, 12, 11, 12, 13, 14, 15, 16, 17, 0], [0, 16, 15, 14, 13, 12, 11, 12, 13, 14, 15, 16, 0, 0], [0, 0, 15, 14, 13, 12, 11, 12, 13, 14, 15, 0, 0, 0], [0, 0, 0, 14, 13, 12, 11, 12, 13, 14, 0, 0, 0, 19], [19, 0, 0, 0, 13, 12, 11, 12, 13, 0, 0, 0, 19, 0], [0, 19, 0, 0, 0, 12, 11, 12, 0, 0, 0, 19, 0, 0], [0, 0, 19, 0, 0, 0, 11, 0, 0, 0, 19, 0, 0, 0]];
rm36 = 2;
rn36 = 1;
stage36 = new Array();
stage36 = [[44, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 0], [0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 0], [0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 0], [0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 0], [0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 0], [0, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm37 = 1;
rn37 = 13;
stage37 = new Array();
stage37 = [[44, 0, 4, 0, 31, 0, 0, 0, 31, 0, 4, 0, 0, 1], [1, 0, 0, 4, 0, 0, 0, 0, 0, 4, 0, 0, 1, 44], [44, 1, 0, 0, 4, 0, 0, 0, 4, 0, 0, 1, 0, 2], [2, 0, 1, 0, 0, 4, 31, 4, 0, 0, 1, 0, 2, 44], [44, 2, 0, 1, 0, 44, 4, 44, 0, 1, 0, 2, 0, 3], [3, 0, 2, 31, 1, 0, 0, 0, 1, 31, 2, 0, 3, 44], [0, 3, 0, 2, 0, 1, 0, 1, 0, 2, 0, 3, 0, 4], [30, 44, 3, 44, 2, 44, 1, 44, 2, 44, 3, 44, 4, 44]];
rm38 = 6;
rn38 = 1;
stage38 = new Array();
stage38 = [[31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31], [0, 21, 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, 31, 0, 31, 0, 31, 0, 31, 0, 31, 0, 0, 0], [0, 31, 0, 31, 0, 31, 0, 31, 0, 31, 0, 0, 0, 0], [0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [44, 30, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31]];
rm39 = 1;
rn39 = 1;
stage39 = new Array();
stage39 = [[0, 31, 0, 0, 31, 0, 31, 0, 31, 0, 31, 0, 0, 31], [0, 0, 0, 26, 0, 26, 0, 26, 0, 26, 0, 26, 0, 0], [0, 0, 28, 0, 24, 0, 23, 29, 23, 0, 24, 0, 28, 0], [0, 0, 0, 25, 0, 22, 0, 21, 0, 22, 0, 25, 0, 0], [0, 0, 29, 31, 0, 31, 31, 30, 31, 31, 0, 31, 29, 0], [0, 0, 0, 25, 0, 22, 0, 21, 0, 22, 0, 25, 0, 0], [0, 0, 28, 0, 24, 0, 23, 29, 23, 0, 24, 0, 28, 0], [0, 31, 0, 27, 0, 27, 0, 27, 0, 27, 0, 27, 0, 31]];
rm40 = 1;
rn40 = 14;
stage40 = new Array();
stage40 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 21, 9, 8, 7, 6, 5, 4, 3, 2, 1, 26, 0], [0, 0, 22, 0, 31, 0, 0, 26, 0, 0, 31, 0, 25, 0], [0, 0, 23, 0, 31, 0, 24, 0, 22, 0, 0, 0, 24, 0], [0, 0, 24, 0, 0, 0, 9, 30, 26, 7, 31, 0, 23, 0], [0, 0, 25, 0, 31, 0, 0, 21, 0, 0, 4, 0, 22, 0], [0, 0, 26, 1, 2, 3, 4, 5, 6, 7, 8, 9, 21, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm41 = 1;
rn41 = 14;
stage41 = new Array();
stage41 = [[7, 0, 0, 28, 0, 0, 23, 0, 0, 14, 0, 0, 5, 0], [0, 4, 0, 0, 3, 0, 0, 19, 0, 0, 17, 0, 0, 7], [0, 0, 17, 0, 0, 8, 0, 0, 1, 0, 0, 3, 0, 0], [16, 0, 0, 15, 0, 0, 15, 0, 0, 28, 0, 0, 5, 0], [0, 23, 0, 0, 26, 0, 0, 29, 0, 0, 15, 0, 0, 27], [0, 0, 21, 0, 0, 23, 0, 0, 6, 0, 0, 9, 0, 0], [5, 0, 0, 8, 0, 0, 22, 0, 0, 18, 0, 0, 24, 0], [30, 7, 0, 0, 16, 0, 0, 14, 0, 0, 2, 0, 0, 21]];
rm42 = 8;
rn42 = 14;
stage42 = new Array();
stage42 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 31, 22, 31, 22, 31, 22, 31, 22, 31, 22, 21, 31, 0], [0, 23, 0, 21, 0, 21, 0, 21, 0, 21, 0, 0, 23, 0], [0, 31, 0, 21, 21, 21, 31, 21, 21, 21, 31, 21, 31, 0], [0, 31, 21, 21, 21, 31, 21, 30, 21, 31, 21, 0, 28, 0], [0, 24, 0, 0, 21, 0, 21, 0, 21, 0, 21, 0, 24, 0], [0, 31, 21, 26, 31, 26, 31, 26, 31, 26, 31, 26, 31, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm43 = 6;
rn43 = 8;
stage43 = new Array();
stage43 = [[31, 0, 31, 0, 17, 0, 15, 16, 0, 18, 0, 31, 0, 31], [0, 31, 0, 17, 0, 15, 0, 0, 16, 0, 18, 0, 31, 0], [31, 0, 17, 0, 15, 0, 11, 12, 0, 16, 0, 18, 0, 31], [0, 17, 0, 15, 0, 11, 0, 0, 12, 0, 16, 0, 18, 0], [17, 0, 15, 0, 11, 0, 31, 31, 0, 12, 0, 16, 0, 18], [0, 15, 0, 11, 0, 19, 0, 0, 19, 0, 12, 0, 16, 0], [31, 0, 11, 0, 19, 31, 31, 31, 31, 19, 0, 12, 0, 31], [0, 11, 0, 17, 0, 18, 30, 0, 17, 0, 18, 0, 12, 0]];
rm44 = 1;
rn44 = 14;
stage44 = new Array();
stage44 = [[0, 8, 0, 1, 0, 31, 0, 0, 6, 0, 31, 0, 31, 0], [0, 7, 9, 2, 0, 31, 0, 0, 7, 0, 4, 0, 31, 0], [0, 6, 0, 3, 0, 4, 0, 0, 8, 0, 3, 0, 1, 0], [0, 5, 0, 4, 0, 31, 0, 0, 9, 0, 5, 0, 1, 0], [0, 4, 0, 5, 0, 31, 0, 0, 4, 0, 2, 0, 1, 0], [0, 3, 0, 6, 0, 5, 0, 0, 3, 0, 6, 0, 1, 0], [9, 2, 0, 7, 0, 31, 0, 0, 2, 0, 1, 0, 31, 0], [30, 1, 0, 8, 0, 31, 0, 0, 1, 0, 7, 0, 31, 0]];
rm45 = 1;
rn45 = 13;
stage45 = new Array();
stage45 = [[9, 0, 31, 4, 31, 4, 0, 4, 31, 4, 31, 8, 0, 9], [9, 0, 5, 0, 3, 0, 3, 0, 3, 0, 5, 8, 0, 9], [9, 0, 5, 4, 0, 2, 31, 2, 0, 4, 5, 8, 9, 9], [9, 0, 5, 0, 3, 0, 1, 0, 3, 0, 5, 0, 0, 9], [9, 0, 5, 4, 0, 2, 31, 2, 0, 4, 5, 8, 8, 9], [9, 1, 5, 0, 3, 0, 3, 0, 3, 0, 5, 8, 0, 9], [9, 30, 31, 4, 31, 4, 0, 4, 31, 4, 31, 8, 0, 9], [9, 9, 31, 31, 5, 5, 5, 5, 5, 31, 31, 9, 9, 9]];
rm46 = 4;
rn46 = 7;
stage46 = new Array();
stage46 = [[0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 12, 13, 13, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 15, 16, 17, 18, 19, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 11, 12, 13, 14, 15, 16, 17, 0, 0, 0, 0], [0, 0, 18, 19, 17, 16, 15, 14, 13, 12, 11, 0, 0, 0], [0, 0, 0, 13, 0, 31, 18, 31, 0, 15, 0, 0, 0, 0], [0, 0, 0, 19, 0, 31, 30, 31, 0, 18, 0, 0, 0, 0]];
rm47 = 4;
rn47 = 1;
stage47 = new Array();
stage47 = [[0, 0, 0, 0, 0, 0, 31, 31, 44, 44, 44, 31, 31, 31], [0, 44, 44, 44, 44, 44, 0, 0, 0, 0, 31, 0, 0, 0], [0, 44, 0, 0, 0, 44, 0, 44, 44, 0, 31, 0, 44, 0], [0, 0, 0, 31, 0, 44, 0, 44, 44, 0, 44, 0, 44, 30], [0, 44, 0, 31, 0, 44, 0, 44, 44, 0, 44, 0, 44, 44], [0, 44, 0, 44, 44, 44, 0, 31, 44, 0, 44, 0, 31, 44], [0, 44, 0, 0, 0, 0, 0, 31, 44, 0, 0, 0, 31, 44], [0, 44, 31, 31, 44, 44, 44, 44, 44, 31, 31, 44, 44, 44]];
rm48 = 6;
rn48 = 1;
stage48 = new Array();
stage48 = [[31, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 31], [15, 11, 0, 12, 0, 12, 0, 12, 0, 12, 0, 12, 11, 15], [0, 11, 12, 0, 13, 0, 13, 0, 13, 0, 13, 0, 11, 0], [0, 11, 0, 13, 0, 14, 0, 14, 0, 14, 0, 12, 11, 0], [0, 11, 12, 0, 14, 0, 14, 0, 14, 0, 13, 0, 11, 0], [0, 11, 0, 13, 0, 13, 0, 13, 0, 13, 0, 12, 11, 15], [15, 11, 12, 0, 12, 0, 12, 0, 12, 0, 12, 0, 11, 31], [31, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 30]];
rm49 = 3;
rn49 = 4;
stage49 = new Array();
stage49 = [[0, 31, 11, 11, 11, 0, 31, 12, 12, 12, 0, 31, 13, 31], [0, 11, 0, 0, 11, 0, 12, 0, 0, 12, 0, 13, 0, 31], [0, 11, 0, 0, 31, 0, 12, 0, 0, 31, 0, 13, 0, 13], [0, 31, 11, 0, 31, 0, 12, 0, 0, 31, 0, 13, 30, 13], [0, 31, 0, 11, 31, 0, 12, 0, 0, 31, 0, 13, 13, 13], [0, 31, 0, 0, 11, 0, 12, 0, 0, 31, 0, 13, 0, 13], [0, 11, 0, 0, 11, 0, 12, 0, 0, 12, 0, 31, 0, 13], [0, 31, 11, 11, 11, 0, 31, 12, 12, 12, 0, 13, 31, 13]];
rm50 = 4;
rn50 = 7;
stage50 = new Array();
stage50 = [[0, 0, 0, 0, 5, 3, 2, 31, 0, 31, 0, 0, 0, 0], [0, 0, 31, 0, 7, 0, 0, 0, 9, 8, 0, 31, 0, 0], [0, 0, 0, 31, 0, 1, 2, 3, 0, 7, 0, 31, 0, 0], [0, 31, 0, 8, 0, 4, 0, 5, 0, 6, 0, 31, 0, 0], [0, 31, 0, 9, 0, 6, 7, 8, 0, 31, 0, 0, 0, 0], [0, 31, 0, 1, 2, 0, 0, 0, 6, 0, 31, 0, 0, 0], [0, 0, 0, 0, 0, 31, 3, 4, 5, 0, 0, 0, 0, 0], [0, 0, 0, 31, 0, 0, 0, 0, 0, 31, 0, 0, 0, 30]];
}
function stagedata2() {
rm51 = 8;
rn51 = 14;
stage51 = new Array();
stage51 = [[28, 28, 0, 0, 22, 22, 0, 0, 0, 0, 26, 25, 24, 30], [0, 6, 5, 4, 0, 0, 4, 5, 6, 0, 0, 0, 28, 28], [12, 12, 0, 0, 22, 23, 24, 0, 26, 26, 27, 27, 28, 28], [0, 12, 13, 14, 0, 0, 0, 2, 3, 4, 0, 0, 0, 0], [0, 0, 16, 16, 17, 17, 18, 18, 0, 12, 13, 14, 0, 0], [26, 25, 24, 0, 0, 0, 0, 16, 15, 14, 0, 24, 23, 22], [0, 4, 3, 2, 0, 6, 6, 7, 7, 8, 8, 0, 0, 0], [8, 8, 0, 14, 15, 16, 0, 0, 0, 0, 0, 2, 2, 0]];
rm52 = 8;
rn52 = 1;
stage52 = new Array();
stage52 = [[0, 22, 0, 12, 0, 2, 0, 0, 0, 2, 0, 12, 0, 0], [22, 0, 12, 0, 2, 0, 0, 2, 0, 0, 2, 0, 12, 0], [0, 12, 0, 2, 0, 0, 2, 12, 2, 0, 0, 2, 0, 12], [12, 0, 2, 0, 0, 2, 12, 22, 12, 2, 0, 0, 2, 0], [0, 2, 0, 0, 2, 12, 22, 2, 22, 12, 2, 0, 0, 2], [2, 0, 0, 2, 12, 22, 2, 12, 2, 22, 12, 2, 0, 0], [0, 0, 2, 12, 22, 2, 12, 22, 12, 2, 22, 12, 2, 0], [0, 2, 12, 22, 2, 12, 22, 30, 22, 12, 2, 22, 12, 2]];
rm53 = 1;
rn53 = 2;
stage53 = new Array();
stage53 = [[21, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 21], [21, 31, 31, 22, 22, 22, 22, 22, 22, 22, 22, 31, 31, 21], [21, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 21], [21, 0, 24, 28, 28, 28, 28, 28, 28, 28, 28, 23, 0, 21], [21, 0, 24, 0, 0, 31, 0, 0, 0, 0, 0, 23, 0, 21], [21, 0, 24, 0, 0, 0, 0, 0, 31, 0, 0, 23, 0, 21], [21, 31, 31, 26, 26, 26, 26, 26, 26, 26, 26, 31, 31, 21], [21, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 24, 30, 21]];
rm54 = 1;
rn54 = 7;
stage54 = new Array();
stage54 = [[11, 0, 0, 1, 0, 31, 0, 31, 0, 9, 0, 0, 0, 11], [11, 0, 8, 0, 0, 0, 8, 0, 0, 0, 2, 0, 2, 11], [11, 6, 0, 9, 0, 3, 0, 4, 0, 1, 0, 6, 0, 11], [11, 0, 0, 31, 0, 0, 7, 0, 0, 31, 0, 0, 0, 11], [11, 0, 7, 0, 0, 6, 0, 5, 0, 0, 7, 0, 2, 11], [11, 5, 0, 0, 3, 0, 8, 0, 4, 0, 0, 4, 0, 11], [11, 0, 4, 0, 0, 31, 2, 31, 0, 0, 3, 0, 0, 11], [11, 0, 0, 3, 0, 1, 30, 9, 0, 5, 0, 0, 0, 11]];
rm55 = 1;
rn55 = 14;
stage55 = new Array();
stage55 = [[0, 0, 0, 0, 0, 0, 31, 31, 0, 0, 0, 0, 0, 0], [0, 1, 21, 11, 0, 0, 19, 0, 0, 0, 29, 19, 9, 0], [0, 0, 0, 0, 0, 1, 31, 9, 29, 0, 0, 0, 0, 0], [31, 0, 0, 0, 0, 21, 30, 1, 19, 31, 1, 11, 21, 31], [31, 19, 29, 9, 31, 11, 0, 31, 21, 0, 0, 0, 0, 31], [0, 0, 0, 0, 0, 29, 19, 31, 1, 0, 0, 0, 0, 0], [0, 11, 21, 1, 0, 0, 0, 9, 0, 0, 19, 29, 9, 0], [0, 0, 0, 0, 0, 0, 31, 31, 0, 0, 0, 0, 0, 0]];
rm56 = 6;
rn56 = 14;
stage56 = new Array();
stage56 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 30], [26, 0, 28, 29, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31], [26, 0, 28, 29, 0, 22, 23, 0, 25, 26, 0, 28, 29, 31], [26, 0, 28, 29, 0, 22, 23, 0, 25, 26, 0, 28, 29, 31], [26, 0, 28, 29, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31], [26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 31], [26, 27, 28, 29, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31], [0, 27, 0, 0, 21, 0, 0, 24, 0, 0, 27, 0, 0, 31]];
rm57 = 3;
rn57 = 8;
stage57 = new Array();
stage57 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 31, 0, 1, 0, 31, 31, 31, 31, 0, 1, 0, 31, 0], [0, 31, 0, 2, 0, 31, 0, 0, 31, 0, 2, 0, 31, 0], [0, 31, 0, 3, 0, 44, 9, 9, 44, 0, 3, 0, 31, 0], [0, 31, 0, 4, 44, 8, 0, 0, 8, 44, 4, 0, 31, 0], [0, 0, 31, 0, 5, 0, 7, 7, 0, 5, 0, 31, 0, 0], [0, 0, 0, 31, 44, 6, 0, 0, 6, 0, 31, 0, 0, 0], [0, 0, 0, 31, 31, 30, 31, 31, 0, 31, 31, 0, 0, 0]];
rm58 = 3;
rn58 = 14;
stage58 = new Array();
stage58 = [[31, 31, 21, 21, 21, 0, 0, 0, 0, 0, 31, 31, 31, 31], [31, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 21], [0, 0, 0, 0, 0, 21, 21, 21, 0, 0, 0, 0, 11, 0], [31, 0, 0, 0, 21, 31, 31, 31, 21, 0, 0, 21, 21, 21], [31, 21, 21, 21, 21, 21, 21, 21, 21, 21, 31, 31, 31, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 21, 21], [0, 21, 0, 0, 21, 21, 21, 21, 0, 0, 0, 0, 11, 0], [31, 21, 21, 21, 21, 31, 31, 31, 21, 21, 21, 21, 21, 30]];
rm59 = 1;
rn59 = 14;
stage59 = new Array();
stage59 = [[30, 7, 0, 1, 31, 1, 0, 0, 1, 31, 1, 0, 7, 0], [5, 7, 0, 2, 31, 2, 0, 0, 2, 31, 2, 0, 7, 7], [7, 0, 0, 3, 31, 2, 5, 5, 2, 31, 3, 0, 0, 0], [0, 0, 0, 4, 31, 4, 0, 0, 4, 31, 4, 0, 0, 0], [0, 0, 0, 5, 31, 9, 0, 0, 9, 31, 5, 0, 0, 0], [0, 0, 0, 6, 7, 8, 6, 6, 8, 7, 6, 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]];
rm60 = 8;
rn60 = 14;
stage60 = new Array();
stage60 = [[0, 0, 0, 0, 0, 17, 7, 7, 17, 0, 0, 0, 0, 0], [0, 0, 0, 0, 17, 7, 27, 27, 7, 17, 0, 0, 0, 0], [0, 0, 0, 17, 7, 27, 30, 0, 27, 7, 17, 0, 0, 0], [0, 0, 0, 0, 17, 7, 27, 27, 7, 17, 0, 0, 0, 0], [0, 0, 0, 0, 0, 17, 7, 7, 17, 0, 0, 0, 0, 0], [0, 0, 27, 17, 7, 7, 7, 7, 7, 7, 17, 27, 0, 0], [0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0]];
rm61 = 8;
rn61 = 13;
stage61 = new Array();
stage61 = [[0, 0, 0, 0, 0, 28, 8, 28, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 28, 8, 8, 8, 28, 0, 0, 0, 0, 0], [0, 0, 0, 28, 8, 0, 8, 0, 8, 28, 0, 0, 0, 0], [0, 0, 28, 8, 0, 0, 8, 0, 0, 8, 28, 0, 0, 0], [0, 0, 18, 0, 0, 8, 28, 8, 0, 0, 18, 0, 0, 0], [0, 0, 0, 0, 8, 18, 18, 18, 8, 0, 0, 0, 0, 0], [0, 0, 0, 0, 8, 18, 0, 18, 8, 0, 0, 0, 0, 0], [0, 0, 0, 0, 28, 8, 30, 8, 28, 0, 0, 0, 0, 0]];
rm62 = 3;
rn62 = 7;
stage62 = new Array();
stage62 = [[0, 0, 0, 0, 0, 11, 0, 11, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 12, 0, 12, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 13, 0, 13, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0], [0, 0, 0, 15, 31, 0, 16, 0, 31, 15, 0, 0, 0, 0], [0, 0, 16, 0, 18, 0, 19, 0, 18, 0, 16, 0, 0, 0], [0, 17, 14, 15, 19, 31, 30, 31, 19, 15, 14, 17, 0, 0], [18, 0, 13, 0, 12, 14, 11, 14, 12, 0, 13, 0, 18, 0]];
rm63 = 8;
rn63 = 14;
stage63 = new Array();
stage63 = [[0, 29, 0, 0, 0, 31, 31, 31, 31, 31, 31, 31, 31, 31], [0, 0, 23, 0, 27, 31, 0, 26, 0, 25, 24, 0, 23, 22], [0, 0, 22, 0, 22, 21, 27, 0, 25, 0, 0, 23, 22, 21], [0, 0, 0, 0, 0, 27, 0, 26, 0, 25, 24, 0, 29, 30], [0, 0, 22, 0, 22, 26, 27, 0, 25, 0, 0, 23, 22, 21], [0, 0, 23, 0, 27, 31, 0, 26, 0, 25, 24, 0, 23, 22], [0, 0, 0, 0, 0, 31, 31, 31, 31, 31, 31, 31, 31, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm64 = 5;
rn64 = 1;
stage64 = new Array();
stage64 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11], [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], [0, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 1, 44, 30], [0, 0, 2, 0, 4, 0, 6, 0, 8, 0, 3, 0, 2, 44], [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm65 = 8;
rn65 = 14;
stage65 = new Array();
stage65 = [[0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 11, 0, 1, 2, 3, 21, 22, 23, 14, 15, 16, 21, 0], [0, 31, 0, 19, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0], [0, 31, 0, 18, 0, 14, 15, 16, 11, 31, 12, 0, 23, 0], [0, 31, 0, 17, 0, 0, 0, 0, 11, 30, 13, 0, 24, 0], [0, 31, 0, 16, 15, 14, 13, 12, 1, 2, 3, 0, 25, 0], [0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0], [0, 2, 22, 23, 24, 25, 26, 27, 28, 29, 29, 28, 27, 0]];
rm66 = 4;
rn66 = 14;
stage66 = new Array();
stage66 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 0, 0], [31, 0, 0, 0, 9, 0, 6, 0, 4, 0, 2, 31, 9, 0], [30, 1, 1, 0, 0, 9, 0, 5, 0, 3, 0, 1, 0, 0], [31, 9, 9, 0, 0, 9, 0, 5, 0, 3, 0, 9, 0, 0], [31, 0, 0, 0, 9, 0, 6, 0, 4, 0, 2, 31, 1, 0], [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm67 = 1;
rn67 = 1;
stage67 = new Array();
stage67 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 44, 11, 0, 11, 0, 0, 0, 0, 0, 0, 0], [31, 31, 31, 31, 31, 11, 31, 31, 31, 31, 31, 31, 31, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0, 0, 0], [31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 12, 31, 31], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7], [30, 1, 2, 3, 24, 25, 26, 17, 18, 19, 11, 0, 13, 7]];
rm68 = 1;
rn68 = 1;
stage68 = new Array();
stage68 = [[0, 0, 19, 0, 31, 31, 0, 0, 31, 31, 0, 0, 28, 0], [0, 19, 0, 9, 0, 0, 27, 8, 0, 0, 7, 28, 0, 27], [0, 31, 0, 0, 7, 29, 0, 0, 17, 18, 0, 0, 31, 0], [0, 31, 0, 7, 0, 0, 9, 27, 0, 28, 8, 18, 31, 9], [0, 0, 29, 0, 17, 27, 0, 0, 17, 0, 0, 27, 0, 0], [0, 29, 0, 9, 0, 0, 6, 27, 0, 28, 18, 0, 19, 0], [0, 0, 31, 31, 19, 8, 31, 31, 7, 0, 9, 31, 31, 9], [0, 9, 0, 0, 9, 0, 19, 0, 0, 28, 0, 29, 0, 30]];
rm69 = 6;
rn69 = 9;
stage69 = new Array();
stage69 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 0, 0], [0, 15, 0, 0, 0, 27, 0, 17, 0, 0, 0, 12, 0, 0], [0, 14, 0, 21, 22, 23, 30, 24, 25, 26, 0, 13, 0, 0], [0, 13, 0, 26, 25, 24, 28, 23, 22, 21, 0, 14, 0, 0], [0, 12, 0, 0, 0, 17, 0, 27, 0, 0, 0, 15, 0, 0], [0, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 16, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm70 = 1;
rn70 = 1;
stage70 = new Array();
stage70 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 21, 22, 23, 21, 22, 23, 21, 22, 23, 21, 22, 23, 1], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [3, 11, 12, 13, 11, 12, 13, 11, 12, 13, 11, 12, 13, 3], [13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23], [12, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 22], [11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21], [31, 0, 31, 0, 31, 0, 31, 0, 31, 0, 31, 0, 31, 30]];
rm71 = 8;
rn71 = 14;
stage71 = new Array();
stage71 = [[14, 17, 0, 17, 0, 16, 19, 11, 0, 0, 0, 0, 0, 0], [15, 31, 13, 18, 13, 17, 31, 12, 0, 0, 11, 12, 13, 0], [16, 18, 14, 0, 14, 0, 11, 13, 0, 0, 0, 0, 0, 0], [17, 19, 0, 19, 0, 18, 12, 14, 0, 0, 14, 15, 16, 0], [18, 11, 0, 11, 0, 19, 13, 15, 0, 0, 0, 0, 0, 0], [19, 12, 15, 0, 15, 0, 14, 16, 0, 0, 17, 18, 19, 0], [11, 31, 16, 0, 16, 11, 31, 17, 0, 0, 0, 0, 0, 0], [30, 13, 0, 12, 0, 12, 15, 18, 0, 0, 0, 0, 0, 0]];
rm72 = 1;
rn72 = 1;
stage72 = new Array();
stage72 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 26, 25, 25, 25, 25, 26, 0, 0, 0, 0], [0, 26, 26, 26, 26, 25, 22, 23, 25, 26, 26, 26, 26, 0], [0, 25, 0, 0, 25, 24, 0, 30, 23, 25, 0, 0, 25, 0], [0, 25, 0, 0, 25, 23, 0, 0, 24, 25, 0, 0, 25, 0], [0, 26, 26, 26, 26, 25, 23, 22, 25, 26, 26, 26, 26, 0], [0, 0, 0, 0, 26, 25, 25, 25, 25, 26, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm73 = 1;
rn73 = 7;
stage73 = new Array();
stage73 = [[31, 31, 31, 0, 0, 1, 0, 1, 0, 0, 31, 31, 31, 31], [31, 31, 0, 0, 2, 0, 1, 0, 2, 0, 0, 31, 31, 31], [31, 0, 0, 3, 0, 9, 2, 9, 0, 3, 0, 0, 31, 31], [0, 0, 4, 5, 0, 0, 3, 0, 0, 0, 4, 0, 0, 31], [0, 5, 0, 0, 2, 0, 4, 0, 2, 0, 0, 5, 0, 31], [0, 0, 6, 0, 0, 1, 5, 1, 0, 0, 6, 0, 0, 31], [31, 0, 0, 7, 4, 31, 6, 31, 4, 7, 0, 0, 31, 31], [31, 0, 9, 0, 0, 8, 30, 8, 0, 0, 9, 0, 31, 31]];
rm74 = 1;
rn74 = 1;
stage74 = new Array();
stage74 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 22, 0], [0, 0, 0, 0, 0, 21, 22, 21, 0, 0, 0, 0, 23, 0], [0, 0, 0, 0, 21, 22, 23, 22, 21, 0, 0, 0, 24, 0], [0, 0, 0, 21, 22, 23, 23, 23, 22, 21, 0, 0, 0, 0], [0, 0, 21, 22, 23, 24, 25, 24, 23, 22, 21, 0, 0, 0], [0, 21, 22, 23, 24, 25, 0, 25, 24, 23, 22, 21, 0, 0], [21, 22, 23, 24, 25, 0, 30, 0, 25, 24, 23, 22, 21, 0]];
rm75 = 5;
rn75 = 7;
stage75 = new Array();
stage75 = [[31, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 31], [0, 0, 14, 0, 4, 24, 4, 14, 24, 14, 0, 14, 0, 0], [31, 0, 4, 0, 24, 14, 24, 4, 14, 4, 0, 24, 0, 31], [0, 0, 24, 0, 14, 4, 14, 30, 24, 14, 0, 4, 0, 0], [31, 0, 14, 0, 4, 24, 0, 4, 14, 14, 0, 14, 0, 31], [0, 0, 4, 0, 24, 14, 4, 14, 4, 24, 0, 24, 0, 0], [31, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 31], [0, 0, 14, 4, 24, 14, 4, 24, 14, 4, 24, 14, 0, 0]];
rm76 = 8;
rn76 = 1;
stage76 = new Array();
stage76 = [[27, 0, 0, 28, 0, 0, 23, 0, 0, 24, 0, 0, 25, 30], [0, 24, 0, 0, 23, 0, 0, 29, 0, 0, 27, 26, 0, 27], [0, 0, 27, 0, 0, 27, 22, 0, 21, 26, 0, 23, 29, 0], [26, 0, 0, 25, 22, 0, 25, 26, 0, 28, 29, 0, 25, 0], [0, 23, 0, 0, 26, 26, 0, 29, 29, 0, 25, 0, 0, 27], [0, 0, 21, 26, 0, 23, 29, 0, 26, 0, 0, 29, 0, 0], [25, 29, 0, 27, 29, 0, 22, 0, 0, 28, 0, 0, 24, 0], [0, 27, 0, 0, 26, 0, 0, 24, 0, 0, 22, 0, 0, 21]];
rm77 = 8;
rn77 = 14;
stage77 = new Array();
stage77 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 3, 4, 5, 6, 7, 8, 0, 0, 9, 0], [0, 2, 0, 0, 4, 1, 8, 1, 9, 6, 0, 0, 8, 0], [0, 3, 0, 0, 3, 7, 30, 4, 3, 7, 0, 0, 7, 0], [0, 4, 0, 0, 2, 5, 1, 6, 2, 7, 0, 0, 6, 0], [0, 5, 0, 0, 5, 8, 3, 9, 6, 9, 0, 0, 5, 0], [0, 6, 0, 0, 1, 2, 3, 4, 5, 6, 0, 0, 4, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm78 = 1;
rn78 = 1;
stage78 = new Array();
stage78 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 29, 0, 29, 0, 29, 0, 29, 0, 29, 0, 0, 0], [0, 31, 31, 1, 1, 1, 0, 1, 1, 1, 31, 31, 0, 0], [0, 31, 0, 0, 11, 0, 0, 0, 11, 0, 0, 31, 0, 0], [0, 31, 0, 0, 0, 0, 31, 0, 0, 0, 0, 31, 0, 0], [0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0], [0, 0, 0, 31, 0, 0, 30, 0, 0, 31, 0, 0, 0, 0], [0, 0, 0, 0, 31, 31, 31, 31, 31, 0, 0, 0, 0, 0]];
rm79 = 1;
rn79 = 1;
stage79 = new Array();
stage79 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1], [0, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 31], [0, 31, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 31], [0, 31, 0, 0, 0, 0, 2, 30, 2, 0, 0, 0, 0, 31], [0, 31, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 31], [0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31], [0, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31]];
rm80 = 7;
rn80 = 5;
stage80 = new Array();
stage80 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 7, 8, 0, 1, 2, 0, 0, 0], [0, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 31, 24, 0], [11, 0, 0, 0, 0, 0, 17, 18, 19, 0, 0, 0, 0, 0], [1, 0, 0, 4, 5, 6, 7, 0, 0, 0, 0, 0, 0, 0], [29, 0, 23, 24, 25, 26, 27, 28, 29, 21, 0, 0, 0, 0], [0, 0, 0, 0, 0, 17, 18, 23, 19, 30, 12, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
rm81 = 8;
rn81 = 13;
stage81 = new Array();
stage81 = [[31, 1, 30, 0, 31, 1, 0, 0, 0, 2, 0, 1, 0, 31], [31, 1, 2, 2, 31, 1, 0, 2, 31, 1, 0, 3, 0, 31], [31, 1, 0, 0, 31, 1, 2, 0, 31, 1, 0, 1, 0, 31], [31, 1, 0, 0, 31, 1, 0, 2, 31, 1, 0, 2, 0, 31], [31, 1, 0, 2, 31, 1, 2, 0, 1, 1, 2, 1, 0, 31], [31, 1, 2, 0, 2, 0, 0, 2, 31, 1, 0, 3, 0, 31], [31, 1, 0, 2, 31, 1, 0, 0, 31, 1, 2, 1, 0, 31], [31, 1, 2, 0, 2, 0, 2, 0, 31, 1, 0, 3, 0, 31]];
rm82 = 1;
rn82 = 14;
stage82 = new Array();
stage82 = [[0, 0, 0, 0, 14, 31, 0, 0, 0, 0, 14, 12, 0, 0], [0, 15, 12, 0, 14, 31, 0, 17, 16, 0, 17, 11, 12, 15], [0, 16, 13, 0, 15, 13, 0, 13, 17, 0, 19, 13, 0, 0], [0, 17, 14, 0, 17, 12, 0, 12, 18, 0, 16, 14, 0, 0], [0, 18, 15, 0, 18, 19, 0, 15, 14, 0, 14, 15, 0, 0], [0, 19, 16, 0, 19, 18, 0, 31, 13, 0, 13, 17, 0, 0], [11, 31, 17, 0, 12, 19, 0, 31, 12, 0, 12, 18, 0, 0], [30, 31, 18, 0, 0, 0, 0, 31, 13, 0, 0, 0, 0, 0]];
rm83 = 1;
rn83 = 1;
stage83 = new Array();
stage83 = [[0, 31, 12, 0, 31, 0, 31, 30, 0, 31, 0, 31, 13, 0], [0, 11, 0, 11, 31, 0, 31, 0, 0, 12, 0, 13, 0, 0], [0, 31, 44, 44, 31, 0, 11, 0, 11, 12, 0, 31, 13, 0], [0, 31, 0, 0, 0, 0, 31, 44, 44, 12, 31, 31, 0, 0], [0, 31, 31, 31, 0, 31, 0, 31, 0, 12, 0, 31, 0, 31], [0, 31, 12, 0, 0, 0, 31, 0, 11, 12, 0, 11, 0, 0], [0, 11, 0, 11, 31, 0, 11, 0, 0, 12, 0, 31, 0, 31], [0, 31, 0, 0, 31, 0, 31, 0, 0, 31, 0, 31, 0, 0]];
rm84 = 8;
rn84 = 1;
stage84 = new Array();
stage84 = [[31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31], [31, 31, 31, 31, 31, 0, 0, 0, 0, 31, 31, 31, 31, 31], [31, 31, 31, 31, 31, 0, 24, 26, 0, 31, 31, 31, 31, 31], [31, 31, 31, 31, 0, 23, 26, 24, 22, 0, 31, 31, 31, 31], [31, 31, 31, 0, 23, 26, 0, 0, 24, 23, 0, 31, 31, 31], [31, 31, 0, 22, 24, 0, 0, 0, 0, 28, 22, 0, 31, 31], [31, 0, 23, 24, 0, 0, 31, 31, 0, 0, 23, 28, 0, 31], [0, 22, 0, 0, 0, 31, 31, 31, 31, 0, 0, 0, 22, 30]];
rm85 = 1;
rn85 = 1;
stage85 = new Array();
stage85 = [[0, 5, 0, 8, 8, 0, 8, 9, 0, 8, 0, 6, 2, 0], [4, 0, 4, 0, 0, 6, 0, 0, 7, 0, 9, 0, 0, 9], [0, 3, 0, 6, 6, 0, 8, 9, 0, 8, 0, 9, 2, 0], [3, 0, 3, 0, 31, 31, 31, 31, 31, 31, 8, 0, 3, 0], [3, 0, 1, 1, 31, 31, 31, 31, 31, 31, 0, 7, 0, 4], [0, 3, 0, 5, 0, 6, 0, 4, 0, 2, 4, 3, 7, 0], [9, 0, 5, 0, 4, 1, 0, 3, 0, 5, 0, 7, 0, 9], [30, 9, 0, 5, 0, 0, 4, 0, 2, 0, 5, 0, 9, 0]];
rm86 = 1;
rn86 = 14;
stage86 = new Array();
stage86 = [[0, 1, 11, 1, 0, 11, 9, 9, 0, 9, 1, 9, 0, 0], [0, 9, 0, 21, 21, 1, 0, 1, 11, 19, 0, 1, 0, 0], [0, 31, 19, 19, 0, 21, 19, 19, 0, 9, 21, 31, 0, 0], [0, 11, 0, 29, 29, 29, 0, 11, 19, 1, 0, 19, 0, 0], [0, 19, 21, 9, 0, 9, 9, 29, 0, 9, 19, 11, 0, 0], [0, 31, 0, 1, 1, 19, 0, 21, 29, 11, 0, 31, 0, 0], [0, 21, 9, 21, 0, 1, 1, 9, 0, 1, 21, 29, 0, 0], [30, 29, 0, 11, 19, 19, 0, 1, 21, 29, 0, 21, 0, 0]];
rm87 = 7;
rn87 = 1;
stage87 = new Array();
stage87 = [[0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 3, 13, 23, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 23, 13, 3, 13, 3, 0, 0, 0, 0], [0, 0, 0, 0, 13, 3, 23, 13, 3, 23, 13, 0, 0, 0], [0, 0, 0, 3, 3, 23, 13, 30, 23, 13, 3, 23, 0, 0], [0, 0, 23, 13, 23, 13, 3, 13, 23, 3, 23, 13, 3, 0], [0, 13, 3, 23, 13, 3, 23, 13, 3, 23, 13, 3, 23, 13], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
rm88 = 1;
rn88 = 1;
stage88 = new Array();
stage88 = [[0, 0, 14, 0, 19, 0, 16, 0, 13, 0, 15, 0, 17, 0], [0, 11, 0, 15, 0, 18, 0, 12, 0, 14, 0, 19, 0, 11], [31, 0, 13, 0, 12, 0, 17, 0, 18, 0, 16, 0, 31, 0], [0, 14, 0, 16, 0, 14, 0, 15, 0, 17, 0, 18, 0, 15], [12, 0, 17, 0, 19, 0, 13, 0, 16, 0, 12, 0, 14, 0], [0, 31, 0, 18, 0, 12, 0, 19, 0, 14, 0, 13, 0, 31], [11, 0, 13, 0, 15, 0, 17, 0, 19, 0, 12, 0, 31, 0], [0, 12, 0, 14, 0, 16, 0, 18, 0, 17, 0, 11, 0, 30]];
rm89 = 8;
rn89 = 14;
stage89 = new Array();
stage89 = [[30, 0, 31, 0, 31, 0, 31, 0, 0, 0, 31, 31, 0, 0], [16, 12, 13, 0, 13, 0, 31, 0, 0, 0, 13, 0, 0, 0], [0, 0, 31, 0, 12, 0, 31, 13, 14, 16, 12, 13, 14, 16], [0, 0, 14, 0, 13, 0, 14, 0, 12, 0, 16, 0, 0, 0], [0, 0, 31, 16, 14, 0, 16, 0, 31, 0, 31, 0, 0, 0], [0, 0, 16, 12, 13, 14, 12, 0, 31, 0, 31, 16, 12, 13], [14, 0, 13, 0, 0, 0, 13, 0, 12, 0, 13, 0, 0, 0], [31, 0, 12, 0, 0, 0, 31, 31, 14, 0, 14, 0, 0, 0]];
rm90 = 5;
rn90 = 14;
stage90 = new Array();
stage90 = [[0, 0, 0, 26, 4, 0, 0, 4, 27, 0, 0, 8, 0, 0], [0, 0, 31, 5, 0, 5, 7, 0, 0, 0, 7, 7, 0, 0], [31, 31, 5, 0, 9, 0, 6, 0, 0, 24, 31, 0, 7, 0], [30, 9, 0, 0, 8, 31, 9, 0, 23, 0, 6, 0, 6, 0], [0, 4, 0, 0, 6, 31, 4, 0, 27, 0, 9, 0, 9, 0], [31, 31, 8, 0, 8, 0, 5, 0, 0, 26, 31, 0, 2, 0], [0, 0, 31, 7, 0, 6, 2, 0, 0, 0, 2, 2, 0, 0], [0, 0, 0, 24, 7, 0, 0, 7, 23, 0, 0, 1, 0, 0]];
rm91 = 1;
rn91 = 1;
stage91 = new Array();
stage91 = [[0, 0, 0, 0, 0, 11, 0, 0, 11, 0, 0, 0, 0, 0], [0, 0, 0, 14, 13, 12, 0, 0, 12, 13, 14, 0, 0, 0], [0, 0, 31, 11, 0, 31, 19, 19, 31, 0, 11, 31, 0, 0], [12, 13, 19, 0, 19, 17, 0, 30, 17, 19, 0, 19, 13, 12], [0, 18, 17, 0, 18, 14, 16, 16, 14, 18, 0, 17, 18, 0], [0, 0, 13, 11, 0, 31, 0, 0, 31, 0, 11, 13, 0, 0], [0, 0, 0, 0, 12, 18, 13, 13, 18, 12, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0]];
rm92 = 8;
rn92 = 8;
stage92 = new Array();
stage92 = [[31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31], [26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [25, 0, 24, 23, 22, 21, 22, 23, 22, 21, 22, 23, 24, 0], [24, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0], [23, 0, 26, 0, 25, 26, 27, 28, 27, 26, 25, 0, 26, 0], [22, 0, 27, 0, 24, 0, 0, 0, 0, 0, 24, 0, 27, 0], [21, 0, 28, 0, 23, 0, 21, 21, 21, 0, 23, 0, 28, 0], [30, 21, 29, 0, 22, 0, 21, 0, 21, 0, 22, 0, 29, 0]];
rm93 = 4;
rn93 = 7;
stage93 = new Array();
stage93 = [[0, 21, 22, 0, 0, 25, 0, 0, 26, 0, 0, 22, 21, 0], [21, 23, 0, 22, 0, 0, 25, 26, 0, 0, 22, 0, 23, 21], [24, 0, 23, 0, 22, 0, 0, 25, 0, 22, 0, 23, 0, 24], [0, 24, 0, 23, 0, 22, 0, 0, 22, 0, 23, 0, 24, 0], [27, 0, 0, 0, 23, 0, 0, 21, 0, 23, 0, 24, 0, 27], [0, 24, 0, 23, 0, 22, 25, 0, 22, 0, 23, 0, 24, 0], [21, 0, 23, 0, 22, 0, 26, 25, 0, 22, 0, 23, 0, 21], [0, 21, 0, 22, 0, 26, 0, 0, 25, 0, 22, 0, 21, 30]];
rm94 = 1;
rn94 = 1;
stage94 = new Array();
stage94 = [[0, 0, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 0], [0, 17, 0, 18, 17, 17, 17, 17, 17, 17, 17, 18, 0, 0], [0, 17, 0, 18, 17, 16, 16, 16, 16, 16, 17, 18, 0, 0], [0, 16, 0, 18, 17, 16, 15, 0, 15, 16, 17, 18, 0, 0], [0, 16, 0, 18, 17, 16, 15, 30, 15, 16, 17, 18, 0, 0], [0, 15, 0, 18, 17, 16, 16, 16, 16, 16, 17, 18, 0, 0], [0, 15, 0, 18, 17, 17, 17, 17, 17, 17, 17, 18, 0, 0], [0, 0, 0, 18, 0, 18, 0, 18, 0, 18, 0, 18, 0, 0]];
rm95 = 5;
rn95 = 8;
stage95 = new Array();
stage95 = [[44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], [44, 0, 3, 0, 7, 0, 0, 3, 0, 0, 7, 0, 3, 0], [44, 3, 0, 7, 0, 3, 0, 0, 0, 3, 0, 7, 0, 0], [44, 0, 7, 0, 3, 0, 31, 7, 31, 0, 7, 0, 3, 0], [44, 3, 0, 7, 0, 3, 0, 0, 0, 7, 0, 7, 0, 0], [44, 0, 7, 0, 3, 0, 31, 3, 31, 0, 7, 0, 3, 0], [0, 3, 0, 3, 0, 7, 0, 0, 0, 7, 0, 3, 0, 0], [30, 0, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44]];
rm96 = 4;
rn96 = 14;
stage96 = new Array();
stage96 = [[9, 0, 9, 0, 9, 0, 9, 9, 0, 9, 0, 9, 0, 9], [0, 2, 0, 8, 0, 8, 0, 0, 8, 0, 8, 0, 2, 0], [1, 0, 3, 0, 5, 0, 7, 7, 0, 5, 0, 3, 0, 1], [0, 1, 0, 4, 6, 6, 30, 31, 6, 0, 4, 0, 1, 0], [0, 1, 0, 4, 6, 1, 31, 0, 6, 0, 4, 0, 1, 0], [1, 0, 3, 0, 5, 0, 7, 7, 0, 5, 0, 3, 0, 1], [0, 2, 6, 8, 0, 8, 0, 0, 8, 0, 8, 0, 2, 0], [9, 0, 9, 0, 9, 0, 9, 9, 0, 9, 0, 9, 0, 9]];
rm97 = 1;
rn97 = 1;
stage97 = new Array();
stage97 = [[0, 1, 0, 8, 0, 1, 0, 8, 0, 1, 0, 8, 1, 30], [0, 2, 0, 7, 0, 2, 0, 7, 0, 2, 0, 7, 0, 2], [0, 3, 0, 6, 0, 3, 0, 6, 0, 3, 0, 6, 0, 3], [0, 4, 0, 5, 0, 4, 0, 5, 0, 4, 0, 5, 0, 4], [0, 5, 0, 4, 0, 5, 0, 4, 0, 5, 0, 4, 0, 5], [0, 6, 0, 3, 0, 6, 0, 3, 0, 6, 0, 3, 0, 6], [0, 7, 0, 2, 0, 7, 0, 2, 0, 7, 0, 2, 0, 7], [0, 8, 0, 1, 0, 8, 0, 1, 0, 8, 0, 1, 0, 8]];
rm98 = 7;
rn98 = 7;
stage98 = new Array();
stage98 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 0], [0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0], [0, 31, 0, 27, 28, 22, 0, 0, 22, 28, 27, 0, 31, 0], [0, 31, 0, 23, 0, 24, 0, 0, 24, 0, 23, 0, 31, 0], [0, 31, 0, 26, 0, 25, 0, 0, 25, 0, 26, 0, 31, 0], [27, 31, 0, 44, 21, 44, 0, 0, 44, 21, 44, 0, 31, 29], [0, 27, 0, 29, 0, 27, 0, 0, 27, 30, 29, 0, 29, 0]];
rm99 = 1;
rn99 = 1;
stage99 = new Array();
stage99 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 11, 12, 13, 0, 11, 11, 11, 11, 0, 13, 12, 11, 0], [0, 14, 0, 0, 12, 12, 12, 12, 12, 12, 0, 0, 14, 0], [0, 15, 0, 13, 13, 13, 13, 13, 13, 13, 13, 0, 15, 0], [0, 0, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, 0], [0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0], [16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16], [0, 16, 17, 0, 17, 11, 30, 44, 11, 17, 0, 17, 16, 0]];
}
allstage = 99;
yinxiao = 1;
yinyue = 1;
stop();
Instance of Symbol 75 MovieClip "jindu" in Frame 1
onClipEvent (enterFrame) {
percent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.jindu._xscale = percent;
if (percent == 100) {
_root.gotoAndPlay(2);
}
}
Instance of Symbol 88 MovieClip in Frame 142
/* no clip actions */
Frame 152
clicksound = new Sound();
clicksound.attachSound("click");
clicksound.setVolume(50);
rollsound = new Sound();
rollsound.attachSound("roll");
rollsound.setVolume(50);
errorsound = new Sound();
errorsound.attachSound("error");
errorsound.setVolume(50);
Instance of Symbol 96 MovieClip "rollsound" in Frame 152
/* no clip actions */
Frame 185
bgmsound = new Sound();
bgmsound.attachSound("bgm");
bgmsound.start(0, 10000);
Frame 206
function checkrpcode() {
pass = 0;
i = 0;
while (i < totalstep) {
var _local1 = jiance(repcode[i]);
if (_local1 == 1) {
checkqianjin(repcode[i]);
} else if (_local1 == 2) {
checktuidong(repcode[i]);
} else {
if (_local1 == 4) {
if (i == (totalstep - 1)) {
pass = 1;
}
break;
}
if (_local1 == 5) {
break;
}
if (_local1 == 0) {
break;
}
}
i++;
}
return(pass);
}
function checkmap() {
var _local1 = _root;
stagedata();
stagepass = 1;
if ((repstage > allstage) || (repstage < 1)) {
stagepass = 0;
}
if (stagepass) {
stage = new Array();
stage = _local1["stage" + repstage];
rn = _local1["rn" + repstage];
rm = _local1["rm" + repstage];
return(1);
}
return(0);
}
function jiance(a) {
var _local1 = a;
if (_local1 == 1) {
if (stage[rm - 1][rn - 2] == 0) {
return(1);
}
if ((stage[rm - 1][rn - 2] > 0) && (stage[rm - 1][rn - 2] < 30)) {
if ((stage[rm - 1][rn - 3] == 0) || (stage[rm - 1][rn - 3] == 44)) {
return(2);
}
return(0);
}
if (stage[rm - 1][rn - 2] == 30) {
return(4);
}
if (stage[rm - 1][rn - 2] == 44) {
return(5);
}
return(0);
}
if (_local1 == 2) {
if (stage[rm - 1][rn] == 0) {
return(1);
}
if ((stage[rm - 1][rn] > 0) && (stage[rm - 1][rn] < 30)) {
if ((stage[rm - 1][rn + 1] == 0) || (stage[rm - 1][rn + 1] == 44)) {
return(2);
}
return(0);
}
if (stage[rm - 1][rn] == 30) {
return(4);
}
if (stage[rm - 1][rn] == 44) {
return(5);
}
return(0);
}
if (_local1 == 3) {
if (stage[rm - 2][rn - 1] == 0) {
return(1);
}
if ((stage[rm - 2][rn - 1] > 0) && (stage[rm - 2][rn - 1] < 30)) {
if ((stage[rm - 3][rn - 1] == 0) || (stage[rm - 3][rn - 1] == 44)) {
return(2);
}
return(0);
}
if (stage[rm - 2][rn - 1] == 30) {
return(4);
}
if (stage[rm - 2][rn - 1] == 44) {
return(5);
}
return(0);
}
if (_local1 == 4) {
if (stage[rm][rn - 1] == 0) {
return(1);
}
if ((stage[rm][rn - 1] > 0) && (stage[rm][rn - 1] < 30)) {
if ((stage[rm + 1][rn - 1] == 0) || (stage[rm + 1][rn - 1] == 44)) {
return(2);
}
return(0);
}
if (stage[rm][rn - 1] == 30) {
return(4);
}
if (stage[rm][rn - 1] == 44) {
return(5);
}
return(0);
}
return(undefined);
}
function checkqianjin(a) {
var _local1 = a;
if (_local1 == 1) {
rn--;
} else if (_local1 == 2) {
rn++;
} else if (_local1 == 3) {
rm--;
} else if (_local1 == 4) {
rm++;
}
}
function checktuidong(a) {
var _local1 = a;
if (_local1 == 1) {
tmp = stage[rm - 1][rn - 2];
stage[rm - 1][rn - 2] = 0;
stage[rm - 1][rn - 3] = tmp;
rn--;
} else if (_local1 == 2) {
tmp = stage[rm - 1][rn];
stage[rm - 1][rn] = 0;
stage[rm - 1][rn + 1] = tmp;
rn++;
} else if (_local1 == 3) {
tmp = stage[rm - 2][rn - 1];
stage[rm - 2][rn - 1] = 0;
stage[rm - 3][rn - 1] = tmp;
rm--;
} else if (_local1 == 4) {
tmp = stage[rm][rn - 1];
stage[rm][rn - 1] = 0;
stage[rm + 1][rn - 1] = tmp;
rm++;
}
checkzaijiance(_local1);
}
function checkzaijiance(a) {
var _local1 = a;
var flag1 = 0;
var flag2 = 0;
var _local3 = 0;
var _local2 = 0;
if (_local1 == 1) {
m = rm - 1;
n = rn - 2;
} else if (_local1 == 2) {
m = rm - 1;
n = rn;
} else if (_local1 == 3) {
m = rm - 2;
n = rn - 1;
} else if (_local1 == 4) {
m = rm;
n = rn - 1;
}
if ((((stage[m][n - 1] != 31) && (stage[m][n + 1] != 31)) && (stage[m - 1][n] != 31)) && (stage[m + 1][n] != 31)) {
if (stage[m][n] == stage[m][n - 1]) {
flag1 = 1;
}
if (stage[m][n] == stage[m][n + 1]) {
flag2 = 1;
}
if (stage[m][n] == stage[m - 1][n]) {
_local3 = 1;
}
if (stage[m][n] == stage[m + 1][n]) {
_local2 = 1;
}
if (flag1 == 1) {
stage[m][n] = 0;
stage[m][n - 1] = 0;
}
if (flag2 == 1) {
stage[m][n] = 0;
stage[m][n + 1] = 0;
}
if (_local3 == 1) {
stage[m][n] = 0;
stage[m - 1][n] = 0;
}
if (_local2 == 1) {
stage[m][n] = 0;
stage[m + 1][n] = 0;
}
} else if ((stage[m][n - 1] > 30) && (stage[m][n - 1] != 44)) {
stage[m][n] = stage[m][n - 1];
} else if ((stage[m][n + 1] > 30) && (stage[m][n + 1] != 44)) {
stage[m][n] = stage[m][n + 1];
} else if ((stage[m - 1][n] > 30) && (stage[m - 1][n] != 44)) {
stage[m][n] = stage[m - 1][n];
} else if ((stage[m + 1][n] > 30) && (stage[m + 1][n] != 44)) {
stage[m][n] = stage[m + 1][n];
}
}
_root._quality = "HIGH";
replaying = 0;
nowstage = 1;
stop();
Instance of Symbol 176 MovieClip "shuoming" in Frame 206
onClipEvent (load) {
this._xscale = 120;
this._yscale = 120;
}
Instance of Symbol 205 MovieClip "houshuo" in Frame 206
onClipEvent (load) {
this._xscale = 90;
this._yscale = 90;
}
Frame 207
function chushihua() {
var _local1 = _root;
num = 0;
rnum = 0;
board.backbu = 0;
board.nowtstep = 0;
board.gotoAndStop(1);
nowtotalstep = 0;
nowrep = 0;
repstep = "";
meni = null;
menj = null;
xianjing = 0;
mystep = new Array();
rep = new Array();
i = 1;
while (i < 9) {
_local1.youxiqu["hang" + i].swapDepths((2 * i) - 1);
i++;
}
}
function builtMap() {
var _local1 = _root;
chushihua();
stagedata();
if (!replaying) {
if (nowstage > allstage) {
nowstage = 1;
}
} else {
nowstage = repstage;
board.gotoAndStop(3);
}
board.nowguan = nowstage;
dixguan.gotoAndPlay(2);
stage = new Array();
stage = _local1["stage" + nowstage];
rn = _local1["rn" + nowstage];
rm = _local1["rm" + nowstage];
youxiqu.renwu._x = W * (rn - 1);
youxiqu.renwu._y = H * (rm - 1);
renwuface = 4;
youxiqu.renwu.gotoAndStop("houjiang");
youxiqu.renwu.swapDepths(2 * rm);
j = 0;
while (j < columns) {
i = 0;
while (i < rows) {
_local1.youxiqu["hang" + (i + 1)]["gezi" + (j + 1)].gotoAndStop(["g" + stage[i][j]]);
if (stage[i][j] == 30) {
meni = i;
menj = j;
_local1.youxiqu["hang" + (i + 1)]["gezi" + (j + 1)].guijia.gotoAndPlay(1);
}
i++;
}
j++;
}
}
function qianjin(a) {
var _local1 = a;
if (!replaying) {
remstep();
rememberstep(_local1);
}
youxiqu.renwu.gotoAndStop("zou" + _local1);
if (_local1 == 1) {
rn--;
} else if (_local1 == 2) {
rn++;
} else if (_local1 == 3) {
rm--;
} else if (_local1 == 4) {
rm++;
}
}
function tuidong(a) {
var _local1 = a;
var _local2 = _root;
if (!replaying) {
remstep();
rememberstep(_local1);
}
youxiqu.renwu.gotoAndStop("tui" + _local1);
if (yinxiao) {
tuisound.start();
}
if (_local1 == 1) {
tmp = stage[rm - 1][rn - 2];
stage[rm - 1][rn - 2] = 0;
stage[rm - 1][rn - 3] = tmp;
_local2.youxiqu["hang" + rm]["gezi" + (rn - 1)].gotoAndStop("tuidong1");
nowrm = rm;
nowrn = rn;
rn--;
} else if (_local1 == 2) {
tmp = stage[rm - 1][rn];
stage[rm - 1][rn] = 0;
stage[rm - 1][rn + 1] = tmp;
_local2.youxiqu["hang" + rm]["gezi" + (rn + 1)].gotoAndStop("tuidong2");
nowrm = rm;
nowrn = rn;
rn++;
} else if (_local1 == 3) {
tmp = stage[rm - 2][rn - 1];
stage[rm - 2][rn - 1] = 0;
stage[rm - 3][rn - 1] = tmp;
_local2.youxiqu["hang" + (rm - 1)]["gezi" + rn].gotoAndStop("tuidong3");
nowrm = rm;
nowrn = rn;
rm--;
} else if (_local1 == 4) {
tmp = stage[rm][rn - 1];
stage[rm][rn - 1] = 0;
stage[rm + 1][rn - 1] = tmp;
_local2.youxiqu["hang" + (rm + 1)]["gezi" + rn].gotoAndStop("tuidong4");
nowrm = rm;
nowrn = rn;
rm++;
}
}
function zaijiance(a) {
var _local1 = a;
var flag1 = 0;
var flag2 = 0;
var _local3 = 0;
var _local2 = 0;
if (_local1 == 1) {
m = rm - 1;
n = rn - 2;
} else if (_local1 == 2) {
m = rm - 1;
n = rn;
} else if (_local1 == 3) {
m = rm - 2;
n = rn - 1;
} else if (_local1 == 4) {
m = rm;
n = rn - 1;
}
if ((((stage[m][n - 1] != 31) && (stage[m][n + 1] != 31)) && (stage[m - 1][n] != 31)) && (stage[m + 1][n] != 31)) {
if (stage[m][n] == stage[m][n - 1]) {
flag1 = 1;
}
if (stage[m][n] == stage[m][n + 1]) {
flag2 = 1;
}
if (stage[m][n] == stage[m - 1][n]) {
_local3 = 1;
}
if (stage[m][n] == stage[m + 1][n]) {
_local2 = 1;
}
if (flag1 == 1) {
xiaoqu(m, n);
xiaoqu(m, n - 1);
}
if (flag2 == 1) {
xiaoqu(m, n);
xiaoqu(m, n + 1);
}
if (_local3 == 1) {
xiaoqu(m, n);
xiaoqu(m - 1, n);
}
if (_local2 == 1) {
xiaoqu(m, n);
xiaoqu(m + 1, n);
}
} else if ((stage[m][n - 1] > 30) && (stage[m][n - 1] != 44)) {
bianxing(m, n);
stage[m][n] = stage[m][n - 1];
} else if ((stage[m][n + 1] > 30) && (stage[m][n + 1] != 44)) {
bianxing(m, n);
stage[m][n] = stage[m][n + 1];
} else if ((stage[m - 1][n] > 30) && (stage[m - 1][n] != 44)) {
bianxing(m, n);
stage[m][n] = stage[m - 1][n];
} else if ((stage[m + 1][n] > 30) && (stage[m + 1][n] != 44)) {
bianxing(m, n);
stage[m][n] = stage[m + 1][n];
}
}
function xiaoqu(a, b) {
var _local1 = b;
var _local2 = a;
var _local3 = _root;
if ((stage[_local2][_local1] > 0) && (stage[_local2][_local1] < 10)) {
_local3.youxiqu["hang" + (_local2 + 1)]["gezi" + (_local1 + 1)].gotoAndStop("sui1");
} else if ((stage[_local2][_local1] > 10) && (stage[_local2][_local1] < 20)) {
_local3.youxiqu["hang" + (_local2 + 1)]["gezi" + (_local1 + 1)].gotoAndStop("sui2");
} else if ((stage[_local2][_local1] > 20) && (stage[_local2][_local1] < 30)) {
_local3.youxiqu["hang" + (_local2 + 1)]["gezi" + (_local1 + 1)].gotoAndStop("sui3");
}
if (yinxiao) {
xssound.start();
}
stage[_local2][_local1] = 0;
}
function bianxing(a, b) {
var _local1 = b;
var _local2 = a;
var _local3 = _root;
if ((stage[_local2][_local1] > 0) && (stage[_local2][_local1] < 10)) {
_local3.youxiqu["hang" + (_local2 + 1)]["gezi" + (_local1 + 1)].gotoAndStop("bian1");
} else if ((stage[_local2][_local1] > 10) && (stage[_local2][_local1] < 20)) {
_local3.youxiqu["hang" + (_local2 + 1)]["gezi" + (_local1 + 1)].gotoAndStop("bian2");
} else if ((stage[_local2][_local1] > 20) && (stage[_local2][_local1] < 30)) {
_local3.youxiqu["hang" + (_local2 + 1)]["gezi" + (_local1 + 1)].gotoAndStop("bian3");
}
if (yinxiao) {
biansound.start();
}
}
function nextstage() {
nowstage++;
builtMap();
}
function restart() {
builtMap();
}
scale = 85;
rows = 8;
columns = 14;
W = 38.9;
H = 28.4;
builtMap();
stop();
movesound = new Sound();
movesound.attachSound("tiao");
xssound = new Sound();
xssound.attachSound("xiaoshi");
xssound.setVolume(50);
tuisound = new Sound();
tuisound.attachSound("tui");
tuisound.setVolume(50);
biansound = new Sound();
biansound.attachSound("bian");
biansound.setVolume(50);
stop();
Instance of Symbol 226 MovieClip in Frame 207
on (release) {
getURL ("http://www.loadfreegames.com", "_blank");
}
Symbol 122 Button
on (release) {
gotoAndStop ("game");
clicksound.start();
}
on (rollOver) {
rollsound.start();
}
Symbol 125 Button
on (release) {
guishuo.gotoAndStop(1);
shuoming.gotoAndStop(1);
houshuo.gotoAndPlay(2);
clicksound.start();
}
on (rollOver) {
rollsound.start();
}
Symbol 128 Button
on (release) {
houshuo.gotoAndStop(1);
shuoming.gotoAndStop(1);
guishuo.gotoAndPlay(2);
clicksound.start();
}
on (rollOver) {
rollsound.start();
}
Symbol 131 Button
on (release) {
houshuo.gotoAndStop(1);
guishuo.gotoAndStop(1);
shuoming.gotoAndPlay(2);
clicksound.start();
}
on (rollOver) {
rollsound.start();
}
Symbol 144 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 149 MovieClip Frame 20
stop();
Symbol 174 MovieClip Frame 85
xiao = 0;
Symbol 174 MovieClip Frame 113
gotoAndPlay ("bo");
if (!xiao) {
_root.youxiqu.renwu.gotoAndStop("xiao");
xiao = 1;
}
Symbol 175 MovieClip Frame 118
gotoAndPlay (1);
Symbol 175 MovieClip Frame 119
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 13
stop();
Symbol 179 Button
on (release) {
getURL ("http://www.loadfreegames.com", "_blank");
}
Symbol 190 Button
on (release) {
_root.fenjierepcode(rpinput.text);
ispass = 0;
if (_root.checkmap()) {
ispass = _root.checkrpcode();
}
if (ispass) {
_root.replaying = 1;
this.gotoAndStop("choice");
} else {
this.gotoAndStop("error");
}
}
Symbol 193 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 203 Button
on (release) {
this.gotoAndStop("shuru");
}
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 17
rpinput.restrict = "01234567890@\u7B2C\u5173LlEeVv";
rpinput.text = "";
stop();
Symbol 205 MovieClip Frame 18
_root.errorsound.start();
stop();
Symbol 205 MovieClip Frame 19
_root.steptime = 700;
_root._quality = "BEST";
_root.gotoAndStop("game");
stop();
Symbol 215 Button
on (release) {
if (mima.text.length == 10) {
var input = mima.text;
var uncode = _root.pwduncode(input);
if (uncode != "\u9519\u8BEF\u7684\u9009\u5173\u5BC6\u7801") {
_root.nowstage = uncode;
this.gotoAndPlay("succe");
} else {
this.gotoAndStop("error");
}
} else {
this.gotoAndStop("error");
}
}
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 15
mima.restrict = "01234567890";
mima.text = "";
stop();
Symbol 218 MovieClip Frame 16
_root.errorsound.start();
stop();
Symbol 218 MovieClip Frame 19
stop();
_root.gotoAndStop("game");
Instance of Symbol 231 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Symbol 232 MovieClip Frame 17
_root.youxiqu["hang" + _root.nowrm]["gezi" + (_root.nowrn + 2)].gotoAndStop(["g" + _root.stage[_root.nowrm - 1][_root.nowrn + 1]]);
_root.zaijiance(2);
_parent.gotoAndStop("g0");
Instance of Symbol 231 MovieClip in Symbol 232 MovieClip Frame 17
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Instance of Symbol 231 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Symbol 233 MovieClip Frame 17
_root.youxiqu["hang" + _root.nowrm]["gezi" + (_root.nowrn - 2)].gotoAndStop(["g" + _root.stage[_root.nowrm - 1][_root.nowrn - 3]]);
_root.zaijiance(1);
_parent.gotoAndStop("g0");
Instance of Symbol 231 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Symbol 234 MovieClip Frame 17
_root.youxiqu["hang" + (_root.nowrm + 2)]["gezi" + _root.nowrn].gotoAndStop(["g" + _root.stage[_root.nowrm + 1][_root.nowrn - 1]]);
_root.zaijiance(4);
_parent.gotoAndStop("g0");
Instance of Symbol 231 MovieClip in Symbol 234 MovieClip Frame 17
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Instance of Symbol 231 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Symbol 235 MovieClip Frame 17
_root.youxiqu["hang" + (_root.nowrm - 2)]["gezi" + _root.nowrn].gotoAndStop(["g" + _root.stage[_root.nowrm - 3][_root.nowrn - 1]]);
_root.zaijiance(3);
_parent.gotoAndStop("g0");
Instance of Symbol 231 MovieClip in Symbol 235 MovieClip Frame 17
onClipEvent (load) {
a = this.attachMovie("stone" + _root.tmp, "stone", 8888);
a._xscale = _root.scale;
a._yscale = _root.scale;
}
Symbol 244 MovieClip Frame 16
_parent._parent.gotoAndStop(["g" + _root.stage[_root.m][_root.n]]);
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 17
_parent.gotoAndStop("g0");
stop();
Symbol 265 MovieClip Frame 17
_parent.gotoAndStop("g0");
stop();
Symbol 274 MovieClip Frame 17
_parent.gotoAndStop("g0");
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
stop();
Instance of Symbol 70 MovieClip [stone1] in Symbol 275 MovieClip Frame 2
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 3
stop();
Instance of Symbol 68 MovieClip [stone2] in Symbol 275 MovieClip Frame 3
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 4
stop();
Instance of Symbol 66 MovieClip [stone3] in Symbol 275 MovieClip Frame 4
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 5
stop();
Instance of Symbol 64 MovieClip [stone4] in Symbol 275 MovieClip Frame 5
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 6
stop();
Instance of Symbol 62 MovieClip [stone5] in Symbol 275 MovieClip Frame 6
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 7
stop();
Instance of Symbol 60 MovieClip [stone6] in Symbol 275 MovieClip Frame 7
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 8
stop();
Instance of Symbol 58 MovieClip [stone7] in Symbol 275 MovieClip Frame 8
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 9
stop();
Instance of Symbol 56 MovieClip [stone8] in Symbol 275 MovieClip Frame 9
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 10
stop();
Instance of Symbol 54 MovieClip [stone9] in Symbol 275 MovieClip Frame 10
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 11
stop();
Symbol 275 MovieClip Frame 12
stop();
Instance of Symbol 50 MovieClip [stone11] in Symbol 275 MovieClip Frame 12
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 13
stop();
Instance of Symbol 48 MovieClip [stone12] in Symbol 275 MovieClip Frame 13
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 14
stop();
Instance of Symbol 46 MovieClip [stone13] in Symbol 275 MovieClip Frame 14
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 15
stop();
Instance of Symbol 44 MovieClip [stone14] in Symbol 275 MovieClip Frame 15
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 16
stop();
Instance of Symbol 42 MovieClip [stone15] in Symbol 275 MovieClip Frame 16
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 17
stop();
Instance of Symbol 40 MovieClip [stone16] in Symbol 275 MovieClip Frame 17
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 18
stop();
Instance of Symbol 38 MovieClip [stone17] in Symbol 275 MovieClip Frame 18
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 19
stop();
Instance of Symbol 36 MovieClip [stone18] in Symbol 275 MovieClip Frame 19
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 20
stop();
Instance of Symbol 34 MovieClip [stone19] in Symbol 275 MovieClip Frame 20
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 21
stop();
Symbol 275 MovieClip Frame 22
stop();
Instance of Symbol 30 MovieClip [stone21] in Symbol 275 MovieClip Frame 22
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 23
stop();
Instance of Symbol 28 MovieClip [stone22] in Symbol 275 MovieClip Frame 23
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 24
stop();
Instance of Symbol 26 MovieClip [stone23] in Symbol 275 MovieClip Frame 24
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 25
stop();
Instance of Symbol 24 MovieClip [stone24] in Symbol 275 MovieClip Frame 25
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 26
stop();
Instance of Symbol 22 MovieClip [stone25] in Symbol 275 MovieClip Frame 26
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 27
stop();
Instance of Symbol 20 MovieClip [stone26] in Symbol 275 MovieClip Frame 27
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 28
stop();
Instance of Symbol 18 MovieClip [stone27] in Symbol 275 MovieClip Frame 28
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 29
stop();
Instance of Symbol 16 MovieClip [stone28] in Symbol 275 MovieClip Frame 29
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 30
stop();
Instance of Symbol 14 MovieClip [stone29] in Symbol 275 MovieClip Frame 30
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 31
stop();
Instance of Symbol 175 MovieClip "guijia" in Symbol 275 MovieClip Frame 31
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 32
stop();
Instance of Symbol 10 MovieClip in Symbol 275 MovieClip Frame 32
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 33
stop();
Symbol 275 MovieClip Frame 34
stop();
Symbol 275 MovieClip Frame 35
stop();
Symbol 275 MovieClip Frame 36
stop();
Symbol 275 MovieClip Frame 37
stop();
Instance of Symbol 245 MovieClip in Symbol 275 MovieClip Frame 37
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 38
stop();
Instance of Symbol 246 MovieClip in Symbol 275 MovieClip Frame 38
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 39
stop();
Instance of Symbol 247 MovieClip in Symbol 275 MovieClip Frame 39
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 40
stop();
Instance of Symbol 256 MovieClip in Symbol 275 MovieClip Frame 40
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 41
stop();
Instance of Symbol 265 MovieClip in Symbol 275 MovieClip Frame 41
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 42
stop();
Instance of Symbol 274 MovieClip in Symbol 275 MovieClip Frame 42
onClipEvent (load) {
this._xscale = _root.scale;
this._yscale = _root.scale;
}
Symbol 275 MovieClip Frame 43
stop();
Symbol 275 MovieClip Frame 44
stop();
Symbol 275 MovieClip Frame 45
stop();
Symbol 275 MovieClip Frame 46
stop();
Symbol 275 MovieClip Frame 47
stop();
Symbol 275 MovieClip Frame 48
stop();
Symbol 307 MovieClip Frame 7
_root.youxiqu.renwu._x = _root.youxiqu.renwu._x - _root.W;
if (!_root.xianjing) {
_root.youxiqu.renwu.gotoAndStop("zhan1");
} else {
_root.youxiqu.renwu.gotoAndStop("luo");
}
Symbol 315 MovieClip Frame 7
_root.youxiqu.renwu._x = _root.youxiqu.renwu._x + _root.W;
if (!_root.xianjing) {
_root.youxiqu.renwu.gotoAndStop("zhan2");
} else {
_root.youxiqu.renwu.gotoAndStop("luo");
}
Symbol 324 MovieClip Frame 8
_root.youxiqu.renwu._y = _root.youxiqu.renwu._y - _root.H;
_root.youxiqu.renwu.swapDepths(2 * _root.rm);
if (!_root.xianjing) {
_root.youxiqu.renwu.gotoAndStop("zhan3");
} else {
_root.youxiqu.renwu.gotoAndStop("luo");
}
Symbol 333 MovieClip Frame 8
_root.youxiqu.renwu._y = _root.youxiqu.renwu._y + _root.H;
_root.youxiqu.renwu.swapDepths(2 * _root.rm);
if (!_root.xianjing) {
_root.youxiqu.renwu.gotoAndStop("zhan4");
} else {
_root.youxiqu.renwu.gotoAndStop("luo");
}
Symbol 344 MovieClip Frame 17
_root.youxiqu.renwu._x = _root.youxiqu.renwu._x - _root.W;
_root.youxiqu.renwu.gotoAndStop("zhan1");
Symbol 355 MovieClip Frame 17
_root.youxiqu.renwu._x = _root.youxiqu.renwu._x + _root.W;
_root.youxiqu.renwu.gotoAndStop("zhan2");
Symbol 365 MovieClip Frame 17
_root.youxiqu.renwu._y = _root.youxiqu.renwu._y - _root.H;
_root.youxiqu.renwu.swapDepths(2 * _root.rm);
_root.youxiqu.renwu.gotoAndStop("zhan3");
Symbol 369 MovieClip Frame 17
_root.youxiqu.renwu._y = _root.youxiqu.renwu._y + _root.H;
_root.youxiqu.renwu.swapDepths(2 * _root.rm);
_root.youxiqu.renwu.gotoAndStop("zhan4");
Symbol 387 MovieClip Frame 29
stop();
Symbol 392 MovieClip Frame 45
stop();
_root.restart();
Symbol 423 MovieClip Frame 45
stop();
_root.youxiqu["hang" + (_root.meni + 1)]["gezi" + (_root.menj + 1)].guijia.gotoAndStop("beiza");
Symbol 430 MovieClip Frame 31
gotoAndPlay (3);
Symbol 437 MovieClip Frame 40
if (!_root.replaying) {
_root.starttime = getTimer();
}
_root.youxiqu.renwu.gotoAndStop("zhan4");
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
stop();
Symbol 439 MovieClip Frame 3
stop();
Symbol 439 MovieClip Frame 4
stop();
Symbol 439 MovieClip Frame 5
stop();
Symbol 439 MovieClip Frame 6
stop();
Symbol 439 MovieClip Frame 7
stop();
Symbol 439 MovieClip Frame 8
stop();
Symbol 439 MovieClip Frame 9
stop();
Symbol 439 MovieClip Frame 10
stop();
Symbol 439 MovieClip Frame 11
stop();
Symbol 439 MovieClip Frame 12
stop();
Symbol 439 MovieClip Frame 13
stop();
Symbol 439 MovieClip Frame 14
stop();
Symbol 439 MovieClip Frame 15
stop();
Symbol 439 MovieClip Frame 16
stop();
Symbol 441 MovieClip Frame 1
function control(a) {
var _local1 = _root;
var _local2 = a;
if ((_local1.youxiqu.renwu._currentframe < 5) && (!_local1.replaying)) {
var _local3 = _local1.jiance(_local2);
if (_local3 == 1) {
_local1.qianjin(_local2);
_local1.renwuface = _local2;
} else if (_local3 == 2) {
if (_local1.renwuface == _local2) {
_local1.tuidong(_local2);
} else {
_local1.renwuface = _local2;
renwu.gotoAndStop("zhan" + _local2);
}
} else if (_local3 == 4) {
_local1.rememberstep(_local2);
renwu.gotoAndStop("tao");
_local1.renwuface = _local2;
_local1.endtime = getTimer();
if (_local1.nowstage < _local1.allstage) {
_local1.board.gotoAndStop(2);
} else {
_local1.board.gotoAndStop(4);
}
} else if (_local3 == 5) {
_local1.qianjin(_local2);
_local1.xianjing = 1;
} else if (_local1.renwuface == _local2) {
} else {
_local1.renwuface = _local2;
renwu.gotoAndStop("zhan" + _local2);
}
}
}
Instance of Symbol 440 MovieClip in Symbol 441 MovieClip Frame 1
on (keyPress "<Left>") {
_parent.control(1);
}
on (keyPress "<Right>") {
_parent.control(2);
}
on (keyPress "<Up>") {
_parent.control(3);
}
on (keyPress "<Down>") {
_parent.control(4);
}
on (keyPress "b") {
_root.backstep();
}
on (keyPress "B") {
_root.backstep();
}
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 2
gotoAndPlay (3);
Symbol 446 MovieClip Frame 3
guanshu = _root.nowstage;
Symbol 446 MovieClip Frame 38
gotoAndStop (1);
Symbol 457 Button
on (release) {
_root.backstep();
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 460 Button
on (release) {
_root.restart();
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 463 Button
on (release) {
_root.gotoAndStop("gametitle");
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 470 Button
on (release) {
_root.bgmsound.stop();
_root.yinyue = 0;
this.gotoAndStop(2);
}
Symbol 472 Button
on (release) {
_root.bgmsound.start(0, 100000);
_root.yinyue = 1;
this.gotoAndStop(1);
}
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 2
stop();
Symbol 474 Button
on (release) {
_root.yinxiao = 0;
this.gotoAndStop(2);
}
Symbol 475 Button
on (release) {
_root.yinxiao = 1;
this.gotoAndStop(1);
}
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 495 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 13
stop();
if (_root.totalstep <= 2000) {
guanshu = _root.nowstage;
rplcode = _root.repstep;
uncode = (guanshu + "|") + rplcode;
rpcode = _root.replaycode(uncode);
} else {
rpcode = "sorry,your moved more than max steps...";
}
Symbol 498 Button
on (release) {
_root.nextstage();
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 501 Button
on (release) {
daimashuo.gotoAndPlay(2);
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 504 Button
on (release) {
_root.goreplay();
this.gotoAndStop(2);
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 518 Button
on (release) {
_root.builtMap();
_root.clicksound.start();
}
on (rollOver) {
_root.rollsound.start();
}
Symbol 520 MovieClip Frame 1
zhongbushu = _root.totalstep;
steptime = _root.steptime / 1000;
haoshifen = int((_root.totalstep * steptime) / 60);
haoshimiao = int((_root.totalstep * steptime) - (60 * haoshifen));
if (haoshifen < 10) {
haoshifen = "0" + haoshifen;
}
if (haoshimiao < 10) {
haoshimiao = "0" + haoshimiao;
}
stop();
Symbol 520 MovieClip Frame 2
stop();
Instance of Symbol 75 MovieClip in Symbol 520 MovieClip Frame 2
onClipEvent (enterFrame) {
this._xscale = 100 * (_root.nowrep / (_root.totalstep - 1));
if ((_root.nowrep + 1) == _root.totalstep) {
_parent.gotoAndStop(3);
}
}
Symbol 520 MovieClip Frame 3
stop();
Symbol 520 MovieClip Frame 4
stop();
_root.errorsound.start();
Symbol 522 MovieClip Frame 1
stop();
Instance of Symbol 473 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
if (_root.yinyue) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 476 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
if (_root.yinxiao) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 522 MovieClip Frame 2
usetime = int((_root.endtime - _root.starttime) / 10) / 100;
usestep = _root.nowtotalstep;
nextmima = _root.pwdcode(_root.nowstage + 1);
stop();
Symbol 522 MovieClip Frame 4
stop();