Frame 1
function subloadend() {
mysocket = new XMLSocket();
mysocket.onConnect = subcheckconnect;
mysocket.connect(myserveraddr, myserverport);
mysocket.onClose = subcheckclose;
}
function subcheckclose() {
trace("disconnected");
}
function subclosesocket() {
trace("closesocket");
mysocket.close();
}
function subcheckconnect(check) {
if (check) {
trace("\u63A5\u7D9AOK");
mycheckconnect = 1;
} else {
trace("\u63A5\u7D9A\u4E0D\u53EF\u80FD");
mycheckconnect = 0;
}
}
function subquerynumber(mylocalapp, mylocalroom) {
var mylocalstr;
trace((("connect : " + mylocalapp) + " room : ") + mylocalroom);
mylocalstr = ((("<QN app=\"" + mylocalapp) + "\" r=\"") + mylocalroom) + "\" />\n";
subsendStr(mylocalstr);
}
function subqueryserver(mylocalnode) {
var mylocalstr;
mylocalstr = ("<" + mylocalnode) + "/>\n";
subsendStr(mylocalstr);
}
function subsendstr(mylocalstr) {
theXML = new XML();
theXML.parseXML(mylocalstr);
mysocket.send(theXML);
}
function subsendQR(mylocaln) {
var mylocalstr;
mylocalstr = ("<QR n='" + mylocaln) + "'/>\n";
subsendstr(mylocalstr);
}
function subsendQE(mylocaln, mylocalkey) {
var mylocalstr;
if (mylocalkey != undefined) {
mylocalstr = ((("<QE n='" + mylocaln) + "' key='") + mylocalkey) + "' />\n";
} else {
mylocalstr = ("<QE n='" + mylocaln) + "' />\n";
}
subsendstr(mylocalstr);
}
function subsendQM() {
var mylocalstr;
mylocalstr = "<QM />\n";
subsendstr(mylocalstr);
}
var mykaihatu;
if (mykaihatu == undefined) {
mykaihatu = 1;
}
Stage.showMenu = false;
Frame 4
stop();
gotoAndStop (6);
JSON = new Object();
JSON.error = new eval (function (msg) {
JSON.error_occured = true;
_root.debug(msg);
})();
JSON.stringify = function (arg) {
var c;
var i;
var l;
var s = "";
var v;
JSON.error_occured = false;
switch (typeof(arg)) {
case "object" :
if (arg) {
if (arg instanceof Array) {
i = 0;
while (i < arg.length) {
v = JSON.stringify(arg[i]);
if (s != "") {
s = s + ",";
}
s = s + v;
i++;
}
return(("[" + s) + "]");
}
if (typeof(arg.toString) != "undefined") {
for (i in arg) {
v = arg[i];
if ((typeof(v) != "undefined") && (typeof(v) != "function")) {
v = JSON.stringify(v);
if (s != "") {
s = s + ",";
}
s = s + ((JSON.stringify(i) + ":") + v);
}
}
return(("{" + s) + "}");
}
}
return("null");
case "number" :
return((isFinite(arg) ? (String(arg)) : "null"));
case "string" :
l = arg.length;
s = "\"";
i = 0;
while (i < l) {
c = arg.charAt(i);
if (c >= " ") {
if ((c == "\\") || (c == "\"")) {
s = s + "\\";
}
s = s + c;
} else {
switch (c) {
case "\b" :
s = s + "\\b";
break;
case "\f" :
s = s + "\\f";
break;
case newline :
s = s + "\\n";
break;
case "\r" :
s = s + "\\r";
break;
case "\t" :
s = s + "\\t";
break;
default :
c = c.charCodeAt();
s = s + (("\\u00" + Math.floor(c / 16).toString(16)) + (c % 16).toString(16));
}
}
i = i + 1;
}
return(s + "\"");
case "boolean" :
return(String(arg));
}
return("null");
};
JSON.parse = function (text) {
function error(m) {
JSON.error("JSONError: " + m);
}
function next() {
ch = text.charAt(at);
at = at + 1;
return(ch);
}
function white() {
while ((!JSON.error_occured) && (ch != null)) {
if (ch <= " ") {
next();
} else if (ch == "/") {
next();
switch (ch) {
case "/" :
while ((((!JSON.error_occured) && (next() != null)) && (ch != newline)) && (ch != "\r")) {
}
break;
case "*" :
next();
while (true) {
if (ch) {
if (ch == "*") {
if (next() == "/") {
next();
break;
}
} else {
next();
}
} else {
error("Unterminated comment");
}
}
break;
default :
error("Syntax error");
}
} else {
return;
}
}
}
function str() {
var i;
var s = "";
var t;
var u;
var outer = false;
if (ch == "\"") {
while ((!JSON.error_occured) && (next() != null)) {
if (ch == "\"") {
next();
return(s);
}
if (ch == "\\") {
next();
switch (ch) {
case "b" :
s = s + "\b";
break;
case "f" :
s = s + "\f";
break;
case "n" :
s = s + newline;
break;
case "r" :
s = s + "\r";
break;
case "t" :
s = s + "\t";
break;
case "u" :
u = 0;
i = 0;
while (i < 4) {
t = parseInt(next(), 16);
if (!isFinite(t)) {
outer = true;
break;
}
u = (u * 16) + t;
i = i + 1;
}
if (outer) {
outer = false;
break;
}
s = s + String.fromCharCode(u);
break;
default :
s = s + ch;
}
} else {
s = s + ch;
}
}
}
error("Bad string");
}
function arr() {
var a = [];
if (ch == "[") {
next();
white();
if (ch == "]") {
next();
return(a);
}
while ((!JSON.error_occured) && (ch != null)) {
a.push(value());
white();
if (ch == "]") {
next();
return(a);
}
if (ch != ",") {
break;
}
next();
white();
}
}
error("Bad array");
}
function obj() {
var k;
var o = {};
if (ch == "{") {
next();
white();
if (ch == "}") {
next();
return(o);
}
while ((!JSON.error_occured) && (ch != null)) {
k = str();
white();
if (ch != ":") {
break;
}
next();
o[k] = value();
white();
if (ch == "}") {
next();
return(o);
}
if (ch != ",") {
break;
}
next();
white();
}
}
error("Bad object");
}
function num() {
var n = "";
var v;
if (ch == "-") {
n = "-";
next();
}
while (((!JSON.error_occured) && (ch >= "0")) && (ch <= "9")) {
n = n + ch;
next();
}
if (ch == ".") {
n = n + ".";
next();
while (((!JSON.error_occured) && (ch >= "0")) && (ch <= "9")) {
n = n + ch;
next();
}
}
if ((ch == "e") | (ch == "E")) {
n = n + ch;
next();
if ((ch == "-") || (ch == "+")) {
n = n + ch;
next();
}
while (((!JSON.error_occured) && (ch >= "0")) && (ch <= "9")) {
n = n + ch;
next();
}
}
v = Number(n);
if (!isFinite(v)) {
error("Bad number");
}
return(v);
}
function word() {
switch (ch) {
case "t" :
if (((next() == "r") && (next() == "u")) && (next() == "e")) {
next();
return(true);
}
break;
case "f" :
if ((((next() == "a") && (next() == "l")) && (next() == "s")) && (next() == "e")) {
next();
return(false);
}
break;
case "n" :
if (!(((next() == "u") && (next() == "l")) && (next() == "l"))) {
break;
}
next();
return(null);
}
error("Syntax error");
}
function value() {
white();
switch (ch) {
case "{" :
return(obj());
case "[" :
return(arr());
case "\"" :
return(str());
case "-" :
return(num());
}
return((((ch >= "0") && (ch <= "9")) ? (num()) : (word())));
}
var at = 0;
var ch = " ";
JSON.error_occured = false;
return(value());
};
Frame 6
function subcodestring(mylocalcode) {
var mylocalstr = String.fromCharCode(mylocalcode);
switch (mylocalcode) {
case 189 :
mylocalstr = "-";
break;
case 222 :
mylocalstr = "^";
break;
case 220 :
mylocalstr = String.fromCharCode(92);
break;
case 192 :
mylocalstr = "@";
break;
case 219 :
mylocalstr = "[";
break;
case 187 :
mylocalstr = ";";
break;
case 186 :
mylocalstr = ":";
break;
case 221 :
mylocalstr = "]";
break;
case 188 :
mylocalstr = ",";
break;
case 190 :
mylocalstr = ".";
break;
case 191 :
mylocalstr = "/";
break;
case 226 :
mylocalstr = String.fromCharCode(92);
break;
case 16 :
mylocalstr = "SHIFT";
break;
case 32 :
mylocalstr = "Space";
break;
case 17 :
mylocalstr = "Ctrl";
break;
case 240 :
mylocalstr = "Caps";
break;
case 229 :
mylocalstr = "\u534A\u5168";
break;
case 37 :
mylocalstr = "\u2190";
break;
case 38 :
mylocalstr = "\u2191";
break;
case 39 :
mylocalstr = "\u2192";
break;
case 40 :
mylocalstr = "\u2193";
break;
case 96 :
mylocalstr = "0";
break;
case 97 :
mylocalstr = "1";
break;
case 98 :
mylocalstr = "2";
break;
case 99 :
mylocalstr = "3";
break;
case 100 :
mylocalstr = "4";
break;
case 101 :
mylocalstr = "5";
break;
case 102 :
mylocalstr = "6";
break;
case 103 :
mylocalstr = "7";
break;
case 104 :
mylocalstr = "8";
break;
case 105 :
mylocalstr = "9";
break;
case 110 :
mylocalstr = ".";
break;
case 106 :
mylocalstr = "*";
break;
case 107 :
mylocalstr = "+";
break;
case 109 :
mylocalstr = "-";
break;
case 144 :
mylocalstr = "Num";
break;
case 45 :
mylocalstr = "Ins";
break;
case 35 :
mylocalstr = "End";
break;
case 36 :
mylocalstr = "home";
break;
case 33 :
mylocalstr = "Pu";
break;
case 34 :
mylocalstr = "Pd";
break;
case 112 :
mylocalstr = "F1";
break;
case 113 :
mylocalstr = "F2";
break;
case 114 :
mylocalstr = "F3";
break;
case 115 :
mylocalstr = "F4";
break;
case 116 :
mylocalstr = "F5";
break;
case 117 :
mylocalstr = "F6";
break;
case 118 :
mylocalstr = "F7";
break;
case 119 :
mylocalstr = "F8";
break;
case 120 :
mylocalstr = "F9";
break;
case 121 :
mylocalstr = "F10";
break;
case 122 :
mylocalstr = "F11";
break;
case 123 :
mylocalstr = "F12";
}
return(mylocalstr);
}
function subquality() {
switch (myquality) {
case 1 :
this._quality = "HIGH";
txtquality.text = "\u9AD8";
return;
case 2 :
this._quality = "MEDIUM";
txtquality.text = "\u4E2D";
return;
case 3 :
this._quality = "LOW";
txtquality.text = "\u4F4E";
}
}
function subpassclearjouken() {
var mylocalnum;
if (myselfrating >= 1600) {
mypassclear[1] = 1;
} else {
mypassclear[1] = 0;
}
if (myselfrating >= 1700) {
mypassclear[2] = 1;
} else {
mypassclear[2] = 0;
}
mySharedObject.data.mypassclear1 = mypassclear[1];
mySharedObject.data.mypassclear2 = mypassclear[2];
}
function subpassclearkouka() {
if (mypassclear[1] == 1) {
myrensachrvisible[4] = 1;
}
if (mypassclear[2] == 1) {
myrensachrvisible[5] = 1;
}
}
function subgetmidstr(str, start, end) {
s = str.indexOf(start) + length(start);
str = str.substr(s);
e = str.indexOf(end);
mid = str.substr(0, e);
return(mid);
}
function subfilter2(mylocaln, mylocals1, mylocals2) {
var mylocalm = new Array();
var mylocali;
mylocalm = mylocaln.split(mylocals1);
mylocaln = "";
mylocali = 0;
while (mylocali < mylocalm.length) {
mylocaln = mylocaln + mylocalm[mylocali];
if (mylocali != (mylocalm.length - 1)) {
mylocaln = mylocaln + mylocals2;
}
mylocali++;
}
return(mylocaln);
}
stop();
gotoAndStop (9);
var myquality;
var mypassclear = new Array();
Frame 9
function submcpuyoyokokumake() {
var mylocali;
var mylocalj;
var mylocalplay;
mypuyoyokokukind = 11;
mylocalj = 1;
while (mylocalj <= mypuyoyokokukind) {
mylocali = 1;
while (mylocali <= 6) {
mylocalplay = 1;
while (mylocalplay <= 2) {
this["mcpuyoyokokuview" + mylocalplay].attachMovie([(("mcpuyoyokoku" + mypuyochrmode) + "_") + mylocalj], ["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]], [(mylocalj * 10) + mylocali].toString());
this["mcpuyoyokokuview" + mylocalplay]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._y = -500;
this["mcpuyoyokokuview" + mylocalplay]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._width = this["mcpuyoyokokuview" + mylocalplay]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._width - 1;
mylocalplay++;
}
mylocali++;
}
mylocalj++;
}
}
function submcrensachrmake(mylocalplaynum) {
var mylocali;
mylocali = 1;
while (mylocali <= myrensachrkind) {
this["mcrensachr" + mylocalplaynum].attachMovie([(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali], [(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali], [2200 + mylocali].toString());
this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali]._y = -500;
this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali]._yscale = 30;
this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali]._xscale = 30;
if (mylocalplaynum == 2) {
this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali]._xscale = this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mylocali]._xscale * -1;
}
mylocali++;
}
}
function submcothermake() {
var mylocalplaynum;
mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
this["mcpuyoview" + mylocalplaynum].attachMovie("mczenkesi", "mczenkesi", -2010);
this["mcpuyoview" + mylocalplaynum].mczenkesi._y = -300;
this["mcpuyoview" + mylocalplaynum].mczenkesi._x = 40;
mylocalplaynum++;
}
}
function subpuyodowncolorcountdelete() {
mypuyodowncolorcount[1][1] = new Array();
mypuyodowncolorcount[1][2] = new Array();
mypuyodowncolorcount[2][1] = new Array();
mypuyodowncolorcount[2][2] = new Array();
}
function submcdeletesyouhai() {
mcwin._y = -200;
mcwin.gotoAndStop("stop");
mclose._y = -200;
mclose.gotoAndStop("stop");
}
function subpuyostart(mylocalplaynum) {
if (myreplayon) {
subreplaypuyostart(mylocalplaynum);
}
var mytime = new Date();
mystartplaytime[mylocalplaynum] = mytime.getTime();
mylocali = 1;
while (mylocali <= myrensachrkind) {
mylocalplay = 1;
while (mylocalplay <= 2) {
this["mcrensachr" + mylocalplay]["mcchr1_" + mylocali]._y = -500;
mylocalplay++;
}
mylocali++;
}
submcdeletesyouhai();
var mylocalx;
var mylocaly;
var mylocali;
var mylocalj;
mypuyodownmovekyoka[mylocalplaynum] = 0;
mypuyodowncount[mylocalplaynum] = 0;
mylocalx = 0;
while (mylocalx <= (myruletableboxwidth + 1)) {
mylocaly = 0;
while (mylocaly <= (myruletableboxheight + 3)) {
mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] = 0;
mylocaly++;
}
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockground[mylocalplaynum][mylocalx] = 0;
mylocalx++;
}
mypuyostockground[mylocalplaynum][0] = myruletableboxheight + 3;
mypuyostockground[mylocalplaynum][myruletableboxwidth + 1] = myruletableboxheight + 3;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = 1;
while (mylocaly <= (myruletableboxheight + 3)) {
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].removeMovieClip();
mylocaly++;
}
mylocalx++;
}
mylocalj = 1;
while (mylocalj <= mypuyoyokokukind) {
mylocali = 1;
while (mylocali <= 6) {
this["mcpuyoyokokuview" + mylocalplaynum]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._y = -500;
mylocali++;
}
mylocalj++;
}
subpuyostockkaihatu(mylocalplaynum);
myplaytime = 0;
myscoretotal[mylocalplaynum] = 0;
this["txtscoretotal" + mylocalplaynum].text = myscoretotal[mylocalplaynum];
mypuyolevel[mylocalplaynum] = 1;
mypuyoyokokutotal[mylocalplaynum] = 0;
mypuyokurikosipoint[mylocalplaynum] = 0;
mypuyorensaon[mylocalplaynum] = 0;
mypuyorensacountmax[mylocalplaynum] = 0;
mypuyorensacounthist[mylocalplaynum] = "";
this["txtrensacountmax" + [mylocalplaynum]].text = 0;
myzenkesion[mylocalplaynum] = 0;
myzenkesimin[mylocalplaynum] = 0;
this["mcpuyoview" + mylocalplaynum].mczenkesi._y = -300;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalx] = new Array();
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockxydeleteojama[mylocalplaynum][mylocalx] = new Array();
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockxydelete[mylocalplaynum][mylocalx] = new Array();
mylocalx++;
}
mypuyotigiricount[mylocalplaynum] = 0;
this["txttigiricount" + [mylocalplaynum]].text = 0;
myactionwaittime[mylocalplaynum] = 0;
myactionwaittitle[mylocalplaynum] = "";
}
function subpuyostockkaihatu(mylocalplaynum) {
var mylocalx;
var mylocaly;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyokaihatustockcolor[mylocalplaynum][mylocalx] = "";
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockground[mylocalplaynum][mylocalx] = mypuyokaihatustockcolor[mylocalplaynum][mylocalx].length;
mylocaly = 1;
while (mylocaly <= mypuyostockground[mylocalplaynum][mylocalx]) {
mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] = mypuyokaihatustockcolor[mylocalplaynum][mylocalx].charAt(mylocaly - 1);
submcpuyostockmake(mylocalplaynum, mylocalx, mylocaly, mypuyostockxy[mylocalplaynum][mylocalx][mylocaly]);
mylocaly++;
}
mylocalx++;
}
}
function subpuyostockkaihatuhaiti1(mylocalplaynum) {
mypuyokaihatustockcolor[mylocalplaynum][1] = "33432143141";
mypuyokaihatustockcolor[mylocalplaynum][2] = "311133243141";
mypuyokaihatustockcolor[mylocalplaynum][3] = "222411";
mypuyokaihatustockcolor[mylocalplaynum][4] = "1112";
mypuyokaihatustockcolor[mylocalplaynum][5] = "4441";
mypuyokaihatustockcolor[mylocalplaynum][6] = "";
}
function subpuyostockkaihatuhaiti2(mylocalplaynum) {
mypuyokaihatustockcolor[mylocalplaynum][1] = "3334443334";
mypuyokaihatustockcolor[mylocalplaynum][2] = "111322421113";
mypuyokaihatustockcolor[mylocalplaynum][3] = "22214424";
mypuyokaihatustockcolor[mylocalplaynum][4] = "33323343";
mypuyokaihatustockcolor[mylocalplaynum][5] = "44432232";
mypuyokaihatustockcolor[mylocalplaynum][6] = "1114442414";
}
function subpuyostockkaihatuhaiti3(mylocalplaynum) {
mypuyokaihatustockcolor[mylocalplaynum][1] = "1332231221";
mypuyokaihatustockcolor[mylocalplaynum][2] = "131423214114";
mypuyokaihatustockcolor[mylocalplaynum][3] = "212342134";
mypuyokaihatustockcolor[mylocalplaynum][4] = "2234414242";
mypuyokaihatustockcolor[mylocalplaynum][5] = "331211322331";
mypuyokaihatustockcolor[mylocalplaynum][6] = "13112233";
}
function subpuyostockkaihatuhaiti4(mylocalplaynum) {
mypuyokaihatustockcolor[mylocalplaynum][1] = "113122124424";
mypuyokaihatustockcolor[mylocalplaynum][2] = "123323114122";
mypuyokaihatustockcolor[mylocalplaynum][3] = "299999";
mypuyokaihatustockcolor[mylocalplaynum][4] = "223399999";
mypuyokaihatustockcolor[mylocalplaynum][5] = "332299999";
mypuyokaihatustockcolor[mylocalplaynum][6] = "2299999";
}
function subpuyodowncolormake(mylocalplaynum, mylocalcount) {
var mylocalc = new Array();
if (myreplayon) {
subreplaypuyodowncolormakedo(mylocalplaynum, mylocalcount);
} else {
if (mypuyodowncolorcount[3 - mylocalplaynum][1][mylocalcount] == undefined) {
mylocalc[1] = Math.floor((Math.random() * myrulepuyocolornum) + 1);
mylocalc[2] = Math.floor((Math.random() * myrulepuyocolornum) + 1);
if (myrulepuyocolorojama == 1) {
if (Math.floor((Math.random() * (myrulepuyocolornum + 1)) + 1) == 1) {
mylocalc[1] = 9;
}
if (Math.floor((Math.random() * (myrulepuyocolornum + 1)) + 1) == 1) {
mylocalc[2] = 9;
}
}
} else {
mylocalc[1] = mypuyodowncolorcount[3 - mylocalplaynum][1][mylocalcount];
mylocalc[2] = mypuyodowncolorcount[3 - mylocalplaynum][2][mylocalcount];
}
if (((myselfplaynum == 1) && (mylocalcount <= 20)) || (mylocalcount >= 21)) {
subsendpuyodowncolormake(myselfn, mylocalplaynum, mylocalcount, mylocalc[1], mylocalc[2]);
}
subpuyodowncolorenter(mylocalplaynum, mylocalcount, mylocalc[1], mylocalc[2]);
}
}
function subpuyodowncolorenter(mylocalplaynum, mylocalcount, mylocalc1, mylocalc2) {
mypuyodowncolorcount[mylocalplaynum][1][mylocalcount] = mylocalc1;
mypuyodowncolorcount[mylocalplaynum][2][mylocalcount] = mylocalc2;
subreplaypuyodowncolormakesave(mylocalplaynum, mylocalcount, mylocalc1, mylocalc2);
}
function subpuyonext2enter(mylocalplaynum) {
mypuyonext2color[mylocalplaynum][1] = mypuyodowncolorcount[mylocalplaynum][1][mypuyodowncount[mylocalplaynum] + 2];
mypuyonext2color[mylocalplaynum][2] = mypuyodowncolorcount[mylocalplaynum][2][mypuyodowncount[mylocalplaynum] + 2];
}
function subpuyonextenter(mylocalplaynum) {
mypuyonextcolor[mylocalplaynum][1] = mypuyodowncolorcount[mylocalplaynum][1][mypuyodowncount[mylocalplaynum] + 1];
mypuyonextcolor[mylocalplaynum][2] = mypuyodowncolorcount[mylocalplaynum][2][mypuyodowncount[mylocalplaynum] + 1];
}
function subpuyodownenter(mylocalplaynum) {
mypuyodowncolor[mylocalplaynum][1] = mypuyodowncolorcount[mylocalplaynum][1][mypuyodowncount[mylocalplaynum]];
mypuyodowncolor[mylocalplaynum][2] = mypuyodowncolorcount[mylocalplaynum][2][mypuyodowncount[mylocalplaynum]];
}
function subpuyonext2entermc(mylocalplaynum, mylocalcolor1, mylocalcolor2) {
this["mcpuyonext" + mylocalplaynum].attachMovie("mcpuyoaction", "mcpuyonext2puyo1", 12);
this["mcpuyonext" + mylocalplaynum].attachMovie("mcpuyoaction", "mcpuyonext2puyo2", 13);
this["mcpuyonext" + mylocalplaynum].mcpuyonext2puyo1.mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor1], "mcpuyocolor", 0);
this["mcpuyonext" + mylocalplaynum].mcpuyonext2puyo2.mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor2], "mcpuyocolor", 0);
this["mcpuyonext" + mylocalplaynum].mcpuyonext2puyo1._x = 20 + ((1 - mylocalplaynum) * 10);
this["mcpuyonext" + mylocalplaynum].mcpuyonext2puyo2._x = 20 + ((1 - mylocalplaynum) * 10);
this["mcpuyonext" + mylocalplaynum].mcpuyonext2puyo1._y = -5;
this["mcpuyonext" + mylocalplaynum].mcpuyonext2puyo2._y = -25;
}
function subpuyonextentermc(mylocalplaynum, mylocalcolor1, mylocalcolor2) {
this["mcpuyonext" + mylocalplaynum].attachMovie("mcpuyoaction", "mcpuyonextpuyo1", 10);
this["mcpuyonext" + mylocalplaynum].attachMovie("mcpuyoaction", "mcpuyonextpuyo2", 11);
this["mcpuyonext" + mylocalplaynum].mcpuyonextpuyo1.mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor1], "mcpuyocolor", 0);
this["mcpuyonext" + mylocalplaynum].mcpuyonextpuyo2.mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor2], "mcpuyocolor", 0);
this["mcpuyonext" + mylocalplaynum].mcpuyonextpuyo1._x = 10 - ((1 - mylocalplaynum) * 10);
this["mcpuyonext" + mylocalplaynum].mcpuyonextpuyo2._x = 10 - ((1 - mylocalplaynum) * 10);
this["mcpuyonext" + mylocalplaynum].mcpuyonextpuyo1._y = -50;
this["mcpuyonext" + mylocalplaynum].mcpuyonextpuyo2._y = -70;
}
function subpuyodownentermc(mylocalplaynum, mylocalcolor1, mylocalcolor2) {
this["mcpuyoview" + mylocalplaynum].attachMovie("mcpuyoaction", "mcpuyodownpuyo1", 20);
this["mcpuyoview" + mylocalplaynum].attachMovie("mcpuyoaction", "mcpuyodownpuyo2", 21);
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo1.mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor1], "mcpuyocolor", 0);
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo2.mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor2], "mcpuyocolor", 0);
}
function subpuyodownenterkaihatu(mylocalplaynum) {
}
function subpuyolevel(mylocalplaynum) {
if (myrulemode == "one") {
mypuyolevel[mylocalplaynum] = Math.floor(myscoretotal[mylocalplaynum] / 1000) + 1;
txtpuyolevel.text = "Level" + mypuyolevel[mylocalplaynum];
} else if ((myrulemode == "two") || (myrulemode == "net")) {
mypuyolevel[mylocalplaynum] = 1;
}
}
function subpuyotimespan(mylocalplaynum) {
if (myrulemode == "one") {
mypuyotimespan[mylocalplaynum] = 500 / Math.floor((mypuyolevel[mylocalplaynum] / 100) + 1);
if (mypuyotimespan[mylocalplaynum] <= 0) {
mypuyotimespan[mylocalplaynum] = 1;
}
} else if ((myrulemode == "two") || (myrulemode == "net")) {
mypuyotimespan[mylocalplaynum] = 500;
}
}
function subevententerframe(mylocalplaynum) {
var mytime = new Date();
if (mytimemilliseconds[mylocalplaynum] != Math.floor(mytime.getMilliseconds() / mypuyotimespan[mylocalplaynum])) {
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (myreplayon != 1) {
subpuyodowndownevent(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "d");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "d");
}
}
mytimemilliseconds[mylocalplaynum] = Math.floor(mytime.getMilliseconds() / mypuyotimespan[mylocalplaynum]);
}
if (mytimemilliseconds2[mylocalplaynum] != Math.floor(mytime.getMilliseconds() / 50)) {
if (mytimekeydown[mylocalplaynum] <= (mytime.getTime() - mypushinterval)) {
subevententerframekeydown2(mylocalplaynum);
}
mytimemilliseconds2[mylocalplaynum] = Math.floor(mytime.getMilliseconds() / 50);
}
subevententerframekeydown(mylocalplaynum);
}
function subpuyodownstartfirst(mylocalplaynum) {
trace("PLAY" + mylocalplaynum);
subpuyolevel(mylocalplaynum);
subpuyotimespan(mylocalplaynum);
mypuyodowncount[mylocalplaynum]++;
this["txtpuyodowncount" + mylocalplaynum].text = mypuyodowncount[mylocalplaynum];
if (((mybattleon == 1) && (myselfreach == 1)) && (myselfplaynum == mylocalplaynum)) {
subsenddowncount(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], mypuyokurikosipoint[mylocalplaynum]);
}
subpuyodowncolormake(mylocalplaynum, mypuyodowncount[mylocalplaynum] + 20);
subpuyodownenter(mylocalplaynum);
subpuyonextenter(mylocalplaynum);
subpuyonext2enter(mylocalplaynum);
subpuyodownentermc(mylocalplaynum, mypuyodowncolor[mylocalplaynum][1], mypuyodowncolor[mylocalplaynum][2]);
subpuyonextentermc(mylocalplaynum, mypuyonextcolor[mylocalplaynum][1], mypuyonextcolor[mylocalplaynum][2]);
subpuyonext2entermc(mylocalplaynum, mypuyonext2color[mylocalplaynum][1], mypuyonext2color[mylocalplaynum][2]);
mypuyodownx[mylocalplaynum][1] = 3;
mypuyodownx[mylocalplaynum][2] = 3;
mypuyodowny[mylocalplaynum][1] = myruletableboxheight + 1;
mypuyodowny[mylocalplaynum][2] = myruletableboxheight + 2;
mypuyodownturnkind[mylocalplaynum] = 1;
subpuyodownview(mylocalplaynum);
subpuyodownstartcheck(mylocalplaynum);
}
function subpuyodownstartcheck(mylocalplaynum) {
if (myreplayon) {
subreplaypuyoojamadowndo(mylocalplaynum, mypuyodowncount[mylocalplaynum]);
} else if ((myrulemode == "two") || (myrulemode == "one")) {
if (mypuyoyokokutotal[mylocalplaynum] >= 1) {
subpuyoojamadownnum(mylocalplaynum);
subpuyoojamadown(mylocalplaynum, mypuyoojamadownnum[mylocalplaynum], mypuyodowncount[mylocalplaynum]);
subreplaypuyoojamadownsave(mylocalplaynum, mypuyodowncount[mylocalplaynum], mypuyoojamadownnum[mylocalplaynum]);
} else {
subpuyodownstart(mylocalplaynum);
}
} else if (myrulemode == "net") {
if (myselfplaynum == mylocalplaynum) {
if (mypuyoyokokutotal[mylocalplaynum] >= 1) {
subpuyoojamadownnum(mylocalplaynum);
subpuyoojamadown(mylocalplaynum, mypuyoojamadownnum[mylocalplaynum], mypuyodowncount[mylocalplaynum]);
subsendojamadown(mylocalplaynum);
subreplaypuyoojamadownsave(mylocalplaynum, mypuyodowncount[mylocalplaynum], mypuyoojamadownnum[mylocalplaynum]);
} else {
subsenddownstart(mylocalplaynum);
subpuyodownstart(mylocalplaynum);
}
}
}
}
function subevententerframepuyodown(mylocalplaynum) {
var mylocalcount = mypuyodowncount[mylocalplaynum];
if (mynetsaveojamaon[mylocalplaynum][mylocalcount] == 1) {
mynetsaveojamaon[mylocalplaynum][mylocalcount] = 0;
subpuyoojamadown(mylocalplaynum, mypuyoojamadownnum[mylocalplaynum], mypuyodowncount[mylocalplaynum]);
}
if (mynetsavepuyodownon[mylocalplaynum][mylocalcount] == 1) {
mynetsavepuyodownon[mylocalplaynum][mylocalcount] = 0;
subpuyodownstart(mylocalplaynum);
}
}
function subpuyodownstart(mylocalplaynum) {
subreplaypuyodownstart(mylocalplaynum);
mypuyodowny[mylocalplaynum][1] = mypuyodowny[mylocalplaynum][1] - 0.5;
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][2] - 0.5;
subpuyodownview(mylocalplaynum);
mypuyogroundsettime[mylocalplaynum] = 0;
mypuyogroundsettimetikuseki[mylocalplaynum] = 0;
mypuyodownmovekyoka[mylocalplaynum] = 1;
if (((myrulemode == "net") && (myselfplaynum == (3 - mylocalplaynum))) && (myselfplaynum != 0)) {
subpuyodownstartnet(mylocalplaynum);
}
if ((myrulemode == "net") && (myselfplaynum == 0)) {
subpuyodownstartnet(mylocalplaynum);
}
}
function subevententerframeaction(mylocalplaynum) {
if (myactionwaittime[mylocalplaynum] > 0) {
var mytime = new Date();
var mylocaltime;
var mylocalcount;
mylocaltime = mytime.getTime();
mylocalcount = ((myactionwaittime[mylocalplaynum] - (mytimeaction[mylocalplaynum] - mylocaltime)) / myactionwaittime[mylocalplaynum]) * 100;
if (myactionwaittitle[mylocalplaynum] == "\u3077\u3088\u843D\u3068\u3057\u7D42\u4E86\u30C1\u30A7\u30C3\u30AF") {
subpuyodownendcheckaction(mylocalplaynum, mylocalcount);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u5149\u7389") {
subpuyoyokokulightaction(mylocalplaynum, mylocalcount);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u5149\u7389\u76F8\u6BBA") {
subpuyoyokokulightsousaiaction(mylocalplaynum, mylocalcount);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u5149\u7389\u76F8\u6BBA2") {
subpuyoyokokulightsousai2action(mylocalplaynum, mylocalcount);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u8868\u793A\u76F8\u624B") {
subpuyoyokokuviewactionother(mylocalplaynum, mylocalcount);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u8868\u793A\u81EA\u5206") {
subpuyoyokokuviewactionself(mylocalplaynum, mylocalcount);
}
if (mytimeaction[mylocalplaynum] <= mylocaltime) {
trace((("\u30A2\u30AF\u30B7\u30E7\u30F3\u3000" + myactionwaittitle[mylocalplaynum]) + "\u7D42\u4E86 ") + mylocalplaynum);
myactionwaittime[mylocalplaynum] = 0;
if (myactionwaittitle[mylocalplaynum] == "\u3077\u3088\u843D\u3068\u3057\u7D42\u4E86\u30C1\u30A7\u30C3\u30AF") {
} else if (myactionwaittitle[mylocalplaynum] == "\u30C1\u30AE\u30EA\u5F85\u3061") {
subpuyodownsplit(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u5206\u5272\u843D\u3068\u3057") {
subpuyodownendmodecheck(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u3077\u3088\u6D88\u3057") {
subscoregetkeisan(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u5149\u7389") {
subpuyoyokokulightactionend(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u5149\u7389\u76F8\u6BBA") {
subpuyoyokokulightsousaiactionend(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u5149\u7389\u76F8\u6BBA2") {
subpuyoyokokulightsousai2actionend(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u8868\u793A\u76F8\u624B") {
subpuyoyokokuviewactionendother(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u4E88\u544A\u3077\u3088\u8868\u793A\u81EA\u5206") {
subpuyoyokokuviewactionendself(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u5168\u6D88\u3057\u8868\u793A") {
subscoretotalview(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u3077\u3088\u843D\u3068\u3059") {
subpuyostockdeletedown(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u9023\u9396\u8ABF\u67FB") {
subpuyostockrensacheck(mylocalplaynum);
} else if (myactionwaittitle[mylocalplaynum] == "\u9023\u9396\u8ABF\u67FB2") {
subpuyostockrensacheck2(mylocalplaynum);
}
}
}
}
function subactionstart(mylocalplaynum) {
var mytime = new Date();
mytimeaction[mylocalplaynum] = mytime.getTime();
mytimeaction[mylocalplaynum] = mytimeaction[mylocalplaynum] + myactionwaittime[mylocalplaynum];
}
function subevententerframekeydown(mylocalplaynum) {
if (myreplayon == 1) {
return(undefined);
}
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (Key.isDown(mykeyconfigdown[mylocalplaynum])) {
subpuyodownfastdownevent(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "qd");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "qd");
}
}
}
function subeventkeydown(mylocalplaynum) {
if (myreplayon == 1) {
return(undefined);
}
var mylocalcode;
mylocalcode = Key.getCode();
if ((mykeyconfigright[mylocalplaynum] == mylocalcode) || (mykeyconfigleft[mylocalplaynum] == mylocalcode)) {
mygetcode[mylocalplaynum] = mylocalcode;
}
mygetstring = String.fromCharCode(mylocalcode);
subpuyodownenterkaihatu(mylocalplaynum);
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (mylocalcode == mykeyconfigrightturn[mylocalplaynum]) {
subpuyodownrightturneventcheck(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "rt");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "rt");
} else if (mylocalcode == mykeyconfigleftturn[mylocalplaynum]) {
subpuyodownleftturneventcheck(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "lt");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "lt");
}
}
if ((mykeyconfigright[mylocalplaynum] == mylocalcode) || (mykeyconfigleft[mylocalplaynum] == mylocalcode)) {
var mytime = new Date();
mytimekeydown[mylocalplaynum] = mytime.getTime();
}
if ((mykeyconfigright[mylocalplaynum] == mygetcode[mylocalplaynum]) || (mykeyconfigleft[mylocalplaynum] == mygetcode[mylocalplaynum])) {
if (((mykeyconfigrightturn[mylocalplaynum] == mylocalcode) || (mykeyconfigleftturn[mylocalplaynum] == mylocalcode)) || (mykeyconfigdown[mylocalplaynum] == mylocalcode)) {
} else if ((mykeyconfigright[mylocalplaynum] == mylocalcode) || (mykeyconfigleft[mylocalplaynum] == mylocalcode)) {
subevententerframekeydown2(mylocalplaynum);
}
}
}
function subevententerframekeydown2(mylocalplaynum) {
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (Key.isDown(mykeyconfigright[mylocalplaynum]) && (mygetcode[mylocalplaynum] == mykeyconfigright[mylocalplaynum])) {
subpuyodownrighteventcheck(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "r");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "r");
} else if (Key.isDown(mykeyconfigleft[mylocalplaynum]) && (mygetcode[mylocalplaynum] == mykeyconfigleft[mylocalplaynum])) {
subpuyodownlefteventcheck(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "l");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "l");
}
}
}
function subpuyodowndownevent(mylocalplaynum) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] >= (mypuyodowny[mylocalplaynum][1] - 1)) || (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] >= (mypuyodowny[mylocalplaynum][2] - 1))) {
} else {
mypuyodowny[mylocalplaynum][1] = mypuyodowny[mylocalplaynum][1] - 0.5;
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][2] - 0.5;
}
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
function subpuyodownfastdownevent(mylocalplaynum) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] >= ((mypuyodowny[mylocalplaynum][1] - 1) - 0.5)) || (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] >= ((mypuyodowny[mylocalplaynum][2] - 1) - 0.5))) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] >= (mypuyodowny[mylocalplaynum][1] - 1)) || (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] >= (mypuyodowny[mylocalplaynum][2] - 1))) {
} else {
mypuyodowny[mylocalplaynum][1] = mypuyodowny[mylocalplaynum][1] - 0.5;
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][2] - 0.5;
}
} else {
mypuyodowny[mylocalplaynum][1] = mypuyodowny[mylocalplaynum][1] - 1;
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][2] - 1;
myscoretotal[mylocalplaynum] = myscoretotal[mylocalplaynum] + 1;
this["txtscoretotal" + mylocalplaynum].text = Math.floor(myscoretotal[mylocalplaynum]);
mypuyokurikosipoint[mylocalplaynum] = mypuyokurikosipoint[mylocalplaynum] + 1;
}
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] >= (mypuyodowny[mylocalplaynum][1] - 1)) || (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] >= (mypuyodowny[mylocalplaynum][2] - 1))) {
subpuyodownview(mylocalplaynum);
subpuyodownend(mylocalplaynum);
} else {
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
}
function subpuyodownrighteventcheck(mylocalplaynum) {
if ((mypuyodownturnkind[mylocalplaynum] == 1) || (mypuyodownturnkind[mylocalplaynum] == 4)) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1] + 1] + 1) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownrightevent(mylocalplaynum);
}
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2] + 1] + 1) <= mypuyodowny[mylocalplaynum][2]) {
subpuyodownrightevent(mylocalplaynum);
}
}
function subpuyodownrightevent(mylocalplaynum) {
mypuyodownx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1] + 1;
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2] + 1;
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
function subpuyodownlefteventcheck(mylocalplaynum) {
if ((mypuyodownturnkind[mylocalplaynum] == 1) || (mypuyodownturnkind[mylocalplaynum] == 2)) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1] - 1] + 1) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownleftevent(mylocalplaynum);
}
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2] - 1] + 1) <= mypuyodowny[mylocalplaynum][2]) {
subpuyodownleftevent(mylocalplaynum);
}
}
function subpuyodownleftevent(mylocalplaynum) {
mypuyodownx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1] - 1;
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2] - 1;
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
function subpuyodownrightturneventcheck(mylocalplaynum) {
if (mypuyodownturnkind[mylocalplaynum] == 1) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1] + 1] + 1) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownrightturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1] - 1] + 1) <= mypuyodowny[mylocalplaynum][1]) {
mypuyodownx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1] - 1;
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2] - 1;
subpuyodownrightturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 2) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownhanturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1) <= mypuyodowny[mylocalplaynum][1]) {
mypuyodowny[mylocalplaynum][1]++;
mypuyodowny[mylocalplaynum][2]++;
subpuyodownhanturnevent(mylocalplaynum);
}
} else if (mypuyodownturnkind[mylocalplaynum] == 2) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 2) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownrightturnevent(mylocalplaynum);
} else {
mypuyodowny[mylocalplaynum][1] = (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1) + 1;
mypuyodowny[mylocalplaynum][2] = mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1;
subpuyodownrightturnevent(mylocalplaynum);
}
} else if (mypuyodownturnkind[mylocalplaynum] == 3) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2] - 1] + 1) <= mypuyodowny[mylocalplaynum][2]) {
subpuyodownrightturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2] + 1] + 1) <= mypuyodowny[mylocalplaynum][2]) {
mypuyodownx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1] + 1;
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2] + 1;
subpuyodownrightturnevent(mylocalplaynum);
} else {
subpuyodownhanturnevent(mylocalplaynum);
}
} else if (mypuyodownturnkind[mylocalplaynum] == 4) {
subpuyodownrightturnevent(mylocalplaynum);
}
}
function subpuyodownrightturnevent(mylocalplaynum) {
if (mypuyodownturnkind[mylocalplaynum] == 1) {
mypuyodownturnkind[mylocalplaynum] = 2;
subpuyodownturnkind2(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 2) {
mypuyodownturnkind[mylocalplaynum] = 3;
subpuyodownturnkind3(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 3) {
mypuyodownturnkind[mylocalplaynum] = 4;
subpuyodownturnkind4(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 4) {
mypuyodownturnkind[mylocalplaynum] = 1;
subpuyodownturnkind1(mylocalplaynum);
}
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
function subpuyodownleftturneventcheck(mylocalplaynum) {
if (mypuyodownturnkind[mylocalplaynum] == 1) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1] - 1] + 1) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownleftturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1] + 1] + 1) <= mypuyodowny[mylocalplaynum][1]) {
mypuyodownx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1] + 1;
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2] + 1;
subpuyodownleftturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 2) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownhanturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1) <= mypuyodowny[mylocalplaynum][1]) {
mypuyodowny[mylocalplaynum][1]++;
mypuyodowny[mylocalplaynum][2]++;
subpuyodownhanturnevent(mylocalplaynum);
}
} else if (mypuyodownturnkind[mylocalplaynum] == 4) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 2) <= mypuyodowny[mylocalplaynum][1]) {
subpuyodownleftturnevent(mylocalplaynum);
} else {
mypuyodowny[mylocalplaynum][1] = (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1) + 1;
mypuyodowny[mylocalplaynum][2] = mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1;
subpuyodownleftturnevent(mylocalplaynum);
}
} else if (mypuyodownturnkind[mylocalplaynum] == 3) {
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2] + 1] + 1) <= mypuyodowny[mylocalplaynum][2]) {
subpuyodownleftturnevent(mylocalplaynum);
} else if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2] - 1] + 1) <= mypuyodowny[mylocalplaynum][2]) {
mypuyodownx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1] - 1;
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2] - 1;
subpuyodownleftturnevent(mylocalplaynum);
} else {
subpuyodownhanturnevent(mylocalplaynum);
}
} else if (mypuyodownturnkind[mylocalplaynum] == 2) {
subpuyodownleftturnevent(mylocalplaynum);
}
}
function subpuyodownleftturnevent(mylocalplaynum) {
if (mypuyodownturnkind[mylocalplaynum] == 1) {
mypuyodownturnkind[mylocalplaynum] = 4;
subpuyodownturnkind4(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 4) {
mypuyodownturnkind[mylocalplaynum] = 3;
subpuyodownturnkind3(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 3) {
mypuyodownturnkind[mylocalplaynum] = 2;
subpuyodownturnkind2(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 2) {
mypuyodownturnkind[mylocalplaynum] = 1;
subpuyodownturnkind1(mylocalplaynum);
}
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
function subpuyodownhanturnevent(mylocalplaynum) {
if (mypuyodownturnkind[mylocalplaynum] == 1) {
mypuyodownturnkind[mylocalplaynum] = 3;
subpuyodownturnkind3(mylocalplaynum);
} else if (mypuyodownturnkind[mylocalplaynum] == 3) {
mypuyodownturnkind[mylocalplaynum] = 1;
subpuyodownturnkind1(mylocalplaynum);
}
subpuyodownview(mylocalplaynum);
subpuyodownmovearicheck(mylocalplaynum);
subpuyostockgroundcheck(mylocalplaynum);
}
function subpuyodownturnkind1(mylocalplaynum) {
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][1];
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][1] + 1;
}
function subpuyodownturnkind2(mylocalplaynum) {
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][1] + 1;
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][1];
}
function subpuyodownturnkind3(mylocalplaynum) {
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][1];
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][1] - 1;
}
function subpuyodownturnkind4(mylocalplaynum) {
mypuyodownx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][1] - 1;
mypuyodowny[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][1];
}
function subpuyodownview(mylocalplaynum) {
var mylocalx1;
var mylocaly1;
var mylocalx2;
var mylocaly2;
mylocalx1 = mypuyodownx[mylocalplaynum][1];
mylocaly1 = mypuyodowny[mylocalplaynum][1];
mylocalx2 = mypuyodownx[mylocalplaynum][2];
mylocaly2 = mypuyodowny[mylocalplaynum][2];
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo1._x = mypuyowidth * mylocalx1;
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo1._y = (-mypuyoheight) * mylocaly1;
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo2._x = mypuyowidth * mylocalx2;
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo2._y = (-mypuyoheight) * mylocaly2;
}
function subpuyodownmovearicheck(mylocalplaynum) {
if ((((mypuyodownfrontx[mylocalplaynum][1] != mypuyodownx[mylocalplaynum][1]) || (mypuyodownfrontx[mylocalplaynum][2] != mypuyodownx[mylocalplaynum][2])) || (mypuyodownfronty[mylocalplaynum][1] != mypuyodowny[mylocalplaynum][1])) || (mypuyodownfronty[mylocalplaynum][2] != mypuyodowny[mylocalplaynum][2])) {
mypuyodownmoveari[mylocalplaynum] = 1;
} else {
mypuyodownmoveari[mylocalplaynum] = 0;
}
mypuyodownfrontx[mylocalplaynum][1] = mypuyodownx[mylocalplaynum][1];
mypuyodownfrontx[mylocalplaynum][2] = mypuyodownx[mylocalplaynum][2];
mypuyodownfronty[mylocalplaynum][1] = mypuyodowny[mylocalplaynum][1];
mypuyodownfronty[mylocalplaynum][2] = mypuyodowny[mylocalplaynum][2];
}
function subpuyostockgroundcheck(mylocalplaynum) {
var mylocalok;
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1) >= mypuyodowny[mylocalplaynum][1]) {
mylocalok = 1;
}
if ((mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1) >= mypuyodowny[mylocalplaynum][2]) {
mylocalok = 1;
}
if (mylocalok == 1) {
subpuyodownendcheck(mylocalplaynum);
} else if (myrulemode == "net") {
if (myselfplaynum == mylocalplaynum) {
} else if (mynetsavedownendx1[mylocalplaynum][mypuyodowncount[mylocalplaynum]] != undefined) {
subpuyodownend(mylocalplaynum);
} else if (mynetsavedownendx1[mylocalplaynum][mypuyodowncount[mylocalplaynum] + 1] != undefined) {
subpuyodownend(mylocalplaynum);
}
}
}
function subpuyodownendcheck(mylocalplaynum) {
mypuyodownmoveari[mylocalplaynum] = 0;
myactionwaittime[mylocalplaynum] = 500;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u3077\u3088\u843D\u3068\u3057\u7D42\u4E86\u30C1\u30A7\u30C3\u30AF";
}
function subpuyodownendcheckaction(mylocalplaynum, mylocalcount) {
var mylocalgroundsettime;
if (mypuyodownmoveari[mylocalplaynum] == 1) {
myactionwaittime[mylocalplaynum] = 1;
mypuyogroundsettimetikuseki[mylocalplaynum] = mypuyogroundsettimetikuseki[mylocalplaynum] + mypuyogroundsettime[mylocalplaynum];
mypuyogroundsettime[mylocalplaynum] = 0;
} else {
mypuyogroundsettime[mylocalplaynum] = mypuyogroundsettime[mylocalplaynum] + 0.0333333333333333;
mylocalgroundsettime = mypuyogroundsettimetikuseki[mylocalplaynum] + mypuyogroundsettime[mylocalplaynum];
if (mylocalgroundsettime >= 0.8) {
if ((myrulemode == "two") || (myrulemode == "one")) {
subpuyodownfastdownevent(mylocalplaynum);
} else if (myrulemode == "net") {
if (myselfplaynum == mylocalplaynum) {
subpuyodownfastdownevent(mylocalplaynum);
subsendeventkeydown(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "qd");
subreplayeventkeydownsave(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], "qd");
}
}
}
}
}
function subpuyodownend(mylocalplaynum) {
mypuyodownmovekyoka[mylocalplaynum] = 0;
subpuyodownsplitcheck(mylocalplaynum);
}
function subpuyodownendmodecheck(mylocalplaynum) {
mypuyodownendmodecheckon[mylocalplaynum] = 1;
if (myreplayon) {
subreplaydownenddo(mylocalplaynum, mypuyodowncount[mylocalplaynum]);
} else {
var mylocalx1 = mypuyodownx[mylocalplaynum][1];
var mylocaly1 = mypuyodowny[mylocalplaynum][1];
var mylocalc1 = mypuyodowncolor[mylocalplaynum][1];
var mylocalx2 = mypuyodownx[mylocalplaynum][2];
var mylocaly2 = mypuyodowny[mylocalplaynum][2];
var mylocalc2 = mypuyodowncolor[mylocalplaynum][2];
subreplaypuyodownendsave(mylocalplaynum, mypuyodowncount[mylocalplaynum], mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
if ((myrulemode == "two") || (myrulemode == "one")) {
subpuyodownendmain(mylocalplaynum);
} else if (myrulemode == "net") {
if (myselfplaynum == mylocalplaynum) {
subsenddownend(myselfn, mylocalplaynum, mypuyodowncount[mylocalplaynum], mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
subpuyodownendmain(mylocalplaynum);
} else if (mynetsavedownendx1[mylocalplaynum][mypuyodowncount[mylocalplaynum]] != undefined) {
subgeydownenddosave(mylocalplaynum, mypuyodowncount[mylocalplaynum]);
}
}
}
}
function subpuyodownendmain(mylocalplaynum) {
mypuyodownendmodecheckon[mylocalplaynum] = 0;
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo1.removeMovieClip();
this["mcpuyoview" + mylocalplaynum].mcpuyodownpuyo2.removeMovieClip();
submcpuyostockmake(mylocalplaynum, mypuyodownx[mylocalplaynum][1], mypuyodowny[mylocalplaynum][1], mypuyodowncolor[mylocalplaynum][1]);
submcpuyostockmake(mylocalplaynum, mypuyodownx[mylocalplaynum][2], mypuyodowny[mylocalplaynum][2], mypuyodowncolor[mylocalplaynum][2]);
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mypuyodownx[mylocalplaynum][1] * 100) + mypuyodowny[mylocalplaynum][1]]].gotoAndPlay("white");
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mypuyodownx[mylocalplaynum][2] * 100) + mypuyodowny[mylocalplaynum][2]]].gotoAndPlay("white");
if (mypuyodownsound == 1) {
mysoundpuyodown.start();
}
mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]]++;
mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]]++;
myactionwaittime[mylocalplaynum] = 300;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u9023\u9396\u8ABF\u67FB";
}
function subpuyodownsplitcheck(mylocalplaynum) {
var mylocaldownsuu;
var mylocalpuyokind = 0;
if ((mypuyodownturnkind[mylocalplaynum] == 2) || (mypuyodownturnkind[mylocalplaynum] == 4)) {
if (mypuyodowny[mylocalplaynum][1] != (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1)) {
mylocalpuyokind = 1;
}
if (mypuyodowny[mylocalplaynum][2] != (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1)) {
mylocalpuyokind = 2;
}
}
if (mylocalpuyokind == 0) {
subpuyodownendmodecheck(mylocalplaynum);
} else {
subpuyotigiriwait(mylocalplaynum);
}
}
function subpuyotigiriwait(mylocalplaynum) {
mypuyotigiricount[mylocalplaynum] = mypuyotigiricount[mylocalplaynum] + 1;
trace("l" + mypuyotigiricount[mylocalplaynum]);
this["txttigiricount" + [mylocalplaynum]].text = mypuyotigiricount[mylocalplaynum];
myactionwaittime[mylocalplaynum] = 133.333333333333;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u30C1\u30AE\u30EA\u5F85\u3061";
}
function subpuyodownsplit(mylocalplaynum) {
var mylocaldownsuu;
var mylocalpuyokind = 0;
var mylocaldown;
if ((mypuyodownturnkind[mylocalplaynum] == 2) || (mypuyodownturnkind[mylocalplaynum] == 4)) {
if (mypuyodowny[mylocalplaynum][1] != (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1)) {
mylocaldown = mypuyodowny[mylocalplaynum][1] - (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1);
mylocalpuyokind = 1;
}
if (mypuyodowny[mylocalplaynum][2] != (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1)) {
mylocaldown = mypuyodowny[mylocalplaynum][2] - (mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1);
mylocalpuyokind = 2;
}
}
mypuyodowny[mylocalplaynum][1] = mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][1]] + 1;
mypuyodowny[mylocalplaynum][2] = mypuyostockground[mylocalplaynum][mypuyodownx[mylocalplaynum][2]] + 1;
this["mcpuyoview" + mylocalplaynum]["mcpuyodownpuyo" + mylocalpuyokind].mylocaldown = mylocaldown;
this["mcpuyoview" + mylocalplaynum]["mcpuyodownpuyo" + mylocalpuyokind].gotoAndPlay("down");
myactionwaittime[mylocalplaynum] = 33.3333333333333 * mylocaldown;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u5206\u5272\u843D\u3068\u3057";
}
function submcpuyostockmake(mylocalplaynum, mylocalx, mylocaly, mylocalcolor) {
mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] = mylocalcolor;
this["mcpuyoview" + mylocalplaynum].attachMovie("mcpuyoaction", ["mcpuyostock" + [(mylocalx * 100) + mylocaly]], [((mylocalx * 100) + mylocaly) + 100].toString());
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].mc.attachMovie([(("mcpuyocolor" + mypuyochrmode) + "_") + mylocalcolor], "mcpuyocolor", 0);
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]]._x = mypuyowidth * mylocalx;
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]]._y = (-mypuyoheight) * mylocaly;
if (myrulemode == "net") {
if (myselfplaynum == mylocalplaynum) {
subsendpuyoset(myselfn, mylocalplaynum, mylocalx, mylocaly, mylocalcolor);
}
}
}
function subpuyostockrensacheck(mylocalplaynum) {
var mylocalx;
var mylocaly;
var mylocali;
mypuyodeleteari[mylocalplaynum] = 0;
mypuyorensacount[mylocalplaynum] = 0;
mypuyoyokokusubtotal[3 - mylocalplaynum] = 0;
mylocalx = 0;
while (mylocalx <= (myruletableboxwidth + 1)) {
mylocaly = 0;
while (mylocaly <= (myruletableboxheight + 3)) {
mypuyostockxydelete[mylocalplaynum][mylocalx][mylocaly] = 0;
mylocaly++;
}
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockdeletebottom[mylocalplaynum][mylocalx] = myruletableboxheight + 3;
mylocalx++;
}
mylocali = 1;
while (mylocali <= 6) {
mypuyostockdeletecolorarraynum[mylocalplaynum][mylocali] = 0;
mylocali++;
}
if (mypuyostockxy[mylocalplaynum][mypuyodownx[mylocalplaynum][1]][mypuyodowny[mylocalplaynum][1]] != 9) {
subpuyostockrensacheckpuyo(mylocalplaynum, mypuyodownx[mylocalplaynum][1], mypuyodowny[mylocalplaynum][1]);
}
if (mypuyostockxy[mylocalplaynum][mypuyodownx[mylocalplaynum][2]][mypuyodowny[mylocalplaynum][2]] != 9) {
subpuyostockrensacheckpuyo(mylocalplaynum, mypuyodownx[mylocalplaynum][2], mypuyodowny[mylocalplaynum][2]);
}
if (mypuyodeleteari[mylocalplaynum] == 1) {
mypuyorensaon[mylocalplaynum] = 1;
subpuyostockdeleteojama(mylocalplaynum);
} else {
subpuyorensanasi(mylocalplaynum);
}
}
function subpuyostockrensacheck2(mylocalplaynum) {
var mylocalx;
var mylocaly;
var mylocalstockdeletebottom = new Array();
var mylocalstockground = new Array();
mypuyodeleteari[mylocalplaynum] = 0;
mylocalx = 0;
while (mylocalx <= (myruletableboxwidth + 1)) {
mylocaly = 0;
while (mylocaly <= (myruletableboxheight + 3)) {
mypuyostockxydelete[mylocalplaynum][mylocalx][mylocaly] = 0;
mylocaly++;
}
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocalstockdeletebottom[mylocalx] = mypuyostockdeletebottom[mylocalplaynum][mylocalx];
mypuyostockdeletebottom[mylocalplaynum][mylocalx] = myruletableboxheight + 3;
mylocalstockground[mylocalx] = mypuyostockground[mylocalplaynum][mylocalx];
mylocalx++;
}
mylocali = 1;
while (mylocali <= 6) {
mypuyostockdeletecolorarraynum[mylocalplaynum][mylocali] = 0;
mylocali++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = mylocalstockdeletebottom[mylocalx];
while (mylocaly <= mylocalstockground[mylocalx]) {
if (mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] != 9) {
subpuyostockrensacheckpuyo(mylocalplaynum, mylocalx, mylocaly);
}
mylocaly++;
}
mylocalx++;
}
if (mypuyodeleteari[mylocalplaynum] == 1) {
subpuyostockdeleteojama(mylocalplaynum);
} else {
mypuyorensacounthist[mylocalplaynum] = mypuyorensacounthist[mylocalplaynum] + (mypuyorensacount[mylocalplaynum] + ",");
subpuyorensanasi(mylocalplaynum);
}
}
function subpuyostockrensacheckpuyo(mylocalplaynum, mylocalpuyox, mylocalpuyoy) {
var mylocalpuyocolor;
var mylocalvecter;
var mylocalx;
var mylocaly;
if (myruletableboxheight >= mylocalpuyoy) {
mypuyodeletepuyoari[mylocalplaynum] = 0;
mylocalpuyocolor = mypuyostockxy[mylocalplaynum][mylocalpuyox][mylocalpuyoy];
mylocalx = 0;
while (mylocalx <= (myruletableboxwidth + 1)) {
mylocaly = 0;
while (mylocaly <= (myruletableboxheight + 3)) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalx][mylocaly] = 0;
mylocaly++;
}
mylocalx++;
}
mylocalvecter = 1;
while (mylocalvecter <= 4) {
subpuyostockvecter(mylocalplaynum, mylocalpuyox, mylocalpuyoy, mylocalpuyocolor, mylocalvecter);
mylocalvecter++;
}
if (mypuyodeletepuyoari[mylocalplaynum] == 1) {
subpuyostockdeletejunbi(mylocalplaynum);
mypuyodeleteari[mylocalplaynum] = 1;
}
}
}
function subpuyostockvecter(mylocalplaynum, mylocalpuyox, mylocalpuyoy, mylocalpuyocolor, mylocalvecter) {
var mylocalpuyosx = new Array();
var mylocalpuyosy = new Array();
var mylocalpuyocx = new Array();
var mylocalpuyocy = new Array();
var mylocali;
mylocalpuyosx[1] = 1;
mylocalpuyosy[1] = 0;
mylocalpuyosx[2] = 2;
mylocalpuyosy[2] = 0;
mylocalpuyosx[3] = 3;
mylocalpuyosy[3] = 0;
mylocalpuyosx[4] = 1;
mylocalpuyosy[4] = 1;
mylocalpuyosx[5] = 2;
mylocalpuyosy[5] = 1;
mylocalpuyosx[6] = 1;
mylocalpuyosy[6] = -1;
mylocalpuyosx[7] = 2;
mylocalpuyosy[7] = -1;
mylocalpuyosx[8] = 1;
mylocalpuyosy[8] = 2;
mylocalpuyosx[9] = 1;
mylocalpuyosy[9] = -2;
mylocalpuyosx[10] = 0;
mylocalpuyosy[10] = 1;
mylocalpuyosx[11] = 0;
mylocalpuyosy[11] = -1;
mylocalpuyosx[12] = -1;
mylocalpuyosy[12] = 0;
if (mylocalvecter == 1) {
mylocali = 1;
while (mylocali <= 12) {
mylocalpuyocx[mylocali] = mylocalpuyox + mylocalpuyosx[mylocali];
mylocalpuyocy[mylocali] = mylocalpuyoy + mylocalpuyosy[mylocali];
mylocali++;
}
} else if (mylocalvecter == 2) {
mylocali = 1;
while (mylocali <= 12) {
mylocalpuyocx[mylocali] = mylocalpuyox + (mylocalpuyosx[mylocali] * -1);
mylocalpuyocy[mylocali] = mylocalpuyoy + mylocalpuyosy[mylocali];
mylocali++;
}
} else if (mylocalvecter == 3) {
mylocali = 1;
while (mylocali <= 12) {
mylocalpuyocx[mylocali] = mylocalpuyox + mylocalpuyosy[mylocali];
mylocalpuyocy[mylocali] = mylocalpuyoy + mylocalpuyosx[mylocali];
mylocali++;
}
} else if (mylocalvecter == 4) {
mylocali = 1;
while (mylocali <= 12) {
mylocalpuyocx[mylocali] = mylocalpuyox + mylocalpuyosy[mylocali];
mylocalpuyocy[mylocali] = mylocalpuyoy + (mylocalpuyosx[mylocali] * -1);
mylocali++;
}
}
mylocali = 1;
while (mylocali <= 12) {
if (mylocalpuyocy[mylocali] > myruletableboxheight) {
mylocalpuyocy[mylocali] = 0;
}
mylocali++;
}
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyox][mylocalpuyoy] = 1;
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[1]][mylocalpuyocy[1]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[1]][mylocalpuyocy[1]] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-1");
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[2]][mylocalpuyocy[2]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[2]][mylocalpuyocy[2]] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-12");
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[3]][mylocalpuyocy[3]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[3]][mylocalpuyocy[3]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-123");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[4]][mylocalpuyocy[4]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[4]][mylocalpuyocy[4]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-124");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[5]][mylocalpuyocy[5]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[5]][mylocalpuyocy[5]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-125");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-126");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[7]][mylocalpuyocy[7]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[7]][mylocalpuyocy[7]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-127");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-12a");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-12b");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[12]][mylocalpuyocy[12]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[12]][mylocalpuyocy[12]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-12c");
}
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[4]][mylocalpuyocy[4]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[4]][mylocalpuyocy[4]] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-14");
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[5]][mylocalpuyocy[5]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[5]][mylocalpuyocy[5]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-145");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-146");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[8]][mylocalpuyocy[8]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[8]][mylocalpuyocy[8]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-148");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-14a");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-14b");
}
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-16");
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[7]][mylocalpuyocy[7]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[7]][mylocalpuyocy[7]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-167");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[9]][mylocalpuyocy[9]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[9]][mylocalpuyocy[9]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-169");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-16a");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-16b");
}
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[10]][mylocalpuyocy[10]] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-1a");
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[11]][mylocalpuyocy[11]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-1ab");
}
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[12]][mylocalpuyocy[12]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[12]][mylocalpuyocy[12]] = 1;
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[4]][mylocalpuyocy[4]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[4]][mylocalpuyocy[4]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-1c4");
}
if (mylocalpuyocolor == mypuyostockxy[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]]) {
mypuyostockxydeletejunbi[mylocalplaynum][mylocalpuyocx[6]][mylocalpuyocy[6]] = 1;
mypuyodeletepuyoari[mylocalplaynum] = 1;
subpuyostockrensachecktrace(mylocalvecter, "-1c6");
}
}
}
}
function subpuyostockrensachecktrace(mylocalvecter, mylocaltrace) {
}
function subpuyostockdeletejunbi(mylocalplaynum) {
var mylocalx;
var mylocaly;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = 1;
while (mylocaly <= myruletableboxheight) {
if (mypuyostockxydeletejunbi[mylocalplaynum][mylocalx][mylocaly] == 1) {
mypuyostockxydelete[mylocalplaynum][mylocalx][mylocaly] = 1;
}
mylocaly++;
}
mylocalx++;
}
}
function subpuyostockdeleteojama(mylocalplaynum) {
var mylocalx;
var mylocaly;
var mylocalvecter;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = 1;
while (mylocaly <= myruletableboxheight) {
mypuyostockxydeleteojama[mylocalplaynum][mylocalx][mylocaly] = 0;
mylocaly++;
}
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = 1;
while (mylocaly <= myruletableboxheight) {
if (mypuyostockxydelete[mylocalplaynum][mylocalx][mylocaly] == 1) {
mylocalvecter = 1;
while (mylocalvecter <= 4) {
subpuyostockdeleteojamavecter(mylocalplaynum, mylocalx, mylocaly, mylocalvecter);
mylocalvecter++;
}
}
mylocaly++;
}
mylocalx++;
}
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = 1;
while (mylocaly <= myruletableboxheight) {
if (mypuyostockxydeleteojama[mylocalplaynum][mylocalx][mylocaly] == 1) {
mypuyostockxydelete[mylocalplaynum][mylocalx][mylocaly] = 1;
}
mylocaly++;
}
mylocalx++;
}
subpuyostockdelete(mylocalplaynum);
}
function subpuyostockdeleteojamavecter(mylocalplaynum, mylocalx, mylocaly, mylocalvecter) {
var mylocalpuyosx = new Array();
var mylocalpuyosy = new Array();
var mylocalpuyocx;
var mylocalpuyocy;
mylocalpuyosx[1] = 1;
mylocalpuyosy[1] = 0;
mylocalpuyosx[2] = -1;
mylocalpuyosy[2] = 0;
mylocalpuyosx[3] = 0;
mylocalpuyosy[3] = 1;
mylocalpuyosx[4] = 0;
mylocalpuyosy[4] = -1;
mylocalpuyocx = mylocalx + mylocalpuyosx[mylocalvecter];
mylocalpuyocy = mylocaly + mylocalpuyosy[mylocalvecter];
if (mypuyostockxy[mylocalplaynum][mylocalpuyocx][mylocalpuyocy] == 9) {
mypuyostockxydeleteojama[mylocalplaynum][mylocalpuyocx][mylocalpuyocy] = 1;
}
}
function subpuyostockdelete(mylocalplaynum) {
var mylocalx;
var mylocaly;
var mylocali;
var mylocalhannix = new Array();
var mylocalhanniy = new Array();
mypuyostockdeletecolornum[mylocalplaynum] = 0;
var mylocalcolorari = new Array();
mypuyodeletepuyonum[mylocalplaynum] = 0;
mypuyostockdeletehannicx[mylocalplaynum] = 0;
mypuyostockdeletehannicy[mylocalplaynum] = 0;
mylocalhannix[1] = 20;
mylocalhanniy[1] = 20;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaly = 1;
while (mylocaly <= myruletableboxheight) {
if (mypuyostockxydelete[mylocalplaynum][mylocalx][mylocaly] == 1) {
if (mypuyostockdeletebottom[mylocalplaynum][mylocalx] > mylocaly) {
mypuyostockdeletebottom[mylocalplaynum][mylocalx] = mylocaly;
}
if (mylocalhannix[1] > mylocalx) {
mylocalhannix[1] = mylocalx;
}
if (mylocalhannix[2] < mylocalx) {
mylocalhannix[2] = mylocalx;
}
if (mylocalhanniy[1] > mylocaly) {
mylocalhanniy[1] = mylocaly;
}
if (mylocalhanniy[2] < mylocaly) {
mylocalhanniy[2] = mylocaly;
}
mylocalcolorari[mypuyostockxy[mylocalplaynum][mylocalx][mylocaly]] = 1;
if (mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] != 9) {
mypuyodeletepuyonum[mylocalplaynum]++;
mypuyostockdeletecolorarraynum[mylocalplaynum][mypuyostockxy[mylocalplaynum][mylocalx][mylocaly]]++;
}
mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] = 0;
submcpuyostockdeletea(mylocalplaynum, mylocalx, mylocaly);
}
mylocaly++;
}
mylocalx++;
}
mypuyostockdeletehannicx[mylocalplaynum] = (mylocalhannix[1] + mylocalhannix[2]) / 2;
mypuyostockdeletehannicy[mylocalplaynum] = (mylocalhanniy[1] + mylocalhanniy[2]) / 2;
mypuyorensacount[mylocalplaynum]++;
trace(mypuyorensacount[mylocalplaynum] + "\u9023\u9396");
subpuyorensaconuttxt(mylocalplaynum);
if (mypuyorensacount[mylocalplaynum] > mypuyorensacountmax[mylocalplaynum]) {
mypuyorensacountmax[mylocalplaynum] = mypuyorensacount[mylocalplaynum];
this["txtrensacountmax" + [mylocalplaynum]].text = mypuyorensacountmax[mylocalplaynum];
}
mylocali = 1;
while (mylocali <= 6) {
if (mylocalcolorari[mylocali] == 1) {
mypuyostockdeletecolornum[mylocalplaynum]++;
}
mylocali++;
}
trace(mypuyostockdeletecolornum[mylocalplaynum] + "\u8272\u540C\u6642\u6D88\u3057");
trace("\u8272\u3054\u3068\u306E\u6D88\u3057\u6570 " + mypuyostockdeletecolorarraynum[mylocalplaynum]);
myactionwaittime[mylocalplaynum] = 300;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u3077\u3088\u6D88\u3057";
}
function submcpuyostockdeletea(mylocalplaynum, mylocalx, mylocaly) {
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].mylocalplaynum = mylocalplaynum;
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].mylocalx = mylocalx;
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].mylocaly = mylocaly;
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].gotoAndPlay("delete");
}
function submcpuyostockdelete(mylocalplaynum, mylocalx, mylocaly) {
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocaly]].removeMovieClip();
if (myrulemode == "net") {
if (myselfplaynum == mylocalplaynum) {
subsenddeletepuyoset(mylocalplaynum, mylocalx, mylocaly);
}
}
}
function subpuyorensaconuttxt(mylocalplaynum) {
this["mcpuyorensacount" + mylocalplaynum].gotoAndPlay("go");
this["mcpuyorensacount" + mylocalplaynum].mc.txt.text = mypuyorensacount[mylocalplaynum];
this["mcpuyorensacount" + mylocalplaynum]._x = (mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x;
this["mcpuyorensacount" + mylocalplaynum]._y = ((-mypuyoheight) * mypuyostockdeletehannicy[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._y;
submcrensachrview(mylocalplaynum);
}
function subscoregetkeisan(mylocalplaynum) {
var mylocali;
var mylocalscoreget;
var mylocalscoregetbase;
var mylocalscoregetbonus;
var mylocalscoregetbonusrensa;
var mylocalscoregetbonuscolor;
var mylocalscoregetbonusconnect;
var mylocalpuyoyokokugive;
mylocalscoregetbase = (mypuyodeletepuyonum[mylocalplaynum] * 10) * 1;
if (mypuyorensacount[mylocalplaynum] >= 2) {
mylocalscoregetbonusrensa = 8;
if (mypuyorensacount[mylocalplaynum] >= 3) {
mylocalscoregetbonusrensa = 16;
if (mypuyorensacount[mylocalplaynum] >= 4) {
mylocalscoregetbonusrensa = 32 * (mypuyorensacount[mylocalplaynum] - 3);
}
}
}
if (mypuyostockdeletecolornum[mylocalplaynum] >= 2) {
mylocalscoregetbonuscolor = 3 * Math.pow(2, mypuyostockdeletecolornum[mylocalplaynum] - 2);
}
mylocalscoregetbonusconnect = 0;
mylocali = 1;
while (mylocali <= 6) {
if ((mypuyostockdeletecolorarraynum[mylocalplaynum][mylocali] >= 5) && (mypuyostockdeletecolorarraynum[mylocalplaynum][mylocali] <= 10)) {
mylocalscoregetbonusconnect = mylocalscoregetbonusconnect + (mypuyostockdeletecolorarraynum[mylocalplaynum][mylocali] - 3);
} else if (mypuyostockdeletecolorarraynum[mylocalplaynum][mylocali] >= 11) {
mylocalscoregetbonusconnect = mylocalscoregetbonusconnect + 11;
}
mylocali++;
}
trace("\u9023\u7D50\u30DC\u30FC\u30CA\u30B9 " + mylocalscoregetbonusconnect);
mylocalscoregetbonus = (mylocalscoregetbonusrensa + mylocalscoregetbonuscolor) + mylocalscoregetbonusconnect;
if (mylocalscoregetbonus == 0) {
mylocalscoregetbonus = 1;
} else if (mylocalscoregetbonus > 999) {
mylocalscoregetbonus = 999;
}
mylocalscoreget = mylocalscoregetbase * mylocalscoregetbonus;
myscoretotal[mylocalplaynum] = myscoretotal[mylocalplaynum] + mylocalscoreget;
this["txtscoretotal" + mylocalplaynum].text = (mylocalscoregetbase + "x") + mylocalscoregetbonus;
mylocalpuyoyokokugive = Math.floor((mylocalscoreget + mypuyokurikosipoint[mylocalplaynum]) / myrulepuyoyokokurate);
mypuyokurikosipoint[mylocalplaynum] = (mylocalscoreget + mypuyokurikosipoint[mylocalplaynum]) % myrulepuyoyokokurate;
if (myzenkesion[mylocalplaynum] == 1) {
if (myrulezenkesimode == 1) {
mylocalpuyoyokokugive = mylocalpuyoyokokugive + 30;
}
this["mcpuyoview" + mylocalplaynum].mczenkesi.gotoAndStop("delete");
myzenkesion[mylocalplaynum] = 0;
}
if ((mypuyoyokokusubtotal[mylocalplaynum] + mypuyoyokokutotal[mylocalplaynum]) > 0) {
mypuyoyokokusubtotal[mylocalplaynum] = mypuyoyokokusubtotal[mylocalplaynum] - mylocalpuyoyokokugive;
if (mypuyoyokokusubtotal[mylocalplaynum] < 0) {
mypuyoyokokutotal[mylocalplaynum] = mypuyoyokokutotal[mylocalplaynum] - (-mypuyoyokokusubtotal[mylocalplaynum]);
mypuyoyokokusubtotal[mylocalplaynum] = 0;
if (mypuyoyokokutotal[mylocalplaynum] < 0) {
mypuyoyokokusubtotal[3 - mylocalplaynum] = mypuyoyokokusubtotal[3 - mylocalplaynum] + (-mypuyoyokokutotal[mylocalplaynum]);
mypuyoyokokutotal[mylocalplaynum] = 0;
}
}
subpuyoyokokulightsousai(mylocalplaynum);
} else {
mypuyoyokokusubtotal[3 - mylocalplaynum] = mypuyoyokokusubtotal[3 - mylocalplaynum] + mylocalpuyoyokokugive;
subpuyoyokokulight(mylocalplaynum);
}
}
function subpuyoyokokulight(mylocalplaynum) {
var mylocalsx;
var mylocalspx;
mylocalsx = ((this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._width / 2)) - ((mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x)) / 2;
mylocalspx = mylocalsx * 0.414213562373095;
mypuyoyokokulightsx[mylocalplaynum] = mylocalsx + (mylocalspx / 2);
mypuyoyokokulightcx[mylocalplaynum] = (((mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x) + mylocalsx) - (mylocalspx / 2);
mypuyoyokokulightsy[mylocalplaynum] = (-(this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._y - (((-mypuyoheight) * mypuyostockdeletehannicy[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._y))) / 2;
mypuyoyokokulightcy[mylocalplaynum] = this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._y;
this["mcyokokulight" + mylocalplaynum]._x = (mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x;
this["mcyokokulight" + mylocalplaynum]._y = ((-mypuyoheight) * mypuyostockdeletehannicy[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._y;
this["mcyokokulight" + mylocalplaynum].gotoAndPlay("go");
myactionwaittime[mylocalplaynum] = 300;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u4E88\u544A\u3077\u3088\u5149\u7389";
}
function subpuyoyokokulightaction(mylocalplaynum, mylocalcount) {
this["mcyokokulight" + mylocalplaynum]._x = (Math.sin(((mylocalcount / 100) * Math.PI) + 4.31968989868597) * mypuyoyokokulightsx[mylocalplaynum]) + mypuyoyokokulightcx[mylocalplaynum];
this["mcyokokulight" + mylocalplaynum]._y = ((((-Math.pow((10 * (mylocalcount - 100)) / 100, 1)) / 10) * mypuyoyokokulightsy[mylocalplaynum]) * 2) + mypuyoyokokulightcy[mylocalplaynum];
}
function subpuyoyokokulightactionend(mylocalplaynum) {
this["mcyokokulight" + mylocalplaynum]._x = this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._width / 2);
this["mcyokokulight" + mylocalplaynum]._y = this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._y;
this["mcyokokulight" + mylocalplaynum].gotoAndPlay("delete");
subpuyoyokokuviewother(mylocalplaynum);
submcrensachranview(mylocalplaynum);
}
function subpuyoyokokulightsousai(mylocalplaynum) {
var mylocalsx;
var mylocalspx;
mylocalsx = ((this["mcpuyoyokokuview" + [mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [mylocalplaynum]]._width / 2)) - ((mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x)) / 2;
mylocalspx = mylocalsx * 1;
mypuyoyokokulightsx[mylocalplaynum] = (-mylocalsx) - (mylocalspx / 2);
mypuyoyokokulightcx[mylocalplaynum] = (((mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x) + mylocalsx) - (mylocalspx / 2);
mypuyoyokokulightsy[mylocalplaynum] = (-(this["mcpuyoyokokuview" + [mylocalplaynum]]._y - (((-mypuyoheight) * mypuyostockdeletehannicy[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._y))) / 2;
mypuyoyokokulightcy[mylocalplaynum] = this["mcpuyoyokokuview" + [mylocalplaynum]]._y;
this["mcyokokulight" + mylocalplaynum]._x = (mypuyowidth * mypuyostockdeletehannicx[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._x;
this["mcyokokulight" + mylocalplaynum]._y = ((-mypuyoheight) * mypuyostockdeletehannicy[mylocalplaynum]) + this["mcpuyoview" + mylocalplaynum]._y;
this["mcyokokulight" + mylocalplaynum].gotoAndPlay("go");
myactionwaittime[mylocalplaynum] = 300;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u4E88\u544A\u3077\u3088\u5149\u7389\u76F8\u6BBA";
}
function subpuyoyokokulightsousaiaction(mylocalplaynum, mylocalcount) {
this["mcyokokulight" + mylocalplaynum]._x = ((-Math.sin(((mylocalcount / 100) * Math.PI) + 3.92699081698724)) * mypuyoyokokulightsx[mylocalplaynum]) + mypuyoyokokulightcx[mylocalplaynum];
this["mcyokokulight" + mylocalplaynum]._y = ((((-Math.pow((10 * (mylocalcount - 100)) / 100, 1)) / 10) * mypuyoyokokulightsy[mylocalplaynum]) * 2) + mypuyoyokokulightcy[mylocalplaynum];
}
function subpuyoyokokulightsousaiactionend(mylocalplaynum) {
this["mcyokokulight" + mylocalplaynum]._x = this["mcpuyoyokokuview" + [mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [mylocalplaynum]]._width / 2);
this["mcyokokulight" + mylocalplaynum]._y = this["mcpuyoyokokuview" + [mylocalplaynum]]._y;
this["mcyokokulight" + mylocalplaynum].gotoAndPlay("delete");
subpuyoyokokuviewself(mylocalplaynum);
submcrensachranview(mylocalplaynum);
}
function subpuyoyokokulightsousai2(mylocalplaynum) {
var mylocalsx;
var mylocalspx;
mylocalsx = ((this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._width / 2)) - (this["mcpuyoyokokuview" + [mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [mylocalplaynum]]._width / 2))) / 2;
mylocalspx = mylocalsx * 0.414213562373095;
mypuyoyokokulightsx[mylocalplaynum] = mylocalsx + (mylocalspx / 2);
mypuyoyokokulightcx[mylocalplaynum] = ((this["mcpuyoyokokuview" + [mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [mylocalplaynum]]._width / 2)) + mylocalsx) - (mylocalspx / 2);
mypuyoyokokulightsy[mylocalplaynum] = 40;
mypuyoyokokulightcy[mylocalplaynum] = this["mcpuyoyokokuview" + [mylocalplaynum]]._y + 40;
this["mcyokokulight" + mylocalplaynum]._x = this["mcpuyoyokokuview" + [mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [mylocalplaynum]]._width / 2);
this["mcyokokulight" + mylocalplaynum]._y = this["mcpuyoyokokuview" + [mylocalplaynum]]._y;
this["mcyokokulight" + mylocalplaynum].gotoAndPlay("go");
myactionwaittime[mylocalplaynum] = 300;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u4E88\u544A\u3077\u3088\u5149\u7389\u76F8\u6BBA2";
}
function subpuyoyokokulightsousai2action(mylocalplaynum, mylocalcount) {
this["mcyokokulight" + mylocalplaynum]._x = (Math.sin(((mylocalcount / 100) * Math.PI) + 4.31968989868597) * mypuyoyokokulightsx[mylocalplaynum]) + mypuyoyokokulightcx[mylocalplaynum];
this["mcyokokulight" + mylocalplaynum]._y = (((-Math.pow((10 * (mylocalcount - 50)) / 50, 2)) / 100) * mypuyoyokokulightsy[mylocalplaynum]) + mypuyoyokokulightcy[mylocalplaynum];
}
function subpuyoyokokulightsousai2actionend(mylocalplaynum) {
this["mcyokokulight" + mylocalplaynum]._x = this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._x + (this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._width / 2);
this["mcyokokulight" + mylocalplaynum]._y = this["mcpuyoyokokuview" + [3 - mylocalplaynum]]._y;
this["mcyokokulight" + mylocalplaynum].gotoAndPlay("delete");
subpuyoyokokuviewother(mylocalplaynum);
}
function subpuyoyokokuviewother(mylocalplaynum) {
subpuyoyokokuview(3 - mylocalplaynum);
myactionwaittime[mylocalplaynum] = 100;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u4E88\u544A\u3077\u3088\u8868\u793A\u76F8\u624B";
}
function subpuyoyokokuviewself(mylocalplaynum) {
subpuyoyokokuview(mylocalplaynum);
myactionwaittime[mylocalplaynum] = 100;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u4E88\u544A\u3077\u3088\u8868\u793A\u81EA\u5206";
}
function subpuyoyokokuview(mylocalplaynum) {
var mylocali;
var mylocalj;
var mylocalpuyoyokoku;
mylocalpuyoyokoku = mypuyoyokokutotal[mylocalplaynum] + mypuyoyokokusubtotal[mylocalplaynum];
mypuyoyokokunum[mylocalplaynum][11] = Math.floor(mylocalpuyoyokoku / 80000);
mypuyoyokokunum[mylocalplaynum][10] = Math.floor((mylocalpuyoyokoku % 80000) / 20000);
mypuyoyokokunum[mylocalplaynum][9] = Math.floor(((mylocalpuyoyokoku % 80000) % 20000) / 5000);
mypuyoyokokunum[mylocalplaynum][8] = Math.floor((((mylocalpuyoyokoku % 80000) % 20000) % 5000) / 1000);
mypuyoyokokunum[mylocalplaynum][7] = Math.floor(((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) / 720);
mypuyoyokokunum[mylocalplaynum][6] = Math.floor((((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) % 720) / 360);
mypuyoyokokunum[mylocalplaynum][5] = Math.floor(((((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) % 720) % 360) / 180);
mypuyoyokokunum[mylocalplaynum][4] = Math.floor((((((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) % 720) % 360) % 180) / 90);
mypuyoyokokunum[mylocalplaynum][3] = Math.floor(((((((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) % 720) % 360) % 180) % 90) / 30);
mypuyoyokokunum[mylocalplaynum][2] = Math.floor((((((((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) % 720) % 360) % 180) % 90) % 30) / 6);
mypuyoyokokunum[mylocalplaynum][1] = Math.floor((((((((((mylocalpuyoyokoku % 80000) % 20000) % 5000) % 1000) % 720) % 360) % 180) % 90) % 30) % 6);
if (mypuyoyokokunum[mylocalplaynum][mypuyoyokokukind] >= 6) {
mypuyoyokokunum[mylocalplaynum][mypuyoyokokukind] = 6;
mylocali = 1;
while (mylocali <= (mypuyoyokokukind - 1)) {
mypuyoyokokunum[mylocalplaynum][mylocali] = 0;
mylocali++;
}
}
mylocalj = mypuyoyokokukind;
while (mylocalj >= 1) {
mylocali = 1;
while (mylocali <= 6) {
this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._y = -500;
this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._x = 0;
mylocali++;
}
mylocalj--;
}
}
function subpuyoyokokuviewactionother(mylocalplaynum, mylocalcount) {
subpuyoyokokuviewaction(3 - mylocalplaynum, mylocalcount);
}
function subpuyoyokokuviewactionself(mylocalplaynum, mylocalcount) {
subpuyoyokokuviewaction(mylocalplaynum, mylocalcount);
}
function subpuyoyokokuviewaction(mylocalplaynum, mylocalcount) {
var mylocali;
var mylocalj;
var mylocalyokokuviewx;
mylocalyokokuviewx = 0;
mylocalj = mypuyoyokokukind;
while (mylocalj >= 1) {
mylocali = mypuyoyokokunum[mylocalplaynum][mylocalj];
while (mylocali >= 1) {
this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._x = mylocalyokokuviewx;
this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._y = 0;
mylocalyokokuviewx = mylocalyokokuviewx + ((this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._width * mylocalcount) / 100);
mylocali--;
}
mylocalj--;
}
}
function subpuyoyokokuviewactionendother(mylocalplaynum) {
subpuyoyokokuviewactionend(3 - mylocalplaynum);
subpuyostockdeletedowncheck(mylocalplaynum);
}
function subpuyoyokokuviewactionendself(mylocalplaynum) {
subpuyoyokokuviewactionend(mylocalplaynum);
subpuyoyokokuviewendself(mylocalplaynum);
}
function subpuyoyokokuviewactionend(mylocalplaynum) {
var mylocali;
var mylocalj;
var mylocalyokokuviewwidth;
mylocalyokokuviewwidth = 0;
mylocalj = mypuyoyokokukind;
while (mylocalj >= 1) {
mylocali = mypuyoyokokunum[mylocalplaynum][mylocalj];
while (mylocali >= 1) {
this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._x = mylocalyokokuviewwidth;
this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._y = 0;
mylocalyokokuviewwidth = mylocalyokokuviewwidth + this["mcpuyoyokokuview" + [mylocalplaynum]]["mcpuyoyokoku" + [(mylocalj * 10) + mylocali]]._width;
mylocali--;
}
mylocalj--;
}
}
function subpuyoyokokuviewendself(mylocalplaynum) {
if (mypuyorensaon[mylocalplaynum] == 1) {
if (mypuyoyokokusubtotal[3 - mylocalplaynum] > 0) {
subpuyoyokokulightsousai2(mylocalplaynum);
} else {
subpuyostockdeletedowncheck(mylocalplaynum);
}
} else {
subpuyogameovercheck2(mylocalplaynum);
}
}
function submcrensachrview(mylocalplaynum) {
mypuyorensachrnum[mylocalplaynum] = mypuyorensacount[mylocalplaynum];
if (mypuyorensacount[mylocalplaynum] >= 4) {
mypuyorensachrnum[mylocalplaynum] = 4;
}
if (mymcchrview == 1) {
this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mypuyorensachrnum[mylocalplaynum]]._y = 200;
}
subsoundchrstart(mylocalplaynum);
}
function submcrensachranview(mylocalplaynum) {
if (mymcchrview == 1) {
this["mcrensachr" + mylocalplaynum][(("mcchr" + myrensachrmode[mylocalplaynum]) + "_") + mypuyorensachrnum[mylocalplaynum]]._y = -500;
}
}
function subsoundchrstart(mylocalplaynum) {
if (mychrsound == 1) {
mysoundchr.attachSound((("bgmchr" + myrensachrmode[mylocalplaynum]) + "_") + mypuyorensachrnum[mylocalplaynum]);
mysoundchr.start();
}
}
function subpuyostockdeletedowncheck(mylocalplaynum) {
var mylocalx;
var mylocaly;
var mylocali;
var mylocalcolor;
var mylocaldown;
var mylocaldownmax = 0;
mypuyodeletedowni[mylocalplaynum] = 0;
var mylocaldelete = new Array();
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocaldelete[mylocalx] = 0;
mylocaly = mypuyostockdeletebottom[mylocalplaynum][mylocalx];
while (mylocaly <= mypuyostockground[mylocalplaynum][mylocalx]) {
if (mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] == 0) {
mylocaldelete[mylocalx]++;
}
mylocaly++;
}
mylocaly = mypuyostockdeletebottom[mylocalplaynum][mylocalx];
while (mylocaly <= mypuyostockground[mylocalplaynum][mylocalx]) {
if (mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] == 0) {
mylocali = mylocaly + 1;
while (mylocali <= mypuyostockground[mylocalplaynum][mylocalx]) {
if (mypuyostockxy[mylocalplaynum][mylocalx][mylocali] != 0) {
mylocalcolor = mypuyostockxy[mylocalplaynum][mylocalx][mylocali];
mypuyostockxy[mylocalplaynum][mylocalx][mylocaly] = mylocalcolor;
mypuyostockxy[mylocalplaynum][mylocalx][mylocali] = 0;
mylocaldown = mylocali - mylocaly;
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocali]].mylocaldown = mylocaldown;
this["mcpuyoview" + mylocalplaynum]["mcpuyostock" + [(mylocalx * 100) + mylocali]].gotoAndPlay("down");
if (mylocaldownmax < mylocaldown) {
mylocaldownmax = mylocaldown;
}
mypuyodeletedowni[mylocalplaynum]++;
mypuyodeletedownx[mylocalplaynum][mypuyodeletedowni[mylocalplaynum]] = mylocalx;
mypuyodeletedowndelete[mylocalplaynum][mypuyodeletedowni[mylocalplaynum]] = mylocali;
mypuyodeletedownmake[mylocalplaynum][mypuyodeletedowni[mylocalplaynum]] = mylocaly;
mypuyodeletedowncolor[mylocalplaynum][mypuyodeletedowni[mylocalplaynum]] = mylocalcolor;
mylocali = mypuyostockground[mylocalplaynum][mylocalx];
}
mylocali++;
}
}
mylocaly++;
}
mypuyostockground[mylocalplaynum][mylocalx] = mypuyostockground[mylocalplaynum][mylocalx] - mylocaldelete[mylocalx];
mylocalx++;
}
if (mylocaldownmax > 0) {
myactionwaittime[mylocalplaynum] = 33.3333333333333 * mylocaldownmax;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u3077\u3088\u843D\u3068\u3059";
} else {
subzenkesicheck(mylocalplaynum);
}
}
function subzenkesicheck(mylocalplaynum) {
var mylocali;
var mylocalzenkesinasi = 0;
mylocali = 1;
while (mylocali <= myruletableboxwidth) {
if (mypuyostockground[mylocalplaynum][mylocali] != 0) {
mylocalzenkesinasi = 1;
}
mylocali++;
}
if (mylocalzenkesinasi != 1) {
if (myzenkesimin[mylocalplaynum] == 0) {
myzenkesimin[mylocalplaynum] = mypuyodowncount[mylocalplaynum];
}
subzenkesiview(mylocalplaynum);
myzenkesion[mylocalplaynum] = 1;
myactionwaittime[mylocalplaynum] = 500;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u5168\u6D88\u3057\u8868\u793A";
} else {
subscoretotalview(mylocalplaynum);
}
}
function subzenkesiview(mylocalplaynum) {
myscoretotal[mylocalplaynum] = myscoretotal[mylocalplaynum] + 3600;
this["txtscoretotal" + mylocalplaynum].text = myscoretotal[mylocalplaynum];
this["mcpuyoview" + mylocalplaynum].mczenkesi._y = -150;
this["mcpuyoview" + mylocalplaynum].mczenkesi.gotoAndPlay("go");
}
function subpuyostockdeletedown(mylocalplaynum) {
var mylocali;
mylocali = 1;
while (mylocali <= mypuyodeletedowni[mylocalplaynum]) {
submcpuyostockmake(mylocalplaynum, mypuyodeletedownx[mylocalplaynum][mylocali], mypuyodeletedownmake[mylocalplaynum][mylocali], mypuyodeletedowncolor[mylocalplaynum][mylocali]);
submcpuyostockdelete(mylocalplaynum, mypuyodeletedownx[mylocalplaynum][mylocali], mypuyodeletedowndelete[mylocalplaynum][mylocali]);
mypuyodeletedownx[mylocalplaynum][mylocali] = undefined;
mypuyodeletedowndelete[mylocalplaynum][mylocali] = undefined;
mypuyodeletedownmake[mylocalplaynum][mylocali] = undefined;
mypuyodeletedowncolor[mylocalplaynum][mylocali] = undefined;
mylocali++;
}
subscoretotalview(mylocalplaynum);
}
function subscoretotalview(mylocalplaynum) {
this["txtscoretotal" + mylocalplaynum].text = myscoretotal[mylocalplaynum];
myactionwaittime[mylocalplaynum] = 500;
subactionstart(mylocalplaynum);
myactionwaittitle[mylocalplaynum] = "\u9023\u9396\u8ABF\u67FB2";
}
function subpuyoojamadownnum(mylocalplaynum) {
if (mypuyoyokokutotal[mylocalplaynum] < 30) {
mypuyoojamadownnum[mylocalplaynum] = mypuyoyokokutotal[mylocalplaynum];
} else {
mypuyoojamadownnum[mylocalplaynum] = 30;
}
}
function subpuyoojamadown(mylocalplaynum, mylocalojamadownnum, mylocaldowncount) {
var mylocalx;
var mylocaly;
var mylocalrandom;
var mylocalxrandom = new Array();
var mylocalxtemp;
var mylocaldowny;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mylocalxrandom[mylocalx] = ((mylocalx + mylocaldowncount) % myruletableboxwidth) + 1;
mylocalx++;
}
mylocaly = 1;
while (mylocaly <= 5) {
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
if (mylocalojamadownnum >= 1) {
if (myruletableboxheight >= mypuyostockground[mylocalplaynum][mylocalxrandom[mylocalx]]) {
mylocaldowny = mypuyostockground[mylocalplaynum][mylocalxrandom[mylocalx]] + 1;
mypuyostockxy[mylocalplaynum][mylocalxrandom[mylocalx]][mylocaldowny] = 9;
mypuyostockground[mylocalplaynum][mylocalxrandom[mylocalx]] = mypuyostockground[mylocalplaynum][mylocalxrandom[mylocalx]] + 1;
submcpuyostockmake(mylocalplaynum, mylocalxrandom[mylocalx], mylocaldowny, mypuyostockxy[mylocalplaynum][mylocalxrandom[mylocalx]][mylocaldowny]);
}
mypuyoyokokutotal[mylocalplaynum] = mypuyoyokokutotal[mylocalplaynum] - 1;
mylocalojamadownnum = mylocalojamadownnum - 1;
}
mylocalx++;
}
mylocaly++;
}
subpuyoyokokuviewself(mylocalplaynum);
}
function subpuyorensanasi(mylocalplaynum) {
if (mypuyorensacount[mylocalplaynum] > 0) {
mypuyorensaon[mylocalplaynum] = 0;
mypuyoyokokutotal[3 - mylocalplaynum] = mypuyoyokokutotal[3 - mylocalplaynum] + mypuyoyokokusubtotal[3 - mylocalplaynum];
mypuyoyokokusubtotal[3 - mylocalplaynum] = 0;
}
subpuyogameovercheck(mylocalplaynum);
}
function subpuyogameovercheck(mylocalplaynum) {
if (mypuyostockground[mylocalplaynum][3] >= myruletableboxheight) {
subpuyogameover(mylocalplaynum);
} else {
subpuyodownstartfirst(mylocalplaynum);
}
}
function subpuyogameovercheck2(mylocalplaynum) {
if (mypuyostockground[mylocalplaynum][3] >= myruletableboxheight) {
subpuyogameover(mylocalplaynum);
} else {
subpuyodownstart(mylocalplaynum);
}
}
function subpuyogameover(mylocalplaynum) {
trace("gameover");
var mytime = new Date();
myplaytime = Math.floor(mytime.getTime() - mystartplaytime[mylocalplaynum]);
subreplayend(mylocalplaynum);
if ((myrulemode == "two") || (myrulemode == "one")) {
submcloseview(mylocalplaynum);
if (myrulemode == "two") {
submcwinview(3 - mylocalplaynum);
}
}
if ((myrulemode == "two") || (myrulemode == "one")) {
mybattleon = 0;
myselfreach = 0;
if (myappmode != "replay") {
submcvisible("return", 1);
}
} else if (myrulemode == "net") {
if (mylocalplaynum == myselfplaynum) {
subsendsyouhai(myselfn, myselfplaynum);
}
}
}
function submcloseview(mylocalplaynum) {
mclose._x = (this["mcpuyoview" + [mylocalplaynum]]._x + (this["mcpuyoview" + [mylocalplaynum]]._width / 2)) - (mclose._width / 2);
mclose._y = mcpuyoview1._y - 200;
mclose.gotoAndPlay("go");
}
function submcwinview(mylocalplaynum) {
mcwin._x = (this["mcpuyoview" + [mylocalplaynum]]._x + (this["mcpuyoview" + [mylocalplaynum]]._width / 2)) - (mcwin._width / 2);
mcwin._y = mcpuyoview1._y - 200;
mcwin.gotoAndPlay("go");
}
stop();
var mysoundchr = new Sound();
var mysoundpuyodown = new Sound();
mysoundpuyodown.attachSound("bgmpuyodown");
var myappmode;
var myrulemode;
var myrulepuyocolornum;
myrulepuyocolornum = 4;
var myrulepuyocolorojama;
myrulepuyocolorojama = 0;
var myruletableboxwidth = 6;
var myruletableboxheight = 12;
var myrulepuyoyokokurate = 70;
var myrulezenkesimode = 1;
var myrensachrmodeself = new Array();
var myrensachrmode = new Array();
var myrensachrkind = 4;
var mypuyochrmode = 2;
var myplaytime = 0;
var mykeyconfigdown = new Array();
var mykeyconfigright = new Array();
var mykeyconfigleft = new Array();
var mykeyconfigrightturn = new Array();
var mykeyconfigleftturn = new Array();
var mypushinterval;
var mygetcode = new Array();
var mygetstring;
var mypuyoheight = 20;
var mypuyowidth = 20;
var mypuyodowncolorcount = new Array();
mypuyodowncolorcount[1] = new Array();
mypuyodowncolorcount[2] = new Array();
mypuyodowncolorcount[1][1] = new Array();
mypuyodowncolorcount[1][2] = new Array();
mypuyodowncolorcount[2][1] = new Array();
mypuyodowncolorcount[2][2] = new Array();
var mypuyonextcolor = new Array();
mypuyonextcolor[1] = new Array();
mypuyonextcolor[2] = new Array();
var mypuyonext2color = new Array();
mypuyonext2color[1] = new Array();
mypuyonext2color[2] = new Array();
var mypuyodowncolor = new Array();
mypuyodowncolor[1] = new Array();
mypuyodowncolor[2] = new Array();
var mypuyodownx = new Array();
mypuyodownx[1] = new Array();
mypuyodownx[2] = new Array();
var mypuyodowny = new Array();
mypuyodowny[1] = new Array();
mypuyodowny[2] = new Array();
var mypuyodownfrontx = new Array();
mypuyodownfrontx[1] = new Array();
mypuyodownfrontx[2] = new Array();
var mypuyodownfronty = new Array();
mypuyodownfronty[1] = new Array();
mypuyodownfronty[2] = new Array();
var mypuyodowncount = new Array();
var mypuyodownmoveari = new Array();
var mypuyodownturnkind = new Array();
var mypuyostockground = new Array();
mypuyostockground[1] = new Array();
mypuyostockground[2] = new Array();
var mypuyostockground2 = new Array();
mypuyostockground2[1] = new Array();
mypuyostockground2[2] = new Array();
var mypuyostockxy = new Array();
mypuyostockxy[1] = new Array();
mypuyostockxy[2] = new Array();
var mylocalx;
mylocalx = 0;
while (mylocalx <= (myruletableboxwidth + 1)) {
mypuyostockxy[1][mylocalx] = new Array();
mypuyostockxy[2][mylocalx] = new Array();
mylocalx++;
}
var mypuyogroundsettime = new Array();
var mypuyogroundsettimetikuseki = new Array();
var mypuyodownmovekyoka = new Array();
var mypuyorensaon = new Array();
var mypuyostockxydeletejunbi = new Array();
mypuyostockxydeletejunbi[1] = new Array();
mypuyostockxydeletejunbi[2] = new Array();
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockxydeletejunbi[1][mylocalx] = new Array();
mypuyostockxydeletejunbi[2][mylocalx] = new Array();
mylocalx++;
}
var mypuyostockxydeleteojama = new Array();
mypuyostockxydeleteojama[1] = new Array();
mypuyostockxydeleteojama[2] = new Array();
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockxydeleteojama[1][mylocalx] = new Array();
mypuyostockxydeleteojama[2][mylocalx] = new Array();
mylocalx++;
}
var mypuyostockxydelete = new Array();
mypuyostockxydelete[1] = new Array();
mypuyostockxydelete[2] = new Array();
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockxydelete[1][mylocalx] = new Array();
mypuyostockxydelete[2][mylocalx] = new Array();
mylocalx++;
}
var mypuyodeleteari = new Array();
var mypuyodeletepuyoari = new Array();
var mypuyostockdeletebottom = new Array();
mypuyostockdeletebottom[1] = new Array();
mypuyostockdeletebottom[2] = new Array();
var mypuyostockdeletebottom2 = new Array();
mypuyostockdeletebottom2[1] = new Array();
mypuyostockdeletebottom2[2] = new Array();
var mypuyodeletedowni = new Array();
var mypuyodeletedownx = new Array();
mypuyodeletedownx[1] = new Array();
mypuyodeletedownx[2] = new Array();
var mypuyodeletedowndelete = new Array();
mypuyodeletedowndelete[1] = new Array();
mypuyodeletedowndelete[2] = new Array();
var mypuyodeletedownmake = new Array();
mypuyodeletedownmake[1] = new Array();
mypuyodeletedownmake[2] = new Array();
var mypuyodeletedowncolor = new Array();
mypuyodeletedowncolor[1] = new Array();
mypuyodeletedowncolor[2] = new Array();
var mypuyostockdeletehannicx = new Array();
var mypuyostockdeletehannicy = new Array();
var mypuyoyokokukind;
var mypuyoyokokulightsx = new Array();
var mypuyoyokokulightcx = new Array();
var mypuyoyokokulightsy = new Array();
var mypuyoyokokulightcy = new Array();
var mypuyotimespan = new Array();
var mypuyorensachrnum = new Array();
var mypuyodownendmodecheckon = new Array();
var myzenkesion = new Array();
var myzenkesimin = new Array();
var mystartplaytime = new Array();
var mypuyorensacount = new Array();
var mypuyostockdeletecolornum = new Array();
var mypuyostockdeletecolorarraynum = new Array();
mypuyostockdeletecolorarraynum[1] = new Array();
mypuyostockdeletecolorarraynum[2] = new Array();
var mypuyodeletepuyonum = new Array();
var myscoretotal = new Array();
var mypuyokurikosipoint = new Array();
var mypuyoyokokusubtotal = new Array();
var mypuyoyokokutotal = new Array();
var mypuyoyokokunum = new Array();
mypuyoyokokunum[1] = new Array();
mypuyoyokokunum[2] = new Array();
var mypuyoojamadownnum = new Array();
var mypuyolevel = new Array();
var mypuyorensacountmax = new Array();
var mypuyorensacounthist = new Array();
var mypuyotigiricount = new Array();
var mytimemilliseconds = new Array();
var mytimemilliseconds2 = new Array();
var myactionwaittime = new Array();
var myactionwaittitle = new Array();
var mytimeaction = new Array();
var mypuyokaihatustockcolor = new Array();
mypuyokaihatustockcolor[1] = new Array();
mypuyokaihatustockcolor[2] = new Array();
mytimekeydown = new Array();
mylocalx = 0;
gotoAndStop (11);
function subhensuutyousa(mylocalplaynum) {
var t = "";
t = t + (("puyonextcolor=" + mypuyonextcolor[mylocalplaynum]) + newline);
t = t + (("puyonext2color=" + mypuyonext2color[mylocalplaynum]) + newline);
t = t + (("puyodowncolor=" + mypuyodowncolor[mylocalplaynum]) + newline);
t = t + (("puyodownx=" + mypuyodownx[mylocalplaynum]) + newline);
t = t + (("puyodowny=" + mypuyodowny[mylocalplaynum]) + newline);
t = t + (("puyodownfrontx=" + mypuyodownfrontx[mylocalplaynum]) + newline);
t = t + (("puyodownfronty=" + mypuyodownfronty[mylocalplaynum]) + newline);
t = t + (("puyodowncount=" + mypuyodowncount[mylocalplaynum]) + newline);
t = t + (("puyodownmoveari=" + mypuyodownmoveari[mylocalplaynum]) + newline);
t = t + (("puyodownturnkind=" + mypuyodownturnkind[mylocalplaynum]) + newline);
t = t + (("puyostockground=" + mypuyostockground[mylocalplaynum]) + newline);
t = t + (("puyogroundsettime=" + mypuyogroundsettime[mylocalplaynum]) + newline);
t = t + (("puyogroundsettimetikuseki=" + mypuyogroundsettimetikuseki[mylocalplaynum]) + newline);
t = t + (("puyodownmovekyoka=" + mypuyodownmovekyoka[mylocalplaynum]) + newline);
t = t + (("puyorensaon=" + mypuyorensaon[mylocalplaynum]) + newline);
t = t + (("puyodeleteari=" + mypuyodeleteari[mylocalplaynum]) + newline);
t = t + (("puyodeletepuyoari=" + mypuyodeletepuyoari[mylocalplaynum]) + newline);
t = t + (("puyostockdeletebottom=" + mypuyostockdeletebottom[mylocalplaynum]) + newline);
t = t + (("puyodeletedowni=" + mypuyodeletedowni[mylocalplaynum]) + newline);
t = t + (("puyostockdeletehannicx=" + mypuyostockdeletehannicx[mylocalplaynum]) + newline);
t = t + (("puyostockdeletehannicy=" + mypuyostockdeletehannicy[mylocalplaynum]) + newline);
t = t + (("puyoyokokukind=" + mypuyoyokokukind) + newline);
t = t + (("puyoyokokulightsx=" + mypuyoyokokulightsx[mylocalplaynum]) + newline);
t = t + (("puyoyokokulightcx=" + mypuyoyokokulightcx[mylocalplaynum]) + newline);
t = t + (("puyoyokokulightsy=" + mypuyoyokokulightsy[mylocalplaynum]) + newline);
t = t + (("puyoyokokulightcy=" + mypuyoyokokulightcy[mylocalplaynum]) + newline);
t = t + (("puyorensacount=" + mypuyorensacount[mylocalplaynum]) + newline);
t = t + (("puyostockdeletecolornum=" + mypuyostockdeletecolornum[mylocalplaynum]) + newline);
t = t + (("puyodeletepuyonum=" + mypuyodeletepuyonum[mylocalplaynum]) + newline);
t = t + (("scoretotal=" + myscoretotal[mylocalplaynum]) + newline);
t = t + (("puyoyokokusubtotal=" + mypuyoyokokusubtotal[mylocalplaynum]) + newline);
t = t + (("puyoyokokutotal=" + mypuyoyokokutotal[mylocalplaynum]) + newline);
t = t + (("puyoyokokunum=" + mypuyoyokokunum[mylocalplaynum]) + newline);
t = t + (("timemilliseconds=" + mytimemilliseconds[mylocalplaynum]) + newline);
t = t + (("actionwaittime=" + myactionwaittime[mylocalplaynum]) + newline);
t = t + (("actionwaittitle=" + myactionwaittitle[mylocalplaynum]) + newline);
t = t + (("timeaction=" + mytimeaction[mylocalplaynum]) + newline);
this["mctrace" + mylocalplaynum].txt.text = t;
}
function subnethensuutyousa(mylocalname, mylocaln, mylocalp, mylocalc, mylocalk) {
if (this["mctrace" + mylocalp].txt.maxscroll >= 2) {
this["mctrace" + mylocalp].txt.text = "";
}
this["mctrace" + mylocalp].txt.text = this["mctrace" + mylocalp].txt.text + (((((((((("" + mylocalname) + " ") + mylocaln) + " ") + mylocalp) + " ") + mylocalc) + " ") + mylocalk) + newline);
}
Frame 11
function subreplaysavesyoki() {
myreplayon = 0;
var mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
objreplay.savekey[mylocalplaynum] = new Array();
objreplay.savekeytime[mylocalplaynum] = new Array();
objreplay.savekeynum[mylocalplaynum] = new Array();
objreplay.dokeynum[mylocalplaynum] = new Array();
objreplay.puyoojamadown[mylocalplaynum] = new Array();
objreplay.puyostarttime[mylocalplaynum] = new Array();
objreplay.puyoendtime[mylocalplaynum] = new Array();
var mylocali = 1;
while (mylocali <= 2) {
objreplay.puyodownx[mylocalplaynum][mylocali] = new Array();
objreplay.puyodowny[mylocalplaynum][mylocali] = new Array();
objreplay.puyodowncolor[mylocalplaynum][mylocali] = new Array();
mylocali++;
}
mylocalplaynum++;
}
}
function subreplaydosyoki() {
var mylocali;
var mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
myreplaydownendon[mylocalplaynum] = new Array();
mylocali = 0;
while (mylocali <= 1000) {
objreplay.dokeynum[mylocalplaynum][mylocali] = 0;
mylocali++;
}
mylocalplaynum++;
}
}
function subbtnreplaystart() {
myreplayon = 1;
myrulezenkesimode = objreplay.rulezenkesimode;
var mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
myrensachrmode[mylocalplaynum] = Math.floor(objreplay.rensachrmode[mylocalplaynum]);
submcrensachrmake(mylocalplaynum);
mylocalplaynum++;
}
subsetpuyodata();
subsetpuyodatamc();
subcountdownstart();
}
function subreplaypuyostart(mylocalplaynum) {
if (mylocalplaynum == 1) {
subreplaydosyoki();
}
}
function subreplaypuyodownstart(mylocalplaynum) {
if (myreplayon != 1) {
var mylocalcount = mypuyodowncount[mylocalplaynum];
var mytime = new Date();
var mylocaltime = (mytime.getTime() - mystartplaytime[mylocalplaynum]);
objreplay.puyostarttime[mylocalplaynum][mylocalcount] = mylocaltime;
}
}
function subevententerframereplay(mylocalplaynum) {
var mytime = new Date();
var mylocaltime = (mytime.getTime() - mystartplaytime[mylocalplaynum]);
var mylocalcount = mypuyodowncount[mylocalplaynum];
var mylocalnum = objreplay.dokeynum[mylocalplaynum][mylocalcount];
if (objreplay.savekeytime[mylocalplaynum][mylocalcount][mylocalnum] != undefined) {
if (objreplay.savekeytime[mylocalplaynum][mylocalcount][mylocalnum] >= objreplay.savekeytime[mylocalplaynum][mylocalcount][mylocalnum - 1]) {
if (mylocaltime > objreplay.savekeytime[mylocalplaynum][mylocalcount][mylocalnum]) {
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (myreplaydownendon[mylocalplaynum][mylocalcount] != 1) {
var mylocalkey = objreplay.savekey[mylocalplaynum][mylocalcount][mylocalnum];
this["mctrace" + mylocalplaynum].txt.text = this["mctrace" + mylocalplaynum].txt.text + (((((("event_" + mylocalplaynum) + "_") + mylocalcount) + "_") + mylocalkey) + "\r");
subreplayeventkeydowndo(mylocalplaynum, mylocalkey);
objreplay.dokeynum[mylocalplaynum][mylocalcount]++;
}
}
}
}
}
if (objreplay.puyoendtime[mylocalplaynum][mylocalcount] != undefined) {
if (mylocaltime > (int(objreplay.puyoendtime[mylocalplaynum][mylocalcount]) + 1000)) {
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (myreplaydownendon[mylocalplaynum][mylocalcount] != 1) {
subpuyodownendmodecheck(mylocalplaynum);
}
}
}
}
}
function subreplayeventkeydowndo(mylocalplaynum, mylocalkey) {
subcomeventkeydowndo(mylocalplaynum, mylocalkey);
}
function subreplayeventkeydownsave(mylocaln, mylocalplaynum, mylocalcount, mylocalkey) {
if (myreplayon != 1) {
trace((((("event_" + mylocalplaynum) + "_") + mylocalcount) + "_") + mylocalkey);
if (typeof(objreplay.savekey[mylocalplaynum][mylocalcount]) != "object") {
objreplay.savekey[mylocalplaynum][mylocalcount] = new Array();
objreplay.savekeytime[mylocalplaynum][mylocalcount] = new Array();
objreplay.savekeynum[mylocalplaynum][mylocalcount] = 0;
objreplay.dokeynum[mylocalplaynum][mylocalcount] = 0;
}
var mytime = new Date();
var mylocaltime = Math.floor(mytime.getTime() - mystartplaytime[mylocalplaynum]);
objreplay.savekey[mylocalplaynum][mylocalcount][objreplay.savekeynum[mylocalplaynum][mylocalcount]] = mylocalkey;
objreplay.savekeytime[mylocalplaynum][mylocalcount][objreplay.savekeynum[mylocalplaynum][mylocalcount]] = mylocaltime;
objreplay.savekeynum[mylocalplaynum][mylocalcount]++;
}
}
function subreplaypuyodowncolormakesave(mylocalplaynum, mylocalcount, mylocalc1, mylocalc2) {
if (myreplayon != 1) {
objreplay.puyodowncolor[mylocalplaynum][1][mylocalcount] = mylocalc1;
objreplay.puyodowncolor[mylocalplaynum][2][mylocalcount] = mylocalc2;
}
}
function subreplaypuyodowncolormakedo(mylocalplaynum, mylocalcount) {
var mylocali;
mylocali = 1;
while (mylocali <= 2) {
mypuyodowncolorcount[mylocalplaynum][mylocali][mylocalcount] = objreplay.puyodowncolor[mylocalplaynum][mylocali][mylocalcount];
mylocali++;
}
}
function subreplaypuyodownendsave(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2) {
objreplay.puyodownx[mylocalplaynum][1][mylocalcount] = mylocalx1;
objreplay.puyodowny[mylocalplaynum][1][mylocalcount] = mylocaly1;
objreplay.puyodownx[mylocalplaynum][2][mylocalcount] = mylocalx2;
objreplay.puyodowny[mylocalplaynum][2][mylocalcount] = mylocaly2;
var mytime = new Date();
var mylocaltime = (mytime.getTime() - mystartplaytime[mylocalplaynum]);
objreplay.puyoendtime[mylocalplaynum][mylocalcount] = mylocaltime;
}
function subreplaydownenddo(mylocalplaynum, mylocalcount) {
myreplaydownendon[mylocalplaynum][mylocalcount] = 1;
var mylocalx1 = objreplay.puyodownx[mylocalplaynum][1][mylocalcount];
var mylocaly1 = objreplay.puyodowny[mylocalplaynum][1][mylocalcount];
var mylocalc1 = objreplay.puyodowncolor[mylocalplaynum][1][mylocalcount];
var mylocalx2 = objreplay.puyodownx[mylocalplaynum][2][mylocalcount];
var mylocaly2 = objreplay.puyodowny[mylocalplaynum][2][mylocalcount];
var mylocalc2 = objreplay.puyodowncolor[mylocalplaynum][2][mylocalcount];
subcomdownenddo(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
}
function subreplaypuyoojamadownsave(mylocalplaynum, mylocalcount, mylocaldownnum) {
objreplay.puyoojamadown[mylocalplaynum][mylocalcount] = mylocaldownnum;
}
function subreplaypuyoojamadowndo(mylocalplaynum, mylocalcount) {
var mylocalojama;
mylocalojama = objreplay.puyoojamadown[mylocalplaynum][mylocalcount];
if (mylocalojama > 0) {
subpuyoojamadown(mylocalplaynum, mylocalojama, mylocalcount);
} else {
subpuyodownstart(mylocalplaynum);
}
}
function subreplayend(mylocalplaynumlose) {
if (myreplayon != 1) {
if ((myrulemode == "one") || (myrulemode == "two")) {
submcvisible("replay", 1);
} else if (myrulemode == "net") {
objreplay.playtime = myplaytime;
var mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
objreplay.rensachrmode[mylocalplaynum] = myrensachrmode[mylocalplaynum];
objreplay.zenkesimin[mylocalplaynum] = myzenkesimin[mylocalplaynum];
objreplay.scoretotal[mylocalplaynum] = myscoretotal[mylocalplaynum];
objreplay.puyodowncount[mylocalplaynum] = mypuyodowncount[mylocalplaynum];
objreplay.puyotigiricount[mylocalplaynum] = mypuyotigiricount[mylocalplaynum];
objreplay.puyorensacounthist[mylocalplaynum] = mypuyorensacounthist[mylocalplaynum];
objreplay.puyorensacountmax[mylocalplaynum] = mypuyorensacountmax[mylocalplaynum];
objreplay.playrating[mylocalplaynum] = myplayrating[mylocalplaynum];
objreplay.playname[mylocalplaynum] = myplayname[mylocalplaynum];
mylocalplaynum++;
}
objreplay.win = 3 - mylocalplaynumlose;
objreplay.rulepuyocolorojama = myrulepuyocolorojama;
objreplay.rulezenkesimode = myrulezenkesimode;
objreplay.rulepuyocolornum = myrulepuyocolornum;
objreplay.ver = myappnam;
}
} else {
myreplayon = 0;
}
}
function subreplayplayset() {
var mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
this["txtname" + mylocalplaynum].text = objreplay.playname[mylocalplaynum];
mylocalplaynum++;
}
}
stop();
var myreplayon;
var objreplay = new Object();
objreplay.savekey = new Array();
objreplay.savekey[1] = new Array();
objreplay.savekey[2] = new Array();
objreplay.savekeytime = new Array();
objreplay.savekeytime[1] = new Array();
objreplay.savekeytime[2] = new Array();
objreplay.savekeynum = new Array();
objreplay.savekeynum[1] = new Array();
objreplay.savekeynum[2] = new Array();
objreplay.dokeynum = new Array();
objreplay.dokeynum[1] = new Array();
objreplay.dokeynum[2] = new Array();
objreplay.puyodownx = new Array();
objreplay.puyodownx[1] = new Array();
objreplay.puyodownx[2] = new Array();
objreplay.puyodowny = new Array();
objreplay.puyodowny[1] = new Array();
objreplay.puyodowny[2] = new Array();
objreplay.puyodowncolor = new Array();
objreplay.puyodowncolor[1] = new Array();
objreplay.puyodowncolor[2] = new Array();
objreplay.puyoojamadown = new Array();
objreplay.puyoojamadown[1] = new Array();
objreplay.puyoojamadown[2] = new Array();
objreplay.puyostarttime = new Array();
objreplay.puyostarttime[1] = new Array();
objreplay.puyostarttime[2] = new Array();
objreplay.puyoendtime = new Array();
objreplay.puyoendtime[1] = new Array();
objreplay.puyoendtime[2] = new Array();
objreplay.rensachrmode = new Array();
objreplay.zenkesimin = new Array();
objreplay.scoretotal = new Array();
objreplay.puyodowncount = new Array();
objreplay.puyotigiricount = new Array();
objreplay.puyorensacounthist = new Array();
objreplay.puyorensacountmax = new Array();
objreplay.playrating = new Array();
objreplay.playname = new Array();
objreplay.win = 0;
objreplay.playtime = 0;
objreplay.rulepuyocolorojama = "";
objreplay.rulezenkesimode = "";
objreplay.rulepuyocolornum = "";
objreplay.ver = "";
myreplaydownendon = new Array();
myreplaydownendon[1] = new Array();
myreplaydownendon[2] = new Array();
subreplaysavesyoki();
gotoAndStop (13);
Frame 13
function subchatlog() {
var mylocali;
mylocali = 20;
while (mylocali >= 0) {
subgetchat("", this["mychattempname" + mylocali], ((this["mychattempkomento" + mylocali] + " [ ") + this["mychattempdateview" + mylocali]) + " ]");
mylocali--;
}
}
function subfirstmemberview() {
mcmember.txtmemberh.htmlText = "<textformat tabstops='[30,160,200,230,260,290,330]'>";
mcmember.txtmemberh.htmlText = mcmember.txtmemberh.htmlText + "Node\tName\tRating\tWin\tLose\t\u9023\u52DD\t\u9023\u9396Ave\tmsg";
mcmember.txtmemberh.htmlText = mcmember.txtmemberh.htmlText + "</textformat>";
mymembern = new Array();
mcmember.txtmember.htmlText = "<textformat tabstops='[30,160,200,230,260,290,330]'>";
if (myselfurl == "") {
mcmember.txtmember.htmlText = mcmember.txtmember.htmlText + ((((((((((((((myselfn + "\t") + myselfname) + "\t") + myselfrating) + "\t") + myselfwintimes) + "\t") + myselflosetimes) + "\t") + myselfrensyou) + "\t") + myselfrensaave) + "\t") + myselfkomento);
} else {
mcmember.txtmember.htmlText = mcmember.txtmember.htmlText + (((((((((((((((((myselfn + "\t") + "<font color='#0000ff'><u><a href='http://") + myselfurl) + "' target='_blank'>") + myselfname) + "</a></u></font>\t") + myselfrating) + "\t") + myselfwintimes) + "\t") + myselflosetimes) + "\t") + myselfrensyou) + "\t") + myselfrensaave) + "\t") + myselfkomento);
}
subfirsttempview();
}
function subfirsttempview() {
mctemp.txtmemberh.htmlText = "<textformat tabstops='[130,180,230]'>";
mctemp.txtmemberh.htmlText = mctemp.txtmemberh.htmlText + "Name\tTempWin\tTempLose";
mctemp.txtmemberh.htmlText = mctemp.txtmemberh.htmlText + "</textformat>";
}
function subtempdataset(mylocalmsg) {
var mylocalwinp = subgetmidstr(mylocalmsg, "Win\u3000", "P\u3000[ ");
var mylocalplayname = new Array();
var mylocalwinon;
var mylocalloseon;
mylocalplayname[1] = subgetmidstr(mylocalmsg, "[ 1P ", "\u3000MAX");
mylocalplayname[2] = subgetmidstr(mylocalmsg, "\u30002P ", "\u3000MAX");
mylocalwinplayname = mylocalplayname[mylocalwinp];
mylocalloseplayname = mylocalplayname[3 - mylocalwinp];
mctemp.txtmember.htmlText = "<textformat tabstops='[130,180,230]'>";
for (var i in mytempmembername) {
if (mytempmembername[i] == mylocalwinplayname) {
mylocalwinon = 1;
}
if (mytempmembername[i] == mylocalloseplayname) {
mylocalloseon = 1;
}
}
if (mylocalwinon != 1) {
mytempmembername.unshift(mylocalwinplayname);
mytempmemberwintimes.unshift(0);
mytempmemberlosetimes.unshift(0);
}
if (mylocalloseon != 1) {
mytempmembername.unshift(mylocalloseplayname);
mytempmemberwintimes.unshift(0);
mytempmemberlosetimes.unshift(0);
}
for (var i in mytempmembername) {
if (mytempmembername[i] == mylocalwinplayname) {
mytempmemberwintimes[i]++;
}
if (mytempmembername[i] == mylocalloseplayname) {
mytempmemberlosetimes[i]++;
}
}
subtempview();
}
function subtempview() {
var mylocaltemp;
var mylocalrow;
for (var i in mytempmembername) {
if (mytempmemberwintimes[i] == undefined) {
mytempmemberwintimes[i] = 0;
}
if (mytempmemberlosetimes[i] == undefined) {
mytempmemberlosetimes[i] = 0;
}
mylocalrow = ((((("<font color='#000000'>" + mytempmembername[i]) + "</font>\t") + mytempmemberwintimes[i]) + "\t") + mytempmemberlosetimes[i]) + "\r";
if (myselfname == mytempmembername[i]) {
mylocaltemp = mylocalrow + mylocaltemp;
} else {
mylocaltemp = mylocaltemp + mylocalrow;
}
}
mctemp.txtmember.htmlText = mctemp.txtmember.htmlText + mylocaltemp;
}
function subdefaulttempview() {
mytempmembername = new Array();
mytempmemberwintimes = new Array();
mytempmemberlosetimes = new Array();
mctemp.txtmember.htmlText = "";
}
function subsendid(mylocaln, mylocalid, mylocalname, mylocalrating, mylocalwintimes, mylocallosetimes, mylocalkomento, mylocalrensyou, mylocalrensaave, mylocalurl) {
var mylocalstr;
if (myselfpass != "clear") {
mylocalstr = ((((((((((((((((((((((("<I n='" + mylocaln) + "' i='") + mylocalid) + "' na='") + mylocalname) + "' ra='") + mylocalrating) + "'w='") + mylocalwintimes) + "' l='") + mylocallosetimes) + "' k='") + mylocalkomento) + "' re='") + mylocalrensyou) + "' ren='") + mylocalrensaave) + "' u='") + mylocalurl) + "' save='SI' key='") + mylocaln) + "' self='") + mylocaln) + "'/>\n";
subsendstr(mylocalstr);
}
}
function subgetid(mylocaln, mylocalid, mylocalname, mylocalrating, mylocalwintimes, mylocallosetimes, mylocalkomento, mylocalrensyou, mylocalrensaave, mylocalurl) {
if (mymembern[mylocaln] == undefined) {
mymembern[mylocaln] = mylocaln;
mymemberid[mylocaln] = mylocalid;
mymembername[mylocaln] = mylocalname;
if (myselfn != mylocaln) {
if (mylocalurl == "") {
mcmember.txtmember.htmlText = mcmember.txtmember.htmlText + (((((((((((((((mylocaln + "\t") + "<font color='#000000'>") + mylocalname) + "</font>\t") + mylocalrating) + "\t") + mylocalwintimes) + "\t") + mylocallosetimes) + "\t") + mylocalrensyou) + "\t") + mylocalrensaave) + "\t") + mylocalkomento);
} else {
mcmember.txtmember.htmlText = mcmember.txtmember.htmlText + (((((((((((((((((mylocaln + "\t") + "<font color='#0000ff'><u><a href='http://") + mylocalurl) + "' target='_blank'>") + mylocalname) + "</a></u></font>\t") + mylocalrating) + "\t") + mylocalwintimes) + "\t") + mylocallosetimes) + "\t") + mylocalrensyou) + "\t") + mylocalrensaave) + "\t") + mylocalkomento);
}
}
}
}
function subtxtstatus() {
txtstatus.htmlText = ("node:" + myselfn) + newline;
txtstatus.htmlText = txtstatus.htmlText + (("id:" + myselfid) + newline);
txtstatus.htmlText = txtstatus.htmlText + (((((((((("name:" + myselfname) + newline) + "rating:") + myselfrating) + newline) + "win:") + myselfwintimes) + newline) + "lose:") + myselflosetimes);
}
function submcmemberview() {
mcchat._x = 500;
mcmember._x = 10;
mctemp._x = 500;
submcvisible("chat", 1);
submcvisible("member", 0);
submcvisible("temp", 1);
}
function submcchatview() {
mcchat._x = 10;
mcmember._x = 500;
mctemp._x = 500;
submcvisible("chat", 0);
submcvisible("member", 1);
submcvisible("temp", 1);
}
function submctempview() {
mcchat._x = 500;
mcmember._x = 500;
mctemp._x = 10;
submcvisible("chat", 1);
submcvisible("member", 1);
submcvisible("temp", 0);
}
function subsendchat(mylocaln, mylocalname, mylocalset) {
if (myselfpass == "clear") {
mylocalname = "";
}
mylocalstr = ((((("<C n='" + mylocaln) + "' name='") + mylocalname) + "'set='") + mylocalset) + "'/>\n";
subsendstr(mylocalstr);
this.loadVariables([((((("chat.php?mode=write&room=" + myroomnum) + "&name=") + escape(mylocalname)) + "&msg=") + escape(mylocalset)) + "&"]);
}
function subgetchat(mylocaln, mylocalname, mylocalset) {
var mylocali;
var mylocalurl;
var mylocalchatok = 0;
if (myselfname.indexOf("[\u6BBA\u4F10]", 0) != -1) {
if (mylocalname == "") {
mylocalchatok = 1;
}
} else {
mylocalchatok = 1;
}
if (mylocalset.substr(0, 3) == "URL") {
mylocalset = mylocalset.substr(4, mylocalset.length - 4);
mylocali = 0;
mylocalurl = mylocalset;
while (mylocali <= mylocalset.length) {
mylocali = mylocali + 1;
if ((mylocalset.substr(mylocali, 1) == " ") || (mylocalset.substr(mylocali, 1) == "\u3000")) {
mylocalurl = mylocalset.substr(0, mylocali);
mylocalset = mylocalset.substr(mylocali, mylocalset.length - mylocali);
mylocali = mylocalset.length + 1;
}
}
if (mylocalurl == mylocalset) {
mylocalset = "";
}
trace(mylocalurl);
trace(mylocalset);
mylocalset = (((("<font color='#0000ff'><u>http://<a href='http://" + mylocalurl) + "' target='_blank'>") + mylocalurl) + "</a></u></font>") + mylocalset;
}
mylocalset = subreplayreplacelink(mylocalset);
if (mylocalname == "") {
if (mylocalset.indexOf("\u25A1") == 0) {
subtempdataset(mylocalset);
}
}
if (myrulemode != "net") {
subgetchatview((mylocalname + ">") + mylocalset, mylocalchatok);
} else if ((mybattleon == 1) && (myselfn != mylocaln)) {
mychatstock = (((mychatstock + mylocalname) + ">") + mylocalset) + newline;
} else {
subgetchatstock(mychatstock, mylocalchatok);
subgetchatview((mylocalname + ">") + mylocalset, mylocalchatok);
}
}
function subgetchatview(mylocalvalue, mylocalchatok) {
if (mylocalchatok == 1) {
if (mcchat.txtget.scroll == mcchat.txtget.maxscroll) {
mcchat.txtget.htmlText = mcchat.txtget.htmlText + mylocalvalue;
mcchat.txtget.scroll = mcchat.txtget.maxscroll;
} else {
mcchat.txtget.htmlText = mcchat.txtget.htmlText + mylocalvalue;
}
}
}
function subgetchatstock(mylocalvalue, mylocalchatok) {
var mylocalarray = new Array();
var mylocali;
mylocalarray = mylocalvalue.split(newline);
mylocaln = "";
mylocali = 0;
while (mylocali < mylocalarray.length) {
trace(mylocalarray[mylocali]);
subgetchatview(mylocalarray[mylocali], mylocalchatok);
mylocali++;
}
mychatstock = "";
}
function subreplayreplacelink(mylocalset) {
var mylocalstr;
var mylocalre;
var mylocalid;
var mylocali;
var mylocalloop;
var mylocalstart;
var mylocalfrom = 0;
mylocalloop = 1;
while (mylocalloop <= 5) {
if (mylocalstart != undefined) {
mylocalfrom = mylocalstart + 2;
}
trace(mylocalfrom);
if (mylocalset.indexOf("re", mylocalfrom) != -1) {
mylocalstart = mylocalset.indexOf("re", mylocalfrom);
mylocali = 0;
while (mylocali <= 20) {
mylocalstr = mylocalset.substr((mylocalstart + 2) + mylocali, 1);
if ((mylocalstr >= "0") && (mylocalstr <= "9")) {
mylocalre = mylocalset.substr(mylocalstart, (mylocali + 1) + 2);
mylocalid = mylocalset.substr(mylocalstart + 2, mylocali + 1);
} else {
break;
}
mylocali++;
}
}
mylocalloop++;
}
if (length(mylocalre) > 0) {
mylocalset = subfilter2(mylocalset, mylocalre, ((("<font color='#0000ff'><u><a href='./?mode=replay&id=" + mylocalid) + "' target='_blank'>") + mylocalre) + "</a></u></font>");
}
return(mylocalset);
}
function subchatset() {
var mylocali;
var mylocalset;
var mylocalsetp;
var mylocaltime;
mylocaltime = new Date();
mylocalset = "";
if ((mychatsetgettime + 3000) <= mylocaltime.getTime()) {
mylocalset = mcchat.txtset.text;
mychatsetgettime = mylocaltime.getTime();
}
if (mylocalset != "") {
mylocalset = subfilter(mylocalset);
mcchat.txtset.text = "";
if (mylocalset.substr(0, 7) == "http://") {
mylocalset = "URL " + mylocalset.substr(7, mylocalset.length);
}
subsendchat(myselfn, myselfname, mylocalset);
}
}
function subchatreset() {
mcchat.txtset.text = "";
}
function subchatlogreset() {
mcchat.txtget.htmlText = "";
}
stop();
var mychattempname0;
var mychattempname1;
var mychattempname2;
var mychattempname3;
var mychattempname4;
var mychattempname5;
var mychattempname6;
var mychattempname7;
var mychattempname8;
var mychattempname9;
var mychattempname10;
var mychattempname11;
var mychattempname12;
var mychattempname13;
var mychattempname14;
var mychattempname15;
var mychattempname16;
var mychattempname17;
var mychattempname18;
var mychattempname19;
var mychattempname20;
var mychattempkomento0;
var mychattempkomento1;
var mychattempkomento2;
var mychattempkomento3;
var mychattempkomento4;
var mychattempkomento5;
var mychattempkomento6;
var mychattempkomento7;
var mychattempkomento8;
var mychattempkomento9;
var mychattempkomento10;
var mychattempkomento11;
var mychattempkomento12;
var mychattempkomento13;
var mychattempkomento14;
var mychattempkomento15;
var mychattempkomento16;
var mychattempkomento17;
var mychattempkomento18;
var mychattempkomento19;
var mychattempkomento20;
var mychattempdateview0;
var mychattempdateview1;
var mychattempdateview2;
var mychattempdateview3;
var mychattempdateview4;
var mychattempdateview5;
var mychattempdateview6;
var mychattempdateview7;
var mychattempdateview8;
var mychattempdateview9;
var mychattempdateview10;
var mychattempdateview11;
var mychattempdateview12;
var mychattempdateview13;
var mychattempdateview14;
var mychattempdateview15;
var mychattempdateview16;
var mychattempdateview17;
var mychattempdateview18;
var mychattempdateview19;
var mychattempdateview20;
var mychatsetgettime;
var mychatstock;
mychatstock = "";
gotoAndStop (17);
Frame 17
function subevententerframeflashread() {
txtloadflashpar.text = newline;
txtloadflashpar.text = txtloadflashpar.text + (Math.floor((this.getBytesLoaded() / this.getBytesTotal()) * 100) + "%");
if (this.getBytesLoaded() == this.getBytesTotal()) {
gotoAndStop (20);
}
}
stop();
txtflashread.text = "Copyright (C) a2949 Filename puyofura\n";
txtflashread.text = txtflashread.text + "FlashLoad\n";
Instance of Symbol 273 MovieClip in Frame 17
onClipEvent (enterFrame) {
_parent.subevententerframeflashread();
}
Frame 20
stop();
var myserveraddr;
var mymcchrview;
var mychrsound;
var mypuyodownsound;
var mymodecolornum;
var mymodezenkesi;
var mymodecolorojama;
var myaccessno;
mySharedObject = SharedObject.getLocal("puyo", "/");
myserveraddr = mySharedObject.data.myserveraddr;
myselfid = mySharedObject.data.myselfid;
myselfname0 = mySharedObject.data.myselfname0;
myselfpass = mySharedObject.data.myselfpass;
myselfkomento = mySharedObject.data.myselfkomento;
myselfurl = mySharedObject.data.myselfurl;
myselfadmin = mySharedObject.data.myselfadmin;
myquality = mySharedObject.data.myquality;
myrensachrmodeself[1] = mySharedObject.data.myrensachrmodeself1;
myrensachrmodeself[2] = mySharedObject.data.myrensachrmodeself2;
mykeyconfigdown[1] = mySharedObject.data.mykeyconfigdown1;
mykeyconfigright[1] = mySharedObject.data.mykeyconfigright1;
mykeyconfigleft[1] = mySharedObject.data.mykeyconfigleft1;
mykeyconfigrightturn[1] = mySharedObject.data.mykeyconfigrightturn1;
mykeyconfigleftturn[1] = mySharedObject.data.mykeyconfigleftturn1;
mykeyconfigdown[2] = mySharedObject.data.mykeyconfigdown2;
mykeyconfigright[2] = mySharedObject.data.mykeyconfigright2;
mykeyconfigleft[2] = mySharedObject.data.mykeyconfigleft2;
mykeyconfigrightturn[2] = mySharedObject.data.mykeyconfigrightturn2;
mykeyconfigleftturn[2] = mySharedObject.data.mykeyconfigleftturn2;
mymcchrview = mySharedObject.data.mymcchrview;
mychrsound = mySharedObject.data.mychrsound;
mypuyodownsound = mySharedObject.data.mypuyodownsound;
mymodecolornum = mySharedObject.data.mymodecolornum;
mymodezenkesi = mySharedObject.data.mymodezenkesi;
mymodecolorojama = mySharedObject.data.mymodecolorojama;
mypushinterval = mySharedObject.data.mypushinterval;
mypassclear[1] = mySharedObject.data.mypassclear1;
mypassclear[2] = mySharedObject.data.mypassclear2;
myaccessno = mySharedObject.data.myaccessno;
if (myserveraddr == undefined) {
myserveraddr = "a2949.no-ip.info";
}
if (myquality == undefined) {
myquality = 1;
}
if (myrensachrmodeself[1] == undefined) {
myrensachrmodeself[1] = 1;
myrensachrmodeself[2] = 1;
}
if (mykeyconfigdown[1] == undefined) {
mykeyconfigdown[1] = 40;
mykeyconfigright[1] = 39;
mykeyconfigleft[1] = 37;
mykeyconfigrightturn[1] = "X".charCodeAt();
mykeyconfigleftturn[1] = "Z".charCodeAt();
mykeyconfigdown[2] = 40;
mykeyconfigright[2] = 39;
mykeyconfigleft[2] = 37;
mykeyconfigrightturn[2] = "X".charCodeAt();
mykeyconfigleftturn[2] = "Z".charCodeAt();
}
if (mymcchrview == undefined) {
mymcchrview = 1;
}
if (mychrsound == undefined) {
mychrsound = 1;
}
if (mypuyodownsound == undefined) {
mypuyodownsound = 0;
}
if (mymodecolornum == undefined) {
mymodecolornum = 4;
}
if (mymodezenkesi == undefined) {
mymodezenkesi = 1;
}
if (mymodecolorojama == undefined) {
mymodecolorojama = 0;
}
if (mypushinterval == undefined) {
mypushinterval = 150;
}
if (mypassclear[1] == undefined) {
mypassclear[1] = 0;
mypassclear[2] = 0;
}
if (myaccessno == undefined) {
myaccessno = 0;
}
subquality();
gotoAndStop (22);
Frame 22
stop();
var myserverport;
var myappnam;
var mycheckconnect;
myserverport = "8080";
myappnam = "puyo142_1";
gotoAndStop (25);
Frame 25
function next_version() {
if (myreplayhtml == 1) {
myappmode = "replay";
myrulemode = "two";
myreplayon = 1;
this.gotoAndStop("replayread");
} else {
this.gotoAndStop("copyright");
}
}
if (myappnam == myappnamhtml) {
next_version();
} else {
if (mykaihatu == 1) {
next_version();
}
this.txtverold.text = "\u30D0\u30FC\u30B8\u30E7\u30F3UP\u3057\u307E\u3057\u305F\u3002\u30AD\u30E3\u30C3\u30B7\u30E5\u3092\u6D88\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30AD\u30E3\u30C3\u30B7\u30E5\u306E\u6D88\u3057\u65B9\uFF1A\u30C4\u30FC\u30EB/\u30A4\u30F3\u30BF\u30FC\u30CD\u30C3\u30C8\u30AA\u30D7\u30B7\u30E7\u30F3/\u30D5\u30A1\u30A4\u30EB\u306E\u524A\u9664";
}
Frame 27
function subeventkeydowncopyright() {
gotoAndStop (29);
}
function subeventmouseupcopyright() {
gotoAndStop (29);
}
stop();
Instance of Symbol 273 MovieClip in Frame 27
onClipEvent (keyDown) {
_parent.subeventkeydowncopyright();
}
onClipEvent (mouseUp) {
_parent.subeventmouseupcopyright();
}
Frame 29
function subeventkeydownpv() {
gotoAndStop (33);
}
function subeventmouseuppv() {
gotoAndStop (33);
}
stop();
Instance of Symbol 273 MovieClip in Frame 29
onClipEvent (keyDown) {
_parent.subeventkeydownpv();
}
onClipEvent (mouseUp) {
_parent.subeventmouseuppv();
}
Frame 33
function subeventkeydowntitle() {
var mylocalcode;
var mylocalstring;
mylocalcode = Key.getCode();
mylocalstring = String.fromCharCode(mylocalcode);
if (Key.isDown(40)) {
if (myfocustitle < mymcbtnnumtitle) {
myfocustitle = myfocustitle + 1;
subfocustitle();
}
}
if (Key.isDown(38)) {
if (myfocustitle > 1) {
myfocustitle = myfocustitle - 1;
subfocustitle();
}
}
if (Key.isDown(13)) {
subbtnonchecktitle();
}
if (Key.isDown("Z".charCodeAt())) {
subbtnonchecktitle();
}
}
function subeventmousedowntitle() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumtitle) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocustitle = mylocali;
subfocustitle();
}
mylocali++;
}
}
function subeventmouseuptitle() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumtitle) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocustitle = mylocali;
subbtnonchecktitle();
}
mylocali++;
}
}
function subfocustitle() {
var mylocali;
mylocali = 1;
while (mylocali <= mymcbtnnumtitle) {
this["mcbtnfocus" + mylocali].mcbtn.gotoAndStop("stop");
mylocali++;
}
this["mcbtnfocus" + myfocustitle].mcbtn.gotoAndStop("focus");
}
function subbtnonchecktitle() {
this["mcbtnfocus" + myfocustitle].mcbtn.gotoAndPlay("ok");
this["mcbtnfocus" + myfocustitle].mcbtn.gotoAndPlay("focus");
subbtnontitle();
}
function subbtnontitle() {
var mylocalroomnum;
mylocalroomnum = myfocustitle;
if (mylocalroomnum == 1) {
myserveraddr = txtserveraddr.text;
myrulemode = "net";
gotoAndStop (44);
} else if (mylocalroomnum == 2) {
myrulemode = "two";
gotoAndStop (59);
} else if (mylocalroomnum == 3) {
myrulemode = "one";
gotoAndStop (59);
} else if (mylocalroomnum == 4) {
gotoAndStop (35);
}
}
stop();
var mylobbytop = "1";
txtappnam.text = "ver " + myappnam;
var myfocustitle;
var mymcbtnnumtitle;
var mymcvisible = new Array();
mymcbtnnumtitle = 4;
mylocali = 1;
while (mylocali <= mymcbtnnumtitle) {
mymcvisible[mylocali] = 1;
mylocali++;
}
mylocali = 0;
myfocustitle = 1;
subfocustitle();
txtserveraddr.text = myserveraddr;
trace(myserveraddr);
Instance of Symbol 332 MovieClip "mcbgmtitle" in Frame 33
/* no clip actions */
Instance of Symbol 273 MovieClip in Frame 33
onClipEvent (keyDown) {
_parent.subeventkeydowntitle();
}
onClipEvent (mouseDown) {
_parent.subeventmousedowntitle();
}
onClipEvent (mouseUp) {
_parent.subeventmouseuptitle();
}
Frame 35
function subeventkeydownoption() {
var mylocalcode;
var mylocalstring;
var mylocali;
var mylocalari;
mylocalcode = Key.getCode();
mylocalstring = String.fromCharCode(mylocalcode);
if (Key.isDown(40)) {
if (myfocusoption < mymcbtnnumoption) {
mylocali = 1;
while (mylocali <= ((mymcbtnnumoption - myfocusoption) + 1)) {
if (mymcvisible[myfocusoption + mylocali] == 1) {
myfocusoption = myfocusoption + mylocali;
mylocalari = 1;
mylocali = (mymcbtnnumoption - myfocusoption) + 1;
}
mylocali++;
}
if (mylocalari == 1) {
subfocusoption();
}
}
}
if (Key.isDown(38)) {
mylocali = 1;
while (mylocali <= (myfocusoption - 1)) {
if (mymcvisible[myfocusoption - mylocali] == 1) {
myfocusoption = myfocusoption - mylocali;
mylocalari = 1;
mylocali = myfocusoption - 1;
}
mylocali++;
}
if (mylocalari == 1) {
subfocusoption();
}
}
if (Key.isDown(13)) {
subbtnoncheckoption();
}
if (Key.isDown("Z".charCodeAt())) {
subbtnoncheckoption();
}
}
function subeventmousedownoption() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumoption) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocusoption = mylocali;
subfocusoption();
}
mylocali++;
}
}
function subeventmouseupoption() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumoption) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocusoption = mylocali;
subbtnoncheckoption();
}
mylocali++;
}
}
function subfocusoption() {
var mylocali;
mylocali = 1;
while (mylocali <= mymcbtnnumoption) {
this["mcbtnfocus" + mylocali].mcbtn.gotoAndStop("stop");
mylocali++;
}
this["mcbtnfocus" + myfocusoption].mcbtn.gotoAndStop("focus");
var mylocalroomnum;
mylocalroomnum = myfocusoption;
subexpoption(mylocalroomnum);
}
function subbtnoncheckoption() {
this["mcbtnfocus" + myfocusoption].mcbtn.gotoAndPlay("ok");
this["mcbtnfocus" + myfocusoption].mcbtn.gotoAndPlay("focus");
subbtnonoption();
}
function subbtnonoption() {
var mylocalroomnum;
mylocalroomnum = myfocusoption;
if (mylocalroomnum == 1) {
myquality++;
if (myquality == 4) {
myquality = 1;
}
subquality();
mySharedObject.data.myquality = myquality;
} else if (mylocalroomnum == 2) {
gotoAndStop (38);
} else if (mylocalroomnum == 3) {
mylocalplaynum = 1;
gotoAndStop (40);
} else if (mylocalroomnum == 4) {
mylocalplaynum = 2;
gotoAndStop (40);
} else if (mylocalroomnum == 5) {
mymcchrview++;
if (mymcchrview == 2) {
mymcchrview = 0;
}
submcchrviewonoff();
mySharedObject.data.mymcchrview = mymcchrview;
} else if (mylocalroomnum == 6) {
mychrsound++;
if (mychrsound == 2) {
mychrsound = 0;
}
subchrsoundonoff();
mySharedObject.data.mychrsound = mychrsound;
} else if (mylocalroomnum == 7) {
mypuyodownsound++;
if (mypuyodownsound == 2) {
mypuyodownsound = 0;
}
subpuyodownsoundonoff();
mySharedObject.data.mypuyodownsound = mypuyodownsound;
} else if (mylocalroomnum == 8) {
mymodecolornum++;
if (mymodecolornum == 7) {
mymodecolornum = 1;
}
submodecolornum();
mySharedObject.data.mymodecolornum = mymodecolornum;
} else if (mylocalroomnum == 9) {
mymodezenkesi++;
if (mymodezenkesi == 2) {
mymodezenkesi = 0;
}
submodezenkesi();
mySharedObject.data.mymodezenkesi = mymodezenkesi;
} else if (mylocalroomnum == 10) {
mymodecolorojama++;
if (mymodecolorojama == 2) {
mymodecolorojama = 0;
}
submodecolorojama();
mySharedObject.data.mymodecolorojama = mymodecolorojama;
} else if (mylocalroomnum == 11) {
mypushinterval = mypushinterval + 25;
if (mypushinterval > 1000) {
mypushinterval = 25;
}
subpushinterval();
mySharedObject.data.mypushinterval = mypushinterval;
} else if (mylocalroomnum == 12) {
gotoAndStop (33);
}
}
function subexpoption(mylocalroomnum) {
if (mylocalroomnum == 1) {
txtexp.text = "\u753B\u8CEA\u306E\u8ABF\u6574\u3092\u3057\u307E\u3059\u3002\u300C\u9AD8\u3001\u4E2D\u3001\u4F4E\u300D\u3067\u8A2D\u5B9A\u53EF\u80FD\u3067\u3059\u3002";
} else if (mylocalroomnum == 2) {
txtexp.text = "1P\u30012P\u3068\u3082\u306B\u3053\u3061\u3089\u3067\u30D7\u30EC\u30A4\u30B3\u30F3\u30C8\u30ED\u30FC\u30E9\u5BFE\u5FDC\u30AD\u30FC\u306E\u8A2D\u5B9A\u304C\u53EF\u80FD\u3067\u3059\u3002";
} else if (mylocalroomnum == 3) {
txtexp.text = "1P\u30AD\u30E3\u30E9\u9078\u629E\u306F\u3053\u3061\u3089\u3002";
} else if (mylocalroomnum == 4) {
txtexp.text = "2P\u30AD\u30E3\u30E9\u9078\u629E\u306F\u3053\u3061\u3089\u3002";
} else if (mylocalroomnum == 5) {
txtexp.text = "\u30AD\u30E3\u30E9\u8868\u793A\u306E\u6709\u7121\u3002";
} else if (mylocalroomnum == 6) {
txtexp.text = "\u30AD\u30E3\u30E9\u58F0\u306E\u6709\u7121\u3002";
} else if (mylocalroomnum == 7) {
txtexp.text = "\u843D\u4E0B\u97F3\u306E\u6709\u7121\u3002";
} else if (mylocalroomnum == 8) {
txtexp.text = "\u30ED\u30FC\u30AB\u30EB\u5BFE\u6226\u3084\u300C\u3068\u3053\u300D\u5BFE\u6226\u3067\u306E\u8272\u7A2E\u8A2D\u5B9A";
} else if (mylocalroomnum == 9) {
txtexp.text = "\u30ED\u30FC\u30AB\u30EB\u5BFE\u6226\u3084\u300C\u3068\u3053\u300D\u5BFE\u6226\u3067\u306E\u5168\u6D88\u3057\u6709\u7121\u306E\u8A2D\u5B9A";
} else if (mylocalroomnum == 10) {
txtexp.text = "\u30ED\u30FC\u30AB\u30EB\u5BFE\u6226\u3084\u300C\u3068\u3053\u300D\u5BFE\u6226\u3067\u306E\u8272\u7A2E\u306B\u304A\u3058\u3083\u307E\u3077\u3088\u3092\u8FFD\u52A0\u3059\u308B\u6709\u7121\u306E\u8A2D\u5B9A";
} else if (mylocalroomnum == 11) {
txtexp.text = "\u5DE6\u53F3\u79FB\u52D5\u306E\u62BC\u3057\u3063\u3071\u306A\u3057\u304C\u6709\u52B9\u306B\u306A\u308B\u9593\u9694\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u6570\u5024\u3092\u5927\u304D\u304F\u3059\u308B\u307B\u3069\u30B9\u30D9\u30EA\u3092\u6291\u3048\u308B\u3053\u3068\u304C\u51FA\u6765\u307E\u3059\u3002\uFF08\u30C7\u30D5\u30A9\u30EB\u30C80.1\u79D2\uFF09";
} else if (mylocalroomnum == 12) {
txtexp.text = "\u30BF\u30A4\u30C8\u30EB\u753B\u9762\u3078\u623B\u308A\u307E\u3059\u3002";
}
}
function submcchrviewonoff() {
if ((mymcchrview == 0) || (mymcchrview == undefined)) {
txtchrview.text = "OFF";
} else if (mymcchrview == 1) {
txtchrview.text = "ON";
}
}
function subchrsoundonoff() {
if ((mychrsound == 0) || (mychrsound == undefined)) {
txtchrsound.text = "OFF";
} else if (mychrsound == 1) {
txtchrsound.text = "ON";
}
}
function subpuyodownsoundonoff() {
if ((mypuyodownsound == 0) || (mypuyodownsound == undefined)) {
txtpuyodownsound.text = "OFF";
} else if (mypuyodownsound == 1) {
txtpuyodownsound.text = "ON";
}
}
function submodecolornum() {
txtmodecolornum.text = mymodecolornum + "\u8272";
}
function submodezenkesi() {
if ((mymodezenkesi == 0) || (mymodezenkesi == undefined)) {
txtmodezenkesi.text = "OFF";
} else if (mymodezenkesi == 1) {
txtmodezenkesi.text = "ON";
}
}
function submodecolorojama() {
if ((mymodecolorojama == 0) || (mymodecolorojama == undefined)) {
txtmodecolorojama.text = "OFF";
} else if (mymodecolorojama == 1) {
txtmodecolorojama.text = "ON";
}
}
function subpushinterval() {
if (mypushinterval == 1000) {
txtpushinterval.text = "OFF";
} else {
txtpushinterval.text = (mypushinterval / 1000) + "\u79D2";
}
}
stop();
var mylocalplaynum;
subquality();
submcchrviewonoff();
subchrsoundonoff();
subpuyodownsoundonoff();
submodecolornum();
submodezenkesi();
submodecolorojama();
subpushinterval();
var mylocali;
mylocali = 1;
while (mylocali <= 6) {
this["mcchr1_" + mylocali]._y = -300;
this["mcchr2_" + mylocali]._y = -300;
this["mcchr1_" + mylocali]._x = 240;
this["mcchr2_" + mylocali]._x = 240;
this["mcchr1_" + mylocali]._yscale = 50;
this["mcchr2_" + mylocali]._yscale = 50;
this["mcchr1_" + mylocali]._xscale = 50;
this["mcchr2_" + mylocali]._xscale = 50;
if (myrensachrmodeself[1] == mylocali) {
this["mcchr1_" + mylocali]._y = mcbtnfocus3._y + (mcbtnfocus3._height / 2);
}
if (myrensachrmodeself[2] == mylocali) {
this["mcchr2_" + mylocali]._y = mcbtnfocus4._y + (mcbtnfocus4._height / 2);
}
mylocali++;
}
var myfocusoption;
var mymcbtnnumoption;
var mymcvisible = new Array();
mymcbtnnumoption = 12;
mylocali = 1;
while (mylocali <= mymcbtnnumoption) {
mymcvisible[mylocali] = 1;
mylocali++;
}
mylocali = 0;
myfocusoption = 1;
subfocusoption();
Instance of Symbol 273 MovieClip in Frame 35
onClipEvent (keyDown) {
_parent.subeventkeydownoption();
}
onClipEvent (mouseDown) {
_parent.subeventmousedownoption();
}
onClipEvent (mouseUp) {
_parent.subeventmouseupoption();
}
Frame 38
function subeventmousedownkeyconfig() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumkeyconfig) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocuskeyconfig = mylocali;
subfocuskeyconfig();
}
mylocali++;
}
}
function subfocuskeyconfig() {
var mylocali;
mylocali = 1;
while (mylocali <= mymcbtnnumkeyconfig) {
this["mcbtnfocus" + mylocali].gotoAndStop("stop");
mylocali++;
}
this["mcbtnfocus" + myfocuskeyconfig].gotoAndStop("focus");
}
function subeventkeydownkeyconfig() {
var mylocalcode;
mylocalcode = Key.getCode();
if (mylocalcode != 0) {
subenterkeyconfig(mylocalcode);
myfocuskeyconfig = myfocuskeyconfig + 1;
if (myfocuskeyconfig == 11) {
myfocuskeyconfig = 1;
}
subfocuskeyconfig();
}
if (mylocalcode == 13) {
gotoAndStop (46);
}
if (Key.isDown(46)) {
gotoAndStop (46);
}
}
function subenterkeyconfig(mylocalcode) {
var mylocalstr;
mylocalstr = subcodestring(mylocalcode);
if (myfocuskeyconfig == 1) {
mykeyconfigdownsub[1] = mylocalcode;
txtd1.text = mylocalstr;
} else if (myfocuskeyconfig == 2) {
mykeyconfigrightsub[1] = mylocalcode;
txtr1.text = mylocalstr;
} else if (myfocuskeyconfig == 3) {
mykeyconfigleftsub[1] = mylocalcode;
txtl1.text = mylocalstr;
} else if (myfocuskeyconfig == 4) {
mykeyconfigrightturnsub[1] = mylocalcode;
txtrt1.text = mylocalstr;
} else if (myfocuskeyconfig == 5) {
mykeyconfigleftturnsub[1] = mylocalcode;
txtlt1.text = mylocalstr;
} else if (myfocuskeyconfig == 6) {
mykeyconfigdownsub[2] = mylocalcode;
txtd2.text = mylocalstr;
} else if (myfocuskeyconfig == 7) {
mykeyconfigrightsub[2] = mylocalcode;
txtr2.text = mylocalstr;
} else if (myfocuskeyconfig == 8) {
mykeyconfigleftsub[2] = mylocalcode;
txtl2.text = mylocalstr;
} else if (myfocuskeyconfig == 9) {
mykeyconfigrightturnsub[2] = mylocalcode;
txtrt2.text = mylocalstr;
} else if (myfocuskeyconfig == 10) {
mykeyconfigleftturnsub[2] = mylocalcode;
txtlt2.text = mylocalstr;
}
}
function subokkeyconfig() {
mykeyconfigdown[1] = mykeyconfigdownsub[1];
mykeyconfigright[1] = mykeyconfigrightsub[1];
mykeyconfigleft[1] = mykeyconfigleftsub[1];
mykeyconfigrightturn[1] = mykeyconfigrightturnsub[1];
mykeyconfigleftturn[1] = mykeyconfigleftturnsub[1];
mykeyconfigdown[2] = mykeyconfigdownsub[2];
mykeyconfigright[2] = mykeyconfigrightsub[2];
mykeyconfigleft[2] = mykeyconfigleftsub[2];
mykeyconfigrightturn[2] = mykeyconfigrightturnsub[2];
mykeyconfigleftturn[2] = mykeyconfigleftturnsub[2];
mySharedObject.data.mykeyconfigdown1 = mykeyconfigdown[1];
mySharedObject.data.mykeyconfigright1 = mykeyconfigright[1];
mySharedObject.data.mykeyconfigleft1 = mykeyconfigleft[1];
mySharedObject.data.mykeyconfigrightturn1 = mykeyconfigrightturn[1];
mySharedObject.data.mykeyconfigleftturn1 = mykeyconfigleftturn[1];
mySharedObject.data.mykeyconfigdown2 = mykeyconfigdown[2];
mySharedObject.data.mykeyconfigright2 = mykeyconfigright[2];
mySharedObject.data.mykeyconfigleft2 = mykeyconfigleft[2];
mySharedObject.data.mykeyconfigrightturn2 = mykeyconfigrightturn[2];
mySharedObject.data.mykeyconfigleftturn2 = mykeyconfigleftturn[2];
gotoAndStop (35);
}
function subreturnkeyconfig() {
gotoAndStop (35);
}
stop();
var myfocuskeyconfig = 1;
var mymcbtnnumkeyconfig = 10;
var mykeyconfigdownsub = new Array();
var mykeyconfigrightsub = new Array();
var mykeyconfigleftsub = new Array();
var mykeyconfigrightturnsub = new Array();
var mykeyconfigleftturnsub = new Array();
mykeyconfigdownsub[1] = mykeyconfigdown[1];
mykeyconfigrightsub[1] = mykeyconfigright[1];
mykeyconfigleftsub[1] = mykeyconfigleft[1];
mykeyconfigrightturnsub[1] = mykeyconfigrightturn[1];
mykeyconfigleftturnsub[1] = mykeyconfigleftturn[1];
mykeyconfigdownsub[2] = mykeyconfigdown[2];
mykeyconfigrightsub[2] = mykeyconfigright[2];
mykeyconfigleftsub[2] = mykeyconfigleft[2];
mykeyconfigrightturnsub[2] = mykeyconfigrightturn[2];
mykeyconfigleftturnsub[2] = mykeyconfigleftturn[2];
txtd1.text = subcodestring(mykeyconfigdown[1]);
txtr1.text = subcodestring(mykeyconfigright[1]);
txtl1.text = subcodestring(mykeyconfigleft[1]);
txtrt1.text = subcodestring(mykeyconfigrightturn[1]);
txtlt1.text = subcodestring(mykeyconfigleftturn[1]);
txtd2.text = subcodestring(mykeyconfigdown[2]);
txtr2.text = subcodestring(mykeyconfigright[2]);
txtl2.text = subcodestring(mykeyconfigleft[2]);
txtrt2.text = subcodestring(mykeyconfigrightturn[2]);
txtlt2.text = subcodestring(mykeyconfigleftturn[2]);
subfocuskeyconfig();
Instance of Symbol 273 MovieClip in Frame 38
onClipEvent (enterFrame) {
_parent.subevententerframekeyconfig();
}
onClipEvent (keyDown) {
_parent.subeventkeydownkeyconfig();
}
onClipEvent (mouseDown) {
_parent.subeventmousedownkeyconfig();
}
Frame 40
function subeventkeydownchrchoose() {
var mylocalcode;
var mylocalstring;
var mylocali;
var mylocalari;
mylocalcode = Key.getCode();
mylocalstring = String.fromCharCode(mylocalcode);
if (Key.isDown(40)) {
if (myfocuschrchoose < mymcbtnnumchrchoose) {
mylocali = 1;
while (mylocali <= ((mymcbtnnumchrchoose - myfocuschrchoose) + 1)) {
if (mymcvisible[myfocuschrchoose + mylocali] == 1) {
myfocuschrchoose = myfocuschrchoose + mylocali;
mylocalari = 1;
mylocali = (mymcbtnnumchrchoose - myfocuschrchoose) + 1;
}
mylocali++;
}
if (mylocalari == 1) {
subfocuschrchoose();
}
}
}
if (Key.isDown(38)) {
mylocali = 1;
while (mylocali <= (myfocuschrchoose - 1)) {
if (mymcvisible[myfocuschrchoose - mylocali] == 1) {
myfocuschrchoose = myfocuschrchoose - mylocali;
mylocalari = 1;
mylocali = myfocuschrchoose - 1;
}
mylocali++;
}
if (mylocalari == 1) {
subfocuschrchoose();
}
}
if (Key.isDown(13)) {
subbtnoncheckchrchoose();
}
if (Key.isDown("Z".charCodeAt())) {
subbtnoncheckchrchoose();
}
}
function subeventmousedownchrchoose() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumchrchoose) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocuschrchoose = mylocali;
subfocuschrchoose();
}
mylocali++;
}
}
function subeventmouseupchrchoose() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumchrchoose) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocuschrchoose = mylocali;
subbtnoncheckchrchoose();
}
mylocali++;
}
}
function subfocuschrchoose() {
var mylocali;
mylocali = 1;
while (mylocali <= mymcbtnnumchrchoose) {
this["mcbtnfocus" + mylocali].mcbtn.gotoAndStop("stop");
mylocali++;
}
this["mcbtnfocus" + myfocuschrchoose].mcbtn.gotoAndStop("focus");
}
function subbtnoncheckchrchoose() {
this["mcbtnfocus" + myfocuschrchoose].mcbtn.gotoAndPlay("ok");
this["mcbtnfocus" + myfocuschrchoose].mcbtn.gotoAndPlay("focus");
subbtnonchrchoose();
}
function subbtnonchrchoose() {
var mylocalroomnum;
mylocalroomnum = myfocuschrchoose;
if (mylocalroomnum <= 6) {
myrensachrmodeself[mylocalplaynum] = mylocalroomnum;
mySharedObject.data.myrensachrmodeself1 = myrensachrmodeself[1];
mySharedObject.data.myrensachrmodeself2 = myrensachrmodeself[2];
} else if (mylocalroomnum == 7) {
gotoAndStop (35);
}
}
stop();
var myrensachrvisible = new Array();
var myfocuschrchoose;
var mymcbtnnumchrchoose;
var mymcvisible = new Array();
mymcbtnnumchrchoose = 7;
mylocali = 1;
while (mylocali <= mymcbtnnumchrchoose) {
mymcvisible[mylocali] = 1;
mylocali++;
}
mylocali = 0;
myfocuschrchoose = 1;
mylocali = 1;
while (mylocali <= 3) {
myrensachrvisible[mylocali] = 1;
mylocali++;
}
myrensachrvisible[6] = 1;
mylocali = 4;
while (mylocali <= 5) {
myrensachrvisible[mylocali] = 0;
mylocali++;
}
subpassclearkouka();
mylocali = 1;
while (mylocali <= 6) {
if (myrensachrvisible[mylocali] == 0) {
mymcvisible[mylocali] = 0;
this["mcbtnfocus" + mylocali]._visible = false;
this["mcbtnfocus" + mylocali]._y = -100;
}
mylocali++;
}
subfocuschrchoose();
Instance of Symbol 273 MovieClip in Frame 40
onClipEvent (mouseDown) {
_parent.subeventmousedownchrchoose();
}
onClipEvent (mouseUp) {
_parent.subeventmouseupchrchoose();
}
onClipEvent (keyDown) {
_parent.subeventkeydownchrchoose();
}
Frame 44
function subevententerframeconnect() {
var mylocaltime;
mylocaltime = new Date();
if (mytimegetconnect != mylocaltime.getSeconds()) {
if (mycheckconnect == 1) {
gotoAndStop (46);
}
mytimecountconnect++;
if (mytimecountconnect == 10) {
gotoAndStop (33);
}
mytimegetconnect = mylocaltime.getSeconds();
}
}
function subbtnreturnconnect() {
subclosesocket();
gotoAndStop (33);
}
stop();
var mytimegetconnect;
var mytimecountconnect = 0;
mycheckconnect = 0;
subloadend();
Instance of Symbol 273 MovieClip in Frame 44
onClipEvent (enterFrame) {
_parent.subevententerframeconnect();
}
Frame 46
function subroomnumsyoki() {
var mylocalr;
mylocalr = 0;
while (mylocalr <= myroomnumtotal) {
myroomnumma[mylocalr] = 0;
mylocalr++;
}
}
function subgetdatalogin(receiveXML) {
var mylocale = receiveXML.firstChild;
var mylocali;
var mylocalx;
if (mylocale != null) {
if ((mylocale.nodeName != "M") && (mylocale.nodeName != "MA")) {
trace(mylocale);
}
if (mylocale.nodeName == "N") {
subgetnlogin(mylocale.attributes.n);
} else if (mylocale.nodeName == "M") {
subgetmlogin(mylocale.attributes.r, mylocale.attributes.n);
} else if (mylocale.nodeName == "MA") {
mylocali = 0;
while (mylocali < mylocale.childNodes.length) {
mylocalx = new XML(mylocale.childNodes[mylocali]);
subgetdatalogin(mylocalx);
mylocali++;
}
}
}
}
function subgetnlogin(mylocaln) {
myselfn = mylocaln;
}
function subgetmlogin(mylocalr, mylocaln) {
myroomnumma[mylocalr] = mylocaln;
if (mylocalr != 99) {
myroomnummatotalcount = myroomnummatotalcount + parseFloat(myroomnumma[mylocalr]);
}
if (mylocalr == 0) {
myroomnummatotal = myroomnummatotalcount;
txtroomnummatotal.text = ("(" + myroomnummatotal) + ")";
}
}
function subevententerframelogin() {
var mylocaltime;
mylocaltime = new Date();
if (mytimegetlogin != mylocaltime.getSeconds()) {
myroomnummatotal = 0;
myroomnummatotalcount = 0;
subsendQM();
}
mytimegetlogin = mylocaltime.getSeconds();
}
function subbtnloginlogin() {
myselfid = txtid.text;
myselfname = txtname.text;
myselfpass = txtpass.text;
myselfkomento = txtkomento.text;
myselfurl = txturl.text;
myselfadmin = txtadmin.text;
subloginoklogin();
}
function subloginoklogin() {
if ((myroomnummatotal < 70) && (mycheckconnect == 1)) {
gotoAndStop (49);
} else {
txtninsyou.text = "70\u4EBA\u4EE5\u4E0A\u306F\u5165\u308C\u307E\u305B\u3093\u3002";
}
if (myselfpass == "xxx") {
gotoAndStop (49);
}
}
function subbtnreturnlogin() {
subclosesocket();
gotoAndStop (33);
}
function subbtnchatoonofflogin() {
var mylocalname;
mylocalname = txtname.text;
mylocalname = subfilter2(mylocalname, "(\u6BBA\u4F10)", "");
if (mylocalname.indexOf("[\u6BBA\u4F10]", 0) != -1) {
mylocalname = subfilter2(mylocalname, "[\u6BBA\u4F10]", "");
} else {
mylocalname = mylocalname + "[\u6BBA\u4F10]";
}
txtname.text = mylocalname;
}
function subeventkeydownlogin() {
if ((String.fromCharCode(Key.getascii()) == "l") && (Key.isDown(16) == true)) {
subbtnlogin();
}
if ((String.fromCharCode(Key.getascii()) == "v") && (Key.isDown(16))) {
subbtnmojiviewiti();
}
if ((String.fromCharCode(Key.getascii()) == "n") && (Key.isDown(16))) {
subbtninputsystem();
}
}
function subfilter(mylocaln) {
mylocaln = subfilter2(mylocaln, "'", "\u2019");
mylocaln = subfilter2(mylocaln, "#", "\uFF03");
mylocaln = subfilter2(mylocaln, "%5D", "]");
mylocaln = subfilter2(mylocaln, "%5B", "[");
return(mylocaln);
}
stop();
var myselfid;
var myselfname;
var myselfname0;
var myselfpass;
var myselfkomento;
var myselfurl;
var myselfrensaave = "-";
var myselfip;
var myselfadmin;
var myselfrensyou;
var myselfn;
var mytimegetlogin;
var myroomnumtotal;
var myroomnumma = new Array();
var myroomnummatotal = new Number();
var myroomnummatotalcount = new Number();
myroomnum = "99";
mysocket.onXML = subgetdatalogin;
subquerynumber(myappnam, myroomnum);
System.useCodepage = true;
if (mycheckconnect == 1) {
txtcheckconnect.text = "net\u5BFE\u6226\u63A5\u7D9AOK";
}
myroomnumtotal = 51;
myroomnummatotal = 0;
txtroomnummatotal.text = "(0)";
myselfrensyou = 0;
if (myninsyouok == 0) {
txtninsyou.text = "\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u9055\u3044\u307E\u3059\u3002\u8A8D\u8A3C\u3067\u304D\u307E\u305B\u3093\u3002";
}
txtid.maxChars = 20;
txtname.maxChars = 20;
txtpass.maxChars = 20;
txtkomento.maxChars = 20;
txtid2.maxChars = 20;
txtpass2.maxChars = 20;
txtid.text = myselfid;
txtname.text = myselfname0;
txtpass.text = myselfpass;
txtkomento.text = myselfkomento;
txturl.text = myselfurl;
txtadmin.text = myselfadmin;
subroomnumsyoki();
Instance of Symbol 273 MovieClip in Frame 46
onClipEvent (enterFrame) {
_parent.subevententerframelogin();
}
onClipEvent (keyDown) {
_parent.subeventkeydownlogin();
}
Frame 49
function subidundefinedcheck() {
var mylocalninsyouurl;
if ((myselfid == "") || (myidundefined >= 1)) {
myselfid = "No" + Math.floor(Math.random() * 10000);
myidundefined++;
txtidundefined.text = "\uFF29\uFF24\u53D6\u5F97\u4E2D " + myidundefined;
txtidundefined._x = 190;
}
if ((myselfname == "") || (myidundefined >= 1)) {
myselfname = myselfid;
}
if (myselfpass == "") {
myselfpass = Math.floor(Math.random() * 100000);
myselfpass = myselfpass.toString();
}
myselfname0 = myselfname;
mySharedObject.data.myserveraddr = myserveraddr;
mySharedObject.data.myselfid = myselfid;
mySharedObject.data.myselfname0 = myselfname0;
mySharedObject.data.myselfpass = myselfpass;
mySharedObject.data.myselfkomento = myselfkomento;
mySharedObject.data.myselfurl = myselfurl;
mySharedObject.data.myselfadmin = myselfadmin;
mylocalninsyouurl = (((((((((("index.php?mode=ninsyou&myselfid=" + escape(myselfid)) + "&myselfpass=") + escape(myselfpass)) + "&myselfname=") + escape(myselfname)) + "&myselfkomento=") + escape(myselfkomento)) + "&myselfurl=") + escape(myselfurl)) + "&") + getTimer();
this.loadVariables(mylocalninsyouurl);
myninsyoucgiok = 0;
}
function subevententerframeninsyou() {
if (myninsyoucgiok == 1) {
if (myninsyouok == 1) {
myidundefined = 0;
subaccesscheck();
}
if (myninsyouok == 0) {
if (myidundefined >= 1) {
subidundefinedcheck();
} else {
gotoAndStop (46);
}
}
}
if (myselfid == "kaihatu") {
myselfrating = 1500;
myselfspeedtype = "-";
myselfspeedhiragana = "-";
myselfwintimes = 0;
myselflosetimes = 0;
subnextninsyou();
}
}
function subnextninsyou() {
if (myrulemode == "net") {
myroomnum = 0;
gotoAndStop (52);
} else if (myrulemode == "one") {
gotoAndStop (59);
}
}
function subaccesscheck() {
if (myaccessno != 1) {
if (mynoip == 1) {
mySharedObject.data.myaccessno = 1;
} else {
subnextninsyou();
}
}
if (myselfid == "access") {
mySharedObject.data.myaccessno = 0;
}
}
stop();
var myidundefined;
var myninsyoucgiok;
var myninsyouok;
var mynoip;
System.useCodepage = true;
myidundefined = 0;
subidundefinedcheck();
Instance of Symbol 273 MovieClip in Frame 49
onClipEvent (enterFrame) {
_parent.subevententerframeninsyou();
}
Frame 51
gotoAndStop (46);
Frame 52
function subevententerframechatread() {
if (mychatcgiok == 1) {
subchatreadend();
}
if ((mychatreadtime + 5000) <= getTimer()) {
subchatreadend();
}
if (mykaihatu == 1) {
subchatreadend();
}
}
function subchatreadend() {
if (myroomnum == "0") {
gotoAndStop (56);
} else {
gotoAndStop (59);
}
}
stop();
var mychatcgiok = 0;
var mychatreadtime;
System.useCodepage = true;
mychatreadtime = getTimer();
var mychaturl = ((("chat.php?mode=read&room=" + myroomnum) + "&") + mychatreadtime);
this.loadVariables(mychaturl);
Instance of Symbol 273 MovieClip in Frame 52
onClipEvent (enterFrame) {
_parent.subevententerframechatread();
}
Frame 54
function subevententerframereplayread() {
if (myreplayreadcgiok == 1) {
subreplayreadend();
}
if (mykaihatu == 1) {
subreplayreadend();
}
}
function subreplayreadend() {
objreplay = JSON.parse(myreplayjson);
gotoAndStop (59);
}
stop();
var myreplayreadcgiok = 0;
var myreplayreadtime;
System.useCodepage = true;
myreplayreadtime = getTimer();
var myreplayurl = ((("replay.php?id=" + myreplayid) + "&") + myreplayreadtime);
this.loadVariables(myreplayurl);
Instance of Symbol 273 MovieClip in Frame 54
onClipEvent (enterFrame) {
_parent.subevententerframereplayread();
}
Frame 56
function sublobbytop() {
if ((((_xmouse > 15) && (_xmouse < 85)) && (_ymouse > 85)) && (_ymouse < 105)) {
mylobbytop = "1";
}
if ((((_xmouse > 85) && (_xmouse < 155)) && (_ymouse > 85)) && (_ymouse < 105)) {
mylobbytop = "2";
}
if ((((_xmouse > 155) && (_xmouse < 225)) && (_ymouse > 85)) && (_ymouse < 105)) {
mylobbytop = "3";
}
if ((((_xmouse > 225) && (_xmouse < 295)) && (_ymouse > 85)) && (_ymouse < 105)) {
mylobbytop = "4";
}
if ((((_xmouse > 295) && (_xmouse < 365)) && (_ymouse > 85)) && (_ymouse < 105)) {
mylobbytop = "5";
}
if ((((_xmouse > 365) && (_xmouse < 435)) && (_ymouse > 85)) && (_ymouse < 105)) {
mylobbytop = "6";
}
mclobby.net1._x = 2;
mclobby.net1._y = 2;
mclobby.net2._x = 2;
mclobby.net2._y = 2;
mclobby.net3._x = 2;
mclobby.net3._y = 2;
mclobby.net4._x = 2;
mclobby.net4._y = 2;
mclobby.net5._x = 2;
mclobby.net5._y = 2;
mclobby.net6._x = 2;
mclobby.net6._y = 2;
this.mclobby["net" + mylobbytop].swapDepths(7);
this.mclobby["net" + mylobbytop]._x = 0;
this.mclobby["net" + mylobbytop]._y = 0;
subfocuslobby();
if (mylobbytop == "6") {
mcchat._x = 10;
mcmember._x = 10;
} else {
mcchat._x = 700;
mcmember._x = 700;
}
}
function subtxtstatuslobby() {
txtstatus.htmlText = ("Node:" + myselfn) + "\u3000\u3000";
txtstatus.htmlText = txtstatus.htmlText + (("ID:" + myselfid) + "\u3000\u3000");
txtstatus.htmlText = txtstatus.htmlText + (((((((((((((((("Name:" + myselfname) + "\u3000\u3000") + "Rating:") + myselfrating) + "\u3000\u3000") + "Win:") + myselfwintimes) + "\u3000\u3000") + "Lose:") + myselflosetimes) + "\u3000\u3000") + "\u9023\u52DD:") + myselfrensyou) + "\u3000\u3000") + "\u9023\u9396Ave:") + myselfrensaave);
}
function subgetdatalobby(receiveXML) {
var mylocale = receiveXML.firstChild;
var mylocali;
var mylocalx;
if (mylocale != null) {
if ((((mylocale.nodeName != "M") && (mylocale.nodeName != "MA")) && (mylocale.nodeName != "LOG")) && (mylocale.nodeName != "SLOG")) {
trace(mylocale);
}
if (mylocale.nodeName == "MA") {
trace(mylocale);
}
if (mylocale.nodeName == "N") {
subgetnlobby(mylocale.attributes.n);
} else if (mylocale.nodeName == "MEMBERVIEW") {
subgetmemberview();
} else if (mylocale.nodeName == "M") {
subgetmlobby(mylocale.attributes.r, mylocale.attributes.n);
} else if (mylocale.nodeName == "LOG") {
subgetlogname(mylocale.attributes.n, mylocale.attributes.r, mylocale.attributes.a);
} else if (mylocale.nodeName == "MESSAGE") {
subgetmessage(mylocale.attributes.n, mylocale.attributes.m, mylocale.attributes.t);
} else if (((mylocale.nodeName == "MA") || (mylocale.nodeName == "SMESSAGE")) || (mylocale.nodeName == "SLOG")) {
if (mylocale.nodeName == "SLOG") {
subgetslogname();
}
mylocali = 0;
while (mylocali < mylocale.childNodes.length) {
mylocalx = new XML(mylocale.childNodes[mylocali]);
subgetdatalobby(mylocalx);
mylocali++;
}
} else if (mylocale.nodeName == "D") {
subgetdlobby(mylocale.attributes.n);
} else if (mylocale.nodeName == "D2") {
subgetdlobby(mylocale.attributes.n);
} else if (mylocale.nodeName == "ROOMOUT") {
subgetroomoutlobby();
} else if (mylocale.nodeName == "I") {
subgetid(mylocale.attributes.n, mylocale.attributes.i, mylocale.attributes.na, mylocale.attributes.ra, mylocale.attributes.w, mylocale.attributes.l, mylocale.attributes.k, mylocale.attributes.re, mylocale.attributes.ren, mylocale.attributes.u);
} else if (mylocale.nodeName == "STATUSREAD") {
subgetstatusread();
} else if (mylocale.nodeName == "C") {
subgetchat(mylocale.attributes.n, mylocale.attributes.name, mylocale.attributes.set);
} else if (mylocale.nodeName == "SI") {
mylocali = 0;
while (mylocali < mylocale.childNodes.length) {
mylocalx = new XML(mylocale.childNodes[mylocali]);
subgetdatalobby(mylocalx);
mylocali++;
}
}
}
}
function subgetnlobby(mylocaln) {
myselfn = mylocaln;
subsendlogname(0);
subsendQR("SLOG");
subsendQM();
subsendQR("SMESSAGE");
subfirstmemberview();
subsendid(myselfn, myselfid, myselfname, myselfrating, myselfwintimes, myselflosetimes, myselfkomento, myselfrensyou, myselfrensaave, myselfurl);
subsendQR("SI");
}
function subgetmlobby(mylocalr, mylocaln) {
var mylocali;
myroomnumma[mylocalr] = Number(mylocaln);
if (mylocalr == 0) {
mylobbynetma[1] = 0;
mylobbynetma[2] = 0;
mylobbynetma[3] = 0;
mylobbynetma[4] = 0;
mylobbynetma[5] = 0;
mylobbynetma[6] = 0;
mylocali = 0;
while (mylocali <= myroomnumtotal) {
if ((mylocali >= 1) && (mylocali <= 10)) {
mylobbynetma[1] = mylobbynetma[1] + myroomnumma[mylocali];
this.mclobby.net1.txtma.text = ("\u30CE\u30FC\u30DE\u30EB (" + mylobbynetma[1]) + ")";
}
if ((mylocali >= 11) && (mylocali <= 20)) {
mylobbynetma[2] = mylobbynetma[2] + myroomnumma[mylocali];
this.mclobby.net2.txtma.text = ("\u5168\u6D88\u7121 (" + mylobbynetma[2]) + ")";
}
if ((mylocali >= 21) && (mylocali <= 30)) {
mylobbynetma[3] = mylobbynetma[3] + myroomnumma[mylocali];
this.mclobby.net3.txtma.text = ("\u9023\u6226 (" + mylobbynetma[3]) + ")";
}
if ((mylocali >= 31) && (mylocali <= 40)) {
mylobbynetma[4] = mylobbynetma[4] + myroomnumma[mylocali];
this.mclobby.net4.txtma.text = ("\u8272\uFF0B\u03B1 (" + mylobbynetma[4]) + ")";
}
if ((mylocali >= 41) && (mylocali <= 50)) {
mylobbynetma[5] = mylobbynetma[5] + myroomnumma[mylocali];
this.mclobby.net5.txtma.text = ("\u7DF4\u7FD2\u90E8\u5C4B (" + mylobbynetma[5]) + ")";
}
if ((mylocali >= 51) && (mylocali <= 60)) {
mylobbynetma[6] = mylobbynetma[6] + myroomnumma[mylocali];
this.mclobby.net6.txtma.text = "\u30C1\u30E3\u30C3\u30C8";
}
if ((mylocali >= 1) && (mylocali <= 10)) {
this.mclobby.net1["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
if ((mylocali >= 11) && (mylocali <= 20)) {
this.mclobby.net2["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
if ((mylocali >= 21) && (mylocali <= 30)) {
this.mclobby.net3["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
if ((mylocali >= 31) && (mylocali <= 40)) {
this.mclobby.net4["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
if ((mylocali >= 41) && (mylocali <= 50)) {
this.mclobby.net5["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
if ((mylocali >= 51) && (mylocali <= 60)) {
this.mclobby.net6["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
if (myroomnumma[mylocali] >= 6) {
if ((mylocali >= 1) && (mylocali <= 10)) {
this.mclobby.net1["txtroomnumma" + mylocali].text = "(6)";
}
if ((mylocali >= 11) && (mylocali <= 20)) {
this.mclobby.net2["txtroomnumma" + mylocali].text = "(6)";
}
if ((mylocali >= 31) && (mylocali <= 40)) {
this.mclobby.net4["txtroomnumma" + mylocali].text = "(6)";
}
if ((mylocali >= 41) && (mylocali <= 50)) {
this.mclobby.net5["txtroomnumma" + mylocali].text = "(6)";
}
}
if (myroomnumma[mylocali] >= 2) {
if ((mylocali >= 21) && (mylocali <= 30)) {
this.mclobby.net3["txtroomnumma" + mylocali].text = "(2)";
}
}
if (mylocali == 0) {
this["txtroomnumma" + mylocali].text = ("(" + myroomnumma[mylocali]) + ")";
}
mylocali++;
}
}
}
function subsenddlobby(mylocaln) {
var mylocalstr;
mylocalstr = ("<D2 n='" + mylocaln) + "'/>\n";
subsendstr(mylocalstr);
}
function subgetdlobby(mylocaln) {
if (mylocaln != myselfn) {
subfirstmemberview();
subsendQR("SI");
}
}
function subgetroomoutlobby() {
gotoAndStop (52);
}
function subevententerframelobby() {
var mylocaltime;
mylocaltime = new Date();
if (Math.floor(mytimegetlobby / 30) != Math.floor(mylocaltime.getSeconds() / 30)) {
subsendQR("SLOG");
subsendQM();
}
mytimegetlobby = mylocaltime.getSeconds();
}
function subeventkeydownlobby() {
var mylocalcode;
var mylocalstring;
mylocalcode = Key.getCode();
mylocalstring = String.fromCharCode(mylocalcode);
if (Key.isDown(40)) {
if (myfocuslobby < mymcbtnnumlobby) {
myfocuslobby = myfocuslobby + 1;
subfocuslobby();
}
}
if (Key.isDown(38)) {
if (myfocuslobby > 1) {
myfocuslobby = myfocuslobby - 1;
subfocuslobby();
}
}
if (Key.isDown(39) && (Key.isDown(17))) {
if ((myfocuslobby + 10) <= mymcbtnnumlobby) {
myfocuslobby = myfocuslobby + 10;
subfocuslobby();
}
}
if (Key.isDown(37) && (Key.isDown(17))) {
if ((myfocuslobby - 10) >= 1) {
myfocuslobby = myfocuslobby - 10;
subfocuslobby();
}
}
if (Key.getCode() == 13) {
subchatset();
}
if (((Key.isDown(40) || (Key.isDown(38))) || (Key.isDown(39) && (Key.isDown(17)))) || (Key.isDown(37) && (Key.isDown(17)))) {
mylobbytop = Math.floor(((myfocuslobby - 1) / 10) + 1);
sublobbytop();
}
}
function subeventmousedownlobby() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumlobby) {
mylocalhittest = this.mclobby["net" + mylobbytop]["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocuslobby = mylocali;
subfocuslobby();
}
mylocali++;
}
}
function subeventmouseuplobby() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnumlobby) {
mylocalhittest = this.mclobby["net" + mylobbytop]["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocuslobby = mylocali;
subbtnonchecklobby();
}
mylocali++;
}
sublobbytop();
}
function subfocuslobby() {
var mylocali;
mylocali = 1;
while (mylocali <= mymcbtnnumlobby) {
this.mclobby["net" + mylobbytop]["mcbtnfocus" + mylocali].mcbtn.gotoAndStop("stop");
mylocali++;
}
this.mclobby["net" + mylobbytop]["mcbtnfocus" + myfocuslobby].mcbtn.gotoAndStop("focus");
}
function subbtnonchecklobby() {
this.mclobby["net" + mylobbytop]["mcbtnfocus" + myfocuslobby].mcbtn.gotoAndPlay("ok");
this.mclobby["net" + mylobbytop]["mcbtnfocus" + myfocuslobby].mcbtn.gotoAndPlay("focus");
subbtnonlobby();
}
function subbtnonlobby() {
var mylocalroomnum;
if ((myfocuslobby >= 1) && (myfocuslobby <= myroomnumtotal)) {
mylocalroomnum = myfocuslobby;
subbtnroomon(mylocalroomnum);
} else {
gotoAndStop (46);
}
}
function subbtnroomon(mylocalroomnum) {
if ((mylocalroomnum >= 21) && (mylocalroomnum <= 30)) {
if (myselfpass == "clear") {
myroomnum = mylocalroomnum;
subreturnlobby();
} else if (myroomnumma[mylocalroomnum] < 2) {
myroomnum = mylocalroomnum;
subsendlogname(mylocalroomnum);
subreturnlobby();
} else {
txterror.text = "2\u4EBA\u4EE5\u4E0A\u5165\u308C\u307E\u305B\u3093\u3002";
}
} else if (mylocalroomnum == 51) {
myroomnum = mylocalroomnum;
subsendlogname(mylocalroomnum);
subreturnlobby();
} else if (myselfpass == "clear") {
myroomnum = mylocalroomnum;
subreturnlobby();
} else if (myroomnumma[mylocalroomnum] < 6) {
myroomnum = mylocalroomnum;
subsendlogname(mylocalroomnum);
subreturnlobby();
} else {
txterror.text = "6\u4EBA\u4EE5\u4E0A\u5165\u308C\u307E\u305B\u3093\u3002";
}
}
function subsendlogname(mylocalroomnum) {
var mylocalstr;
mylocalstr = ((((((("<LOG n='" + myselfn) + "' r='") + mylocalroomnum) + "' a='") + myselfname) + "' save='SLOG' key='") + myselfn) + "'/>\n";
subsendstr(mylocalstr);
}
function subreturnlobby() {
subsenddlobby(myselfn);
subsendQE("SI", myselfn);
subsendQR("ROOMOUT");
}
function subgetslogname() {
var mylocali;
var mylocalj;
this.txtlogname0.text = "";
mylocali = 1;
while (mylocali <= myroomnumtotal) {
mylocalj = Math.floor((mylocali - 1) / 10) + 1;
this.mclobby["net" + mylocalj]["txtlogname" + mylocali].text = "";
mylocali++;
}
}
function subgetlogname(mylocaln, mylocalr, mylocalname) {
var mylocalj;
if (mylocalr > 0) {
mylocalj = Math.floor((mylocalr - 1) / 10) + 1;
this.mclobby["net" + mylocalj]["txtlogname" + mylocalr].text = this.mclobby["net" + mylocalj]["txtlogname" + mylocalr].text + (mylocalname + "\u3001");
}
if (myselfpass == "clear") {
this.txtlogname0.text = this.txtlogname0.text + (mylocalname + "\u3001");
}
}
function submessage() {
mymessage = this.txtmessage.text;
var mylocaltime = new Date();
var mylocaltimegettime = mylocaltime.getTime();
var mylocaltimeview = (((((mylocaltime.getDate() + "\u65E5") + mylocaltime.getHours()) + "\u6642") + mylocaltime.getMinutes()) + "\u5206");
mystr = ((((((("<MESSAGE n='" + n) + "' m='") + mymessage) + "\u3000[") + mylocaltimeview) + "] ' t='") + mylocaltimegettime) + "' save='SMESSAGE' key='1' />\n";
subsendstr(mystr);
}
function subgetmessage(mylocaln, mylocalmessage, mylocaltimegettime) {
this.txtmessage.text = mylocalmessage;
if (mylocalmessage.indexOf("\u843D", 0) > -1) {
}
var mylocaltime = new Date();
var mylocaltimegettime2 = mylocaltime.getTime();
if (mylocalmessage.indexOf("new", 0) > -1) {
}
mylocaltimegettime = Number(mylocaltimegettime);
if (mylocaltimegettime2 < (mylocaltimegettime + 3600000)) {
mcmessagenew.gotoAndPlay("go");
var mylocalsound = new Sound();
mylocalsound.attachSound("bgmnewmessage.wav");
mylocalsound.start();
}
}
stop();
if ((myselfwintimes < 500) || (myselfid == "a")) {
txtboard._visible = false;
}
var myfocuslobby;
var mytimegetlobby;
var mymcbtnnumlobby;
myroomnum = "0";
mysocket.onXML = subgetdatalobby;
subquerynumber(myappnam, myroomnum);
mymcbtnnumlobby = 51;
myfocuslobby = 1;
subfocuslobby();
subroomnumsyoki();
subtxtstatuslobby();
this.mcbtnfocus4._visible = true;
var mylobbynetma = new Array();
subpassclearjouken();
btnmessage._visible = false;
if (myselfadmin == "kaihatu") {
btnmessage._visible = true;
}
this.mclobby.net1.swapDepths(1);
this.mclobby.net2.swapDepths(2);
this.mclobby.net3.swapDepths(3);
this.mclobby.net4.swapDepths(4);
this.mclobby.net5.swapDepths(5);
this.mclobby.net5.swapDepths(6);
var mylocalj;
var mylocali;
mylocalj = 1;
while (mylocalj <= 6) {
mylocali = 1;
while (mylocali <= 10) {
this.mclobby["net" + mylocalj]["mcbtnfocus" + [((mylocalj - 1) * 10) + mylocali]].txt.text = ((mylocalj - 1) * 10) + mylocali;
mylocali++;
}
mylocalj++;
}
this.mclobby["net" + mylobbytop].swapDepths(7);
sublobbytop();
subchatlog();
if (myselfname.indexOf("[\u6BBA\u4F10]", 0) != -1) {
mcchat.txtset._visible = false;
}
Instance of Symbol 273 MovieClip in Frame 56
onClipEvent (enterFrame) {
_parent.subevententerframelobby();
}
onClipEvent (mouseDown) {
_parent.subeventmousedownlobby();
}
onClipEvent (mouseUp) {
_parent.subeventmouseuplobby();
}
onClipEvent (keyDown) {
_parent.subeventkeydownlobby();
}
Frame 59
function subtimegettimematch() {
var mylocaltime = new Date();
mytimegettimematch = mylocaltime.getTime();
}
function subrulemodematch() {
if (myrulemode == "one") {
submcvisible("reach1", 0);
submcvisible("reach2", 0);
submcvisible("play", 0);
submcvisible("away", 0);
submcmemberview();
submcvisible("member", 0);
submcvisible("chat", 0);
submcvisible("temp", 0);
submcvisible("replay", 0);
subrulelocal();
} else if (myrulemode == "two") {
submcvisible("reach1", 0);
submcvisible("reach2", 0);
submcvisible("play", 0);
submcvisible("away", 0);
submcmemberview();
submcvisible("member", 0);
submcvisible("chat", 0);
submcvisible("temp", 0);
subrulelocal();
if (myappmode == "replay") {
submcvisible("start", 0);
submcvisible("return", 0);
subreplayplayset();
} else {
submcvisible("replay", 0);
}
} else if (myrulemode == "net") {
mysocket.onXML = subgetdatamatch;
subquerynumber(myappnam, myroomnum);
txtroomnum.text = "R" + myroomnum;
submcvisible("start", 0);
submcvisible("chat", 0);
submcvisible("member", 1);
submcvisible("replay", 0);
subrulenet();
subchatlog();
if (myselfname.indexOf("[\u6BBA\u4F10]", 0) != -1) {
mcchat.txtset._visible = false;
}
}
}
function subrulenet() {
if ((myroomnum <= 30) || (myroomnum >= 41)) {
if (((myroomnum % 10) == 1) || ((myroomnum % 10) == 2)) {
myrulepuyocolornum = 2;
}
if (((myroomnum % 10) == 3) || ((myroomnum % 10) == 4)) {
myrulepuyocolornum = 3;
}
if (((((myroomnum % 10) == 5) || ((myroomnum % 10) == 6)) || ((myroomnum % 10) == 7)) || ((myroomnum % 10) == 8)) {
myrulepuyocolornum = 4;
}
if ((myroomnum % 10) == 9) {
myrulepuyocolornum = 5;
}
if ((myroomnum % 10) == 0) {
myrulepuyocolornum = 6;
}
}
if (((myroomnum == 21) || (myroomnum == 22)) || (myroomnum == 23)) {
myrulepuyocolornum = 2;
}
if ((myroomnum == 24) || (myroomnum == 25)) {
myrulepuyocolornum = 3;
}
if (((myroomnum == 26) || (myroomnum == 27)) || (myroomnum == 28)) {
myrulepuyocolornum = 4;
}
if (myroomnum == 29) {
myrulepuyocolornum = 5;
}
if (myroomnum == 30) {
myrulepuyocolornum = 6;
}
if (((myroomnum == 31) || (myroomnum == 32)) || (myroomnum == 33)) {
myrulepuyocolornum = 1;
}
if ((myroomnum == 34) || (myroomnum == 35)) {
myrulepuyocolornum = 2;
}
if ((myroomnum == 36) || (myroomnum == 37)) {
myrulepuyocolornum = 3;
}
if ((myroomnum == 38) || (myroomnum == 39)) {
myrulepuyocolornum = 4;
}
if (myroomnum == 40) {
myrulepuyocolornum = 5;
}
myrulezenkesimode = 1;
if ((myroomnum >= 11) && (myroomnum <= 20)) {
myrulezenkesimode = 0;
}
if (((myroomnum == 22) || (myroomnum == 23)) || (myroomnum == 25)) {
myrulezenkesimode = 0;
}
if (((((myroomnum == 32) || (myroomnum == 33)) || (myroomnum == 35)) || (myroomnum == 37)) || (myroomnum == 39)) {
myrulezenkesimode = 0;
}
if (((myroomnum == 42) || (myroomnum == 44)) || (myroomnum == 48)) {
myrulezenkesimode = 0;
}
myrulepuyocolorojama = 0;
if ((myroomnum >= 31) && (myroomnum <= 40)) {
myrulepuyocolorojama = 1;
}
}
function subrulelocal() {
myrulepuyocolornum = mymodecolornum;
myrulezenkesimode = mymodezenkesi;
myrulepuyocolorojama = mymodecolorojama;
if ((mymodecolornum == 1) && (mymodecolorojama == 0)) {
myrulepuyocolorojama = 1;
}
}
function subnetsavesyoki() {
var mylocali;
mynetsavekey[1] = new Array();
mynetsavekey[2] = new Array();
mynetsavekeynum[1] = new Array();
mynetsavekeynum[2] = new Array();
mylocali = 0;
while (mylocali <= 1000) {
mynetsavekey[1][mylocali] = new Array();
mynetsavekey[2][mylocali] = new Array();
mynetsavekeynum[1][mylocali] = 0;
mynetsavekeynum[2][mylocali] = 0;
mylocali++;
}
mynetsaveojamaon[1] = new Array();
mynetsaveojamaon[2] = new Array();
mynetsavepuyodownon[1] = new Array();
mynetsavepuyodownon[2] = new Array();
mynetsavedownendx1[1] = new Array();
mynetsavedownendx1[2] = new Array();
mynetsavedownendy1[1] = new Array();
mynetsavedownendy1[2] = new Array();
mynetsavedownendc1[1] = new Array();
mynetsavedownendc1[2] = new Array();
mynetsavedownendx2[1] = new Array();
mynetsavedownendx2[2] = new Array();
mynetsavedownendy2[1] = new Array();
mynetsavedownendy2[2] = new Array();
mynetsavedownendc2[1] = new Array();
mynetsavedownendc2[2] = new Array();
}
function subevententerframematch() {
var mylocaltime;
mylocaltime = new Date();
if (mytimegetmatch != mylocaltime.getSeconds()) {
if (myhensuutyousaviewon == 1) {
subhensuutyousa(1);
subhensuutyousa(2);
}
subevententerframestatusread();
if ((mycountdownon == 1) && (myselfplaynum == 1)) {
subcountdown();
}
if ((myrulemode == "one") || (myrulemode == "two")) {
if (mycountdownon == 1) {
subcountdown();
}
}
}
mytimegetmatch = mylocaltime.getSeconds();
if ((mybattleon == 1) && (myselfreach == 1)) {
if (myrulemode == "two") {
subevententerframe(1);
subevententerframe(2);
subevententerframeaction(1);
subevententerframeaction(2);
} else if (myrulemode == "one") {
subevententerframe(1);
subevententerframeaction(1);
} else if (myrulemode == "net") {
subevententerframe(myselfplaynum);
subevententerframepuyodown(3 - myselfplaynum);
subevententerframeaction(1);
subevententerframeaction(2);
}
if (myreplayon == 1) {
subevententerframereplay(1);
subevententerframereplay(2);
}
}
if (myrulemode == "net") {
if (myselfreach == 0) {
subevententerframepuyodown(1);
subevententerframepuyodown(2);
subevententerframeaction(1);
subevententerframeaction(2);
}
}
}
function subeventkeydownmatch() {
var mylocalcode;
var mylocalstring;
var mylocali;
var mylocalari;
mylocalcode = Key.getCode();
mylocalstring = String.fromCharCode(mylocalcode);
if (Key.isDown(40)) {
if (myfocusmatch < mymcbtnnummatch) {
mylocali = 1;
while (mylocali <= ((mymcbtnnummatch - myfocusmatch) + 1)) {
if (mymcvisible[myfocusmatch + mylocali] == 1) {
myfocusmatch = myfocusmatch + mylocali;
mylocalari = 1;
mylocali = (mymcbtnnummatch - myfocusmatch) + 1;
}
mylocali++;
}
if (mylocalari == 1) {
subfocusmatch();
}
}
}
if (Key.isDown(38)) {
mylocali = 1;
while (mylocali <= (myfocusmatch - 1)) {
if (mymcvisible[myfocusmatch - mylocali] == 1) {
myfocusmatch = myfocusmatch - mylocali;
mylocalari = 1;
mylocali = myfocusmatch - 1;
}
mylocali++;
}
if (mylocalari == 1) {
subfocusmatch();
}
}
if (Key.isDown(13) && (Key.isDown(16))) {
subbtnoncheckmatch();
}
if (Key.getCode() == 13) {
subchatset();
}
if ((mybattleon == 1) && (myselfreach == 1)) {
if (myrulemode == "two") {
subeventkeydown(1);
subeventkeydown(2);
} else if (myrulemode == "one") {
subeventkeydown(1);
} else if (myrulemode == "net") {
subeventkeydown(myselfplaynum);
}
}
}
function subeventmousedownmatch() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnummatch) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocusmatch = mylocali;
subfocusmatch();
}
mylocali++;
}
}
function subeventmouseupmatch() {
var mylocali;
var mylocalhittest;
mylocali = 1;
while (mylocali <= mymcbtnnummatch) {
mylocalhittest = this["mcbtnfocus" + mylocali].hitTest(_xmouse, _ymouse, true);
if (mylocalhittest == true) {
myfocusmatch = mylocali;
subbtnoncheckmatch();
}
mylocali++;
}
}
function subfocusmatch() {
var mylocali;
if (mymcvisible[myfocusmatch] == 1) {
mylocali = 1;
while (mylocali <= mymcbtnnummatch) {
this["mcbtnfocus" + mylocali].mcbtn.gotoAndStop("stop");
mylocali++;
}
this["mcbtnfocus" + myfocusmatch].mcbtn.gotoAndStop("focus");
}
}
function subbtnoncheckmatch() {
if (mymcvisible[myfocusmatch] == 1) {
this["mcbtnfocus" + myfocusmatch].mcbtn.gotoAndPlay("ok");
this["mcbtnfocus" + myfocusmatch].mcbtn.gotoAndPlay("focus");
subbtnonmatch();
}
}
function subbtnonmatch() {
if ((myfocusmatch >= 1) && (myfocusmatch <= 2)) {
var mylocaltime = new Date();
if ((mytimegettimematch + 3000) <= mylocaltime.getTime()) {
subreach(myfocusmatch);
}
} else if (myfocusmatch == 3) {
} else if (myfocusmatch == 4) {
subaway();
} else if (myfocusmatch == 5) {
submcmemberview();
} else if (myfocusmatch == 6) {
submcchatview();
} else if (myfocusmatch == 7) {
submctempview();
} else if (myfocusmatch == 8) {
subreplaysavesyoki();
subsetpuyodata();
subsetpuyodatamc();
subcountdownstart();
} else if (myfocusmatch == 9) {
subbtnreplaystart();
} else if (myfocusmatch == 10) {
subreturn();
}
}
function submcvisible(mylocalname, mylocalboolean) {
var mylocali;
mylocalboolean = parseInt(mylocalboolean);
mylocali = 1;
while (mylocali <= mymcbtnnummatch) {
if (mymcfocusname[mylocali] == mylocalname) {
mymcvisible[mylocali] = mylocalboolean;
this["mcbtnfocus" + mylocali]._visible = mylocalboolean;
this["mymcvisible" + mylocalname] = mylocalboolean;
}
mylocali++;
}
}
function subtwostart() {
var mylocali;
if (myreplayon != 1) {
submcvisible("replay", 0);
}
submcvisible("return", 0);
mybattleon = 1;
myselfreach = 1;
if (myappmode != "replay") {
myrensachrmode[1] = myrensachrmodeself[1];
myrensachrmode[2] = myrensachrmodeself[2];
submcrensachrmake(1);
submcrensachrmake(2);
}
subpuyostart(1);
subpuyostart(2);
myselfplaynum = 1;
subpuyodownstartfirst(1);
subpuyodownstartfirst(2);
}
function subonestart() {
var mylocali;
if (myreplayon != 1) {
submcvisible("replay", 0);
}
submcvisible("return", 0);
mybattleon = 1;
myselfreach = 1;
myrensachrmode[1] = myrensachrmodeself[1];
submcrensachrmake(1);
subpuyostart(1);
subpuyostart(2);
myselfplaynum = 1;
subpuyodownstartfirst(1);
}
function subfirstview() {
subfirstmemberview();
txtname1.text = "";
txtname2.text = "";
submcvisible("reach1", 1);
submcvisible("reach2", 1);
myreach[1] = 0;
myreach[2] = 0;
submcvisible("play", 0);
submcvisible("away", 0);
submcvisible("return", 1);
myplayn[1] = undefined;
myplayn[2] = undefined;
}
function subgetdatamatch(receiveXML) {
var mylocale;
var mylocali;
var mylocalx;
mylocale = receiveXML.firstChild;
if (mylocale != null) {
if (mylocale.nodeName == "N") {
subgetnmatch(mylocale.attributes.n);
} else if (mylocale.nodeName == "D") {
subgetd(mylocale.attributes.n);
} else if (mylocale.nodeName == "D2") {
subgetd(mylocale.attributes.n);
} else if (mylocale.nodeName == "I") {
subgetid(mylocale.attributes.n, mylocale.attributes.i, mylocale.attributes.na, mylocale.attributes.ra, mylocale.attributes.w, mylocale.attributes.l, mylocale.attributes.k, mylocale.attributes.re, mylocale.attributes.ren, mylocale.attributes.u);
} else if (mylocale.nodeName == "MEMBERVIEW") {
subgetmemberview();
} else if (mylocale.nodeName == "REACH") {
subgetreach(mylocale.attributes.n, mylocale.attributes.pl, mylocale.attributes.i, mylocale.attributes.na, mylocale.attributes.m, mylocale.attributes.pa, mylocale.attributes.ra, mylocale.attributes.ip);
} else if (mylocale.nodeName == "MODE") {
subgetmode(mylocale.attributes.mode, mylocale.attributes.modesub);
} else if (mylocale.nodeName == "BATTLEOFF") {
subgetbattleoff();
} else if (mylocale.nodeName == "ROOMOUT") {
subgetroomout();
} else if (mylocale.nodeName == "BATTLE") {
subgetbattle(mylocale.attributes.n);
} else if (mylocale.nodeName == "BATTLERE") {
subgetbattlerequest();
} else if (mylocale.nodeName == "CHR") {
subgetrensachrmode(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.m);
} else if (mylocale.nodeName == "COLOR") {
subgetpuyodowncolormake(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.c1, mylocale.attributes.c2);
} else if (mylocale.nodeName == "COUNT") {
subgetdowncount(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.k);
} else if (mylocale.nodeName == "KEYDOWN") {
subgeteventkeydown(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.k);
if (mynethensuutyousaviewon == 1) {
subnethensuutyousa(mylocale.nodeName, mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.k);
}
} else if (mylocale.nodeName == "DOWNEND") {
subgetdownend(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.x1, mylocale.attributes.y1, mylocale.attributes.c1, mylocale.attributes.x2, mylocale.attributes.y2, mylocale.attributes.c2);
if (mynethensuutyousaviewon == 1) {
subnethensuutyousa(mylocale.nodeName, mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.x1);
}
} else if (mylocale.nodeName == "PUYOSET") {
subgetpuyoset(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.x, mylocale.attributes.y, mylocale.attributes.c);
} else if (mylocale.nodeName == "OJAMADOWN") {
subgetojamadown(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c, mylocale.attributes.d);
} else if (mylocale.nodeName == "PUYODOWN") {
subgetdownstart(mylocale.attributes.n, mylocale.attributes.p, mylocale.attributes.c);
} else if (mylocale.nodeName == "SYOUHAI") {
subgetsyouhai(mylocale.attributes.n, mylocale.attributes.l);
} else if (mylocale.nodeName == "STATUSREAD") {
subgetstatusread();
} else if (mylocale.nodeName == "C") {
subgetchat(mylocale.attributes.n, mylocale.attributes.name, mylocale.attributes.set);
} else if (((((((((mylocale.nodeName == "SI") || (mylocale.nodeName == "SREACH")) || (mylocale.nodeName == "SBATTLE")) || (mylocale.nodeName == "SMODE")) || (mylocale.nodeName == "SCHR")) || (mylocale.nodeName == "SCOUNT")) || (mylocale.nodeName == "SD")) || (mylocale.nodeName == "SPUYOSET")) || (mylocale.nodeName == "SCOLOR")) {
mylocali = 0;
while (mylocali < mylocale.childNodes.length) {
mylocalx = new XML(mylocale.childNodes[mylocali]);
subgetdatamatch(mylocalx);
mylocali++;
}
}
}
}
function subgetnmatch(mylocaln) {
myrulemode = "net";
myselfn = mylocaln;
subsendid(myselfn, myselfid, myselfname, myselfrating, myselfwintimes, myselflosetimes, myselfkomento, myselfrensyou, myselfrensaave, myselfurl);
subsendQR("SI");
subsendQR("SREACH");
subsendQR("SBATTLE");
subsendQR("SCHR");
subsendQR("SCOLOR");
subsendQR("SCOUNT");
subsendQR("SPUYOSET");
mybattlerequeston = 1;
subsendQR("BATTLERE");
if (myselfpass != "clear") {
subsendchat(myselfn, "", [myselfname + "-\u5165\u5BA4"]);
}
}
function subsendd(mylocaln) {
var mylocalstr;
mylocalstr = ("<D2 n='" + mylocaln) + "'/>\n";
subsendstr(mylocalstr);
}
function subgetd(mylocaln) {
var mylocalplayd;
if (mylocaln != myselfn) {
if ((myplayn[1] === mylocaln) || (myplayn[2] === mylocaln)) {
mylocalplayd = 1;
}
if (mylocalplayd == 1) {
subfirstview();
subsendQR("SI");
subsendQR("SREACH");
mylocalplayd = undefined;
subsendQR("BATTLEOFF");
} else {
subfirstmemberview();
subsendQR("SI");
}
}
}
function subsendreach(mylocaln, mylocalplaynum, mylocalid, mylocalname, mylocalmode, mylocalpass, mylocalrating, mylocalip) {
var mylocalkey;
var mylocalstr;
mylocalkey = mylocalplaynum;
mylocalstr = ((((((((((((((((("<REACH n='" + mylocaln) + "' pl='") + mylocalplaynum) + "' i='") + mylocalid) + "' na='") + mylocalname) + "' m='") + mylocalmode) + "' ra='") + mylocalrating) + "' ip='") + mylocalip) + "' save='SREACH' key='") + mylocalkey) + "' self='") + mylocaln) + "'/>\n";
subsendstr(mylocalstr);
}
function subgetreach(mylocaln, mylocalplaynum, mylocalid, mylocalname, mylocalmode, mylocalpass, mylocalrating, mylocalip) {
if (mylocalmode == "in") {
if (myreach[mylocalplaynum] != 1) {
if (myselfn == mylocaln) {
myselfreach = 1;
myselfplaynum = mylocalplaynum;
}
myplayn[mylocalplaynum] = mylocaln;
myplayid[mylocalplaynum] = mylocalid;
myplayname[mylocalplaynum] = mylocalname;
myplayrating[mylocalplaynum] = mylocalrating;
myplayip[mylocalplaynum] = mylocalip;
if (myplayip[1] == myplayip[2]) {
txtsameip.text = "\u540CIP";
} else {
txtsameip.text = "";
}
this["txtname" + mylocalplaynum].text = mylocalname;
submcvisible("reach" + mylocalplaynum, 0);
myreach[mylocalplaynum] = 1;
if (myselfn != mylocaln) {
this.mcsoundreach.gotoAndPlay("on");
}
if (myselfreach == 1) {
submcvisible("reach" + [3 - mylocalplaynum], 0);
if ((myreach[1] == 1) && (myreach[2] == 1)) {
submcvisible("away", 0);
submcvisible("return", 0);
} else {
submcvisible("away", 1);
}
}
if ((((myselfreach == 1) && (myselfplaynum == 1)) && (mycountdownon != 1)) && (mybattleon != 1)) {
subreachhantei();
}
}
} else {
this["txtname" + mylocalplaynum].text = "";
myplayn[mylocalplaynum] = undefined;
myreach[mylocalplaynum] = 0;
myplayip[mylocalplaynum] = undefined;
txtsameip.text = "";
if (mylocaln == myselfn) {
myselfreach = 0;
myselfplaynum = 0;
if (myreach[3 - mylocalplaynum] == 0) {
submcvisible("reach" + [3 - mylocalplaynum], 1);
}
subsendQE("SREACH", mylocalplaynum);
}
if (myselfreach == 0) {
submcvisible("reach" + [mylocalplaynum], 1);
submcvisible("away", 0);
} else {
submcvisible("away", 1);
}
}
if (myselfreach == 1) {
submcvisible("reach" + [3 + mylocalplaynum], 0);
}
}
function subreach(mylocalplaynum) {
subreachsub(mylocalplaynum);
}
function subreachsub(mylocalplaynum) {
subsendreach(myselfn, mylocalplaynum, myselfid, myselfname, "in", myselfpass, myselfrating, myselfip);
}
function subaway() {
subsendreach(myselfn, myselfplaynum, "", "", "out", "", "", "", "");
}
function subreturn() {
if (myrulemode == "two") {
subreturntwo();
} else if (myrulemode == "one") {
subreturnone();
} else if (myrulemode == "net") {
subreturnnet();
}
}
function subreturnnet() {
subsendd(myselfn);
if (myselfpass != "clear") {
subsendchat(myselfn, "", [myselfname + "-\u9000\u5BA4"]);
}
subsendQE("SI", myselfn);
if (myselfplaynum > 0) {
subaway();
}
if (mycheckconnect == 1) {
subsendQR("ROOMOUT");
} else {
subgetroomout();
}
}
function subreturntwo() {
gotoAndStop (33);
}
function subreturnone() {
gotoAndStop (33);
}
function subgetroomout() {
myroomnum = "0";
gotoAndStop (52);
}
function subkomentoset() {
myselfkomento = txtkomento.text;
myselfkomento = subfilter(myselfkomento);
txtkomento.text = "";
mySharedObject.data.myselfkomento = myselfkomento;
subfirstmemberview();
subsendid(myselfn, myselfid, myselfname, myselfrating, myselfwintimes, myselflosetimes, myselfkomento, myselfrensyou, myselfrensaave, myselfurl);
subsendQR("SI");
}
function subreachhantei() {
if ((myreach[1] == 1) && (myreach[2] == 1)) {
subsendmode("setpuyo");
}
}
function subcountdown() {
if ((myrulemode == "one") || (myrulemode == "two")) {
if (mycountdown != (3 - Math.floor((getTimer() - mystarttime) / 1000))) {
mycountdown = 3 - Math.floor((getTimer() - mystarttime) / 1000);
submcviewcountdown(mycountdown);
if (mycountdown < 1) {
mycountdownon = 0;
if (myrulemode == "two") {
subtwostart();
} else if (myrulemode == "one") {
subonestart();
}
}
}
} else if (myrulemode == "net") {
if (mycountdown != (3 - Math.floor((getTimer() - mystarttime) / 1000))) {
mycountdown = 3 - Math.floor((getTimer() - mystarttime) / 1000);
subsendmode("cd", mycountdown);
if (mycountdown < 1) {
mycountdownon = 0;
subsendmode("battle");
subsendbattle("start");
}
}
}
}
function subsendmode(mylocalmode, mylocalmodesub) {
mylocalstr = ((("<MODE mode='" + mylocalmode) + "' modesub='") + mylocalmodesub) + "' save='SMODE' key='1' />\n";
subsendstr(mylocalstr);
}
function subgetmode(mylocalmode, mylocalmodesub) {
var mylocali;
var mylocalp;
if (mylocalmode == "setpuyo") {
subsetpuyodata();
}
if (mylocalmode == "setpuyomc") {
subsetpuyodatamc();
}
if (mylocalmode == "cd") {
submcviewcountdown(mylocalmodesub);
}
}
function subsetpuyodata() {
var mylocali;
mccountdown1.gotoAndPlay("f4");
mccountdown2.gotoAndPlay("f4");
mccountdown1._y = 160;
mccountdown1._x = mcpuyoview1._x + (mcpuyoview1._width / 2);
mccountdown2._y = 160;
mccountdown2._x = mcpuyoview2._x + (mcpuyoview2._width / 2);
if ((myrulemode == "one") || (myrulemode == "two")) {
subpuyodowncolorcountdelete();
mylocali = 1;
while (mylocali <= 20) {
subpuyodowncolormake(1, mylocali);
if (myrulemode == "two") {
subpuyodowncolormake(2, mylocali);
}
mylocali++;
}
} else if (myrulemode == "net") {
subsendQE("SCHR");
subsendQE("SCOLOR");
subsendQE("SCOUNT");
subsendQE("SPUYOSET");
subpuyodowncolorcountdelete();
if (myselfreach == 1) {
subreplaysavesyoki();
}
if (myselfplaynum == 1) {
mylocali = 1;
while (mylocali <= 20) {
subpuyodowncolormake(1, mylocali);
subpuyodowncolormake(2, mylocali);
mylocali++;
}
subsendmode("setpuyomc");
}
}
}
function subsetpuyodatamc() {
var mylocalp;
mylocalp = 1;
while (mylocalp <= 2) {
subpuyonextentermc(mylocalp, mypuyodowncolorcount[mylocalp][1][1], mypuyodowncolorcount[mylocalp][2][1]);
subpuyonext2entermc(mylocalp, mypuyodowncolorcount[mylocalp][1][2], mypuyodowncolorcount[mylocalp][2][2]);
mylocalp++;
}
if (myrulemode == "net") {
if (myselfplaynum == 1) {
subcountdownstart();
subsendmode("cd", 3);
}
}
}
function subcountdownstart() {
mccountdown1._y = 160;
mccountdown1._x = mcpuyoview1._x + (mcpuyoview1._width / 2);
mccountdown2._y = 160;
mccountdown2._x = mcpuyoview2._x + (mcpuyoview2._width / 2);
mycountdown = 3;
mycountdownon = 1;
mystarttime = getTimer();
}
function submcviewcountdown(mylocalmodesub) {
trace(mylocalmodesub);
mccountdown1.gotoAndPlay("f" + [mylocalmodesub]);
mccountdown2.gotoAndPlay("f" + [mylocalmodesub]);
if (mylocalmodesub == 3) {
mccountdown1._y = 160;
mccountdown1._x = mcpuyoview1._x + (mcpuyoview1._width / 2);
mccountdown2._y = 160;
mccountdown2._x = mcpuyoview2._x + (mcpuyoview2._width / 2);
mcbgmready.gotoAndPlay("go");
}
if (mylocalmodesub == 1) {
mcbgmgo.gotoAndPlay("go");
}
if (mylocalmodesub == 0) {
mccountdown1._y = -200;
mccountdown2._y = -200;
}
}
function subgetbattleoff() {
if ((myreach[1] == 1) && (myreach[2] == 1)) {
} else {
mycountdownon = 0;
mybattleon = 0;
subsendQE("POINT");
subsendQE("SCHR");
subsendQE("SCOLOR");
subsendQE("SCOUNT");
subsendQE("SPUYOSET");
subviewfirstsetting(1);
subviewfirstsetting(2);
submcvisible("return", 1);
}
myplaynum = myselfplaynum;
}
function subsendbattle(mylocaln) {
mylocalstr = ("<BATTLE n='" + mylocaln) + "' save='SBATTLE' key='1'/>\n";
subsendstr(mylocalstr);
}
function subgetbattle(mylocaln) {
if (mylocaln == "start") {
if (myselfplaynum == 1) {
}
subnetsavesyoki();
subpuyostart(1);
subpuyostart(2);
subpuyodownstartfirst(1);
subpuyodownstartfirst(2);
if (myselfreach != 0) {
subsendrensachrmode(myselfn, myselfplaynum, myrensachrmodeself[myselfplaynum]);
mybattleon = 1;
Selection.setFocus("");
}
}
}
function subgetbattlerequest() {
var mylocalplaynum;
var mylocalcount;
trace("REQUEST");
mybattlerequeston = 0;
subpuyodownendmodecheck(1);
subpuyodownendmodecheck(2);
}
function subgetbattlerequestrensa(mylocalplaynum) {
var mylocalx;
var mylocaly;
mylocalx = 1;
while (mylocalx <= myruletableboxwidth) {
mypuyostockdeletebottom[mylocalplaynum][mylocalx] = 1;
mylocalx++;
}
}
function subsendrensachrmode(mylocaln, mylocalplaynum, mylocalmode) {
if (myrulemode == "net") {
var mylocalstr;
mylocalstr = ((((((("<CHR n='" + mylocaln) + "' p='") + mylocalplaynum) + "' m='") + mylocalmode) + "' save='SCHR' key='") + mylocalplaynum) + "'/>\n";
subsendstr(mylocalstr);
}
}
function subgetrensachrmode(mylocaln, mylocalplaynum, mylocalmode) {
myrensachrmode[mylocalplaynum] = mylocalmode;
submcrensachrmake(mylocalplaynum);
}
function subsendpuyodowncolormake(mylocaln, mylocalplaynum, mylocalcount, mylocalcolor1, mylocalcolor2) {
if (myrulemode == "net") {
var mylocalstr;
mylocalplaynum = Number(mylocalplaynum);
mylocalcount = Number(mylocalcount);
var mylocalkey = ((mylocalplaynum * 1000) + mylocalcount);
mylocalstr = ((((((((((("<COLOR n='" + mylocaln) + "' p='") + mylocalplaynum) + "' c='") + mylocalcount) + "' c1='") + mylocalcolor1) + "' c2='") + mylocalcolor2) + "' save='SCOLOR' key='") + mylocalkey) + "'/>\n";
subsendstr(mylocalstr);
}
}
function subgetpuyodowncolormake(mylocaln, mylocalplaynum, mylocalcount, mylocalcolor1, mylocalcolor2) {
subpuyodowncolorenter(mylocalplaynum, mylocalcount, mylocalcolor1, mylocalcolor2);
}
function subsendeventkeydown(mylocaln, mylocalplaynum, mylocalcount, mylocalkey) {
if (myrulemode == "net") {
var mylocalstr;
mylocalstr = ((((((("<KEYDOWN n='" + mylocaln) + "' p='") + mylocalplaynum) + "' c='") + mylocalcount) + "' k='") + mylocalkey) + "'/>\n";
subsendstr(mylocalstr);
}
}
function subgeteventkeydown(mylocaln, mylocalplaynum, mylocalcount, mylocalkey) {
if (mylocaln != myselfn) {
if ((mypuyodownmovekyoka[mylocalplaynum] == 1) && (mylocalcount == mypuyodowncount[mylocalplaynum])) {
subgeteventkeydowndo(mylocalplaynum, mylocalkey);
} else {
mynetsavekey[mylocalplaynum][mylocalcount][mynetsavekeynum[mylocalplaynum][mylocalcount]] = mylocalkey;
mynetsavekeynum[mylocalplaynum][mylocalcount]++;
}
}
}
function subgeteventkeydowndo(mylocalplaynum, mylocalkey) {
subcomeventkeydowndo(mylocalplaynum, mylocalkey);
subreplayeventkeydownsave("", mylocalplaynum, mypuyodowncount[mylocalplaynum], mylocalkey);
}
function subcomeventkeydowndo(mylocalplaynum, mylocalkey) {
if (mypuyodownmovekyoka[mylocalplaynum] == 1) {
if (mylocalkey == "r") {
subpuyodownrighteventcheck(mylocalplaynum);
} else if (mylocalkey == "l") {
subpuyodownlefteventcheck(mylocalplaynum);
} else if (mylocalkey == "rt") {
subpuyodownrightturneventcheck(mylocalplaynum);
} else if (mylocalkey == "lt") {
subpuyodownleftturneventcheck(mylocalplaynum);
} else if (mylocalkey == "qd") {
subpuyodownfastdownevent(mylocalplaynum);
} else if (mylocalkey == "d") {
subpuyodowndownevent(mylocalplaynum);
}
}
}
function subpuyodownstartnet(mylocalplaynum) {
var mylocalcount = mypuyodowncount[mylocalplaynum];
var mylocalsavekey = new Array();
var mylocali;
if (mynetsavekey[mylocalplaynum][mylocalcount][0] != undefined) {
mylocalsavekey = mynetsavekey[mylocalplaynum][mylocalcount];
mynetsavekey[mylocalplaynum][mylocalcount] = new Array();
mylocali = 0;
while (mylocali <= (mylocalsavekey.length - 1)) {
subgeteventkeydowndo(mylocalplaynum, mylocalsavekey[mylocali]);
mylocali++;
}
}
}
function subsenddownend(mylocaln, mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2) {
if (myrulemode == "net") {
var mylocalstr;
mylocalstr = ((((((((((((((((("<DOWNEND n='" + mylocaln) + "' p='") + mylocalplaynum) + "'c='") + mylocalcount) + "' x1='") + mylocalx1) + "' y1='") + mylocaly1) + "' c1='") + mylocalc1) + "' x2='") + mylocalx2) + "' y2='") + mylocaly2) + "' c2='") + mylocalc2) + "'/>\n";
subsendstr(mylocalstr);
}
}
function subgetdownend(mylocaln, mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2) {
if (mylocaln != myselfn) {
mylocalx1 = Number(mylocalx1);
mylocaly1 = Number(mylocaly1);
mylocalc1 = Number(mylocalc1);
mylocalx2 = Number(mylocalx2);
mylocaly2 = Number(mylocaly2);
mylocalc2 = Number(mylocalc2);
if ((mypuyodownendmodecheckon[mylocalplaynum] == 1) && (mylocalcount == mypuyodowncount[mylocalplaynum])) {
subgetdownenddo(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
mypuyodownmovekyoka[mylocalplaynum] = 0;
} else {
mynetsavedownendx1[mylocalplaynum][mylocalcount] = mylocalx1;
mynetsavedownendy1[mylocalplaynum][mylocalcount] = mylocaly1;
mynetsavedownendc1[mylocalplaynum][mylocalcount] = mylocalc1;
mynetsavedownendx2[mylocalplaynum][mylocalcount] = mylocalx2;
mynetsavedownendy2[mylocalplaynum][mylocalcount] = mylocaly2;
mynetsavedownendc2[mylocalplaynum][mylocalcount] = mylocalc2;
}
}
}
function subgetdownenddo(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2) {
subcomdownenddo(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
subreplaypuyodownendsave(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
}
function subcomdownenddo(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2) {
mypuyodownx[mylocalplaynum][1] = mylocalx1;
mypuyodowny[mylocalplaynum][1] = mylocaly1;
mypuyodowncolor[mylocalplaynum][1] = mylocalc1;
mypuyodownx[mylocalplaynum][2] = mylocalx2;
mypuyodowny[mylocalplaynum][2] = mylocaly2;
mypuyodowncolor[mylocalplaynum][2] = mylocalc2;
subpuyodownendmain(mylocalplaynum);
}
function subgeydownenddosave(mylocalplaynum, mylocalcount) {
var mylocalx1 = mynetsavedownendx1[mylocalplaynum][mylocalcount];
var mylocaly1 = mynetsavedownendy1[mylocalplaynum][mylocalcount];
var mylocalc1 = mynetsavedownendc1[mylocalplaynum][mylocalcount];
var mylocalx2 = mynetsavedownendx2[mylocalplaynum][mylocalcount];
var mylocaly2 = mynetsavedownendy2[mylocalplaynum][mylocalcount];
var mylocalc2 = mynetsavedownendc2[mylocalplaynum][mylocalcount];
subgetdownenddo(mylocalplaynum, mylocalcount, mylocalx1, mylocaly1, mylocalc1, mylocalx2, mylocaly2, mylocalc2);
}
function subsenddowncount(mylocaln, mylocalplaynum, mylocalcount, mylocalkurikosipoint) {
if (myrulemode == "net") {
var mylocalstr;
mylocalstr = ((((((((((("<COUNT n='" + mylocaln) + "' p='") + mylocalplaynum) + "' c='") + mylocalcount) + "' k='") + mylocalkurikosipoint) + "' save='SCOUNT' key='") + mylocalplaynum) + "' self='") + mylocaln) + "'/>\n";
subsendstr(mylocalstr);
}
}
function subgetdowncount(mylocaln, mylocalplaynum, mylocalcount, mylocalkurikosipoint) {
if (mylocaln != myselfn) {
if (mybattlerequeston == 1) {
if (myselfplaynum == 0) {
mypuyodowncount[mylocalplaynum] = mylocalcount;
mypuyokurikosipoint[mylocalplaynum] = Number(mylocalkurikosipoint);
}
}
}
}
function subsendpuyoset(mylocaln, mylocalplaynum, mylocalx, mylocaly, mylocalc) {
if (myrulemode == "net") {
var mylocalstr;
var mylocalkey = (((mylocalplaynum * 1000) + (mylocalx * 100)) + mylocaly);
mylocalstr = ((((((((((((("<PUYOSET n='" + mylocaln) + "' p='") + mylocalplaynum) + "' x='") + mylocalx) + "' y='") + mylocaly) + "' c='") + mylocalc) + "' save='SPUYOSET' key='") + mylocalkey) + "' self='") + mylocaln) + "' />\n";
subsendstr(mylocalstr);
}
}
function subgetpuyoset(mylocaln, mylocalplaynum, mylocalx, mylocaly, mylocalc) {
if (mylocaln != myselfn) {
if (mybattlerequeston == 1) {
mylocalx = Number(mylocalx);
mylocaly = Number(mylocaly);
mylocalc = Number(mylocalc);
submcpuyostockmake(mylocalplaynum, mylocalx, mylocaly, mylocalc);
mypuyostockground[mylocalplaynum][mylocalx]++;
}
}
}
function subsenddeletepuyoset(mylocalplaynum, mylocalx, mylocaly) {
if (myrulemode == "net") {
mylocalplaynum = Number(mylocalplaynum);
mylocalx = Number(mylocalx);
mylocaly = Number(mylocaly);
var mylocalkey = (((mylocalplaynum * 1000) + (mylocalx * 100)) + mylocaly);
subsendQE("SPUYOSET", mylocalkey);
}
}
function subsendojamadown(mylocalplaynum) {
var mylocaln = myselfn;
var mylocalcount = mypuyodowncount[mylocalplaynum];
var mylocaldownnum = mypuyoojamadownnum[mylocalplaynum];
var mylocalstr;
mylocalstr = ((((((("<OJAMADOWN n='" + mylocaln) + "' p='") + mylocalplaynum) + "'c='") + mylocalcount) + "' d='") + mylocaldownnum) + "' />\n";
subsendstr(mylocalstr);
}
function subgetojamadown(mylocaln, mylocalplaynum, mylocalcount, mylocaldownnum) {
if (mylocaln != myselfn) {
mynetsaveojamaon[mylocalplaynum][mylocalcount] = 1;
mypuyoojamadownnum[mylocalplaynum] = mylocaldownnum;
subreplaypuyoojamadownsave(mylocalplaynum, mylocalcount, mylocaldownnum);
}
}
function subsenddownstart(mylocalplaynum) {
var mylocaln = myselfn;
var mylocalcount = mypuyodowncount[mylocalplaynum];
var mylocalstr;
mylocalstr = ((((("<PUYODOWN n='" + mylocaln) + "' p='") + mylocalplaynum) + "'c='") + mylocalcount) + "' />\n";
subsendstr(mylocalstr);
}
function subgetdownstart(mylocaln, mylocalplaynum, mylocalcount) {
if (mylocaln != myselfn) {
mynetsavepuyodownon[mylocalplaynum][mylocalcount] = 1;
}
}
function subsendsyouhai(mylocaln, mylocallose) {
var mylocalstr;
mylocalstr = ((("<SYOUHAI n='" + mylocaln) + "' l='") + mylocallose) + "' />\n";
subsendstr(mylocalstr);
}
function subgetsyouhai(mylocaln, mylocallose) {
var mylocalwin;
mylocalwin = 3 - mylocallose;
submcloseview(mylocallose);
submcwinview(mylocalwin);
if (mylocalwin == myselfplaynum) {
if (myselfrensyou > 0) {
myselfrensyou = myselfrensyou + 1;
} else {
myselfrensyou = 1;
}
subsendid(myselfn, myselfid, myselfname, myselfrating, myselfwintimes, myselflosetimes, myselfkomento, myselfrensyou, myselfrensaave, myselfurl);
if ((myroomnum >= 41) && (myroomnum <= 50)) {
} else {
subtourokupost(mylocalwin);
}
subkirimessagewin();
subkirimessagematch();
mystatusreadsendok = 1;
} else if ((mylocallose == myselfplaynum) && (mylocaln == myselfn)) {
subreplaypost(mylocallose);
if (myselfrensyou <= 0) {
myselfrensyou = myselfrensyou - 1;
} else {
myselfrensyou = -1;
}
subsendid(myselfn, myselfid, myselfname, myselfrating, myselfwintimes, myselflosetimes, myselfkomento, myselfrensyou, myselfrensaave, myselfurl);
subkirimessagelose();
subkirimessagematch();
subaway();
mystatusreadsendok = 1;
var mylocaltime = new Date();
mytimegettimematch = mylocaltime.getTime();
}
myreach[mylocallose] = 0;
subgetbattleoff();
}
function subtouroku(mylocalwin) {
var mylocaltourokuurl;
mylocaltourokuurl = (((((((((((("index.php?mode=touroku&mywinid=" + escape(myselfid)) + "&mywinpass=") + escape(myselfpass)) + "&mywinrating=") + myselfrating) + "&mywinrensa=") + mypuyorensacountmax[mylocalwin]) + "&myloseid=") + escape(myplayid[3 - mylocalwin])) + "&mylosepass=&myloserating=") + myplayrating[3 - mylocalwin]) + "&myloserensa=") + mypuyorensacountmax[3 - mylocalwin];
this.loadVariables(mylocaltourokuurl);
this.loadVariables("list.cgi");
mytourokucgiok = 0;
}
function subtourokupost(mylocalwin) {
System.usecodepage = true;
var mylocalresult = new LoadVars();
var myLoadVars = new LoadVars();
myLoadVars.myloserensa = mypuyorensacountmax[3 - mylocalwin];
myLoadVars.myloserating = myplayrating[3 - mylocalwin];
myLoadVars.mylosepass = "";
myLoadVars.myloseid = escape(myplayid[3 - mylocalwin]);
myLoadVars.mywinrensa = mypuyorensacountmax[mylocalwin];
myLoadVars.mywinrating = myselfrating;
myLoadVars.mywinpass = escape(myselfpass);
myLoadVars.mywinid = escape(myselfid);
myLoadVars.mode = "touroku";
myLoadVars.sendAndLoad("index.php", mylocalresult, "POST");
trace(myLoadVars);
this.loadVariables("list.cgi");
mylocalresult.onLoad = function (success) {
};
}
function subreplaypost(mylocallose) {
var mylocalwin;
mylocalwin = 3 - mylocallose;
System.usecodepage = true;
var mylocalresult = new LoadVars();
var myLoadVars = new LoadVars();
var mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
myLoadVars["myrensachrmode" + mylocalplaynum] = myrensachrmode[mylocalplaynum];
myLoadVars["myzenkesimin" + mylocalplaynum] = myzenkesimin[mylocalplaynum];
myLoadVars["myscoretotal" + mylocalplaynum] = myscoretotal[mylocalplaynum];
myLoadVars["mypuyodowncount" + mylocalplaynum] = mypuyodowncount[mylocalplaynum];
myLoadVars["mypuyotigiricount" + mylocalplaynum] = mypuyotigiricount[mylocalplaynum];
myLoadVars["mypuyorensacounthist" + mylocalplaynum] = mypuyorensacounthist[mylocalplaynum];
myLoadVars["mypuyorensacountmax" + mylocalplaynum] = mypuyorensacountmax[mylocalplaynum];
myLoadVars["myplayrating" + mylocalplaynum] = myplayrating[mylocalplaynum];
myLoadVars["myplayname" + mylocalplaynum] = escape(myplayname[mylocalplaynum]);
myLoadVars["myplayid" + mylocalplaynum] = escape(myplayid[mylocalplaynum]);
mylocalplaynum++;
}
myLoadVars.myplaytime = myplaytime;
myLoadVars.myrulepuyocolorojama = myrulepuyocolorojama;
myLoadVars.myrulezenkesimode = myrulezenkesimode;
myLoadVars.myrulepuyocolornum = myrulepuyocolornum;
myLoadVars.myver = myappnam;
myLoadVars.mywin = mylocalwin;
myLoadVars.myreplay = JSON.stringify(objreplay);
myLoadVars.sendAndLoad("replay.php", mylocalresult, "POST");
trace(myLoadVars);
mylocalresult.onLoad = function (success) {
subsendchat(myselfn, "", [((((((((((((("\u25A1Win\u3000" + mylocalwin) + "P\u3000[ 1P ") + myplayname[1]) + "\u3000MAX") + mypuyorensacountmax[1]) + "\u9023\u9396") + "\u30002P ") + myplayname[2]) + "\u3000MAX") + mypuyorensacountmax[2]) + "\u9023\u9396") + " ][ re") + mylocalresult.myreplayid) + " ]"]);
subsendstatusread();
};
}
function subsendstatusread() {
var mylocalstr;
mylocalstr = "<STATUSREAD />\n";
subsendstr(mylocalstr);
}
function subgetstatusread() {
if (mystatusreadsendok == 1) {
var mylocalstatusreadurl;
mylocalstatusreadurl = (((("index.php?mode=statusread&myid=" + escape(myselfid)) + "&mypass=") + escape(myselfpass)) + "&") + getTimer();
this.loadVariables(mylocalstatusreadurl);
mystatusreadsendok = 0;
}
mystatusreadcgiok = 0;
}
function subevententerframestatusread() {
if (mystatusreadcgiok == 1) {
subtxtstatus();
subfirstmemberview();
subsendid(myselfn, myselfid, myselfname, myselfrating, myselfwintimes, myselflosetimes, myselfkomento, myselfrensyou, myselfrensaave, myselfurl);
subsendQR("SI");
mystatusreadcgiok = 0;
}
if (mykaihatu == 1) {
mystatusreadcgiok = 0;
}
}
function subkirimessagewin() {
if ((myselfwintimes % 1000) == 999) {
subsendchat(myselfn, "", [((("\u2605\u30E1\u30E2\u30EA\u30A2\u30EB\u3000" + [myselfname]) + "\u3000") + [Number(myselfwintimes) + 1]) + "\u52DD"]);
}
}
function subwavomedetou() {
}
function subkirimessagelose() {
if ((myselflosetimes % 1000) == 999) {
subsendchat(myselfn, "", [((("\u2605\u30E1\u30E2\u30EA\u30A2\u30EB\u3000" + [myselfname]) + "\u3000") + [Number(myselflosetimes) + 1]) + "\u6557"]);
}
}
function subwavganbare() {
}
function subkirimessagematch() {
var mylocaltimes = (Number(myselfwintimes) + Number(myselflosetimes));
if (((mylocaltimes % 1000) == 999) && ((mylocaltimes % 100000) != 99999)) {
subsendchat(myselfn, "", [((("\u2605\u30E1\u30E2\u30EA\u30A2\u30EB\u3000" + [myselfname]) + "\u3000") + [Number(mylocaltimes) + 1]) + "\u8A66\u5408"]);
}
if ((mylocaltimes % 100000) == 99999) {
subsendchat(myselfn, "", [((("\u2605\u30E1\u30AC\u30EA\u30A2\u30EB\u3000" + [myselfname]) + "\u3000") + [Number(mylocaltimes) + 1]) + "\u8A66\u5408"]);
}
}
function subbtnrensasimyu() {
var mylocalenco = "0475688001";
var mylocalplaynum;
var mylocalx;
var mylocaly;
var mylocali;
var mylocalstr;
mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
mylocali = 0;
mylocalstr = "";
mylocaly = 1;
while (mylocaly <= 13) {
mylocalx = 6;
while (mylocalx >= 1) {
mylocali = Number(mypuyostockxy[mylocalplaynum][mylocalx][mylocaly]);
mylocalstr = String(mylocalenco.charAt(mylocali)) + mylocalstr;
mylocalx--;
}
mylocaly++;
}
while (mylocalstr.charAt(0) == "0") {
mylocalstr = mylocalstr.substr(1, mylocalstr.length - 1);
}
submcchatview();
mylocalstr = ((((("URL www.inosendo.com/puyo/rensim/??" + mylocalstr) + " (\u9023\u9396\uFF7C\uFF90\uFF6D ") + mylocalplaynum) + "P ") + myplayname[mylocalplaynum]) + ")";
subgetchat("", "", mylocalstr);
mylocalplaynum++;
}
}
function subbtnrensasimyu_kyuu() {
var mylocalenco = ".adbceowQTWUVXRSuy1z02vxYgjhikZflpsqrtmn36978-45ADGEFHBCILOMNPJK";
var mylocalplaynum;
var mylocalx;
var mylocaly;
var mylocali;
var mylocalii;
var mylocalstr;
var mylocals = new Array();
mylocalplaynum = 1;
while (mylocalplaynum <= 2) {
mylocali = 0;
mylocalstr = "";
mylocaly = 1;
while (mylocaly <= 13) {
mylocalx = 2;
while (mylocalx >= 0) {
mylocals[1] = Number(mypuyostockxy[mylocalplaynum][(mylocalx * 2) + 1][mylocaly]);
mylocals[2] = Number(mypuyostockxy[mylocalplaynum][(mylocalx * 2) + 2][mylocaly]);
mylocalii = 1;
while (mylocalii <= 2) {
if (mylocals[mylocalii] == 6) {
mylocals[mylocalii] = 5;
}
if (mylocals[mylocalii] == 9) {
mylocals[mylocalii] = 6;
}
mylocalii++;
}
mylocali = (mylocals[1] * 8) + mylocals[2];
mylocalstr = String(mylocalenco.charAt(mylocali)) + mylocalstr;
mylocalx--;
}
mylocaly++;
}
while (mylocalstr.charAt(0) == ".") {
mylocalstr = mylocalstr.substr(1, mylocalstr.length - 1);
}
submcchatview();
subgetchat("", "", (((("\u9023\u9396\uFF7C\uFF90\uFF6D " + mylocalplaynum) + "P ") + myplayname[mylocalplaynum]) + " http://v61aq.puyopuyo.net/js/rs/rs.html??") + mylocalstr);
mylocalplaynum++;
}
}
stop();
mcbgmtitle.gotoAndStop("stop");
mcpuyoview1.mctableboxtenjou.swapDepths(2100);
mcpuyoview2.mctableboxtenjou.swapDepths(2100);
submcpuyoyokokumake();
submcothermake();
var myfocusmatch;
var mymcbtnnummatch;
var mymcvisible = new Array();
mymcbtnnummatch = 10;
mylocali = 1;
while (mylocali <= mymcbtnnummatch) {
mymcvisible[mylocali] = 1;
mylocali++;
}
mylocali = 0;
myfocusmatch = 0;
subfocusmatch();
var mymcfocusname = new Array();
mymcfocusname[1] = "reach1";
mymcfocusname[2] = "reach2";
mymcfocusname[3] = "play";
mymcfocusname[4] = "away";
mymcfocusname[5] = "member";
mymcfocusname[6] = "chat";
mymcfocusname[7] = "temp";
mymcfocusname[8] = "start";
mymcfocusname[9] = "replay";
mymcfocusname[10] = "return";
txtkeyconfigu1.text = (((((((("\u4E0B" + subcodestring(mykeyconfigdown[1])) + " \u53F3") + subcodestring(mykeyconfigright[1])) + " \u5DE6") + subcodestring(mykeyconfigleft[1])) + " \u53F3\u56DE") + subcodestring(mykeyconfigrightturn[1])) + " \u5DE6\u56DE") + subcodestring(mykeyconfigleftturn[1]);
txtkeyconfigu2.text = (((((((("\u4E0B" + subcodestring(mykeyconfigdown[2])) + " \u53F3") + subcodestring(mykeyconfigright[2])) + " \u5DE6") + subcodestring(mykeyconfigleft[2])) + " \u53F3\u56DE") + subcodestring(mykeyconfigrightturn[2])) + " \u5DE6\u56DE") + subcodestring(mykeyconfigleftturn[2]);
myplaynum = 0;
var myselfplaynum = 0;
var myselfreach = 0;
var mymembern = new Array();
var mymemberid = new Array();
var mymembername = new Array();
var mymemberrating = new Array();
var mymemberwintimes = new Array();
var mymemberlosetimes = new Array();
var mymemberkomento = new Array();
var mytempmembername = new Array();
var mytempmemberwintimes = new Array();
var mytempmemberlosetimes = new Array();
var myplayn = new Array();
var myplayid = new Array();
var myplayname = new Array();
var myplaypass = new Array();
var myplayrating = new Array();
var myplayip = new Array();
var myreach = new Array();
var mybattleon = 0;
var mycountdownon = 0;
var mykeydowntypeok = 0;
var mymcvisiblereach1;
var mymcvisiblereach2;
var mymcvisibleaway;
var mymcvisiblereturn;
var mystatusreadcgiok;
var myhensuutyousaviewon = 0;
var mynethensuutyousaviewon = 0;
var mybattlerequeston;
var mystatusreadsendok = 0;
var mytimegettimematch;
subtimegettimematch();
txtkomento.maxChars = 20;
subfirstview();
subtxtstatus();
subrulemodematch();
if (myappmode == "replay") {
subbtnreplaystart();
}
var mynetsavekey = new Array();
mynetsavekey[1] = new Array();
mynetsavekey[2] = new Array();
var mynetsavekeynum = new Array();
mynetsavekeynum[1] = new Array();
mynetsavekeynum[2] = new Array();
mylocali = 0;
while (mylocali <= 1000) {
mynetsavekey[1][mylocali] = new Array();
mynetsavekey[2][mylocali] = new Array();
mynetsavekeynum[1][mylocali] = 0;
mynetsavekeynum[2][mylocali] = 0;
mylocali++;
}
var mynetsaveojamaon = new Array();
mynetsaveojamaon[1] = new Array();
mynetsaveojamaon[2] = new Array();
var mynetsavepuyodownon = new Array();
mynetsavepuyodownon[1] = new Array();
mynetsavepuyodownon[2] = new Array();
var mynetsavedownendx1 = new Array();
mynetsavedownendx1[1] = new Array();
mynetsavedownendx1[2] = new Array();
var mynetsavedownendy1 = new Array();
mynetsavedownendy1[1] = new Array();
mynetsavedownendy1[2] = new Array();
var mynetsavedownendc1 = new Array();
mynetsavedownendc1[1] = new Array();
mynetsavedownendc1[2] = new Array();
var mynetsavedownendx2 = new Array();
mynetsavedownendx2[1] = new Array();
mynetsavedownendx2[2] = new Array();
var mynetsavedownendy2 = new Array();
mynetsavedownendy2[1] = new Array();
mynetsavedownendy2[2] = new Array();
var mynetsavedownendc2 = new Array();
mynetsavedownendc2[1] = new Array();
mynetsavedownendc2[2] = new Array();
Instance of Symbol 273 MovieClip in Frame 59
onClipEvent (enterFrame) {
_parent.subevententerframematch();
}
onClipEvent (keyDown) {
_parent.subeventkeydownmatch();
}
onClipEvent (mouseDown) {
_parent.subeventmousedownmatch();
}
onClipEvent (mouseUp) {
_parent.subeventmouseupmatch();
}
Instance of Symbol 742 MovieClip in Frame 59
on (release) {
if (_parent.myhensuutyousaviewon == 1) {
_parent.mctrace1._y = 500;
_parent.mctrace2._y = 500;
_parent.myhensuutyousaviewon = 0;
} else {
_parent.mctrace1._y = 100;
_parent.mctrace2._y = 100;
_parent.myhensuutyousaviewon = 1;
}
}
Instance of Symbol 742 MovieClip in Frame 59
/* no clip actions */
Instance of Symbol 742 MovieClip in Frame 59
/* no clip actions */
Instance of Symbol 742 MovieClip in Frame 59
on (release) {
if (_parent.mynethensuutyousaviewon == 1) {
_parent.mynethensuutyousaviewon = 2;
} else if (_parent.mynethensuutyousaviewon == 2) {
_parent.mctrace1._y = 500;
_parent.mctrace2._y = 500;
_parent.mctrace1.txt.text = "";
_parent.mctrace2.txt.text = "";
_parent.mynethensuutyousaviewon = 0;
} else {
_parent.mctrace1._y = 100;
_parent.mctrace2._y = 100;
_parent.mynethensuutyousaviewon = 1;
}
}
Instance of Symbol 742 MovieClip in Frame 59
on (release) {
_parent.subbtnrensasimyu();
}
Instance of Symbol 196 MovieClip [FScrollBarSymbol] in Frame 62
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txtmember";
horizontal = false;
}
Symbol 27 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 40 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 50 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 59 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 60 MovieClip [UpArrow] Frame 1
stop();
Symbol 60 MovieClip [UpArrow] Frame 2
stop();
Symbol 60 MovieClip [UpArrow] Frame 3
stop();
Symbol 67 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 74 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 79 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 80 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 88 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 96 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 104 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 105 MovieClip [DownArrow] Frame 1
stop();
Symbol 105 MovieClip [DownArrow] Frame 2
stop();
Symbol 105 MovieClip [DownArrow] Frame 3
stop();
Symbol 109 MovieClip [mcpuyoyokoku2_11] Frame 1
stop();
Symbol 111 MovieClip [mcpuyoyokoku2_10] Frame 1
stop();
Symbol 113 MovieClip [mcpuyoyokoku2_9] Frame 1
stop();
Symbol 115 MovieClip [mcpuyoyokoku2_8] Frame 1
stop();
Symbol 117 MovieClip [mcpuyoyokoku2_7] Frame 1
stop();
Symbol 119 MovieClip [mcpuyoyokoku2_6] Frame 1
stop();
Symbol 121 MovieClip [mcpuyoyokoku2_5] Frame 1
stop();
Symbol 123 MovieClip [mcpuyoyokoku2_4] Frame 1
stop();
Symbol 125 MovieClip [mcpuyoyokoku2_3] Frame 1
stop();
Symbol 127 MovieClip [mcpuyoyokoku2_2] Frame 1
stop();
Symbol 129 MovieClip [mcpuyoyokoku2_1] Frame 1
stop();
Symbol 134 MovieClip [mcpuyorensacount] Frame 1
stop();
Symbol 134 MovieClip [mcpuyorensacount] Frame 32
stop();
Symbol 136 MovieClip [mcpuyocolor2_9] Frame 1
stop();
Symbol 138 MovieClip [mcpuyocolor2_6] Frame 1
stop();
Symbol 140 MovieClip [mcpuyocolor2_5] Frame 1
stop();
Symbol 142 MovieClip [mcpuyocolor2_4] Frame 1
stop();
Symbol 144 MovieClip [mcpuyocolor2_3] Frame 1
stop();
Symbol 146 MovieClip [mcpuyocolor2_2] Frame 1
stop();
Symbol 148 MovieClip [mcpuyocolor2_1] Frame 1
stop();
Symbol 150 MovieClip [mcpuyoyokoku1_11] Frame 1
stop();
Symbol 152 MovieClip [mcpuyoyokoku1_10] Frame 1
stop();
Symbol 154 MovieClip [mcpuyoyokoku1_9] Frame 1
stop();
Symbol 156 MovieClip [mcpuyoyokoku1_8] Frame 1
stop();
Symbol 159 MovieClip [mczenkesi] Frame 1
stop();
Symbol 159 MovieClip [mczenkesi] Frame 19
if (_parent._parent.myrulezenkesimode == 1) {
stop();
}
Symbol 159 MovieClip [mczenkesi] Frame 20
stop();
Symbol 159 MovieClip [mczenkesi] Frame 21
stop();
Symbol 161 MovieClip [mcpuyoyokoku1_7] Frame 1
stop();
Symbol 163 MovieClip [mcpuyoyokoku1_6] Frame 1
stop();
Symbol 165 MovieClip [mcpuyoyokoku1_5] Frame 1
stop();
Symbol 167 MovieClip [mcpuyocolor1_9] Frame 1
stop();
Symbol 169 MovieClip [mcpuyoyokoku1_4] Frame 1
stop();
Symbol 171 MovieClip [mcpuyoyokoku1_3] Frame 1
stop();
Symbol 173 MovieClip [mcpuyoyokoku1_2] Frame 1
stop();
Symbol 174 MovieClip [mcpuyoyokoku1_1] Frame 1
stop();
Symbol 177 MovieClip [mcpuyocolor1_6] Frame 1
stop();
Symbol 180 MovieClip [mcpuyocolor1_5] Frame 1
stop();
Symbol 181 MovieClip [mcpuyoaction] Frame 1
stop();
Symbol 181 MovieClip [mcpuyoaction] Frame 2
var mylocalx;
var mylocaly;
var mylocalplaynum;
var mylocaldown;
Symbol 181 MovieClip [mcpuyoaction] Frame 13
stop();
_root.submcpuyostockdelete(mylocalplaynum, mylocalx, mylocaly);
Symbol 181 MovieClip [mcpuyoaction] Frame 14
Symbol 181 MovieClip [mcpuyoaction] Frame 15
if (mylocaldown == 1) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 16
if (mylocaldown == 2) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 17
if (mylocaldown == 3) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 18
if (mylocaldown == 4) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 19
if (mylocaldown == 5) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 20
if (mylocaldown == 6) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 21
if (mylocaldown == 7) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 22
if (mylocaldown == 8) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 23
if (mylocaldown == 9) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 24
if (mylocaldown == 10) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 25
if (mylocaldown == 11) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 26
if (mylocaldown == 12) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 27
if (mylocaldown == 13) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 28
if (mylocaldown == 14) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 29
if (mylocaldown == 15) {
stop();
}
Symbol 181 MovieClip [mcpuyoaction] Frame 30
play();
Symbol 181 MovieClip [mcpuyoaction] Frame 32
Symbol 184 MovieClip [mcpuyocolor1_4] Frame 1
stop();
Symbol 186 MovieClip [mcpuyocolor1_3] Frame 1
stop();
Symbol 189 MovieClip [mcpuyocolor1_2] Frame 1
stop();
Symbol 192 MovieClip [mcpuyocolor1_1] Frame 1
stop();
Symbol 195 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 196 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 291 MovieClip Frame 116
_parent.gotoAndStop("pv");
Symbol 327 MovieClip Frame 342
_parent.gotoAndStop("title");
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 3
play();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 4
play();
Symbol 333 MovieClip Frame 220
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 6
stop();
Symbol 344 MovieClip Frame 13
stop();
Symbol 426 Button
on (release) {
subokkeyconfig();
}
Symbol 428 Button
on (release) {
subreturnkeyconfig();
}
Symbol 439 Button
on (release) {
subbtnreturnconnect();
}
Symbol 454 Button
on (release) {
subbtnloginlogin();
}
Symbol 457 Button
on (release) {
subbtnreturnlogin();
}
Symbol 466 Button
on (release) {
subbtnchatoonofflogin();
}
Symbol 475 Button
on (release) {
if (mypuyochrmode == 2) {
mypuyochrmode = 1;
} else {
mypuyochrmode = 2;
}
}
Symbol 481 Button
on (release) {
submessage();
}
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 31
stop();
Symbol 701 Button
on (release) {
gotoAndStop (46);
subsenddlobby(myselfn);
subsendQE("SI", myselfn);
}
Symbol 705 Button
on (release) {
_parent.subfirstmemberview();
_parent.subsendQR("SI");
}
Instance of Symbol 196 MovieClip [FScrollBarSymbol] in Symbol 706 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txtmember";
horizontal = false;
}
Symbol 707 Button
on (release) {
_parent.subchatset();
}
Symbol 709 Button
on (release) {
_parent.subchatreset();
}
Symbol 711 Button
on (release) {
_parent.subchatlogreset();
}
Instance of Symbol 196 MovieClip [FScrollBarSymbol] "scrget" in Symbol 714 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txtget";
horizontal = false;
}
Symbol 762 MovieClip Frame 40
gotoAndPlay (2);
Symbol 765 MovieClip Frame 40
gotoAndPlay (2);
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 30
stop();
Symbol 766 MovieClip Frame 40
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 775 Button
on (release) {
subkomentoset();
}
Symbol 783 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 2
Symbol 797 MovieClip Frame 19
stop();
Symbol 797 MovieClip Frame 47
stop();
Symbol 797 MovieClip Frame 62
stop();
Symbol 797 MovieClip Frame 77
gotoAndPlay (63);
Symbol 809 Button
on (release) {
_parent.subdefaulttempview();
}
Instance of Symbol 196 MovieClip [FScrollBarSymbol] in Symbol 811 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txtmember";
horizontal = false;
}
Instance of Symbol 196 MovieClip [FScrollBarSymbol] in Symbol 818 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "txt";
horizontal = false;
}
Symbol 839 MovieClip Frame 1
stop();
this.onMouseDown = function () {
if ((((_xmouse > ((_width / 2) * -1)) && (_xmouse < (_width / 2))) && (_ymouse > ((_height / 2) * -1))) && (_ymouse < (_height / 2))) {
gotoAndPlay (2);
}
};
Symbol 841 Button
on (release) {
_root.subreach(2);
}
Symbol 843 Button
on (release) {
_root.subaway();
}
Symbol 847 Button
on (release) {
_root.subchatset();
}