Frame 1
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function stopTimer(trg, sec) {
var _local1 = this;
target = trg;
target.stop();
target.createEmptyMovieClip("mcTimer", 100000);
target.mcTimer.timeOut = sec;
target.mcTimer.startTime = getTimer();
target.mcTimer.onEnterFrame = function () {
var _local1 = this;
if (getTimer() > (_local1.startTime + _local1.timeOut)) {
_local1._parent.play();
_local1.removeMovieClip();
}
};
}
function talk(trg, delay, msg) {
var _local1 = this;
target = trg;
target.stop();
target.msg = "";
target.createEmptyMovieClip("mcTalk", 100001);
target.mcTalk.msg = msg;
target.mcTalk.msgleng = target.mcTalk.msg.length;
target.mcTalk.i = 0;
target.mcTalk.delay = delay;
target.mcTalk.timeOut = 0;
target.mcTalk.startTime = getTimer();
target.mcTalk.onEnterFrame = function () {
var _local1 = this;
if (getTimer() > (_local1.startTime + _local1.timeOut)) {
_local1.mchara = _local1.msg.charAt(_local1.i);
_local1._parent.msg = _local1._parent.msg + _local1.mchara;
_local1.i++;
if (_local1.i < _local1.msgleng) {
_local1.timeOut = _local1.delay;
_local1.startTime = getTimer();
} else {
_local1._parent.play();
_local1.removeMovieClip();
}
}
};
}
function endP(X, Y) {
var _local1 = _root;
_local1.attachMovie("endPanel", "endPanel", 100002);
_local1.endPanel._x = X;
_local1.endPanel._y = Y;
}
function rankP(X, Y) {
var _local1 = _root;
_local1.attachMovie("rankPanel", "rankPanel", 100002);
_local1.rankPanel._x = X;
_local1.rankPanel._y = Y;
}
function helpP(X, Y) {
var _local1 = _root;
_local1.attachMovie("helpPanel", "helpPanel", 100002);
_local1.helpPanel._x = X;
_local1.helpPanel._y = Y;
}
function clearP(X, Y) {
var _local1 = _root;
_local1.attachMovie("clearPanel", "clearPanel", 100003);
_local1.clearPanel._x = X;
_local1.clearPanel._y = Y;
}
System.useCodePage = true;
score = 0;
levelNum = 0;
_root.txtBox.html = true;
_root.txtBox.htmlText = "<b>\u300C\u30AF\u30EC\u30A4\u30B8\u30FC\u30D4\u30A8\u30ED\u300D</b><br><br>\u304B\u308F\u3044\u3044\u30D4\u30A8\u30ED\u3092\u64CD\u4F5C\u3059\u308B\u3068\u3063\u3066\u3082\u30AD\u30E5\u30FC\u30C8\u306A\u30B2\u30FC\u30E0\u3092\u4F5C\u308A\u307E\u3057\u305F\uFF01<br>\u3067\u3082\u3053\u306E\u30B2\u30FC\u30E0\u3001\u5B9F\u306F\u546A\u308F\u308C\u3066\u3044\u308B\u3093\u3067\u3059\u2026\u3002<br><br><b>\u904A\u3073\u65B9</b><br><br>\u30DE\u30A6\u30B9\u3067\u30D4\u30A8\u30ED\u3092\u64CD\u4F5C\u3057\u3066\u3001\u7A7A\u304B\u3089\u964D\u3063\u3066\u304F\u308B\u30EA\u30F3\u30B4\u3092\u96C6\u3081\u307E\u3057\u3087\u3046\uFF01\u9593\u9055\u3063\u3066\u9AA8\u306B\u3076\u3064\u304B\u308B\u3068\u30B2\u30FC\u30E0\u30AA\u30FC\u30D0\u30FC\u3067\u3059\uFF01\u3055\u3042\u541B\u306F\u4F55\u70B9\u3068\u308C\u308B\u304B\u306A\uFF1F<br><br><font color=\"#FF0000\">\u6CE8\uFF09\u3053\u306E\u30B2\u30FC\u30E0\u306F\u546A\u308F\u308C\u3066\u3044\u308B\u306E\u3067\u3001\u3042\u307E\u308A\u70B9\u6570\u3092\u3068\u3089\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002<br>\u70B9\u6570\u304C\u9AD8\u304F\u306A\u308B\u3068\u5FC3\u970A\u73FE\u8C61\u304C\u8D77\u3053\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002<br>\u7279\u306B4000\u70B9\u4EE5\u4E0A\u306F\u7D76\u5BFE\u306B\u3068\u3089\u306A\u3044\u3088\u3046\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002<br>\u307E\u305F\u3001\u6050\u3044\u3082\u306E\u304C\u82E6\u624B\u306A\u4EBA\u3084\u3001\u5FC3\u81D3\u306E\u5F31\u3044\u65B9\u306F\u904A\u3070\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002";
rootSound = new Sound(_root);
rootSound.attachSound("baby");
rootSound.setVolume(100);
rootSound.stop();
rootSound2 = new Sound(_root);
rootSound2.attachSound("mon");
rootSound2.setVolume(100);
rootSound2.stop();
rootSound3 = new Sound(_root);
rootSound3.attachSound("mizu");
rootSound3.setVolume(100);
rootSound3.stop();
stop();
Frame 14
word = "\u305F";
wordSet = "";
wcount = 0;
timeOut = 100;
startTime = getTimer();
this.onEnterFrame = function () {
if (getTimer() > (startTime + timeOut)) {
wcount++;
wordSet = wordSet + word;
if (word == "\u305F") {
word = "\u3059";
} else if (word == "\u3059") {
word = "\u3051";
} else if (word == "\u3051") {
word = "\u3066";
} else if (word == "\u3066") {
word = "\u305F";
}
_root.txtBox.htmlText = ("<font color = \"#FF0000\">" + wordSet) + "</font>";
if (wcount > 300) {
delete this.onEnterFrame;
}
}
};
stop();
Frame 27
stop();
Frame 31
stop();
Symbol 16 MovieClip [clearPanel] Frame 1
point = 0;
this.guard.useHandCursor = false;
Symbol 16 MovieClip [clearPanel] Frame 7
_root.stopTimer(this, 2000);
Symbol 16 MovieClip [clearPanel] Frame 8
pinSound = new Sound(this);
pinSound.attachSound("pin");
pinSound.setVolume(100);
pinSound.start(0, 1000);
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local1.timeBar._width--;
_local2.point = _local2.point + 10;
_local1.score = _local1.score + 10;
if (_local1.timeBar._width < 1) {
_local1.timeBar._visible = false;
pinSound.stop();
_local2.play();
delete _local2.onEnterFrame;
}
};
stop();
Symbol 16 MovieClip [clearPanel] Frame 9
_root.stopTimer(this, 3000);
Symbol 16 MovieClip [clearPanel] Frame 15
_root.stageNum++;
_root.gotoAndPlay("next");
this.removeMovieClip();
Symbol 22 MovieClip [unit] Frame 1
this.rank = _root["rank" + this.ID];
this.name = _root["name" + this.ID];
this.score = _root["score" + this.ID];
Symbol 29 Button
on (press) {
_root.gotoAndStop("opening");
this.removeMovieClip();
}
Symbol 34 Button
on (release) {
_parent.pageNum--;
_parent.play();
}
Symbol 35 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.pageNum == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
Symbol 36 Button
on (release) {
_parent.pageNum++;
_parent.play();
}
Symbol 37 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.pageNum == 10) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
Symbol 42 MovieClip Frame 1
this.page = this.pageNum + "/10";
sNum = ((this.pageNum - 1) * 10) + 1;
mNum = sNum + 9;
pNum = 1;
i = sNum;
while (i <= mNum) {
newName = "unit" + i;
trace(newName);
this.attachMovie("unit", newName, i);
this[newName]._y = 20 * pNum;
this[newName].ID = i;
pNum++;
i++;
}
stop();
Symbol 42 MovieClip Frame 2
i = 1;
while (i <= 100) {
this["unit" + i].removeMovieClip();
i++;
}
Symbol 43 MovieClip [rankPanel] Frame 1
this.guard.useHandCursor = false;
Symbol 43 MovieClip [rankPanel] Frame 11
function loaded(result) {
loadRank(result);
}
function loadRank(list) {
var _local1 = _root;
var _local3 = list.split(newline);
_local1.rankNum = _local3.length - 1;
_local1.rank = 0;
_local1.preScore = "";
i = 0;
while (i <= (_local1.rankNum - 1)) {
var _local2 = _local3[i].split("\t");
_local1["name" + (i + 1)] = _local2[0];
_local1["score" + (i + 1)] = _local2[1];
if (_local1["score" + (i + 1)] == _local1.preScore) {
_local1["rank" + (i + 1)] = _local1.rank;
} else {
_local1.rank++;
_local1["rank" + (i + 1)] = _local1.rank;
}
_local1.preScore = _local1["score" + (i + 1)];
check = (((((i + "\u9806\u4F4D\uFF1A") + _local1["rank" + (i + 1)]) + "\u3000/\u3000\u540D\u524D\uFF1A") + _local1["name" + (i + 1)]) + "\u3000/\u3000\u30B9\u30B3\u30A2\uFF1A") + _local1["score" + (i + 1)];
trace(check);
i++;
}
this.play();
}
var SendData = new LoadVars();
var LoadData = new LoadVars();
SendData.command = "view";
SendData.id = _root.dataID;
conecturl = _root.defurl + Math.random(65536);
SendData.sendAndLoad(conecturl, LoadData, "POST");
LoadData.onData = loaded;
stop();
Symbol 43 MovieClip [rankPanel] Frame 12
stop();
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip [rankPanel] Frame 12
onClipEvent (load) {
this.pageNum = 1;
}
Symbol 44 Button
on (press) {
_root.gotoAndStop("opening");
this.removeMovieClip();
}
Symbol 47 MovieClip [helpPanel] Frame 1
this.guard.useHandCursor = false;
Symbol 47 MovieClip [helpPanel] Frame 12
stop();
Symbol 48 Button
on (press) {
play();
}
Symbol 50 Button
on (press) {
_root.gotoAndStop("opening");
_parent.removeMovieClip();
}
Symbol 55 Button
on (press) {
if (this.name != "") {
play();
}
}
Symbol 65 MovieClip Frame 1
score = _root.score;
stop();
Symbol 65 MovieClip Frame 2
name = "";
stop();
Symbol 65 MovieClip Frame 3
play();
Symbol 65 MovieClip Frame 5
function loaded(result) {
_root.err = result;
play();
}
var SendData = new LoadVars();
var LoadData = new LoadVars();
SendData.command = "save";
SendData.name = this.name;
SendData.score = this.score;
SendData.id = _root.dataID;
conecturl = _root.defurl + Math.random(65536);
SendData.sendAndLoad(conecturl, LoadData, "POST");
LoadData.onData = loaded;
stop();
Symbol 65 MovieClip Frame 10
this.err = _root.err;
stop();
Symbol 66 MovieClip [endPanel] Frame 1
this.guard.useHandCursor = false;
Symbol 66 MovieClip [endPanel] Frame 11
stop();
Symbol 79 MovieClip [iSet] Frame 1
function init() {
var _local1 = _parent;
var _local2 = _root;
_x = (10 + _local2.randomInt(380));
_y = -20;
ySpeed = ((_local2.randomInt(30) / 10) + 1) + (_local1._parent.levelNum / 5);
if (_local1._parent.levelNum > 5) {
rnd = 30;
} else {
rnd = 80 - _local1._parent.levelNum;
}
if (_local2.randomInt(rnd) <= 10) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
engine();
}
function engine() {
var _local1 = _parent;
var _local2 = this;
_local2.onEnterFrame = function () {
var _local1 = _parent;
var _local2 = this;
_y = (_y + ySpeed);
if (_local2.hitTest(_local1._parent.pSet.hp) && (_local1._parent.pSet.flg == 0)) {
if (_local2._currentframe == 1) {
_local1._parent.score = _local1._parent.score + 100;
if (_local1._parent.score == 1000) {
_local1._parent.pSet.face.gotoAndStop(3);
} else if (_local1._parent.score == 2000) {
_local1._parent.jun.showJ();
} else if (_local1._parent.score == 3000) {
_root.rootSound.start();
} else if (_local1._parent.score == 4000) {
_local1._parent.me1.showM();
_local1._parent.me2.showM();
_root.rootSound2.start();
}
_local1._parent.count++;
if (_local1._parent.count >= 10) {
_local1._parent.count = 0;
_local1._parent.levelNum++;
}
gotoAndStop (3);
} else {
_local1._parent.pSet.damage();
gotoAndStop (4);
}
timeOut = 1000;
startTime = getTimer();
_local2.onEnterFrame = function () {
if (getTimer() > (startTime + timeOut)) {
this.removeMovieClip();
}
};
} else if (_y > 320) {
_local2.removeMovieClip();
}
};
}
init();
Symbol 102 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
function init() {
_x = 200;
xSpeed = 0;
accell = 0.3;
this.face.gotoAndStop(1);
this.body.gotoAndStop(1);
}
function engine() {
var _local1 = this;
flg = 0;
_local1.face.gotoAndStop(1);
_local1.body.gotoAndStop(1);
_local1.onEnterFrame = function () {
var _local1 = this;
X = _x + 50;
if (X < _root._xmouse) {
_local1.face._xscale = -100;
xSpeed = xSpeed + accell;
if (xSpeed > 4) {
xSpeed = 4;
}
} else if (X > _root._xmouse) {
_local1.face._xscale = 100;
xSpeed = xSpeed - accell;
if (xSpeed < -4) {
xSpeed = -4;
}
}
_x = (_x + xSpeed);
if (_x < 10) {
_x = 10;
xSpeed = 0;
} else if (_x > 390) {
_x = 390;
xSpeed = 0;
}
_local1.ball._rotation = _local1.ball._rotation + xSpeed;
_local1.ball._xscale = 100;
_local1.ball._yscale = 100;
};
}
function damage() {
var _local1 = this;
flg = 1;
xSpeed = 0;
if (_local1.face._currentframe == 1) {
_local1.face.gotoAndStop(2);
}
_local1.body.gotoAndStop(2);
_parent.gotoAndStop("over");
delete _local1.onEnterFrame;
}
init();
Symbol 113 Button
on (release) {
play();
}
Symbol 120 MovieClip Frame 1
function showJ() {
this.onEnterFrame = function () {
_alpha = (_alpha+1);
if (_alpha > 50) {
_alpha = 50;
delete this.onEnterFrame;
}
};
}
_alpha = 0;
Symbol 123 MovieClip Frame 1
function showM() {
this.onEnterFrame = function () {
_alpha = (_alpha+1);
if (_alpha > 50) {
_alpha = 50;
delete this.onEnterFrame;
}
};
}
_alpha = 0;
Symbol 124 MovieClip Frame 1
function makeI() {
newName = "i" + iNum;
if (this[newName]) {
} else {
this.attachMovie("iSet", newName, iNum);
}
iNum++;
if (iNum > 30) {
iNum = 1;
}
}
iNum = 1;
timeOut = 500 - (_parent.levelNum * 20);
startTime = getTimer();
this.onEnterFrame = function () {
if (getTimer() > (startTime + timeOut)) {
makeI();
startTime = getTimer();
}
};
Symbol 127 Button
on (release) {
if (this.score < 4000) {
this.pSet.init();
this.gotoAndStop(1);
} else {
_root.play();
play();
}
}
Symbol 136 Button
on (release) {
nextFrame();
}
Symbol 140 Button
on (release) {
play();
}
Symbol 150 MovieClip Frame 1
score = 0;
levelNum = 1;
count = 0;
bgmSound = new Sound(this);
bgmSound.attachSound("bgm");
bgmSound.setVolume(100);
bgmSound.stop();
stop();
Symbol 150 MovieClip Frame 2
bgmSound.start(0, 1000);
pSet.engine();
stop();
Symbol 150 MovieClip Frame 3
bgmSound.stop();
stop();
Symbol 150 MovieClip Frame 4
_root.rootSound3.start(0, 1000);
Symbol 150 MovieClip Frame 30
stop();
Symbol 150 MovieClip Frame 225
_root.play();
Symbol 150 MovieClip Frame 350
stop();
Symbol 153 MovieClip Frame 1
startTime = getTimer();
timeOut = 1210 - (_root.stageNum * 10);
this.onEnterFrame = function () {
var _local1 = this;
if (getTimer() > (startTime + timeOut)) {
_local1._width = _local1._width - 1;
if (_local1._width < 1) {
_local1._visible = false;
_root.miss(2);
delete _local1.onEnterFrame;
}
startTime = getTimer();
}
};