Frame 5
ifFrameLoaded (_totalframes) {
gotoAndStop (8);
}
Frame 7
if (_framesloaded < _totalframes) {
gotoAndPlay (6);
}
Frame 8
stop();
Symbol 6 MovieClip Frame 1
Set("clock/:h_l", "0");
Set("clock/:h_s", "0");
Symbol 6 MovieClip Frame 61
if (("0" < h_l) and (h_l == "330")) {
h_l = "0";
h_s = h_s + "30";
} else {
h_l = h_l + "30";
}
setProperty("hari_s", _rotation , h_s);
setProperty("hari_l", _rotation , h_l);
gotoAndPlay (2);
Symbol 7 MovieClip Frame 1
tellTarget ("clock") {
gotoAndPlay (1);
}
Symbol 7 MovieClip Frame 2
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 6
tellTarget ("../") {
gotoAndPlay (4);
};
stop();
Symbol 15 MovieClip Frame 20
stop();
Symbol 15 MovieClip Frame 40
gotoAndStop (20);
Symbol 23 Button
on (release) {
if ("8" < i) {
i = i - "8";
call("hyoji");
}
}
Symbol 24 Button
on (release) {
if (i < "73") {
i = i + "8";
call("hyoji");
}
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
scr80 = "0";
name = ../:name;
perfect = ../:perfect;
if (high < ../:high) {
score = ../:high;
} else {
score = "0";
}
loadVariables ("../bin/hishi_l.cgi", "", "POST");
Symbol 25 MovieClip Frame 4
if (scr80 == "0") {
gotoAndPlay (3);
} else {
high = ../:high;
Set("../rank/:time", ../rank/:time - "10");
}
Symbol 25 MovieClip Frame 5
i = "1";
call("hyoji");
stop();
Symbol 25 MovieClip Frame 6
num = "";
name_ = "";
score_ = "";
x = "0";
while (x < "8") {
num = (num add (i + x)) add "\r";
name_ = (name_ add eval ("name" add (i + x))) add "\r";
score_ = (score_ add eval ("scr" add (i + x))) add "\r";
x = x + "1";
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 34 Button
on (release, keyPress "<Enter>") {
if (name ne "") {
nextFrame();
tellTarget ("back") {
play();
};
}
}
Symbol 44 Button
on (release) {
if (getProperty("../", _currentframe) == "6") {
tellTarget ("../") {
gotoAndStop ("ranking");
};
time = int(getTimer() / "1000");
play();
}
}
Symbol 50 Button
on (release) {
tellTarget ("../") {
gotoAndStop ("ranking_end");
};
gotoAndStop (1);
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 3
if (int(getTimer() / "1000") < (time + "8")) {
gotoAndPlay (2);
}
Symbol 51 MovieClip Frame 4
stop();
Symbol 55 Button
on (press) {
if (getProperty("../", _currentframe) == "6") {
tellTarget ("../") {
gotoAndPlay ("poka");
};
}
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 60 Button
on (release) {
if (getProperty("../", _currentframe) == "6") {
tellTarget ("../") {
gotoAndPlay ("restart");
};
}
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 65 Button
on (release) {
if (getProperty("../", _currentframe) == "6") {
tellTarget ("../") {
gotoAndPlay ("shuffle");
};
nextFrame();
}
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 70 Button
on (press) {
if (getProperty("../", _currentframe) == "6") {
Set("../:sk_h", substring(_name, "2", -"1"));
Set("../:x", ../:sk_h);
call("aruka");
if (../:x ne "") {
Set("../:add", "");
Set("../:i", "1");
while (length(../:select) >= ../:i) {
Set("../:x", substring(../:select, ../:i, "2"));
setProperty(("../k" add ../:x) add "/select", _visible , "0");
Set("../:i", ../:i + "2");
}
Set("../:select", ../:sk_h);
Set("../:sk_f", _currentframe);
while (../:sk_h ne "") {
Set("../:sk", substring(../:sk_h, "1", "2"));
Set("../:sk_h", substring(../:sk_h, "3", -"1"));
if (("9" < ../:sk) and ((substring(../:ran, ../:sk - "9", "1")) == ../:sk_f)) {
Set("../:x", ../:sk - "10");
call("select");
}
if (((../:sk / "10") <> int(../:sk / "10")) and ((substring(../:ran, ../:sk, "1")) == ../:sk_f)) {
Set("../:x", ../:sk - "1");
call("select");
}
if (((substring(../:sk, "2", "1")) ne "9") and ((substring(../:ran, ../:sk + "2", "1")) == ../:sk_f)) {
Set("../:x", ../:sk + "1");
call("select");
}
if ((../:sk < "90") and ((substring(../:ran, ../:sk + "11", "1")) == ../:sk_f)) {
Set("../:x", ../:sk + "10");
call("select");
}
}
if ("2" < length(../:select)) {
tellTarget ("../") {
gotoAndPlay ("ka");
};
Set("../:i", "1");
while (length(../:select) >= ../:i) {
Set("../:add", ../:add + (../:k_koma - "2"));
Set("../:x", substring(../:select, ../:i, "2"));
setProperty(("../k" add ../:x) add "/select", _visible , "1");
Set("../:i", ../:i + "2");
}
Set("../:add", "+" add (../:add * ../:add));
}
} else if ("2" < length(../:select)) {
tellTarget ("../") {
gotoAndPlay ("kapo");
};
}
}
}
Symbol 71 MovieClip Frame 1
setProperty("select", _visible , "0");
stop();
Symbol 71 MovieClip Frame 2
setProperty("select", _visible , "0");
Symbol 71 MovieClip Frame 3
setProperty("select", _visible , "0");
Symbol 71 MovieClip Frame 4
setProperty("select", _visible , "0");
Symbol 71 MovieClip Frame 5
setProperty("select", _visible , "0");
Symbol 71 MovieClip Frame 6
setProperty("select", _visible , "0");
Symbol 71 MovieClip Frame 7
setProperty("select", _visible , "0");
Symbol 71 MovieClip Frame 8
gotoAndPlay (1);
Symbol 71 MovieClip Frame 11
if (../:x < "10") {
Set("../:x", "0" add ../:x);
}
call("aruka");
Set("../:sk_h", ../:sk_h add ../:x);
Set("../:select", ../:select add ../:x);
Symbol 71 MovieClip Frame 12
Set("../:i", "1");
while (length(../:select) >= ../:i) {
if (../:x == (substring(../:select, ../:i, "2"))) {
Set("../:x", "");
}
Set("../:i", ../:i + "2");
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 1
s_rest = "0";
high = "00000";
score = "00000";
perfect = "0";
k_koma = "3";
duplicateMovieClip ("mess_moto", "mess", "200");
setProperty("mess_moto", _visible , "0");
duplicateMovieClip ("ranking_", "ranking", "201");
setProperty("ranking_", _visible , "0");
Set("ranking/:high", "0");
stop();
Symbol 79 MovieClip Frame 5
s_rest = s_rest + "1";
shuffle = "0";
tellTarget ("title") {
play();
};
setProperty("koma1", _visible , "1");
select = "";
add = "";
undo = "";
tellTarget ("b_undo") {
gotoAndStop (1);
};
i = "1";
while (k_koma >= i) {
if ("1" < i) {
duplicateMovieClip ("koma1", "koma" add i, "99" + i);
tellTarget ("koma" add i) {
gotoAndStop(../:i);
};
if (i < "5") {
setProperty("koma" add i, _x , getProperty("koma1/", _x) + ((i - "1") * "26"));
} else {
setProperty("koma" add i, _x , getProperty("koma1/", _x) + ((i - "5") * "26"));
setProperty("koma" add i, _y , getProperty("koma1/", _y) + "20");
}
}
Set(("koma" add i) add "/:koma", "0");
i = i + "1";
}
x = "15";
y = -"80";
ran = "";
i = "0";
while (i < "100") {
if (i < "10") {
i = "0" add i;
}
if ("0" < i) {
duplicateMovieClip ("k00", "k" add i, i);
setProperty("k" add i, _x , x);
setProperty("k" add i, _y , y);
if ((substring(i, "2", "1")) ne "9") {
x = x + "15";
y = y + "10";
} else {
x = x - "150";
y = y - "80";
}
}
z = random(k_koma) + "1";
ran = ran add z;
Set(("koma" add z) add "/:koma", eval (("koma" add z) add "/:koma") + "1");
tellTarget ("k" add i) {
gotoAndStop(substring(../:ran, ../:i + "1", "1"));
};
i = i + "1";
}
setProperty("k00/select", _visible , "0");
Symbol 79 MovieClip Frame 6
tellTarget ("reset") {
gotoAndStop (1);
};
x = "0";
i = "0";
while ((i < "100") and (x == "0")) {
x = (substring(ran, i + "1", "1")) eq "0";
i = i + "1";
}
i = (x == "1") or ("3" < k_koma);
tellTarget ("rank") {
gotoAndStop(../:i + "1");
};
call("shuffle_check");
stop();
Symbol 79 MovieClip Frame 7
tellTarget ("shuffle") {
gotoAndStop (2);
};
tellTarget ("reset") {
gotoAndStop (2);
};
tellTarget ("b_undo") {
gotoAndStop (1);
};
tellTarget ("rank") {
gotoAndStop (2);
};
undo = ran;
undo_score = score;
undo_high = high;
i = "1";
while (k_koma >= i) {
Set("undo_koma" add i, eval (("koma" add i) add "/:koma"));
i = i + "1";
}
while (select ne "") {
Set(("koma" add sk_f) add "/:koma", eval (("koma" add sk_f) add "/:koma") - "1");
x = substring(select, "1", "2");
tellTarget ("k" add x) {
gotoAndStop ("null");
};
ran = ((substring(ran, "1", x)) add "0") add (substring(ran, x + "2", -"1"));
select = substring(select, "3", -"1");
}
call("score");
x0 = "99";
x1 = "9889";
x2 = "977988";
x3 = "96698778";
x4 = "9559866877";
x5 = "944985587667";
x6 = "93398448755766";
x7 = "9229833874476556";
x8 = "911982287337644655";
x9 = "90098118722763365445";
x10 = "800871176226533544";
x11 = "7007611652254334";
x12 = "60065115422433";
x13 = "500541143223";
x14 = "4004311322";
x15 = "30032112";
x16 = "200211";
x17 = "1001";
x18 = "00";
f = "1";
if (ran == "0") {
gotoAndStop (18);
}
Symbol 79 MovieClip Frame 8
x = eval ("x" add f);
i = -"1";
g = "0";
while ((f < "19") and (g == "0")) {
if (x ne "") {
i = i * (-"1");
} else {
f = f + "1";
x = eval ("x" add f);
i = "1";
}
y = substring(x, "1", "2");
x = substring(x, "3", -"1");
if ((substring(ran, y + "1", "1")) ne "0") {
z = "000";
if ((y < "90") and ((substring(y, "2", "1")) ne "9")) {
z = (substring(ran, y + "11", "1")) eq "0";
z = z add ((substring(ran, y + "12", "1")) eq "0");
z = z add ((substring(ran, y + "2", "1")) eq "0");
if (z eq "101") {
if (i == (-"1")) {
z = "100";
} else {
z = "001";
}
}
} else if ((y >= "90") and ((substring(ran, y + "2", "1")) eq "0")) {
z = "001";
} else if ((substring(ran, y + "11", "1")) eq "0") {
z = "100";
}
g = z ne "000";
}
}
Symbol 79 MovieClip Frame 9
if (g == "1") {
tellTarget ("k" add y) {
gotoAndStop ("null");
};
if (z eq "111") {
tellTarget ("k" add (y + "11")) {
gotoAndStop(substring(../:ran, ../:y + "1", "1"));
};
ran = ((((substring(ran, "1", y)) add "0") add (substring(ran, y + "2", "10"))) add (substring(ran, y + "1", "1"))) add (substring(ran, y + "13", -"1"));
} else if ((z eq "011") or (z eq "001")) {
y = y + "1";
if (y < "10") {
y = "0" add y;
}
tellTarget ("k" add y) {
gotoAndStop(substring(../:ran, ../:y, "1"));
};
ran = (((substring(ran, "1", y - "1")) add "0") add (substring(ran, y, "1"))) add (substring(ran, y + "2", -"1"));
} else {
tellTarget ("k" add (y + "10")) {
gotoAndStop(substring(../:ran, ../:y + "1", "1"));
};
ran = ((((substring(ran, "1", y)) add "0") add (substring(ran, y + "2", "9"))) add (substring(ran, y + "1", "1"))) add (substring(ran, y + "12", -"1"));
}
f = f - "2";
gotoAndPlay (8);
} else {
nextFrame();
}
Symbol 79 MovieClip Frame 10
x = "99";
i = "1";
f = "0";
g = "0";
while ((g == "0") and (x >= "0")) {
y = x - (f * "9");
if ((substring(ran, y + "1", "1")) ne "0") {
if (("9" < y) and (int(y / "10") <> (y / "10"))) {
if ((substring(ran, y + "1", "1")) eq (substring(ran, y, "1"))) {
g = "1";
} else if ((substring(ran, y + "1", "1")) eq (substring(ran, y - "9", "1"))) {
g = "1";
}
} else if (y < "10") {
g = (substring(ran, y + "1", "1")) eq (substring(ran, y, "1"));
} else {
g = (substring(ran, y + "1", "1")) eq (substring(ran, y - "9", "1"));
}
}
if (f < (i - "1")) {
f = f + "1";
} else {
if ("90" < x) {
x = x - "1";
i = i + "1";
} else {
x = x - "10";
i = i - "1";
}
f = "0";
}
}
call("shuffle_check");
if ((g == "0") and (getProperty("shuffle/", _currentframe) == "2")) {
gotoAndStop (26);
} else if (shu_) {
shu_ = "0";
gotoAndStop (6);
} else {
tellTarget ("b_undo") {
gotoAndStop (2);
};
gotoAndStop (6);
}
Symbol 79 MovieClip Frame 14
tellTarget ("shuffle") {
gotoAndStop (2);
};
tellTarget ("reset") {
gotoAndStop (2);
};
tellTarget ("b_undo") {
gotoAndStop (1);
};
tellTarget ("ranking") {
play();
};
i = "0";
while (i < "100") {
if (("0" < i) and (k_koma >= i)) {
setProperty("koma" add i, _visible , "0");
}
if (i < "10") {
i = "0" add i;
}
tellTarget ("k" add i) {
gotoAndStop ("null");
};
i = i + "1";
}
Symbol 79 MovieClip Frame 15
tellTarget ("ranking") {
gotoAndStop (1);
};
gotoAndStop (31);
Symbol 79 MovieClip Frame 18
if (k_koma < "7") {
Set("mess/:mess", "Level Up");
} else {
Set("mess/:mess", "Done Well");
perfect = "1";
}
time = int(getTimer() / "100") + "4";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 19
tellTarget ("mess") {
gotoAndStop (2);
};
time = int(getTimer() / "100") + "2";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 20
tellTarget ("mess") {
gotoAndStop (1);
};
time = int(getTimer() / "100") + "2";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 21
tellTarget ("mess") {
gotoAndStop (2);
};
if (k_koma < "6") {
time = int(getTimer() / "100") + "5";
} else {
time = int(getTimer() / "100") + "12";
}
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 22
if (k_koma < "7") {
add = "+" add ((k_koma - "2") * "500");
} else {
add = "+5000";
}
time = int(getTimer() / "100") + "8";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 23
tellTarget ("mess") {
gotoAndStop (1);
};
call("score");
if (k_koma < "7") {
k_koma = k_koma + "1";
tellTarget ("shuffle") {
gotoAndStop (1);
};
tellTarget ("s_rest up") {
play();
};
gotoAndPlay (5);
} else {
gotoAndStop (26);
}
Symbol 79 MovieClip Frame 26
Set("mess/:mess", "Game Over");
time = int(getTimer() / "100") + "4";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 27
tellTarget ("mess") {
gotoAndStop (2);
};
time = int(getTimer() / "100") + "2";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 28
tellTarget ("mess") {
gotoAndStop (1);
};
time = int(getTimer() / "100") + "2";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 29
tellTarget ("mess") {
gotoAndStop (2);
};
time = int(getTimer() / "100") + "12";
t_back = _currentframe + "1";
gotoAndPlay (43);
Symbol 79 MovieClip Frame 30
tellTarget ("mess") {
gotoAndStop (1);
}
Symbol 79 MovieClip Frame 31
s_rest = "0";
i = "0";
while (i < "100") {
if (("1" < i) and (k_koma >= i)) {
removeMovieClip("koma" add i);
}
if ("0" < i) {
if (i < "10") {
i = "0" add i;
}
removeMovieClip("k" add i);
}
i = i + "1";
}
score = "00000";
k_koma = "3";
tellTarget ("shuffle") {
gotoAndStop (1);
};
gotoAndPlay (5);
Symbol 79 MovieClip Frame 34
gotoAndStop (6);
Symbol 79 MovieClip Frame 37
gotoAndPlay (7);
Symbol 79 MovieClip Frame 40
add = "";
while (select ne "") {
i = substring(select, "1", "2");
setProperty(("k" add i) add "/select", _visible , "0");
select = substring(select, "3", -"1");
}
x = ran;
y = score;
z = high;
i = "1";
while (k_koma >= i) {
Set("h" add i, eval (("koma" add i) add "/:koma"));
i = i + "1";
}
ran = undo;
score = undo_score;
high = undo_high;
i = "1";
while (k_koma >= i) {
Set(("koma" add i) add "/:koma", eval ("undo_koma" add i));
i = i + "1";
}
undo = x;
undo_score = y;
undo_high = z;
i = "1";
while (k_koma >= i) {
Set("undo_koma" add i, eval ("h" add i));
i = i + "1";
}
call("ran");
call("shuffle_check");
Symbol 79 MovieClip Frame 41
gotoAndStop (6);
Symbol 79 MovieClip Frame 44
if (time >= int(getTimer() / "100")) {
gotoAndPlay (43);
} else {
gotoAndPlay(t_back);
}
Symbol 79 MovieClip Frame 47
score = score + add;
while (length(score) < "5") {
score = "0" add score;
}
if (high < score) {
high = score;
}
add = "";
Symbol 79 MovieClip Frame 50
if ("0" < s_rest) {
shu = "0";
i = "1";
while ((k_koma >= i) and (shu == "0")) {
shu = eval (("koma" add i) add "/:koma") == "1";
i = i + "1";
}
tellTarget ("shuffle") {
gotoAndStop(../:shu + "1");
};
}
Symbol 79 MovieClip Frame 53
s_rest = s_rest - "1";
shuffle = "1";
shu_ = "1";
ran = "";
i = "1";
while (k_koma >= i) {
x = "1";
while (eval (("koma" add i) add "/:koma") >= x) {
y = random(length(ran)) + "1";
ran = ((substring(ran, "1", y)) add i) add (substring(ran, y + "1", -"1"));
x = x + "1";
}
i = i + "1";
}
while (length(ran) < "100") {
y = random(length(ran)) + "1";
ran = ((substring(ran, "1", y)) add "0") add (substring(ran, y + "1", -"1"));
}
call("ran");
add = "";
while (select ne "") {
i = substring(select, "1", "2");
setProperty(("k" add i) add "/select", _visible , "0");
select = substring(select, "3", -"1");
}
if ("0" < s_rest) {
tellTarget ("shuffle") {
gotoAndStop (1);
};
}
select = "";
gotoAndPlay (7);
Symbol 79 MovieClip Frame 56
i = "0";
while (i < "100") {
if (i < "10") {
i = "0" add i;
}
if ((substring(ran, i + "1", "1")) <> "0") {
tellTarget ("k" add i) {
gotoAndStop(substring(../:ran, ../:i + "1", "1"));
};
} else {
tellTarget ("k" add i) {
gotoAndStop ("null");
};
}
i = i + "1";
}