Frame 2
framesLoaded = _root.getBytesLoaded();
totalFrames = _root.getBytesTotal();
percent = Math.round((framesLoaded / totalFrames) * 100);
loadtext = ("NOW LOADING... " + percent) + " %";
if (framesLoaded == totalFrames) {
retryNumber = 0;
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
rootSound = new Sound(_root);
_root.rootSound.attachSound("sound16");
life = 4;
volume = true;
gamestart = true;
compGyan = 0;
userGyan = 0;
complife = 1;
omakeWin = retryNumber;
finish = false;
Frame 4
stop();
Instance of Symbol 43 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (2 >= _root.life) {
this.gotoAndPlay("off");
} else {
this.gotoAndPlay("on");
}
}
Instance of Symbol 44 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (1 >= _root.life) {
this.gotoAndPlay("off");
} else {
this.gotoAndPlay("on");
}
}
Instance of Symbol 45 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (0 >= _root.life) {
this.gotoAndPlay("off");
} else {
this.gotoAndPlay("on");
}
}
Instance of Symbol 51 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (3 >= _root.life) {
this.gotoAndPlay("off");
} else {
this.gotoAndPlay("on");
}
}
Frame 5
if ((omakeWin >= 1) && (userGyan == 0)) {
omakeWin = omakeWin - 1;
compGyan = 1;
} else if ((omakeWin >= 1) && (userGyan == 2)) {
omakeWin = omakeWin - 1;
compGyan = 0;
} else if ((omakeWin >= 1) && (userGyan == 1)) {
omakeWin = omakeWin - 1;
CompGyan = 2;
} else {
CompGyan = Math.random() * 2.99;
CompGyan = Math.floor(CompGyan);
}
Frame 6
if ((userGyan == 0) && (compGyan == 1)) {
result = "win";
} else if ((userGyan == 1) && (compGyan == 2)) {
result = "win";
} else if ((userGyan == 2) && (compGyan == 0)) {
result = "win";
} else if (userGyan == compGyan) {
result = "draw";
} else {
result = "lose";
}
if (volume == false) {
gotoAndPlay (23);
}
Frame 28
if (compGyan == 0) {
comphand.gotoAndPlay("gu");
} else if (compGyan == 1) {
comphand.gotoAndPlay("ck");
} else if (compGyan == 2) {
comphand.gotoAndPlay("pa");
}
Frame 32
if (result == "win") {
text_result = "YOU WIN!";
complife = complife + 1;
photo.gotoAndPlay("scene" + complife);
} else if (result == "draw") {
text_result = "DRAW";
ayu = "ˆø‚«•ª‚¯‚ËA‚à‚¤ˆê‰ñI";
} else if ((result == "lose") && (life == 4)) {
text_result = "YOU LOSE!";
ayu = "ƒCƒF`ƒCAŸ‚Á‚½Ÿ‚Á‚½`B‚³A’E‚¢‚ÅI";
life = life - 1;
} else if ((result == "lose") && (life == 3)) {
text_result = "YOU LOSE!";
ayu = "ƒƒ“ƒo[‚É“o˜^‚µ‚½‚çA‚·‚®‚É‚Ý‚ê‚é‚æ(^^)/";
life = life - 1;
} else if ((result == "lose") && (life == 2)) {
text_result = "YOU LOSE!";
ayu = "ƒ€[ƒr[‚à‚«‚ê‚¢‚ÉŽB‚ê‚Ä‚é‚æB‚¿‚å‚Á‚Æ’p‚¸‚©‚µ‚¢‚¯‚ÇŒ©‚Ä—~‚µ‚¢‚ÈI";
life = life - 1;
} else if ((result == "lose") && (life == 1)) {
life = life - 1;
text_result = "GAME OVER!";
ayu = "¡“x‚±‚»A‚Ý‚¸‚«‚Ì‘S•”Œ©‚¹‚Ä‚ ‚°‚é‚©‚çA‚Ü‚½—V‚ñ‚Å‚ËI";
gotoAndPlay (49);
stop();
}
Frame 48
text_result = "";
bt_gu.gotoAndStop("off");
bt_ck.gotoAndStop("off");
bt_pa.gotoAndStop("off");
gotoAndPlay (4);
Frame 49
stop();
Instance of Symbol 82 MovieClip "lose_bt" in Frame 49
onClipEvent (enterFrame) {
if (_root.finish) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(1);
}
}
Symbol 32 MovieClip Frame 1
_root.ayu = "‚Ý‚¸‚«‚Å‚·Bƒ‚ƒfƒ‹‚µ‚Ä‚½‚±‚Æ‚à‚ ‚é‚ñ‚¾‚æB‚ ‚È‚½‚ªŸ‚Á‚½‚çA‚Ý‚¸‚«‚̃€[ƒr[Œ©‚¹‚Ä‚ ‚°‚éB";
stop();
Symbol 32 MovieClip Frame 3
_root.ayu = "‹‚©‚Á‚½‚µA‚¿‚傤‚Ç’E‚¬‚½‚©‚Á‚½‚ñ‚¾[B‚¿‚å‚Á‚ƃVƒbƒNŒn‚ÉŒˆ‚ß‚Ä‚Ý‚½‚ñ‚¾‚¯‚Ç‚Ç‚¤H";
Symbol 32 MovieClip Frame 7
stop();
Symbol 32 MovieClip Frame 8
_root.ayu = "‚¦‚ÁAƒXƒJ[ƒg‚Í‚Ü‚¾’E‚ª‚È‚‚Ä‚¢‚¢‚ñ‚¾B‚₾[A’p‚¸‚©‚µ‚¢‚¶‚á‚ñA‚g`(^^)B";
Symbol 32 MovieClip Frame 12
stop();
Symbol 32 MovieClip Frame 13
_root.ayu = "ŽÀ‚Í¡“úAƒpƒ“ƒc‚ƃuƒ‰‚¨‘µ‚¢‚È‚ñ‚¾‚æB‚È‚ñ‚Å‚¾‚©•ª‚©‚éHƒGƒwƒw(^^)B";
Symbol 32 MovieClip Frame 17
stop();
Symbol 32 MovieClip Frame 18
_root.ayu = "’j‚Ìl‚Á‚ăIƒbƒpƒC‘å‚«‚¢•û‚ª‚¢‚¢‚ñ‚Å‚µ‚åHŽ„‚¶‚áƒ_ƒH";
Symbol 32 MovieClip Frame 22
stop();
Symbol 32 MovieClip Frame 23
_root.ayu = "ƒEƒbƒ\\[A‚¿‚å‚Á‚ƃnƒY‚©ƒV[‚È[B‚à‚Á‚Æ‚g‚ÈŽÊ^Œ©‚¹‚Ä‚ ‚°‚é‚©‚çA‚à‚¤ˆê‰ñI";
Symbol 32 MovieClip Frame 27
stop();
Symbol 32 MovieClip Frame 28
_root.ayu = "ŽŸ‚Í‚ ‚È‚½‚ªU‚ß‚é”ÔI‚₳‚µ‚‚µ‚Ä‚ËB‰º‚̃{ƒ^ƒ“‚ª“üŒû‚¾‚æI";
Symbol 32 MovieClip Frame 32
_root.finish = true;
_root.gotoAndPlay("gameover");
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 46 Button
on (release) {
gotoAndStop (2);
}
Symbol 48 Button
on (release) {
gotoAndStop (1);
}
Symbol 50 MovieClip Frame 1
_root.volume = true;
stop();
Symbol 50 MovieClip Frame 2
_root.volume = false;
_root.rootSound.stop("sound16");
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 52 Button
on (rollOver) {
bt_ck.gotoAndPlay("on");
}
on (rollOut) {
bt_ck.gotoAndPlay("off");
}
on (press) {
comphand.gotoAndStop("reset");
bt_ck.gotoAndStop("on");
userGyan = 1;
if (volume) {
rootSound.start();
}
gotoAndPlay (5);
}
Symbol 53 Button
on (rollOver) {
bt_gu.gotoAndPlay("on");
}
on (rollOut) {
bt_gu.gotoAndPlay("off");
}
on (press) {
comphand.gotoAndStop("reset");
bt_gu.gotoAndStop("on");
userGyan = 0;
if (volume) {
rootSound.start();
}
gotoAndPlay (5);
}
Symbol 54 Button
on (rollOver) {
bt_pa.gotoAndPlay("on");
}
on (rollOut) {
bt_pa.gotoAndPlay("off");
}
on (press) {
comphand.gotoAndStop("reset");
bt_pa.gotoAndStop("on");
userGyan = 2;
if (volume) {
rootSound.start();
}
gotoAndPlay (5);
}
Symbol 57 MovieClip Frame 13
gotoAndPlay (1);
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 5
stop();
Symbol 64 MovieClip Frame 9
stop();
Symbol 64 MovieClip Frame 13
stop();
Symbol 74 Button
on (release) {
getURL ("../faq.html", "_blank");
}
Symbol 77 Button
on (release) {
_root.text_result = "";
_root.retryNumber++;
_root.gotoAndPlay("reset");
}
Symbol 78 Button
on (release) {
getURL ("../faq.html", "_blank");
}
Symbol 81 Button
on (release) {
getURL ("images/mizuki_sample.wmv");
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();