Frame 1
function awCLASS(class, num) {
var str = null;
var cl;
if (num > 0) {
str = new Array();
cl = 0;
while (cl < num) {
str[cl] = new class();
cl++;
}
} else {
str = new class();
}
return(str);
}
function awRand(int_MaxNum) {
var rnd = Math.floor(Math.random() * int_MaxNum);
if (rnd >= int_MaxNum) {
rnd = int_MaxNum - 1;
}
return(rnd);
}
function awCheckVersion() {
var dmy;
var ver = getVersion();
if (ver == null) {
return(4);
}
dmy = ver.split(" ");
_root.AW_OS = dmy[0];
var v = dmy[1];
dmy = v.split(",");
_root.AW_VER = Number(dmy[0]);
_root.AW_MESSAGE = (("MACHINE [" + AW_OS) + "] / FLASH VERSION ") + _root.AW_VER;
return(_root.AW_VER);
}
function awLineCrossTest(ax1, ay1, ax2, ay2, bx1, by1, bx2, by2) {
ra1 = (ay1 + (((ay2 - ay1) / (ax2 - ax1)) * (bx1 - ax1))) - by1;
ra2 = (ay1 + (((ay2 - ay1) / (ax2 - ax1)) * (bx2 - ax1))) - by2;
rb1 = (by1 + (((by2 - by1) / (bx2 - bx1)) * (ax1 - bx1))) - ay1;
rb2 = (by1 + (((by2 - by1) / (bx2 - bx1)) * (ax2 - bx1))) - ay2;
if ((0 >= (ra1 * ra2)) && (0 >= (rb1 * rb2))) {
return(true);
}
return(false);
}
function awRotateZ(vx, vy, rot) {
var rr = ((rot * Math.PI) / 180);
_root.AW_GETROTATEZ_X = (Math.cos(rr) * vx) + (Math.sin(rr) * vy);
_root.AW_GETROTATEZ_Y = ((-Math.sin(rr)) * vx) + (Math.cos(rr) * vy);
}
function awGetRotateX(VOID) {
return(_root.AW_GETROTATEZ_X);
}
function awGetRotateY(VOID) {
return(_root.AW_GETROTATEZ_Y);
}
function _AWSOUNDBUFFER() {
var bFlag;
var mSBuf;
var mName;
}
function awSndInit() {
var i;
if (_root.bSnd) {
return(false);
}
i = 0;
while (i < AWMAXSOUNDBUFFER) {
_root.mSnd[i].bFlag = false;
_root.mSnd[i].mSBuf = new Sound();
_root.mSnd[i].mName = "";
i++;
}
_root.bSnd = true;
return(true);
}
function awSndAdd(id, name) {
if (!_root.bSnd) {
return(false);
}
if ((id < 0) || (id > (_root.AWMAXSOUNDBUFFER - 1))) {
return(false);
}
if (_root.mSnd[id].bFlag) {
return(false);
}
_root.mSnd[id].mName = name;
_root.mSnd[id].mSBuf.attachSound(name);
_root.mSnd[id].bFlag = true;
return(true);
}
function awSndPlay(id, loop) {
if (!_root.bSnd) {
return(false);
}
if ((id < 0) || (id > (AWMAXSOUNDBUFFER - 1))) {
return(false);
}
if (!_root.mSnd[id].bFlag) {
return(false);
}
if (loop) {
_root.mSnd[id].mSBuf.start(0, loop);
} else {
_root.mSnd[id].mSBuf.start();
}
}
function awSndStop(id) {
if (!_root.bSnd) {
return(false);
}
if ((id < 0) || (id > (AWMAXSOUNDBUFFER - 1))) {
return(false);
}
if (!_root.mSnd[id].bFlag) {
return(false);
}
_root.mSnd[id].mSBuf.stop(_root.mSnd[id].mName);
}
function awSndStopAll(VOID) {
var i;
if (!bSnd) {
return(undefined);
}
i = 0;
while (i < _root.AWMAXSOUNDBUFFER) {
if (_root.mSnd[i].bFlag) {
_root.mSnd[i].mSBuf.stop(_root.mSnd[i].mName);
}
i++;
}
}
function awImgInit(body) {
var i;
if (_root.D_INIT) {
awImgFlash();
return(true);
}
i = 0;
while (i < D_MAXOBJECT) {
_root.D_USED[i] = false;
_root.D_DEPTH[i] = i;
i++;
}
if (body != null) {
D_BODY = body;
}
_root.D_INIT = true;
return(true);
}
function awImgFlash() {
var i;
i = 0;
while (i < _root.D_MAXOBJECT) {
if (_root.D_USED[i]) {
var obj = eval ((D_BODY + ".D") + i);
removeMovieClip(obj);
_root.D_USED[i] = false;
}
i++;
}
return(true);
}
function awImgDel(id) {
if (!_root.D_USED[i]) {
return(false);
}
var obj = eval ((D_BODY + ".D") + i);
removeMovieClip(obj);
_root.D_USED[i] = false;
return(true);
}
function awImgAdd(id, image) {
if ((id < 0) && (id > (_root.D_MAXOBJECT - 1))) {
return(false);
}
if (_root.D_USED[id]) {
return(false);
}
D_BODY.attachMovie(image, "D" + id, id);
var obj = eval ((D_BODY + ".D") + id);
if (!obj) {
return(false);
}
obj._visible = false;
_root.D_USED[id] = true;
_root.D_DEPTH[id] = id;
return(true);
}
function awImgAddURL(id, url) {
if ((id < 0) && (id > (_root.D_MAXOBJECT - 1))) {
return(false);
}
if (_root.D_USED[id]) {
return(false);
}
if (url) {
D_BODY.createEmptyMovieClip("D" + id, id);
loadMovie (url, eval ((D_BODY + ".D") + id));
}
var obj = eval ((D_BODY + ".D") + id);
obj._visible = false;
_root.D_USED[id] = true;
_root.D_DEPTH[id] = id;
return(true);
}
function awImgClear() {
var i;
i = 0;
while (i < _root.D_MAXOBJECT) {
if (_root.D_USED[i]) {
var obj = eval ((D_BODY + ".D") + i);
obj._visible = false;
}
i++;
}
return(true);
}
function awImgPut(id, x, y) {
if (!_root.D_USED[id]) {
return(false);
}
var obj = eval ((D_BODY + ".D") + id);
obj._visible = true;
obj._x = x;
obj._y = y;
}
function awImgDrawEnd() {
return(true);
}
function awImgGet(id) {
if (!_root.D_USED[id]) {
return(null);
}
return(eval ((D_BODY + ".D") + id));
}
function awImgGetPercent(id) {
if (!_root.D_USED[id]) {
return(null);
}
var m = eval ((D_BODY + ".D") + id);
if (m.getBytesTotal() < 1) {
return(0);
}
return(Math.floor((m.getBytesLoaded() / m.getBytesTotal()) * 100));
}
function awImgSwapDepthForTarget(id1, id2) {
var m1 = eval ((D_BODY + ".D") + id1);
var m2 = eval ((D_BODY + ".D") + id2);
m1.swapDepths(m2);
var n = _root.D_DEPTH[id1];
_root.D_DEPTH[id1] = _root.D_DEPTH[id2];
_root.D_DEPTH[id2] = n;
return(true);
}
function awImgGetDepth(id) {
return(_root.D_DEPTH[id]);
}
function awImgSetDepth(id, depth) {
var m = eval ((D_BODY + ".D") + id);
m.swapDepths(depth);
_root.D_DEPTH[id] = depth;
return(true);
}
function awImgAutoDepthForYAxis(start_id, end_id) {
var i;
var j;
var k;
var n = ((end_id - start_id) + 1);
i = 0;
while (i < n) {
_root.D_DEPTH[i + start_id] = i + start_id;
i++;
}
j = 0;
while (j < n) {
i = 0;
while (i < n) {
if (i == j) {
} else if (_root.awImgGet(j + start_id)._y > _root.awImgGet(i + start_id)._y) {
if (_root.D_DEPTH[j + start_id] < _root.D_DEPTH[i + start_id]) {
k = _root.D_DEPTH[j + start_id];
_root.D_DEPTH[j + start_id] = _root.D_DEPTH[i + start_id];
_root.D_DEPTH[i + start_id] = k;
}
} else if (_root.D_DEPTH[j + start_id] > _root.D_DEPTH[i + start_id]) {
k = _root.D_DEPTH[j + start_id];
_root.D_DEPTH[j + start_id] = _root.D_DEPTH[i + start_id];
_root.D_DEPTH[i + start_id] = k;
}
i++;
}
j++;
}
i = 0;
while (i < n) {
_root.awImgSetDepth(i + start_id, _root.D_DEPTH[i + start_id]);
i++;
}
return(true);
}
function awStrLen(str) {
var s = new String(str);
return(s.length);
}
function awStrMid(str, start, n) {
var s = new String(str);
return(s.slice(start - 1, (start + n) - 1));
}
function awStrLeft(str, n) {
var s = new String(str);
return(s.slice(0, n));
}
function awStrRight(str, n) {
var s = new String(str);
return(s.slice(s.length - n, s.length));
}
function awStrToNum(str) {
return(Number(str));
}
function SetPanel() {
_root.M_MAIN.M_M_GAUGE.gotoAndStop(Math.floor((((_root.iTime * 200) / 24) / _root.GAMETIME) + 1));
_root.M_MAIN.M_M_POINT.M_M_NUM0.gotoAndStop(Math.floor(_root.iPoint % 10) + 2);
if (_root.iPoint >= 10) {
_root.M_MAIN.M_M_POINT.M_M_NUM1.gotoAndStop((Math.floor(_root.iPoint / 10) % 10) + 2);
} else {
_root.M_MAIN.M_M_POINT.M_M_NUM1.gotoAndStop(1);
}
if (_root.iPoint >= 100) {
_root.M_MAIN.M_M_POINT.M_M_NUM2.gotoAndStop((Math.floor(_root.iPoint / 100) % 10) + 2);
} else {
_root.M_MAIN.M_M_POINT.M_M_NUM2.gotoAndStop(1);
}
_root.M_MAIN.M_M_KAGE.gotoAndStop(_root.iItem + 1);
}
function InitCustomer() {
if (_root.iPoint < 1) {
_root.iQuest = 1;
} else if (_root.iPoint < 5) {
_root.iQuest = 2;
} else {
_root.iQuest = 3;
}
var i;
i = 0;
while (i < 3) {
_root.mAnswer[i] = -1;
if (i < _root.iQuest) {
_root.mQuest[i] = _root.awRand(4);
} else {
_root.mQuest[i] = -1;
}
i++;
}
i = 0;
while (i < 30) {
var r1 = _root.awRand(3);
var r2 = _root.awRand(3);
if (r1 == r2) {
} else {
var tmp = _root.mQuest[r1];
_root.mQuest[r1] = _root.mQuest[r2];
_root.mQuest[r2] = tmp;
}
i++;
}
_root.iAnsCount = -1;
i = 0;
while (i < 3) {
var obj = eval ("_root.M_MAIN.M_CUSTOM.M_M_CUSTOM" + i);
if (_root.mQuest[i] != -1) {
obj.gotoAndStop(_root.awRand(4) + 1);
obj._visible = true;
if (_root.iAnsCount == -1) {
_root.iAnsCount = i;
}
} else {
obj._visible = false;
}
i++;
}
}
function OpenOrder() {
var i;
i = 0;
while (i < 3) {
var obj = eval ("_root.M_MAIN.M_REQANIM" + i);
if (_root.mQuest[i] != -1) {
obj.gotoAndPlay("START");
obj.M_M_REQUEST.gotoAndStop(_root.mQuest[i] + 1);
}
i++;
}
_root.iOrderTime = 60;
}
function StartAnswer() {
_root.awSndPlay(19);
var obj = eval ("_root.M_MAIN.M_DISH" + _root.iAnsCount);
obj.gotoAndStop("ON");
_root.M_MAIN.M_M_BUTTON.gotoAndStop("ON");
}
function Special() {
if (_root.iItem < 1) {
return(false);
}
_root.awSndPlay(18);
if (!Key.isDown(16)) {
_root.iItem--;
}
_root.bStopTime = true;
_root.M_MAIN.M_SPECIAL.gotoAndPlay("START");
_root.M_MAIN.M_M_BUTTON.gotoAndStop("DISABLE");
return(true);
}
function SpecialAnswer() {
_root.bStopTime = false;
_root.Answer(_root.mQuest[_root.iAnsCount]);
}
function Answer(id) {
if (_root.bGameEnd) {
return(undefined);
}
_root.awSndPlay(17);
_root.mAnswer[_root.iAnsCount] = id;
_root.M_MAIN.M_M_BUTTON.gotoAndStop("DISABLE");
obj = eval ("_root.M_MAIN.M_DISH" + _root.iAnsCount);
obj.gotoAndStop("OFF");
var obj = eval ("_root.M_MAIN.M_M_MOVEITEM" + _root.iAnsCount);
obj.gotoAndStop(id + 2);
obj._x = _root.fItemX[id];
obj._y = _root.fItemY[id];
_root.iMoveCount = _root.MOVESPEED;
_root.iState = _root.ST_MOVEITEM;
}
function Next() {
_root.iAnsCount++;
while (true) {
if (_root.iAnsCount > 2) {
return(false);
}
if (_root.mQuest[_root.iAnsCount] != -1) {
break;
}
_root.iAnsCount++;
}
return(true);
}
function Result() {
_root.M_MAIN.M_M_BUTTON.gotoAndStop("OFF");
var j = 0;
var k = 0;
var i;
i = 0;
while (i < 3) {
if (_root.mQuest[i] != -1) {
var obj = eval ("_root.M_MAIN.M_RESULT" + i);
if (_root.mQuest[i] == _root.mAnswer[i]) {
obj.gotoAndStop(2);
j++;
} else {
obj.gotoAndStop(3);
k++;
}
}
i++;
}
if (j > 0) {
_root.M_MAIN.M_M_ADDPOINTANIM.gotoAndPlay("START");
_root.M_MAIN.M_M_ADDPOINTANIM.M_M_ADDPOINT.gotoAndStop(j);
}
_root.iPoint = _root.iPoint + j;
if (j >= 3) {
_root.M_MAIN.M_M_OK2ANIM.gotoAndPlay("START");
_root.iPoint = _root.iPoint + 2;
if ((_root.awRand(10) < 2) && (_root.iPoint > 20)) {
_root.M_MAIN.M_M_AYU.gotoAndPlay("JUMP2");
} else {
_root.M_MAIN.M_M_AYU.gotoAndPlay("JUMP1");
}
}
if (j > 0) {
if (k > 0) {
_root.awSndPlay(15);
} else if (j >= 3) {
_root.awSndPlay(16);
} else {
_root.awSndPlay(13);
}
} else {
_root.awSndPlay(14);
}
}
function ExitCustomer() {
i = 0;
while (i < 3) {
if (_root.mQuest[i] != -1) {
var obj = eval ("_root.M_MAIN.M_M_MOVEITEM" + i);
obj.gotoAndStop(1);
obj = eval ("_root.M_MAIN.M_RESULT" + i);
obj.gotoAndStop(1);
}
i++;
}
_root.M_MAIN.M_CUSTOM.gotoAndPlay("EXIT");
}
play();
_root.NULL = 0;
_root.UP = 1;
_root.RIGHT = 2;
_root.DOWN = 3;
_root.LEFT = 4;
_root.A = 10;
_root.B = 11;
_root.C = 12;
_root.D = 13;
_root.E = 14;
_root.F = 15;
AW_OS = "";
AW_VER = 4;
AW_MESSAGE = "YOUR MACHINE [ UNKNOW ] / FLASH VERSION 4";
AW_GETROTATEZ_X = 0;
AW_GETROTATEZ_Y = 0;
awCheckVersion(0);
Stage.scaleMode = "exactFit";
Stage.showMenu = "false";
_root.awSndStopAll();
AWMAXSOUNDBUFFER = 64;
bSnd = false;
mSnd = awCLASS(_AWSOUNDBUFFER, AWMAXSOUNDBUFFER);
if (!_root.D_INIT) {
_root.D_MAXOBJECT = 1024;
_root.D_BODY = _root;
_root.D_USED = new Array();
_root.D_DEPTH = new Array();
_root.D_INIT = false;
}
var ST_INTO = 0;
var ST_INTOWAIT = 1;
var ST_ORDER = 2;
var ST_ORDERWAIT = 3;
var ST_ANSWER = 4;
var ST_MOVEITEM = 5;
var ST_RESULTWAIT = 6;
var ST_EXIT = 7;
var GAMETIME = 60;
var MOVESPEED = 10;
var fCustX = [74, 226, 378];
var fDishY = 328;
var fItemX = [214, 293, 214, 293];
var fItemY = [140, 140, 221, 221];
var iState = ST_INTO;
var iTime = (GAMETIME * 24);
var iPoint = 0;
var iItem = 3;
var mQuest = [-1, -1, -1];
var iQuest = 0;
var iOrderTime = 0;
var iAnsCount = 0;
var iMoveCount = 0;
var mAnswer = [-1, -1, -1];
var iResultCount = 0;
var bStopTime = false;
var bGameEnd = false;
_root.awSndInit();
_root.awSndAdd(0, "T000");
_root.awSndAdd(1, "T001");
_root.awSndAdd(2, "T002");
_root.awSndAdd(3, "T003");
_root.awSndAdd(4, "T004");
_root.awSndAdd(5, "T005");
_root.awSndAdd(9, "BGM");
_root.awSndAdd(10, "M010");
_root.awSndAdd(11, "M011");
_root.awSndAdd(12, "M012");
_root.awSndAdd(13, "M013");
_root.awSndAdd(14, "M014");
_root.awSndAdd(15, "M015");
_root.awSndAdd(16, "M016");
_root.awSndAdd(17, "M017");
_root.awSndAdd(18, "M018");
_root.awSndAdd(19, "M019");
_root.awSndAdd(20, "M020");
_root.awSndAdd(24, "R024");
_root.awSndAdd(25, "R025");
_root.awSndAdd(26, "R026");
_root.awSndAdd(27, "R027");
_root.awSndAdd(28, "R028");
_root.awSndAdd(29, "R029");
_root.awSndAdd(30, "R030");
Instance of Symbol 35 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.PERCENT = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.DATASIZE = (_root.getBytesLoaded() + "\uFF0F") + _root.getBytesTotal();
_root.M_PERCENT_MATER._width = _root.PERCENT * 1.28;
}
Frame 4
if (_framesloaded < _totalframes) {
_root.gotoAndPlay(2);
} else if (_root.AW_VER < 6) {
_root.gotoAndPlay(5);
} else {
_root.gotoAndPlay("START");
}
Frame 5
getURL ("flashget.htm", "_self");
Frame 8
stop();
Frame 9
gotoAndPlay (8);
Frame 10
_root.iState = _root.ST_INTO;
_root.iTime = _root.GAMETIME * 24;
_root.iPoint = 0;
_root.iItem = 3;
_root.bStopTime = false;
_root.bGameEnd = false;
gotoAndStop (15);
Frame 15
stop();
Frame 19
gotoAndStop (15);
Frame 20
stop();
Frame 24
gotoAndStop (20);
Frame 25
stop();
Instance of Symbol 264 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.bGameEnd) {
return(undefined);
}
switch (_root.iState) {
case _root.ST_INTO :
_root.M_MAIN.M_CUSTOM.gotoAndPlay("START");
_root.iState = _root.ST_INTOWAIT;
break;
case _root.ST_INTOWAIT :
break;
case _root.ST_ORDER :
_root.OpenOrder();
_root.iState = _root.ST_ORDERWAIT;
break;
case _root.ST_ORDERWAIT :
_root.iOrderTime--;
if (_root.iOrderTime < 1) {
_root.StartAnswer();
_root.iState = _root.ST_ANSWER;
}
break;
case _root.ST_MOVEITEM :
_root.iMoveCount--;
var w = (_root.fItemX[_root.mAnswer[_root.iAnsCount]] - _root.fCustX[_root.iAnsCount]);
var h = (_root.fItemY[_root.mAnswer[_root.iAnsCount]] - _root.fDishY);
var obj = eval ("_root.M_MAIN.M_M_MOVEITEM" + _root.iAnsCount);
obj._x = _root.fCustX[_root.iAnsCount] + (w * (1 - Math.cos((((_root.iMoveCount / _root.MOVESPEED) * 90) * Math.PI) / 180)));
obj._y = _root.fDishY + (h * (1 - Math.cos((((_root.iMoveCount / _root.MOVESPEED) * 90) * Math.PI) / 180)));
if (_root.iMoveCount < 1) {
obj._x = _root.fCustX[_root.iAnsCount];
obj._y = _root.fDishY;
if (_root.Next()) {
_root.StartAnswer();
_root.iState = _root.ST_ANSWER;
} else {
_root.Result();
_root.iResultCount = 24;
_root.iState = _root.ST_RESULTWAIT;
}
}
break;
case _root.ST_RESULTWAIT :
_root.iResultCount--;
if (_root.iResultCount >= 1) {
break;
}
_root.ExitCustomer();
_root.iState = _root.ST_EXIT;
}
if (!_root.bStopTime) {
_root.iTime--;
if (_root.iTime < 1) {
_root.bGameEnd = true;
_root.M_MAIN.M_END.gotoAndPlay("START");
}
}
_root.SetPanel();
}
onClipEvent (mouseDown) {
if (_root.bGameEnd) {
return(undefined);
}
switch (_root.iState) {
case _root.ST_ORDERWAIT :
if (_root.iOrderTime > 8) {
_root.iOrderTime = 5;
var i;
i = 0;
while (i < 3) {
if (_root.mQuest[i] != -1) {
var obj = eval ("_root.M_MAIN.M_REQANIM" + i);
obj.gotoAndPlay("CLOSE");
}
i++;
}
}
break;
case _root.ST_ANSWER :
if (_root.bStopTime) {
break;
}
var x = _root._xmouse;
var y = _root._ymouse;
if (!((((x >= 274) && (x < 482)) && (y >= 42)) && (y < 97))) {
break;
}
_root.Special();
}
}
Frame 29
gotoAndStop (25);
Frame 30
stop();
Frame 34
gotoAndStop (30);
Symbol 67 MovieClip Frame 27
stop();
Symbol 71 MovieClip Frame 27
stop();
Symbol 81 Button
on (release) {
_root.awSndPlay(4);
gotoAndPlay (78);
}
Symbol 82 MovieClip Frame 25
_root.awSndPlay(0);
Symbol 82 MovieClip Frame 40
_root.awSndPlay(1);
Symbol 82 MovieClip Frame 57
_root.awSndPlay(2);
Symbol 82 MovieClip Frame 67
_root.awSndPlay(3);
_root.awSndPlay(5);
Symbol 82 MovieClip Frame 77
stop();
Symbol 82 MovieClip Frame 89
_root.gotoAndStop("COUNT");
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 6
play();
Symbol 103 MovieClip Frame 24
gotoAndStop (1);
Symbol 103 MovieClip Frame 45
gotoAndStop (1);
Symbol 111 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 159 Button
on (release) {
_root.Answer(0);
}
Symbol 166 Button
on (release) {
_root.Answer(1);
}
Symbol 173 Button
on (release) {
_root.Answer(2);
}
Symbol 180 Button
on (release) {
_root.Answer(3);
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 6
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 6
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 6
_root.InitCustomer();
Symbol 211 MovieClip Frame 25
_root.iState = _root.ST_ORDER;
_root.awSndPlay(12);
stop();
Symbol 211 MovieClip Frame 51
gotoAndPlay (6);
Symbol 215 MovieClip Frame 20
stop();
Symbol 219 MovieClip Frame 20
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 19
_root.awSndPlay(20);
Symbol 258 MovieClip Frame 42
_root.awSndPlay(20);
Symbol 258 MovieClip Frame 67
_root.SpecialAnswer();
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 43
_parent.gotoAndPlay("END");
stop();
Symbol 263 MovieClip Frame 1
_root.SetPanel();
Symbol 263 MovieClip Frame 10
_root.awSndPlay(10);
Symbol 263 MovieClip Frame 35
_root.awSndPlay(10);
Symbol 263 MovieClip Frame 60
_root.awSndPlay(10);
Symbol 263 MovieClip Frame 85
_root.awSndPlay(9, 999);
_root.awSndPlay(11);
Symbol 263 MovieClip Frame 95
_root.gotoAndStop("MAIN");
stop();
Symbol 263 MovieClip Frame 105
_root.awSndStop(9);
_root.gotoAndStop("RESULT");
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 318 Button
on (release) {
_root.awSndPlay(30);
gotoAndPlay (86);
}
Symbol 324 MovieClip Frame 1
var iRankCount = 0;
var iRankTime = 36;
var iRank = 0;
if (_root.iPoint >= 35) {
iRank = 4;
} else if (_root.iPoint >= 30) {
iRank = 3;
} else if (_root.iPoint >= 20) {
iRank = 2;
} else if (_root.iPoint >= 15) {
iRank = 1;
} else {
iRank = 0;
}
Symbol 324 MovieClip Frame 11
_root.awSndPlay(24);
Symbol 324 MovieClip Frame 28
_root.awSndPlay(26);
Symbol 324 MovieClip Frame 36
M_R_AYU.gotoAndStop(2);
M_R_CHIHARU.gotoAndStop(2);
Symbol 324 MovieClip Frame 50
_root.awSndPlay(25, 999);
stop();
Instance of Symbol 288 MovieClip in Symbol 324 MovieClip Frame 50
onClipEvent (enterFrame) {
_parent.iRankCount++;
if (_parent.iRankCount > 4) {
_parent.iRankCount = 0;
}
_parent.M_R_RANK.gotoAndStop(_parent.iRankCount + 1);
_parent.iRankTime--;
if (_parent.iRankTime < 1) {
_parent.iRankTime = 0;
if (_parent.iRankCount == _parent.iRank) {
_root.awSndStop(25);
_parent.gotoAndPlay("NEXT");
}
}
}
Symbol 324 MovieClip Frame 56
switch (iRank) {
case 0 :
M_R_AYU.gotoAndStop(1);
M_R_CHIHARU.gotoAndStop(1);
_root.awSndPlay(27);
break;
case 1 :
M_R_AYU.gotoAndStop(1);
M_R_CHIHARU.gotoAndStop(1);
_root.awSndPlay(27);
break;
case 2 :
M_R_AYU.gotoAndStop(2);
M_R_CHIHARU.gotoAndStop(2);
_root.awSndPlay(28);
break;
case 3 :
M_R_AYU.gotoAndStop(2);
M_R_CHIHARU.gotoAndStop(2);
_root.awSndPlay(29);
break;
case 4 :
M_R_AYU.gotoAndStop(3);
M_R_CHIHARU.gotoAndStop(2);
_root.awSndPlay(29);
}
Symbol 324 MovieClip Frame 66
M_R_SERIF.gotoAndStop(iRank + 1);
Symbol 324 MovieClip Frame 85
M_R_SCORE._visible = false;
M_R_SCORE.SCORE = _root.iPoint;
stop();
Instance of Symbol 311 MovieClip in Symbol 324 MovieClip Frame 85
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_parent.M_R_SCORE._visible = true;
} else {
_parent.M_R_SCORE._visible = false;
}
}
Symbol 324 MovieClip Frame 95
_root.gotoAndPlay("START");
stop();