Frame 1
function rand(num) {
return(math.floor(math.random() * num));
}
function replace(str, idx, len, subs) {
return((str.subString(0, idx) + subs) + str.subString(idx + len, length(str)));
}
function replaceAll(orgs, froms, tos) {
var str = orgs;
var len = length(froms);
var idx = str.indexOf(froms);
while (idx >= 0) {
str = replace(str, idx, len, tos);
idx = str.indexOf(froms);
}
return(str);
}
function dispMessage(mes) {
var str = replaceAll(mes, "[name]", name);
str = replaceAll(str, "$", "<BR>");
tellTarget ("_root.Dialog") {
message = str;
gotoAndStop ("display");
};
}
function dispMessageRandom(often, rate0, rate1, rate2) {
var now = new Date();
if (((now.getTime() - lastMessageTime.getTime()) * 0.001) >= often) {
lastMessageTime = now;
var num = rand((rate0 + rate1) + rate2);
var idx = 0;
if (rate0 >= num) {
idx = 0;
} else if ((rate0 + rate1) >= num) {
idx = 1;
} else {
idx = 2;
}
dispMessage(mes[idx][rand(mes[idx].length)]);
}
}
function checkFinish(num) {
acmeCount = acmeCount + num;
if (400 < acmeCount) {
acmeCount = 0;
_root.Button.gotoAndStop("standby");
} else if (acmeCount < 0) {
acmeCount = 0;
}
}
function finishPre() {
acmeCount = 0;
finishNow = false;
setRandomMotion(false);
var mes = new Array("‚ E‚ E‚ E‚ ‚ ‚ ‚ $‚ ‚ ‚ ‚Ÿ‚ ‚Ÿ‚ ```$```III", "ƒC‚ƒbEEƒC‚EEE$EEƒCEE‚EEE‚£$‚¤‚£‚£‚£‚£EEE‚ÁI", "‚¨‚É‚¢EEE‚¿‚áE‚ñ$EEEEE[name]E$EEEE‚ÁEEEEE$EƒC‚Á‚‚£‚¤‚¤‚¤‚ÁI", "[name]E[name]E$ƒC‚‚£‚¤‚¤‚¤‚¤III$E‚¨‚É‚¢‚¿‚á‚ñ‚ñ‚ÁI$ƒ{ƒN‚É‚ñ‚µ‚ñ‚µ‚¿‚Ⴄ$‚悧‚§```III");
dispMessage(mes[rand(mes.length)]);
}
function setRandomMotion(flag) {
isRandomMotion = flag;
lastMotionTime = new Date();
}
function goNextMotion() {
if (isRandomMotion) {
var now = new Date();
if (((now.getTime() - lastMotionTime.getTime()) * 0.001) >= ((math.random() * 2) + 5)) {
lastMotionTime = now;
var table = new Array("motion1", "motion2", "motion3", "motion4", "motion5");
motionNext = table[rand(table.length)];
}
}
gotoAndStop(motionNext);
}
motionNext = "";
name = "‚à‚à‚±";
lastMessageTime = new Date(0);
lastMotionTime = new Date(0);
isRandomMotion = false;
finishNow = false;
acmeCount = 0;
mes = new Array(new Array("‚ ‚ÁEEEI", "‚ñ‚ ‚ÁEEEI", "‚ñ‚ ‚Ÿ‚ ‚ ‚ÁEEE", "‚ ‚Í‚ÁEEEI", "‚ ‚Í‚Ÿ‚ÁEEEI", "‚ñ‚Í‚ÁEEEI", "‚ ‚ÁEEE‚ ‚ÁEEE", "‚‚Í‚ÁEEEI", "‚‚Í‚Ÿ‚ ‚ÁEEEI", "‚ñ‚ÁEEEI", "‚ñ‚ñ‚ÁEEEI", "‚ñ‚ñ‚ñ‚ñ‚ñ‚ÁEEEI", "‚ñ‚ÁEEE‚ñ‚ÁEEE", "‚‚£‚ñEEEI", "‚‚£‚£‚ñ‚ÁEEEI", "‚‚£‚ÁEE‚‚£‚ÁEE", "‚¢‚¢‚悧‚ÁEEEI", "‚·‚²EE‚¢‚¡‚ÁI", "‚«‚à‚¿‚¢‚¡EEE‚ÁI", "‚‚ÁEEEI", "‚‚£‚ÁEEEI", "‚‚¤‚£‚£EEE‚ÁI", "‚»‚±EEE‚ÁI", "‚»‚±‚§EEE‚ÁI", "‚¢‚¢EEE‚ÁI", "‚¢‚¢‚¡EEE‚ÁI", "‚à‚Á‚Æ‚§EEE‚ÁI", "‚»‚ê‚¥EEEI", "‚¨‚¿‚ñEEE‚¿‚ñEE", "‚¨‚Ü‚ñEEE‚±‚§EE", "‚¹‚Á‚‚·‚£EEE‚ÁI"), new Array("‚¨‚É‚¢‚¿‚á‚ñEEE$‚¨‚É‚¡‚¿‚á‚Ÿ‚ ‚ñ‚ÁI", "‚¨‚É‚¢‚¿‚á‚ñ‚ÌEEE$ƒTƒCƒR[‚¾‚æEEE‚Á", "[name]EEE$[name]E‚à‚§E‚ÁI", "‚¨‚Ü‚ÁEEE‚ñ‚±EE$‚¨‚Ü‚ñ‚±‚§‚§‚ÁIII", "ƒC‚Á‚¿‚á‚£EEE$ƒC‚Á‚¿‚Ⴄ‚£‚£EEE", "‚Ü‚½EEEƒC‚‚£E‚Á$ƒC‚Á‚¿‚Ⴄ‚悧EEE", "[name]EEE$‚·‚«‚¡EEE‚Á", "‚¨‚¿‚ñ‚¿‚ñEEE$‚·‚«‚¡EEE‚ÁIII", "EE‚¨‚¿‚ñ‚¿‚ñEEE$EEE‚·‚²‚¢EEEE", "‚©EE‚ÍEE‚ÍEEE$EE‚ñ‚ñ‚ÁEEEEE$EEE‚‚Í‚Ÿ‚ÁEEE", "EEE‚ñEEE‚É‚áE$EE‚ EEE‚ EEE$EE‚ñ‚É‚ã‚ ‚Ÿ‚Ÿ‚ñE"), new Array("‚±‚êEEE$‚·‚Á‚²‚EEE$‚«‚à‚¿‚¢‚¢‚ÁI", "[name]‚ÌEEE$‚¨‚Ü‚ñ‚±EEE$EEE‚«‚à‚¿‚¢‚¢H", "[name]‚É‚¡EEE$[name]‚É‚¿‚傤‚¾‚¢$EE‚¨‚É‚¢‚¿‚á‚ñ‚ÌE$EEE‚©‚½‚¢‚Ì‚§EE", "[name]‚ËEEE$[name]EEE$ƒC‚Á‚¿‚Ⴄ‚ÌEEE$EE‚ñ‚ñ‚ñ‚ÁEEE$ƒC‚Á‚¿‚Ⴄ‚Ì‚§‚ÁI", "[name]‚Ì‚È‚©‚ÉEE$‚¨‚É‚¢‚¿‚á‚ñ‚ÌEEE$‚©‚½‚‚ÄEEE$‚ ‚‚¢‚Ì‚ªEEE$‚¢‚Á‚Ï‚Ÿ‚¢EEE‚Á", "‚¨‚Ü‚ñ‚±EEEEEE$EE‚¢‚¢‚Ì‚§EEEE$EEE‚Æ‚Á‚Ä‚àEEE$EE‚¢‚¢‚Ì‚§EEEE", "E‚Þ‚Ë‚Ì‚³‚«‚Á‚Û‚ªE$EEE‚ñ‚ñ‚ñEEEE$EE‚Õ‚é‚Ղ邵‚ÄEE$‚¶‚ñ‚¶‚ñ‚·‚é‚悧EE", "‚ñ‚ ‚ÁEEEIII$‚¨‚É‚¢‚¿‚á‚ñ‚Ì‚ÁEE$EE[name]‚Ì‚È‚©‚Å$EEE‚Ò‚‚Á‚Ä‚µ‚½‚Ÿ", "‚¶‚ã‚Õ‚¶‚ã‚Õ‚Á‚ÄEE$‚¶‚ã‚ÕE‚¶‚ã‚Õ‚Á‚ÄE$EEE‚µ‚Ä‚¥EEE‚Á$[name]‚Ì‚¨‚Ü‚ñ‚±E$EE‚¢‚Á‚Ï‚¢‚µ‚Ä‚¥‚Á", "‚ EEE‚ EEEEE$EEEEE‚ E‚ E‚ $EEE‚Ü‚½EEEEE$EEEE‚·‚±‚µEEE$EEƒC‚Á‚¿‚á‚Á‚½E‚Ÿ"));
stop();
Symbol 15 Button
on (release) {
tellTarget ("_root") {
motionNext = "motion5";
gotoAndStop(motionNext);
};
}
Symbol 16 MovieClip Frame 6
if (_root._framesloaded >= _root._totalframes) {
loadRate = "100%";
gotoAndStop (7);
} else {
var rate = ((_root.getBytesLoaded() * 100) / _root.getBytesTotal());
setProperty("LoadMeter", _xscale , rate);
loadRate = math.round(rate).toString() + "%";
gotoAndPlay (1);
}
Symbol 78 MovieClip Frame 3
_root.dispMessageRandom(0.5, 15, 1, 1);
Symbol 78 MovieClip Frame 10
_root.checkFinish(8);
_root.goNextMotion();
gotoAndPlay (1);
Symbol 91 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion1";
_root.setRandomMotion(false);
};
}
on (rollOut) {
_root.setRandomMotion(true);
}
Symbol 92 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion2";
_root.setRandomMotion(false);
};
}
on (rollOut) {
_root.setRandomMotion(true);
}
Symbol 93 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion3";
_root.setRandomMotion(false);
};
}
on (rollOut) {
_root.setRandomMotion(true);
}
Symbol 94 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion4";
_root.setRandomMotion(false);
};
}
on (rollOut) {
_root.setRandomMotion(true);
}
Symbol 95 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion5";
_root.setRandomMotion(false);
};
}
on (rollOut) {
_root.setRandomMotion(true);
}
Symbol 101 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion6";
};
}
Symbol 103 Button
on (rollOver) {
tellTarget ("_root") {
motionNext = "motion6";
};
}
on (release) {
tellTarget ("_root") {
finishNow = true;
};
}
on (release) {
gotoAndStop (10);
}
Symbol 104 MovieClip Frame 1
_root.finishNow = false;
stop();
Symbol 104 MovieClip Frame 4
stop();
Symbol 104 MovieClip Frame 7
stop();
Symbol 107 MovieClip Frame 11
stop();
Symbol 109 MovieClip Frame 5
_root.dispMessageRandom((math.random() * 1.5) + 1.5, 5, 3, 1);
Symbol 109 MovieClip Frame 19
_root.checkFinish(16);
_root.goNextMotion();
gotoAndPlay (1);
Symbol 110 MovieClip Frame 6
_root.dispMessageRandom((math.random() * 0.8) + 0.8, 12, 4, 1);
Symbol 110 MovieClip Frame 13
_root.checkFinish(12);
_root.goNextMotion();
gotoAndPlay (1);
Symbol 115 MovieClip Frame 33
_root.dispMessageRandom((math.random() * 1) + 1.5, 1, 3, 6);
Symbol 115 MovieClip Frame 34
_root.checkFinish(18);
_root.goNextMotion();
gotoAndPlay (1);
Symbol 121 MovieClip Frame 35
var mes = new Array("‚Í‚ŸEEE‚Í‚ŸEEE$EE‚Í‚ŸEEE‚Í‚ŸE", "‚ñEEEE‚ÓEEEE$EEE‚ñEEE‚ñEE$EE‚³‚Á‚«‚Ì‚ªEEE$EEE‚È‚©‚ÅEEE$ƒgƒƒgƒ‚‚½‚Á‚Ä‚é‚£", "EEE‚Í‚ŸEEE‚Í‚Ÿ$‚Í‚ŸEEE‚Í‚ŸEEE$EE‚¨‚É‚¢‚¿‚á‚ñEE$‚Ü‚½EEE‚µ‚Ä‚¥EE", "EE‚Í‚ŸEEE‚Í‚ŸE$E[name]‚Ì‚±‚ÆEE$EEE‚Ü‚½EEEEE$‚«‚à‚¿‚æ‚‚µ‚Ä‚¥EE", "E‚Í‚ŸEEE‚Í‚ŸEE$EEE‚Ë‚¥‚¥```E$E‚¨‚É‚¢‚¿‚á‚Ÿ‚ñEE$[name]‚ÉEEEEE$‚¨‚Ü‚ñ‚±EEE‚µ‚Ä‚¥", "EEE[name]‚ÌEE$EE‚¨‚Ü‚ñ‚±‚É‚¡A$E‚¢‚ê‚Ä‚Ù‚µ‚¢‚Ì‚§E$‚¨‚É‚¢‚¿‚á‚ñ‚Ì‚§EE$‚¨E‚¿E‚ñE‚¿E‚ñô", "‚Ë‚¥```EEE$‚¨‚Ü‚ñ‚±EEEEEE$EEE‚¨‚Ü‚ñ‚±‚§EE", "‚¨‚¿‚ñ‚¿‚ñEEEEE$EE‚Ù‚µ‚¢‚悧EEE$‚¨‚É‚¢‚¿‚á‚ñ‚Ì‚§EE$EE‚©‚½‚‚Ä‚¥EEE$E‚¨‚Á‚«‚¢‚Ì‚§EEE");
var now = new Date();
if (((now.getTime() - _root.lastMessageTime.getTime()) * 0.001) >= ((math.random() * 1.5) + 2)) {
_root.lastMessageTime = now;
_root.dispMessage(mes[_root.rand(mes.length)]);
}
Symbol 121 MovieClip Frame 36
_root.checkFinish(-2);
_root.goNextMotion();
gotoAndPlay (1);
Symbol 122 MovieClip Frame 1
_root.Button.gotoAndStop("finish");
var mes = new Array("‚ ‚Á‚ ‚ÁE‚ ‚ÁE‚ ‚Á$E‚ ‚ÁE‚ ‚Á‚ ‚Á‚ ‚Á$‚¨‚É‚¢EE‚¿‚á‚ñ‚ÁI$‚¨‚É‚¢‚¿‚á‚Ÿ‚Ÿ‚ñ‚ÁI", "‚·‚²‚¢‚Ì‚ª‚‚éEE‚Á$‚·‚²‚¢‚Ì‚ª‚‚é‚悧I$[name]‚ÁEEE$[name]ƒC‚Á‚¿‚Ⴄ‚£$[[[[[[[III", "‚¨‚Ë‚ª‚¢E‚ñ‚ÁE‚ñ‚Á$EE‚¨‚Ë‚ª‚¢‚ÁEEE$E‚¨‚É‚¢‚¿‚á‚Ÿ‚ ‚ñ‚Á$EEE‚È‚©‚ÉEEEE$E‚È‚©‚É‚¾‚µ‚Ä‚¥II", "‚Í‚Á‚Í‚ÁE‚Í‚ÁE‚Í‚Á$E‚Í‚ÁE‚Í‚ÁE‚ñ‚Ó‚Á$EEE‚¨EE‚É‚¢EE$E‚¿‚á‚ñEEE‚¨‚É‚¢$EEE‚¿‚á‚Ÿ‚Ÿ‚Ÿ‚ñ‚Á", "[name]EEEEEE$E[name]‚à‚¤‚ç‚ß‚¥$EE‚Í‚ñ‚ÁE‚ñ‚Í‚Ÿ‚ñ$E‚«‚à‚¿EE‚¢EEE$‚«‚à‚¿‚¢‚¢‚您‚§II", "‚à‚¤‚ç‚ßEEEEEE$EE‚ç‚ß‚¥EEEEE$E‚¨‚É‚¢E‚Ђ႟‚ñE$[name]EEE‚à‚¤E$E‚ç‚ß‚È‚Ì‚§EE‚ÁI", "EE‚¢‚Á‚µ‚å‚ÉEEE$E‚¢‚Á‚µ‚å‚ɃC‚±E‚Á$[name]‚ËAEEEE$‚à‚¤EE‚ñ‚ñ‚Ÿ‚ EE$E‚à‚¤‚·‚®‚¾‚æEE‚Á");
var now = new Date();
if (((now.getTime() - _root.lastMessageTime.getTime()) * 0.001) >= ((math.random() * 3.5) + 3.5)) {
_root.lastMessageTime = now;
_root.dispMessage(mes[_root.rand(mes.length)]);
}
Symbol 122 MovieClip Frame 3
tellTarget (_root) {
if (finishNow) {
finishNow = false;
gotoAndStop ("motion6_in");
}
};
Symbol 122 MovieClip Frame 6
if (_root.finishNow) {
tellTarget (_root) {
finishNow = false;
gotoAndStop ("motion6_out");
};
} else {
gotoAndPlay (1);
}
Symbol 142 MovieClip Frame 3
_root.finishPre();
Symbol 142 MovieClip Frame 57
_root.dispMessage("‚ñ‚ñEE‚ñE‚ñE‚ñE$‚¨‚É‚¡‚¿‚á‚ñ‚Ì‚ªEE$[name]‚Ì‚È‚©‚ÉEE$EEEE‚¢‚Á‚Ï‚Ÿ‚¢™$‚Ü‚¾EE‚Å‚«‚é‚æ‚ËH");
Symbol 142 MovieClip Frame 93
tellTarget ("_root") {
motionNext = "motion5";
gotoAndStop(motionNext);
};
_root.Button.gotoAndStop("init");
Symbol 174 MovieClip Frame 1
_root.finishPre();
Symbol 174 MovieClip Frame 56
_root.dispMessage("‚¨‚É‚¢‚¿‚á‚ñ‚ÌEEE$‚Æ‚Á‚Ä‚à‚ ‚‚£‚¢Eô$EEE‚±‚ñ‚Ç‚Í‚È‚©‚É$‚¾‚µ‚Ä‚ËEEE™$‚¨‚É‚¢‚¿‚á‚ñ™");
Symbol 174 MovieClip Frame 75
tellTarget ("_root") {
motionNext = "motion5";
gotoAndStop(motionNext);
};
_root.Button.gotoAndStop("init");