Frame 7
ifFrameLoaded (_totalframes) {
gotoAndStop (10);
}
Frame 9
if (_framesloaded < _totalframes) {
gotoAndPlay (8);
}
Frame 10
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 13 MovieClip Frame 1
ran = random("2") + "1";
stop();
Symbol 13 MovieClip Frame 2
gotoAndPlay("bound" add ran);
Symbol 13 MovieClip Frame 27
Set("../:mato", ../:mato + "1");
Set("../:score", ../:score + ("10" * ../:bai));
Set("../:bai", ../:bai + "1");
if (("0" < ../:ball) and ((../:mato / "9") == int(../:mato / "9"))) {
play();
} else {
stop();
}
Symbol 13 MovieClip Frame 36
stop();
call("../:mato_reset");
Symbol 13 MovieClip Frame 61
Set("../:mato", ../:mato + "1");
Set("../:score", ../:score + ("10" * ../:bai));
Set("../:bai", ../:bai + "1");
if (("0" < ../:ball) and ((../:mato / "9") == int(../:mato / "9"))) {
play();
} else {
stop();
}
Symbol 13 MovieClip Frame 70
stop();
call("../:mato_reset");
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 3
if ("0" >= _y) {
if (("15" < getProperty("bound/", _currentframe)) and (getProperty("bound/", _currentframe) < "56")) {
if ((((-"124") < _x) and (_x < (-"100"))) and (getProperty("../mato1/", _currentframe) == "1")) {
tellTarget ("../mato1") {
play();
};
} else if ((((-"96") < _x) and (_x < (-"72"))) and (getProperty("../mato2/", _currentframe) == "1")) {
tellTarget ("../mato2") {
play();
};
} else if ((((-"68") < _x) and (_x < (-"44"))) and (getProperty("../mato3/", _currentframe) == "1")) {
tellTarget ("../mato3") {
play();
};
} else if ((((-"40") < _x) and (_x < (-"16"))) and (getProperty("../mato4/", _currentframe) == "1")) {
tellTarget ("../mato4") {
play();
};
} else if ((((-"12") < _x) and (_x < "12")) and (getProperty("../mato5/", _currentframe) == "1")) {
tellTarget ("../mato5") {
play();
};
} else if (((_x < "40") and ("16" < _x)) and (getProperty("../mato6/", _currentframe) == "1")) {
tellTarget ("../mato6") {
play();
};
} else if (((_x < "68") and ("44" < _x)) and (getProperty("../mato7/", _currentframe) == "1")) {
tellTarget ("../mato7") {
play();
};
} else if (((_x < "96") and ("72" < _x)) and (getProperty("../mato8/", _currentframe) == "1")) {
tellTarget ("../mato8") {
play();
};
} else if (((_x < "124") and ("100" < _x)) and (getProperty("../mato9/", _currentframe) == "1")) {
tellTarget ("../mato9") {
play();
};
} else {
tellTarget ("../bs") {
gotoAndStop ("bound");
};
Set("../:bai", "1");
}
} else {
tellTarget ("../bs") {
gotoAndStop ("bound");
};
Set("../:bai", "1");
}
Set("../:ball_y", ../:ball_y * (-"1"));
}
_x = (_x + ../:ball_x);
_y = (_y + ../:ball_y);
if ((((-"190") < _x) and (_x < "190")) and (_y < "150")) {
gotoAndPlay (2);
} else {
tellTarget ("../atari") {
gotoAndStop ("stop");
};
tellTarget ("../nokori") {
play();
};
}
Symbol 17 MovieClip Frame 30
Set("../:ball", ../:ball - "1");
Set("../:bai", "1");
if ("0" < ../:ball) {
tellTarget ("../atari") {
gotoAndStop ("start");
};
}
gotoAndStop (1);
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 15
gotoAndPlay (2);
Symbol 33 MovieClip Frame 1
i = "1";
tellTarget ("ase") {
gotoAndStop (1);
}
Symbol 33 MovieClip Frame 9
if (i == "2") {
tellTarget ("ase") {
play();
};
}
Symbol 33 MovieClip Frame 20
i = i + "1";
gotoAndPlay (3);
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 105
stop();
Symbol 35 MovieClip Frame 127
tellTarget ("../../") {
gotoAndPlay ("main");
};
gotoAndStop (1);
Symbol 36 MovieClip Frame 1
stop();
Symbol 38 Button
on (press) {
if ("2" >= getProperty("../chr/muki/", _currentframe)) {
tellTarget ("../bs") {
gotoAndStop ("shot");
};
if (getProperty("../chr/", _currentframe) == "1") {
setProperty("../ball", _x , getProperty("../chr/", _x) + "24");
Set("../:ball_x", -"1");
} else {
setProperty("../ball", _x , getProperty("../chr/", _x) - "24");
Set("../:ball_x", "1");
}
setProperty("../ball", _y , getProperty("../chr/", _y));
Set("../:ball_y", -"2");
tellTarget ("../") {
gotoAndStop ("shot");
};
tellTarget ("../ball") {
play();
};
tellTarget ("../ranking") {
gotoAndStop (2);
};
nextFrame();
}
}
Symbol 39 Button
on (press) {
if ("2" >= getProperty("../chr/muki/", _currentframe)) {
if (((getProperty("../chr/", _y) + "24") >= getProperty("../ball/", _y)) and (getProperty("../ball/", _y) >= (getProperty("../chr/", _y) - "24"))) {
if (getProperty("../chr/", _currentframe) == "1") {
if (((getProperty("../chr/", _x) + "8") < getProperty("../ball/", _x)) and (getProperty("../ball/", _x) < (getProperty("../chr/", _x) + "40"))) {
tellTarget ("../bs") {
gotoAndStop ("shot");
};
Set("../:ball_x", (-"0.1") * int(getProperty("../chr/", _y) - getProperty("../ball/", _y)));
Set("../:ball_y", -"2");
tellTarget ("../ball/bound") {
gotoAndPlay (1);
};
Set("../:test", ../:test + "1");
} else {
tellTarget ("../bs") {
gotoAndStop ("suka");
};
}
} else if ((getProperty("../ball/", _x) < (getProperty("../chr/", _x) - "8")) and ((getProperty("../chr/", _x) - "40") < getProperty("../ball/", _x))) {
tellTarget ("../bs") {
gotoAndStop ("shot");
};
Set("../:ball_x", "0.1" * int(getProperty("../chr/", _y) - getProperty("../ball/", _y)));
Set("../:ball_y", -"2");
tellTarget ("../ball/bound") {
gotoAndPlay (1);
};
Set("../:test", ../:test + "1");
} else {
tellTarget ("../bs") {
gotoAndStop ("suka");
};
}
} else {
tellTarget ("../bs") {
gotoAndStop ("suka");
};
}
tellTarget ("../") {
gotoAndStop ("shot");
};
} else {
tellTarget ("../bs") {
gotoAndStop ("suka");
};
}
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 150
tellTarget ("../") {
nextFrame();
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 22
stop();
Symbol 49 MovieClip Frame 43
stop();
Symbol 49 MovieClip Frame 64
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
gotoAndStop (1);
Symbol 54 MovieClip Frame 3
gotoAndStop (1);
Symbol 54 MovieClip Frame 4
gotoAndStop (1);
Symbol 58 Button
on (release) {
stopDrag();
tellTarget ("../chr/muki") {
gotoAndStop (1);
};
tellTarget ("../atari") {
gotoAndStop ("stop");
};
tellTarget ("../") {
gotoAndStop ("ranking");
};
gotoAndStop (3);
}
Symbol 64 Button
on (release, keyPress "<Enter>") {
if (name ne "") {
gotoAndPlay (5);
}
}
Symbol 67 Button
on (release) {
startDrag ("../atari", true, "-160", "20", "160", "120");
tellTarget ("../") {
gotoAndPlay ("start");
};
name = "";
}
Symbol 71 Button
on (release) {
startDrag ("../../atari", true, "-160", "20", "160", "120");
tellTarget ("../../") {
gotoAndPlay ("start");
}
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 104 Button
on (release) {
startDrag ("../atari", true, "-160", "20", "160", "120");
tellTarget ("../") {
gotoAndPlay ("start");
}
}
Symbol 106 Button
on (release) {
if ("0" < z) {
z = z - "10";
call("hyoji");
}
}
Symbol 107 Button
on (release) {
if (z < "90") {
z = z + "10";
call("hyoji");
}
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 3
if (name eq "") {
nextFrame();
} else {
gotoAndPlay (5);
}
Symbol 108 MovieClip Frame 5
time = int(getTimer() / "1000");
if (high < ../:best) {
high = ../:best;
command = "save";
} else {
command = "load";
}
score = high;
loadVariables ("../bin/tokkun.cgi", "", "POST");
Symbol 108 MovieClip Frame 7
if (command ne "end") {
if ((time + "5") < int(getTimer() / "1000")) {
tellTarget ("cancel") {
gotoAndStop (2);
};
}
gotoAndPlay (6);
}
Symbol 108 MovieClip Frame 8
z = "0";
call("hyoji");
stop();
Symbol 108 MovieClip Frame 9
i = "1";
while ("10" >= i) {
Set("num" add i, z + i);
Set("name" add i, eval ("nam" add (z + i)));
Set("score" add i, eval ("scr" add (z + i)));
i = i + "1";
}
Symbol 110 MovieClip Frame 1
startDrag ("atari", true, "-160", "20", "160", "120");
best = "0";
Symbol 110 MovieClip Frame 4
score = "0";
mato = "0";
ball = "3";
bai = "1";
call("mato_reset");
tellTarget ("atari") {
gotoAndStop ("start");
};
tellTarget ("nokori") {
gotoAndStop (1);
};
tellTarget ("ranking") {
gotoAndStop (1);
}
Symbol 110 MovieClip Frame 6
move = "0";
chr_x = int(getProperty("chr/", _x));
chr_y = int(getProperty("chr/", _y));
if ((int(getProperty("chr/", _x)) + "4") < int(getProperty("atari/", _x))) {
tellTarget ("chr") {
gotoAndStop ("right");
};
move = "1";
setProperty("chr", _x , chr_x + "2");
} else if (int(getProperty("atari/", _x)) < (int(getProperty("chr/", _x)) - "4")) {
tellTarget ("chr") {
gotoAndStop ("left");
};
move = "1";
setProperty("chr", _x , chr_x - "2");
}
if ((int(getProperty("chr/", _y)) + "1") < (int(getProperty("atari/", _y)) - "8")) {
move = "1";
setProperty("chr", _y , chr_y + "1");
} else if ((int(getProperty("atari/", _y)) - "8") < (int(getProperty("chr/", _y)) - "1")) {
move = "1";
setProperty("chr", _y , chr_y - "1");
}
if (move) {
tellTarget ("chr/muki") {
gotoAndStop ("run");
};
} else {
tellTarget ("chr/muki") {
gotoAndStop ("stop");
};
}
if ("0" < ball) {
gotoAndPlay (5);
} else {
gotoAndStop (9);
}
Symbol 110 MovieClip Frame 7
tellTarget ("chr/muki") {
gotoAndPlay ("shot");
}
Symbol 110 MovieClip Frame 9
tellTarget ("mess") {
play();
};
tellTarget ("chr/muki") {
gotoAndPlay ("game over");
}
Symbol 110 MovieClip Frame 10
if (best < score) {
best = score;
}
gotoAndPlay (4);
Symbol 110 MovieClip Frame 21
i = "1";
while ("9" >= i) {
tellTarget ("mato" add i) {
gotoAndStop (1);
};
i = i + "1";
}