Frame 1
function PaiSet(PaiSetPos, PaiSetNum) {
basex = 120;
basey = 360;
if (PaiSetPos == 8) {
basex = 140;
}
PaiSetName = "HaipaiObj" + PaiSetPos;
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 100 + PaiSetPos);
PaiSetObj = eval ("HaipaiObj" + PaiSetPos);
PaiSetObj._x = basex + (PaiSetPos * 39);
PaiSetObj._y = basey;
}
function PaiOpen(PaiSetPos) {
basey = 360;
PaiSetObj = eval ("HaipaiObj" + PaiSetPos);
PaiSetObj._y = basey - 20;
PaiSetObj.gotoAndStop(2);
}
function PaiRemove(PaisetPos) {
PaiRemoveObj = eval ("HaipaiObj" + PaiSetPos);
PaiRemoveObj.removeMovieClip();
}
function PaiDoraOpen(PaiSetPos, PaiSetNum, openflag) {
if (openflag == 0) {
basex = 530.5;
basey = 191;
Paifuse.duplicateMovieClip("DoraObj0", 150);
PaiSetObj = DoraObj0;
PaiSetObj._x = basex;
PaiSetObj._y = basey + 3;
PaiSetObj._rotation = 180;
PaiSetName = "DoraObj1";
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 151);
PaiSetObj = eval (PaiSetName);
PaiSetObj._x = basex;
PaiSetObj._y = basey;
PaiSetObj.gotoAndStop(2);
} else {
basex = 530.5;
basey = 170;
PaiSetName = "DoraObj" + PaiSetPos;
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 150 + PaiSetPos);
PaiSetObj = eval ("DoraObj" + PaiSetPos);
PaiSetObj._x = basex;
PaiSetObj._y = basey + (PaiSetPos * 43);
PaiSetObj.gotoAndStop(2);
}
}
function PaiDoraRemove() {
PaiSetObj0 = DoraObj0;
PaiSetObj0.removeMovieClip();
PaiSetObj1 = DoraObj1;
PaiSetObj1.removeMovieClip();
}
function SuteHaiSet(PaiSetPos, PaiSetNum) {
basex = 30;
basey = 230;
PaiSetName = "SuteHaiObj" + PaiSetPos;
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 400 + PaiSetPos);
SuteHaiObj = eval ("SuteHaiObj" + PaiSetPos);
yline = Math.floor(PaiSetPos / 12);
xline = PaiSetPos - (yline * 12);
SuteHaiObj._x = basex + (xline * 38);
SuteHaiObj._y = basey + (yline * 33);
SuteHaiObj.gotoAndStop(2);
}
function SuteHaiDark(PaiSetPos) {
SuteHaiObj = eval ("SuteHaiObj" + PaiSetPos);
SuteHaiObj._alpha = 50;
}
function ReachSuteHaiSet(PaiSetPos, PaiSetNum) {
basex = 30;
basey = 230;
PaiSetName = "SuteHaiObj" + PaiSetPos;
PaiSetPos2 = PaiSetPos + 1;
ReachPaiSetName = "SuteHaiObj" + PaiSetPos2;
Reach.duplicateMovieClip(ReachPaiSetName, (400 + PaiSetPos) + 1);
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 400 + PaiSetPos);
SuteHaiObj = eval ("SuteHaiObj" + PaiSetPos);
ReachObj = eval ("SuteHaiObj" + PaiSetPos2);
yline = Math.floor(PaiSetPos / 12);
xline = PaiSetPos - (yline * 12);
yline2 = Math.floor(PaiSetPos2 / 12);
xline2 = PaiSetPos2 - (yline2 * 12);
SuteHaiObj._rotation = 90;
SuteHaiObj._x = basex + (xline * 38);
SuteHaiObj._y = basey + (yline * 33);
ReachObj._x = basex + (xline2 * 38);
ReachObj._y = basey + (yline2 * 33);
}
function SuteHaiRemove() {
i = 0;
while (i < 36) {
SuteHaiObj = eval ("SuteHaiObj" + i);
SuteHaiObj.removeMovieClip();
AiteSuteHaiObj = eval ("AiteSuteHaiObj" + i);
AiteSuteHaiObj.removeMovieClip();
i++;
}
}
function AitePaiSet(AitePaiSetPos, AitePaiSetNum, openflag) {
basex = 380;
basey = 40;
if (AitePaiSetPos == 8) {
basex = 357;
}
AitePaiSetName = "AitehaiObj" + AitePaiSetPos;
if ((DEBUG == 1) || (openflag == true)) {
PaiObj[AitePaiSetNum].duplicateMovieClip(AitePaiSetName, 500 + AitePaiSetPos);
} else {
Paifuse.duplicateMovieClip(AitePaiSetName, 500 + AitePaiSetPos);
}
AitePaiSetObj = eval ("AitehaiObj" + AitePaiSetPos);
if ((DEBUG == 1) || (openflag == true)) {
AitePaiSetObj._rotation = 180;
}
AitePaiSetObj._x = basex - (AitePaiSetPos * 39);
AitePaiSetObj._y = basey;
}
function AitePaiRemove(AitePaisetPos) {
AitePaiRemoveObj = eval ("AitehaiObj" + AitePaiSetPos);
AitePaiRemoveObj.removeMovieClip();
}
function AiteAgariPaiSet(PaiSetPos, PaiSetNum) {
basex = 50;
basey = 280;
if (PaiSetPos == 8) {
basex = basex + 20;
}
PaiSetName = "AitehaiObj" + PaiSetPos;
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 500 + PaiSetPos);
PaiSetObj = eval ("AitehaiObj" + PaiSetPos);
PaiSetObj._x = basex + (PaiSetPos * 39);
PaiSetObj._y = basey;
}
function AiteSuteHaiSet(PaiSetPos, PaiSetNum) {
basex = 448;
basey = 150;
PaiSetName = "AiteSuteHaiObj" + PaiSetPos;
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 200 + PaiSetPos);
SuteHaiObj = eval ("AiteSuteHaiObj" + PaiSetPos);
yline = Math.floor(PaiSetPos / 12);
xline = PaiSetPos - (yline * 12);
SuteHaiObj._rotation = 180;
SuteHaiObj._x = basex - (xline * 38);
SuteHaiObj._y = basey - (yline * 33);
}
function AiteReachSuteHaiSet(PaiSetPos, PaiSetNum) {
basex = 448;
basey = 150;
PaiSetName = "AiteSuteHaiObj" + PaiSetPos;
PaiSetPos2 = PaiSetPos + 1;
ReachPaiSetName = "AiteSuteHaiObj" + PaiSetPos2;
Reach.duplicateMovieClip(ReachPaiSetName, (200 + PaiSetPos) + 1);
PaiObj[PaiSetNum].duplicateMovieClip(PaiSetName, 200 + PaiSetPos);
SuteHaiObj = eval ("AiteSuteHaiObj" + PaiSetPos);
ReachObj = eval ("AiteSuteHaiObj" + PaiSetPos2);
yline = Math.floor(PaiSetPos / 12);
xline = PaiSetPos - (yline * 12);
yline2 = Math.floor(PaiSetPos2 / 12);
xline2 = PaiSetPos2 - (yline2 * 12);
SuteHaiObj._rotation = 270;
SuteHaiObj._x = basex - (xline * 38);
SuteHaiObj._y = basey - (yline * 33);
ReachObj._x = basex - (xline2 * 38);
ReachObj._y = basey - (yline2 * 33);
}
function AiteSuteHaiDark(PaiSetPos) {
SuteHaiObj = eval ("AiteSuteHaiObj" + PaiSetPos);
SuteHaiObj._alpha = 50;
}
function ShowMovieSet(MovieNum) {
ShowMovieBase.duplicateMovieClip("ShowMovie", 550);
ShowMovieObj = ShowMovie;
ShowMovieObj._x = 300;
ShowMovieObj._y = 200;
}
function ShowMovieRemove() {
ShowMovieObj = ShowMovie;
ShowMovieObj.removeMovieClip();
}
DEBUG = 0;
AGARI = 1;
loadMovie ("SEMC.swf", "_root.SEMC");
loadMovie ("SEMC2.swf", "_root.SEMC2");
PaiObj = new Array();
i = 1;
while (i < 13) {
PaiObj[i] = eval ("Pai" + i);
i++;
}
PaiInfo = new Array();
PaiInfo[1] = {ten:10, iro:"1"};
PaiInfo[2] = {ten:10, iro:"2"};
PaiInfo[3] = {ten:10, iro:"3"};
PaiInfo[4] = {ten:10, iro:"4"};
PaiInfo[5] = {ten:5, iro:"2"};
PaiInfo[6] = {ten:5, iro:"3"};
PaiInfo[7] = {ten:5, iro:"4"};
PaiInfo[8] = {ten:1, iro:"5"};
PaiInfo[9] = {ten:20, iro:"5"};
PaiInfo[10] = {ten:20, iro:"5"};
PaiInfo[11] = {ten:20, iro:"5"};
PaiInfo[12] = {ten:0, iro:"6"};
YakuBaseCount = 11;
YakuAgariBase = new array();
YakuInfo1Count = 16;
YakuInfo1 = new array();
YakuAgari1 = new array();
YakuInfo1[1] = {flag:"10000000000", name:"ˆ¤‚̃e[ƒ}", yaku:199};
YakuInfo1[2] = {flag:"01000000000", name:"ˆ¤‚̃e[ƒ}2", yaku:99};
YakuInfo1[3] = {flag:"00100000000", name:"‚¿‚á‚ÒŽq‚³‚ñ", yaku:99};
YakuInfo1[4] = {flag:"00010000000", name:"‚¿‚á‚Ý‚¿‚á‚ñ", yaku:99};
YakuInfo1[5] = {flag:"00001000000", name:"•Ï‘Ô¯l", yaku:99};
YakuInfo1[6] = {flag:"00000100000", name:"•Ï‘ÔŒR’c", yaku:99};
YakuInfo1[7] = {flag:"00000010000", name:"‚Ï‚ñ‚¿‚ã", yaku:99};
YakuInfo1[8] = {flag:"00000000111", name:"ƒGƒƒGƒ–‚l", yaku:99};
YakuInfo1[9] = {flag:"01110000000", name:"¹‚È‚éƒnƒQ“V", yaku:3};
YakuInfo1[10] = {flag:"00001110000", name:"‚T“_ƒTƒ“ƒVƒ‡ƒN", yaku:3};
YakuInfo1[11] = {flag:"00001011000", name:"ˆ¤‚ÌŽOŠpŠÖŒW", yaku:4};
YakuInfo1[12] = {flag:"10010000100", name:"‚Ý‚ñ‚È‚Ì‚¤‚½", yaku:4};
YakuInfo1[13] = {flag:"01011000000", name:"‚¿‚á‚Ñ‚Ë‚Á‚Æ", yaku:4};
YakuInfo1[14] = {flag:"10010000001", name:"‚¿‚á‚Ñ‚Ë‚Á‚Æ7", yaku:4};
YakuInfo1[15] = {flag:"00000000000", name:"ƒX[ƒp[‚¿‚á‚Ñ‚Ë‚Á‚Æ", yaku:4};
YakuInfo1[16] = {flag:"11111111100", name:"‚¿‚á‚Ñ‚Ë‚Á‚ƃI[ƒ‹ƒXƒ^[ƒY", yaku:2};
YakuInfo2Count = 9;
YakuInfo2 = new array();
YakuAgari2 = new array();
YakuInfo2[1] = {flag:"01000", name:"ƒ`ƒ“ƒCƒc", yaku:3};
YakuInfo2[2] = {flag:"00100", name:"ƒ`ƒ“ƒCƒc", yaku:3};
YakuInfo2[3] = {flag:"00010", name:"ƒ`ƒ“ƒCƒc", yaku:3};
YakuInfo2[4] = {flag:"01110", name:"ƒTƒ“ƒVƒ‡ƒN", yaku:2};
YakuInfo2[5] = {flag:"01001", name:"ƒzƒ“ƒCƒc", yaku:2};
YakuInfo2[6] = {flag:"00101", name:"ƒzƒ“ƒCƒc", yaku:2};
YakuInfo2[7] = {flag:"00011", name:"ƒzƒ“ƒCƒc", yaku:2};
YakuInfo2[8] = {flag:"10001", name:"ƒ‚ƒi[ƒzƒ“ƒCƒc", yaku:3};
YakuInfo2[9] = {flag:"00001", name:"”’ƒ`ƒ“ƒCƒc", yaku:5};
YakuInfo3Count = 10;
YakuInfo3 = new array();
YakuAgari3 = new array();
YakuInfo3[1] = {flag:"10100000000", name:"“ÁŽê–ð1", yaku:1};
YakuInfo3[2] = {flag:"01010000000", name:"“ÁŽê–ð2", yaku:1};
YakuInfo3[3] = {flag:"00000000100", name:"“ÁŽê–ð3", yaku:1};
YakuInfo3[4] = {flag:"00000000010", name:"“ÁŽê–ð4", yaku:1};
YakuInfo3[5] = {flag:"00000000001", name:"“ÁŽê–ð5", yaku:1};
YakuInfo3[6] = {flag:"00000011000", name:"“ÁŽê–ð6", yaku:2};
YakuInfo3[7] = {flag:"10001000000", name:"“ÁŽê–ð7", yaku:1};
YakuInfo3[8] = {flag:"00000101000", name:"“ÁŽê–ð8", yaku:2};
YakuInfo3[9] = {flag:"10000001000", name:"“ÁŽê–ð9", yaku:1};
YakuInfo3[10] = {flag:"10000100000", name:"“ÁŽê–ð10", yaku:1};
Kaze = new array();
Kaze[1] = {name:"“Œˆê‹Ç"};
Kaze[2] = {name:"“Œƒj‹Ç"};
Kaze[3] = {name:"“ìˆê‹Ç"};
Kaze[4] = {name:"“ìƒj‹Ç"};
Instance of Symbol 27 MovieClip in Frame 1
onClipEvent (enterFrame) {
this.nokoripai = (_root.MAXPAI - _root.HaipaiHead) - _root.Ryukyoku;
}
Instance of Symbol 38 MovieClip in Frame 1
onClipEvent (enterFrame) {
this.frametext = _root.MyReachFlag;
}
onClipEvent (load) {
this._visble = false;
if (_root.DEBUG == 1) {
this._visble = true;
}
}
Instance of Symbol 47 MovieClip "Pai1" in Frame 1
/* no clip actions */
Instance of Symbol 53 MovieClip "Pai2" in Frame 1
/* no clip actions */
Instance of Symbol 61 MovieClip "Pai3" in Frame 1
/* no clip actions */
Instance of Symbol 66 MovieClip "Pai4" in Frame 1
/* no clip actions */
Instance of Symbol 75 MovieClip "Pai5" in Frame 1
/* no clip actions */
Instance of Symbol 87 MovieClip "Pai6" in Frame 1
/* no clip actions */
Instance of Symbol 91 MovieClip "Pai7" in Frame 1
/* no clip actions */
Instance of Symbol 100 MovieClip "Pai8" in Frame 1
/* no clip actions */
Instance of Symbol 105 MovieClip "Pai9" in Frame 1
/* no clip actions */
Instance of Symbol 110 MovieClip "Pai10" in Frame 1
/* no clip actions */
Instance of Symbol 114 MovieClip "Pai11" in Frame 1
/* no clip actions */
Instance of Symbol 118 MovieClip "Pai12" in Frame 1
/* no clip actions */
Frame 4
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.gotoAndPlay(5);
} else {
_root.gotoAndPlay(3);
}
Instance of Symbol 167 MovieClip "yubi" in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + _xmouse;
this._y = this._y + _ymouse;
if (this._x < 0) {
this._x = 1;
}
if (550 < this._x) {
this._x = 549;
}
}
Instance of Symbol 169 MovieClip "cursol" in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + _xmouse;
this._y = this._y + _ymouse;
if (this._x < 0) {
this._x = 1;
}
if (550 < this._x) {
this._x = 549;
}
}
onClipEvent (mouseDown) {
i = 1;
while (i < 9) {
PaiName = "HaipaiObj" + i;
PaiHitObj = eval (PaiName);
if (this.hitTest(_root.PaiHitObj)) {
trace(i);
}
i++;
}
}
Frame 6
Frame 7
KeyBoardSel = 1;
HaipaiBase = new Array();
Haipai = new Array();
HaipaiWork = new Array();
MyTehai = new Array();
AiteTehai = new Array();
AgariTehai = new Array();
MyTehaiCount = new Array();
AiteTehaiCount = new Array();
AiteSutehaique = new Array();
agariwork = new Array();
agaripaique = new Array();
ponwork = new Array();
AgariTehaiCount = new Array();
AgariTehaiColor = new Array();
charNaki = new Array();
charSute = new Array();
MAXPAI = 82;
i = 1;
HaipaiBase[0] = 0;
k = 0;
while (k < 7) {
j = 0;
while (j < 9) {
HaipaiBase[i] = k + 1;
i++;
j++;
}
k++;
}
j = 0;
while (j < 6) {
HaipaiBase[i] = 8;
i++;
j++;
}
k = 8;
while (k < 11) {
j = 0;
while (j < 4) {
HaipaiBase[i] = k + 1;
i++;
j++;
}
k++;
}
HaipaiBase[i] = 12;
trace(i);
Instance of Symbol 170 MovieClip "cursol" in Frame 9
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this._x = this._x + _xmouse;
this._y = this._y + _ymouse;
if (this._x < 0) {
this._x = 1;
}
if (550 < this._x) {
this._x = 549;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.KeySelMC)) {
if (_root.KeyBoardSel == 1) {
_root.KeyBoardSel = 2;
} else {
_root.KeyBoardSel = 1;
}
}
}
Instance of Symbol 178 MovieClip "KeySelMC" in Frame 9
onClipEvent (enterFrame) {
if (_root.KeyBoardSel == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 190 MovieClip in Frame 9
onClipEvent (keyDown) {
_root.gotoAndPlay(11);
}
Frame 10
if (DEBUG == 0) {
gotoAndPlay(_currentframe - 1);
}
Frame 15
MyScore = 3000;
AiteScore = 3000;
MyOyaFlag = 1;
AiteOyaFlag = 0;
KazeCount = 1;
if (KeyBoardSel == 1) {
KeyDisplay1._visible = true;
KeyDisplay2._visible = false;
InpKey1 = ["a", "b", "c", "d", "e", "f", "g", "h", "n"];
InpKey2 = ["A", "B", "C", "D", "E", "F", "G", "H", "N"];
} else {
KeyDisplay1._visible = false;
KeyDisplay2._visible = true;
InpKey2 = ["Z", "X", "C", "V", "B", "N", "M", "¼", "¾"];
}
Frame 20
trace("### gamestart ###");
HaipaiHead = 1;
SuteHaiNum = 0;
AiteSuteHaiNum = 0;
Ryukyoku = 12;
MySuteHai = 0;
AiteSuteHai = 0;
MyPonShift = 0;
AitePonShift = 0;
MyReachFlag = 0;
AiteReachFlag = 0;
MyTumoFlag = 0;
AiteTumoFlag = 0;
MyIppatuFlag = 0;
AiteIppatuFlag = 0;
MyFirstFlag = 1;
AiteFirstFlag = 1;
AgariReachFlag = 0;
AgariTumoFlag = 0;
AgariIppatuFlag = 0;
AgariPonShift = 0;
AgariOyaFlag = 0;
AgariFirstFlag = 0;
ReachSutehaitmp = 0;
MyAtariHai = 0;
AiteAtariHai = 0;
MyReachBou._visible = false;
AiteReachBou._visible = false;
i = 0;
while (MAXPAI >= i) {
HaipaiWork[i] = HaipaiBase[i];
i++;
}
i = 1;
while (MAXPAI >= i) {
r = Math.floor(Math.random() * (MAXPAI + 0.99));
if (HaipaiWork[r] != 0) {
Haipai[i] = HaipaiWork[r];
HaipaiWork[r] = 0;
i++;
}
}
Frame 25
char.gotoAndPlay("normal");
k = 1;
if (MyOyaFlag == 1) {
i = 0;
while (i < 8) {
MyTehai[i] = Haipai[k];
k++;
i++;
}
i = 0;
while (i < 8) {
AiteTehai[i] = Haipai[k];
k++;
i++;
}
}
if (AiteOyaFlag == 1) {
i = 0;
while (i < 8) {
AiteTehai[i] = Haipai[k];
k++;
i++;
}
i = 0;
while (i < 8) {
MyTehai[i] = Haipai[k];
k++;
i++;
}
}
HaipaiHead = 16;
i = 0;
while (i < 8) {
PaiSet(i, MyTehai[i]);
AitePaiSet(i, AiteTehai[i], false);
i++;
}
i = 0;
while (i < 8) {
PaiRemove(i);
i++;
}
i = 0;
while (i < 7) {
k = 7;
while (i < k) {
if (MyTehai[k] < MyTehai[k - 1]) {
wk = MyTehai[k - 1];
MyTehai[k - 1] = MyTehai[k];
MyTehai[k] = wk;
}
k--;
}
i++;
}
i = 0;
while (i < 7) {
k = 7;
while (i < k) {
if (AiteTehai[k] < AiteTehai[k - 1]) {
wk = AiteTehai[k - 1];
AiteTehai[k - 1] = AiteTehai[k];
AiteTehai[k] = wk;
}
k--;
}
i++;
}
i = 0;
while (i < 8) {
PaiSet(i, MyTehai[i]);
AitePaiSet(i, AiteTehai[i], false);
i++;
}
MojiMask._x = -14 + (40 * MyPonShift);
PaiDoraOpen(0, Haipai[MAXPAI - 4], 0);
i = 0;
while (i < 12) {
charSute[i] = charSuteBase[i];
if ((charSute[i] == Haipai[MAXPAI - 4]) && (charDoraSute == 1)) {
charSute[i] = 0;
}
i++;
}
i = 0;
while (i < 13) {
charNaki[i] = charNakiBase[i];
i++;
}
if (charDoraNaki == 1) {
charNaki[Haipai[MAXPAI - 4]] = 1;
}
MyScoreDisplay.ScoreText = MyScore;
AiteScoreDisplay.ScoreText = AiteScore;
KazeDisplay.Kazetext = Kaze[KazeCount].name;
if (MyOyaFlag == 1) {
OyaMark._x = 575;
OyaMark._y = 378;
}
if (AiteOyaFlag == 1) {
OyaMark._x = 467;
OyaMark._y = 25;
gotoAndPlay (90);
}
Frame 40
HaipaiHead++;
MyTehai[8] = Haipai[HaipaiHead];
PaiSet(8, MyTehai[8]);
Frame 41
i = 0;
while (i < 9) {
agariwork[i] = MyTehai[i];
i++;
}
i = 0;
while (i < 8) {
k = 8;
while (i < k) {
if (agariwork[k] < agariwork[k - 1]) {
wk = agariwork[k - 1];
agariwork[k - 1] = agariwork[k];
agariwork[k] = wk;
}
k--;
}
i++;
}
check = 0;
set3 = 0;
set2 = 0;
i = 0;
while (i < 8) {
if (agariwork[i] == agariwork[i + 1]) {
check++;
set2++;
agaripaique.push(agariwork[i]);
if (check == 2) {
set3++;
set2 = set2 - 2;
agaripaique.pop();
agaripaique.pop();
i++;
check = 0;
}
} else {
check = 0;
}
i++;
}
trace("##check##");
if (0 < agaripaique.length) {
trace("ƒAƒ^ƒŠ”v‚ðÝ’è");
MyatariHai = agaripaique.pop();
i = 0;
while (i < agaripaique.length) {
agaripaique.pop();
i++;
}
}
if (MyReachFlag == 0) {
if ((set3 == 2) && (set2 == 1)) {
gotoAndPlay (200);
}
}
i = 0;
while (i < 13) {
MyTehaiCount[i] = 0;
i++;
}
i = 0;
while (i < 9) {
MyTehaiCount[MyTehai[i]]++;
i++;
}
kokusicheck = 0;
kokusiatariHai = 0;
SuteHaiNum = 9;
i = 1;
while (9 >= i) {
if (0 < MyTehaiCount[i]) {
kokusicheck++;
} else {
kokusiatariHai = i;
}
if (MyTehaiCount[i] == 2) {
k = 0;
while (k < 9) {
if (MyTehai[k] == i) {
SuteHaiNum = k;
}
k++;
}
}
i++;
}
if (SuteHaiNum == 9) {
i = 10;
while (12 >= i) {
if (MyTehaiCount[i] != 0) {
k = 0;
while (k < 9) {
if (MyTehai[k] == i) {
SuteHaiNum = k;
}
k++;
}
}
i++;
}
}
if (kokusicheck == 8) {
MyatariHai = kokusiatariHai;
gotoAndPlay (200);
}
trace("‘Žmƒ`ƒFƒbƒN");
trace(kokusicheck);
trace("“–‚½‚è”v");
trace(MyatariHai);
if (MyReachFlag == 0) {
if ((set3 == 3) || (kokusicheck == 9)) {
if (MyFirstFlag == 1) {
MyTumoFlag = 1;
gotoAndPlay (220);
} else {
trace("ƒtƒ@[ƒXƒgƒtƒ‰ƒO‚ª‚P‚Å‚È‚¢‚Æ‚«AƒŠ[ƒ`”»’è");
gotoAndPlay (200);
}
}
}
if (0 < MyReachFlag) {
if ((((MyTehai[8] == MyatariHai) || (MyTehai[8] == 12)) || (set3 == 3)) || (kokusicheck == 9)) {
if (MyTehai[8] == 12) {
MyTumoFlag = 2;
gotoAndPlay (220);
} else {
MyTumoFlag = 1;
gotoAndPlay (220);
}
} else {
SuteHaiNum = 8;
MyIppatuFlag = 0;
gotoAndPlay (55);
}
}
Frame 50
Instance of Symbol 167 MovieClip "yubi" in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + _xmouse;
this._y = this._y + _ymouse;
if (this._x < 0) {
this._x = 1;
}
if (550 < this._x) {
this._x = 549;
}
}
Instance of Symbol 243 MovieClip "cursol" in Frame 50
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this._x = this._x + _xmouse;
this._y = this._y + _ymouse;
if (this._x < 0) {
this._x = 1;
}
if (550 < this._x) {
this._x = 549;
}
}
onClipEvent (mouseDown) {
painum = 99;
i = _root.MyPonShift;
while (i < 9) {
PaiName = "_root.HaipaiObj" + i;
PaiHitObj = eval (PaiName);
if (this.hitTest(PaiHitObj)) {
painum = i;
}
i++;
}
if ((painum >= 0) && (painum < 9)) {
_root.SuteHaiNum = painum;
_root.gotoAndPlay(60);
}
}
Instance of Symbol 247 MovieClip in Frame 50
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
i = _root.MyPonShift;
while (i < 9) {
if (_root.InpKey2[i] == InpKeyValue) {
_root.SuteHaiNum = i;
_root.gotoAndPlay(60);
}
i++;
}
}
Frame 51
gotoAndPlay(_currentframe - 1);
Frame 60
PaiRemove(SuteHaiNum);
if (ReachSutehaitmp == 1) {
ReachSuteHaiSet(MySuteHai, MyTehai[SuteHaiNum]);
MySuteHai++;
ReachSutehaitmp = 0;
if (MyTehai[SuteHaiNum] == 12) {
MyReachFlag = 3;
}
if (MyFirstFlag == 1) {
MyReachFlag++;
}
} else {
SuteHaiSet(MySuteHai, MyTehai[SuteHaiNum]);
}
MySuteHai++;
MyFirstFlag = 0;
Frame 70
wk = MyTehai[SuteHaiNum];
MyTehai[SuteHaiNum] = MyTehai[8];
MyTehai[8] = wk;
i = MyPonShift;
while (i < 7) {
k = 7;
while (i < k) {
if (MyTehai[k] < MyTehai[k - 1]) {
wk = MyTehai[k - 1];
MyTehai[k - 1] = MyTehai[k];
MyTehai[k] = wk;
}
k--;
}
i++;
}
i = 0;
while (i < 9) {
PaiRemove(i);
i++;
}
i = 0;
while (i < 8) {
PaiSet(i, MyTehai[i]);
i++;
}
i = 0;
while (i < MyPonShift) {
PaiOpen(i);
i++;
}
Frame 80
RyukyokuWait = 0;
if (0 < AiteReachFLag) {
if (MyTehai[8] == AiteatariHai) {
RyukyokuWait = 1;
gotoAndPlay (280);
}
}
if (((AitePonShift < 6) && (AiteReachFlag == 0)) && (charNakiFlag == 1)) {
i = 0;
while (i < 13) {
AiteTehaiCount[i] = 0;
i++;
}
i = AitePonShift;
while (i < 8) {
painum = AiteTehai[i];
AiteTehaiCount[painum] = AiteTehaiCount[painum] + 1;
i++;
}
painum = 0;
i = 1;
while (i < 13) {
if ((AiteTehaiCount[i] >= 2) && (MyTehai[8] == i)) {
painum = i;
i = 13;
}
i++;
}
if (painum != 0) {
if (charNaki[MyTehai[8]] == 1) {
trace("ƒRƒ“ƒsƒ|ƒ“");
gotoAndPlay (250);
}
}
}
nokoripai = (MAXPAI - HaipaiHead) - Ryukyoku;
if ((nokoripai < 1) && (RyukyokuWait == 0)) {
gotoAndPlay (150);
}
Frame 90
HaipaiHead++;
AiteTehai[8] = Haipai[HaipaiHead];
AitePaiSet(8, AiteTehai[8]);
Frame 91
i = 0;
while (i < 9) {
agariwork[i] = AiteTehai[i];
i++;
}
i = 0;
while (i < 8) {
k = 8;
while (i < k) {
if (agariwork[k] < agariwork[k - 1]) {
wk = agariwork[k - 1];
agariwork[k - 1] = agariwork[k];
agariwork[k] = wk;
}
k--;
}
i++;
}
check = 0;
set3 = 0;
set2 = 0;
i = 0;
while (i < 8) {
if (agariwork[i] == agariwork[i + 1]) {
check++;
set2++;
agaripaique.push(agariwork[i]);
if (check == 2) {
set3++;
set2 = set2 - 2;
agaripaique.pop();
agaripaique.pop();
i++;
check = 0;
}
} else {
check = 0;
}
i++;
}
trace("##aite check##");
if (0 < agaripaique.length) {
AiteatariHai = agaripaique.pop();
i = 0;
while (i < agaripaique.length) {
agaripaique.pop();
i++;
}
}
if (AiteReachFlag == 0) {
if ((set3 == 2) && (set2 == 1)) {
gotoAndPlay (260);
}
}
if (0 < AiteReachFlag) {
if ((AiteTehai[8] == 12) || (set3 == 3)) {
if (AiteTehai[8] == 12) {
AiteTumoFlag = 2;
gotoAndPlay (270);
} else {
AiteTumoFlag = 1;
gotoAndPlay (270);
}
} else {
AiteSuteHaiNum = 8;
AiteIppatuFlag = 0;
gotoAndPlay (105);
}
}
Frame 100
i = 0;
while (i < 13) {
AiteTehaiCount[i] = 0;
i++;
}
i = AitePonShift;
while (i < 9) {
painum = AiteTehai[i];
AiteTehaiCount[painum] = AiteTehaiCount[painum] + 1;
i++;
}
i = 1;
while (i < 13) {
AiteTehaiCount[i] = AiteTehaiCount[i] / 3;
i++;
}
i = 0;
while (i < 13) {
AiteSutehaique[i] = 99;
i++;
}
AitequePos = 0;
(i = 1);
(SutehaiShikiiChi = 9);
while (i < 13) {
if (AiteTehaiCount[i] != Math.floor(AiteTehaiCount[i])) {
if (AiteTehaiCount[i] < SutehaiShikiiChi) {
AitequePos = 0;
AiteSutehaique[AitequePos] = i;
AitequePos++;
SutehaiShikiiChi = AiteTehaiCount[i];
} else if (AiteTehaiCount[i] == SutehaiShikiiChi) {
AiteSutehaique[AitequePos] = i;
AitequePos++;
}
}
i++;
}
if (SutehaiShikiiChi == 9) {
AiteSutehaique[AitequePos] = AiteTehai[8];
AitequePos++;
}
AitequePos--;
paitype = 0;
i = 0;
while ((i < 12) && (paitype == 0)) {
k = 0;
while ((AitequePos >= k) && (paitype == 0)) {
if (AiteSutehaique[k] == charSute[i]) {
paitype = AiteSutehaique[k];
}
k++;
}
i++;
}
if (paitype == 0) {
paitype = AiteSutehaique[AitequePos];
}
i = AitePonShift;
while (i < 9) {
if (AiteTehai[i] == paitype) {
painum = i;
}
i++;
}
AiteSuteHaiNum = painum;
Frame 110
AitePaiRemove(AiteSuteHaiNum);
if (ReachSutehaitmp == 1) {
AiteReachSuteHaiSet(AiteSuteHai, AiteTehai[AiteSuteHaiNum]);
AiteSuteHai++;
ReachSutehaitmp = 0;
if (AiteTehai[AiteSuteHaiNum] == 12) {
AiteReachFlag = 3;
}
if (AiteFirstFlag == 1) {
AiteReachFlag++;
}
} else {
AiteSuteHaiSet(AiteSuteHai, AiteTehai[AiteSuteHaiNum]);
}
AiteSuteHai++;
AiteFirstFlag = 0;
Frame 120
wk = AiteTehai[AiteSuteHaiNum];
AiteTehai[AiteSuteHaiNum] = AiteTehai[8];
AiteTehai[8] = wk;
i = AitePonShift;
while (i < 7) {
k = 7;
while (i < k) {
if (AiteTehai[k] < AiteTehai[k - 1]) {
wk = AiteTehai[k - 1];
AiteTehai[k - 1] = AiteTehai[k];
AiteTehai[k] = wk;
}
k--;
}
i++;
}
i = 0;
while (i < 9) {
AitePaiRemove(i);
i++;
}
i = 0;
while (i < AitePonShift) {
AitePaiSet(i, AiteTehai[i], true);
i++;
}
i = AitePonShift;
while (i < 8) {
AitePaiSet(i, AiteTehai[i], false);
i++;
}
Frame 130
RyukyokuWait = 0;
if (0 < MyReachFLag) {
if (AiteTehai[8] == MyatariHai) {
RyukyokuWait = 1;
gotoAndPlay (230);
}
}
if ((MyPonShift < 6) && (MyReachFlag == 0)) {
i = 0;
while (i < 13) {
MyTehaiCount[i] = 0;
i++;
}
i = MyPonShift;
while (i < 8) {
painum = MyTehai[i];
MyTehaiCount[painum] = MyTehaiCount[painum] + 1;
i++;
}
painum = 0;
i = 1;
while (i < 13) {
if ((MyTehaiCount[i] >= 2) && (AiteTehai[8] == i)) {
painum = i;
i = 13;
}
i++;
}
if (painum != 0) {
gotoAndPlay (170);
}
}
nokoripai = (MAXPAI - HaipaiHead) - Ryukyoku;
if ((nokoripai < 1) && (RyukyokuWait == 0)) {
gotoAndPlay (150);
}
Frame 140
gotoAndPlay (210);
Frame 141
gotoAndPlay(_currentframe - 1);
Frame 150
i = 0;
while (i < 8) {
PaiOpen(i);
i++;
}
i = 0;
while (i < 8) {
AitePaiRemove(i);
i++;
}
i = 0;
while (i < 8) {
AitePaiSet(i, AiteTehai[i], true);
i++;
}
Instance of Symbol 254 MovieClip in Frame 153
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
trace(InpKeyValue);
if (InpKeyValue == "Y") {
_root.gotoAndPlay(155);
}
}
Frame 154
gotoAndPlay(_currentframe - 1);
Frame 155
SuteHaiRemove();
i = 0;
while (i < 8) {
PaiRemove(i);
AitePaiRemove(i);
i++;
}
PaiDoraRemove();
gotoAndPlay (20);
Instance of Symbol 258 MovieClip in Frame 170
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
trace(InpKeyValue);
if (InpKeyValue == "Y") {
_root.gotoAndPlay(180);
}
if (InpKeyValue == "N") {
_root.gotoAndPlay(210);
}
}
Frame 171
gotoAndPlay(_currentframe - 1);
Frame 180
AiteSuteHaiDark(AiteSuteHai - 1);
i = 0;
while (i < MyPonShift) {
ponwork[i] = MyTehai[i];
MyTehai[i] = 0;
i++;
}
ponwork[MyPonShift] = AiteTehai[8];
k = MyPonShift + 1;
i = MyPonShift;
while (i < 8) {
if (MyTehai[i] == AiteTehai[8]) {
ponwork[k] = MyTehai[i];
MyTehai[i] = 0;
k++;
}
i++;
}
i = MyPonShift;
while (i < 8) {
if (MyTehai[i] != 0) {
ponwork[k] = MyTehai[i];
k++;
}
i++;
}
MyPonShift = MyPonShift + 3;
MojiMask._x = -14 + (40 * MyPonShift);
i = 0;
while (i < 9) {
MyTehai[i] = ponwork[i];
i++;
}
i = MyPonShift;
while (i < 8) {
k = 8;
while (i < k) {
if (MyTehai[k] < MyTehai[k - 1]) {
wk = MyTehai[k - 1];
MyTehai[k - 1] = MyTehai[k];
MyTehai[k] = wk;
}
k--;
}
i++;
}
i = 0;
while (i < 9) {
PaiRemove(i);
i++;
}
i = 0;
while (i < 9) {
PaiSet(i, MyTehai[i]);
i++;
}
i = 0;
while (i < MyPonShift) {
PaiOpen(i);
i++;
}
gotoAndPlay (41);
Frame 200
Instance of Symbol 262 MovieClip in Frame 200
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
trace(InpKeyValue);
if (InpKeyValue == "Y") {
_root.MyReachFlag = 1;
_root.MyIppatuFlag = 1;
_root.MyReachBou._visible = true;
_root.ReachSutehaitmp = 1;
_root.gotoAndPlay(205);
}
if (InpKeyValue == "N") {
_root.gotoAndPlay(50);
}
}
Frame 201
gotoAndPlay(_currentframe - 1);
Frame 205
if ((set3 == 3) || (kokusicheck == 9)) {
gotoAndPlay (50);
}
if (kokusicheck == 8) {
trace("‘ŽmƒŠ[ƒ`");
gotoAndPlay (60);
}
Frame 206
i = 0;
while (i < 13) {
MyTehaiCount[i] = 0;
i++;
}
i = 0;
while (i < 9) {
painum = MyTehai[i];
MyTehaiCount[painum] = MyTehaiCount[painum] + 1;
i++;
}
i = 1;
while (i < 13) {
MyTehaiCount[i] = MyTehaiCount[i] % 3;
i++;
}
painum = 0;
i = 1;
while (i < 13) {
if (MyTehaiCount[i] == 1) {
painum = i;
i = 13;
}
i++;
}
i = 8;
while (i >= 0) {
if (MyTehai[i] == painum) {
SuteHaiNum = i;
i = 0;
}
i--;
}
Frame 207
gotoAndPlay (60);
Frame 219
gotoAndPlay (40);
Frame 220
_root.SEMC2.gotoAndPlay("‚ ‚ª‚è");
ShowMovieSet(1);
Frame 222
ShowMovieRemove();
Instance of Symbol 265 MovieClip in Frame 223
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
trace(InpKeyValue);
if (InpKeyValue == "Y") {
trace("ƒcƒ‚‚ ‚ª‚èII");
_root.gotoAndPlay(225);
}
}
Frame 224
gotoAndPlay(_currentframe - 1);
Frame 226
gotoAndPlay (300);
Frame 230
_root.SEMC2.gotoAndPlay("ƒLƒ^[");
ShowMovieSet(1);
Frame 233
ShowMovieRemove();
Instance of Symbol 268 MovieClip in Frame 233
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
trace(InpKeyValue);
if (InpKeyValue == "Y") {
trace("ƒƒ“‚ ‚ª‚èII");
_root.gotoAndPlay(235);
}
}
Frame 234
gotoAndPlay(_currentframe - 1);
Frame 236
gotoAndPlay (300);
Frame 250
SuteHaiDark(MySuteHai - 1);
i = 0;
while (i < AitePonShift) {
ponwork[i] = AiteTehai[i];
AiteTehai[i] = 0;
i++;
}
ponwork[AitePonShift] = MyTehai[8];
k = AitePonShift + 1;
i = AitePonShift;
while (i < 8) {
if (AiteTehai[i] == MyTehai[8]) {
ponwork[k] = AiteTehai[i];
AiteTehai[i] = 0;
k++;
}
i++;
}
i = AitePonShift;
while (i < 8) {
if (AiteTehai[i] != 0) {
ponwork[k] = AiteTehai[i];
k++;
}
i++;
}
AitePonShift = AitePonShift + 3;
i = 0;
while (i < 9) {
AiteTehai[i] = ponwork[i];
i++;
}
i = AitePonShift;
while (i < 8) {
k = 8;
while (i < k) {
if (AiteTehai[k] < AiteTehai[k - 1]) {
wk = AiteTehai[k - 1];
AiteTehai[k - 1] = AiteTehai[k];
AiteTehai[k] = wk;
}
k--;
}
i++;
}
i = 0;
while (i < 9) {
AitePaiRemove(i);
i++;
}
i = 0;
while (i < AitePonShift) {
AitePaiSet(i, AiteTehai[i], true);
i++;
}
i = AitePonShift;
while (i < 9) {
AitePaiSet(i, AiteTehai[i]);
i++;
}
Frame 258
gotoAndPlay (91);
Frame 260
if (AGARI == 1) {
_root.AiteReachFlag = 1;
_root.AiteIppatuFlag = 1;
_root.AiteReachBou._visible = true;
_root.ReachSutehaitmp = 1;
} else {
gotoAndPlay (100);
}
Frame 265
i = 0;
while (i < 13) {
AiteTehaiCount[i] = 0;
i++;
}
i = 0;
while (i < 9) {
painum = AiteTehai[i];
AiteTehaiCount[painum] = AiteTehaiCount[painum] + 1;
i++;
}
i = 1;
while (i < 13) {
AiteTehaiCount[i] = AiteTehaiCount[i] % 3;
i++;
}
painum = 0;
i = 1;
while (i < 13) {
if (AiteTehaiCount[i] == 1) {
painum = i;
i = 13;
}
i++;
}
i = 8;
while (i >= 0) {
if (AiteTehai[i] == painum) {
AiteSuteHaiNum = i;
i = 0;
}
i--;
}
gotoAndPlay (110);
Frame 270
Frame 278
gotoAndPlay (303);
Frame 280
Frame 289
gotoAndPlay (303);
Frame 301
YakuWindow._visible = false;
YakuMovie0._visible = false;
YakuMovie1._visible = false;
YakuMovie3._visible = false;
SpecialMovie._visible = false;
agatta = 0;
SuteHaiRemove();
i = 0;
while (i < 8) {
AitePaiRemove(i);
i++;
}
i = 0;
while (i < 8) {
PaiOpen(i);
i++;
}
if (MyTumoFLag == 0) {
MyTehai[8] = AiteTehai[8];
PaiSet(8, MyTehai[8]);
}
PaiOpen(8);
if (MyTumoFLag == 2) {
MyTehai[8] = MyatariHai;
}
i = 0;
while (i < 9) {
AgariTehai[i] = MyTehai[i];
i++;
}
AgariReachFlag = MyReachFlag;
AgariTumoFlag = MyTumoFlag;
AgariIppatuFlag = MyIppatuFlag;
AgariPonShift = MyPonShift;
AgariOyaFlag = MyOyaFlag;
AgariFirstFlag = MyFirstFlag;
gotoAndPlay (305);
Frame 303
YakuWindow._visible = false;
YakuMovie0._visible = false;
YakuMovie1._visible = false;
YakuMovie3._visible = false;
SpecialMovie._visible = false;
agatta = 1;
SuteHaiRemove();
i = 0;
while (i < 8) {
PaiRemove(i);
i++;
}
i = 0;
while (i < 9) {
AitePaiRemove(i);
i++;
}
i = 0;
while (i < 8) {
AiteAgariPaiSet(i, AiteTehai[i]);
i++;
}
if (AiteTumoFLag == 0) {
AiteTehai[8] = MyTehai[8];
}
AiteAgariPaiSet(8, AiteTehai[8]);
if (AiteTumoFLag == 2) {
AiteTehai[8] = AiteatariHai;
}
i = 0;
while (i < 9) {
AgariTehai[i] = AiteTehai[i];
i++;
}
AgariReachFlag = AiteReachFlag;
AgariTumoFlag = AiteTumoFlag;
AgariIppatuFlag = AiteIppatuFlag;
AgariPonShift = AitePonShift;
AgariOyaFlag = AiteOyaFlag;
gotoAndPlay (305);
Frame 305
YakuWindow._visible = true;
OyaMark._visible = false;
Yakutexttmp = "";
YakuSum = 0;
YakuPaiSum = 0;
AgariDigit1 = 0;
AgariScore = 0;
DoraCount = 0;
i = 0;
while (YakuBaseCount >= i) {
YakuAgariBase[i] = 0;
i++;
}
i = 0;
while (YakuInfo1Count >= i) {
YakuAgari1[i] = 0;
i++;
}
i = 0;
while (YakuInfo2Count >= i) {
YakuAgari2[i] = 0;
i++;
}
i = 0;
while (YakuInfo3Count >= i) {
YakuAgari3[i] = 0;
i++;
}
YakumeiSE = 0;
YakuAgariBase[1] = AgariReachFlag;
YakuAgariBase[2] = AgariIppatuFlag;
if (AgariPonShift == 0) {
YakuAgariBase[3] = 1;
}
YakuAgariBase[4] = AgariTumoFlag;
if (((MAXPAI - HaipaiHead) - Ryukyoku) == 0) {
if (0 < AgariTumoFlag) {
YakuAgariBase[5] = 1;
} else {
YakuAgariBase[5] = 2;
}
}
i = 1;
while (i < 12) {
AgariTehaiCount[i] = 0;
i++;
}
i = 0;
while (i < 6) {
AgariTehaiColor[i] = 0;
i++;
}
i = 0;
while (i < 9) {
painum = AgariTehai[i];
AgariTehaiCount[painum]++;
AgariTehaiColor[PaiInfo[painum].iro] = 1;
i++;
}
i = 1;
while (i < 12) {
AgariDigit1 = AgariDigit1 * 2;
if (0 < AgariTehaiCount[i]) {
AgariDigit1 = AgariDigit1 + 1;
}
i++;
}
i = 1;
while (YakuInfo1Count >= i) {
if (parseInt(YakuInfo1[i].flag, 2) == AgariDigit1) {
YakuAgari1[i] = 1;
if (i == 16) {
YakuAgariBase[9] = 1;
}
}
i++;
}
AgariDigit2 = 0;
i = 1;
while (YakuInfo3Count >= i) {
AgariDigit2 = parseInt(YakuInfo3[i].flag, 2) & AgariDigit1;
if (parseInt(YakuInfo3[i].flag, 2) == AgariDigit2) {
YakuAgari3[i] = 1;
}
i++;
}
AgariDigit1 = 0;
i = 1;
while (i < 6) {
AgariDigit1 = AgariDigit1 * 2;
AgariDigit1 = AgariDigit1 + AgariTehaiColor[i];
i++;
}
i = 1;
while (YakuInfo2Count >= i) {
if (parseInt(YakuInfo2[i].flag, 2) == AgariDigit1) {
YakuAgari2[i] = 1;
}
i++;
}
i = 1;
while (9 >= i) {
if (AgariTehaiCount[i] == 6) {
YakuAgariBase[6] = 1;
}
i++;
}
if ((Haipai[MAXPAI - 4] >= 9) && (Haipai[MAXPAI - 4] < 12)) {
HakuDora = (AgariTehaiCount[9] + AgariTehaiCount[10]) + AgariTehaiCount[11];
if (0 < Math.floor(HakuDora / 3)) {
YakuAgariBase[7] = Math.floor(HakuDora / 3);
}
} else if (0 < Math.floor(AgariTehaiCount[Haipai[MAXPAI - 4]] / 3)) {
YakuAgariBase[7] = Math.floor(AgariTehaiCount[Haipai[MAXPAI - 4]] / 3);
}
if (Haipai[MAXPAI - 4] == 12) {
YakuAgariBase[11] = 1;
}
if (AgariPonShift == 0) {
PaiDoraRemove();
PaiDoraOpen(0, Haipai[MAXPAI - 4], 1);
PaiDoraOpen(1, Haipai[MAXPAI - 3], 1);
if ((Haipai[MAXPAI - 3] >= 9) && (Haipai[MAXPAI - 3] < 12)) {
HakuDora = (AgariTehaiCount[9] + AgariTehaiCount[10]) + AgariTehaiCount[11];
if (0 < Math.floor(HakuDora / 3)) {
YakuAgariBase[8] = Math.floor(HakuDora / 3);
}
} else if (0 < Math.floor(AgariTehaiCount[Haipai[MAXPAI - 3]] / 3)) {
YakuAgariBase[8] = Math.floor(AgariTehaiCount[Haipai[MAXPAI - 3]] / 3);
}
if (Haipai[MAXPAI - 3] == 12) {
YakuAgariBase[11] = 2;
}
}
if ((YakuAgari1[2] == 1) || (YakuAgari1[5] == 1)) {
YakuAgari2[1] = 0;
}
if ((YakuAgari1[3] == 1) || (YakuAgari1[6] == 1)) {
YakuAgari2[2] = 0;
}
if ((YakuAgari1[4] == 1) || (YakuAgari1[7] == 1)) {
YakuAgari2[3] = 0;
}
if (YakuAgari1[8] == 1) {
YakuAgari2[9] = 0;
}
if ((YakuAgari1[9] == 1) || (YakuAgari1[10] == 1)) {
YakuAgari2[4] = 0;
}
if (YakuAgari1[11] == 1) {
YakuAgari3[6] = 0;
}
if (YakuAgari1[13] == 1) {
YakuAgari3[2] = 0;
}
if (YakuAgariBase[9] == 1) {
i = 0;
while (YakuInfo1Count >= i) {
YakuAgari1[i] = 0;
i++;
}
i = 0;
while (YakuInfo2Count >= i) {
YakuAgari2[i] = 0;
i++;
}
i = 0;
while (YakuInfo3Count >= i) {
YakuAgari3[i] = 0;
i++;
}
YakuAgariBase[9] = 0;
YakuAgari1[16] = 1;
}
if (AgariFirstFlag == 1) {
i = 0;
while (YakuBaseCount >= i) {
YakuAgariBase[i] = 0;
i++;
}
i = 0;
while (YakuInfo1Count >= i) {
YakuAgari1[i] = 0;
i++;
}
i = 0;
while (YakuInfo2Count >= i) {
YakuAgari2[i] = 0;
i++;
}
i = 0;
while (YakuInfo3Count >= i) {
YakuAgari3[i] = 0;
i++;
}
YakuAgariBase[10] = 1;
}
Frame 306
SoundPlayFlag = 0;
if ((YakuAgariBase[1] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[1] = 0;
Yakutexttmp = Yakutexttmp + "ƒŠ[ƒ`@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒŠ[ƒ`");
}
if ((YakuAgariBase[1] == 2) && (SoundPlayFlag == 0)) {
YakuAgariBase[1] = 0;
Yakutexttmp = Yakutexttmp + "‚vƒŠ[ƒ`@2–ð\n";
YakuSum = YakuSum + 2;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("‚vƒŠ[ƒ`");
}
if ((YakuAgariBase[1] == 3) && (SoundPlayFlag == 0)) {
YakuAgariBase[1] = 0;
Yakutexttmp = Yakutexttmp + "{Œƒ‚µ‚ƒŠ[ƒ`{@2–ð\n";
YakuSum = YakuSum + 2;
SpecialMovie._visible = true;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("Œƒ‚µ‚ƒŠ[ƒ`");
}
if ((YakuAgariBase[1] == 4) && (SoundPlayFlag == 0)) {
YakuAgariBase[1] = 0;
Yakutexttmp = Yakutexttmp + "{Œƒ‚µ‚‚vƒŠ[ƒ`{@3–ð\n";
YakuSum = YakuSum + 3;
SpecialMovie._visible = true;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("Œƒ‚µ‚‚vƒŠ[ƒ`");
gotoAndPlay (307);
}
if ((YakuAgariBase[2] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[2] = 0;
Yakutexttmp = Yakutexttmp + "ƒCƒbƒpƒc@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒCƒbƒpƒc");
}
if ((YakuAgariBase[3] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[3] = 0;
Yakutexttmp = Yakutexttmp + "ƒƒ“ƒ[ƒ“@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒƒ“ƒ[ƒ“");
}
if ((YakuAgariBase[4] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[4] = 0;
Yakutexttmp = Yakutexttmp + "ƒcƒ‚@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒcƒ‚");
}
if ((YakuAgariBase[4] == 2) && (SoundPlayFlag == 0)) {
YakuAgariBase[4] = 0;
Yakutexttmp = Yakutexttmp + "{Œƒ‚µ‚ƒcƒ‚{@2–ð\n";
YakuSum = YakuSum + 2;
SpecialMovie._visible = true;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("Œƒ‚µ‚ƒcƒ‚");
}
if ((YakuAgariBase[5] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[5] = 0;
Yakutexttmp = Yakutexttmp + "ƒnƒCƒeƒC@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒnƒCƒeƒC");
}
if ((YakuAgariBase[5] == 2) && (SoundPlayFlag == 0)) {
YakuAgariBase[5] = 0;
Yakutexttmp = Yakutexttmp + "ƒzƒEƒeƒC@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒzƒEƒeƒC");
}
i = 1;
while (YakuInfo1Count >= i) {
if ((YakuAgari1[i] == 1) && (SoundPlayFlag == 0)) {
YakuAgari1[i] = 0;
SoundPlayFlag = 1;
SEMC.gotoAndPlay(YakuInfo1[i].name);
if (Yakuinfo1[i].yaku < 10) {
Yakutexttmp = Yakutexttmp + (((YakuInfo1[i].name + "@") + Yakuinfo1[i].yaku) + "–ð\n");
} else if (100 < Yakuinfo1[i].yaku) {
Yakutexttmp = Yakutexttmp + (YakuInfo1[i].name + "@Wƒ„ƒNƒ}ƒ“\n");
} else {
Yakutexttmp = Yakutexttmp + (YakuInfo1[i].name + "@ƒ„ƒNƒ}ƒ“\n");
}
YakuSum = YakuSum + Yakuinfo1[i].yaku;
YakuMovie1._visible = true;
YakuMovie1.gotoAndStop(i);
}
i++;
}
i = 1;
while (YakuInfo3Count >= i) {
if ((YakuAgari3[i] == 1) && (SoundPlayFlag == 0)) {
YakuAgari3[i] = 0;
SoundPlayFlag = 1;
SEMC.gotoAndPlay(YakuInfo3[i].name);
if (YakuMovie1._visible == false) {
YakuMovie3._visible = true;
YakuMovie3.gotoAndStop(i);
}
Yakutexttmp = Yakutexttmp + (((YakuInfo3[i].name + "@") + Yakuinfo3[i].yaku) + "–ð\n");
YakuSum = YakuSum + Yakuinfo3[i].yaku;
}
i++;
}
i = 1;
while (YakuInfo2Count >= i) {
if ((YakuAgari2[i] == 1) && (SoundPlayFlag == 0)) {
YakuAgari2[i] = 0;
Yakutexttmp = Yakutexttmp + (((YakuInfo2[i].name + "@") + Yakuinfo2[i].yaku) + "–ð\n");
YakuSum = YakuSum + Yakuinfo2[i].yaku;
SoundPlayFlag = 1;
SEMC.gotoAndPlay(YakuInfo2[i].name);
}
i++;
}
if ((YakuAgariBase[6] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[6] = 0;
Yakutexttmp = Yakutexttmp + "ƒjƒRƒjƒR@‚P–ð\n";
YakuSum++;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒjƒRƒjƒR");
}
if ((0 < YakuAgariBase[7]) && (SoundPlayFlag == 0)) {
doravalue = YakuAgariBase[7];
YakuAgariBase[7] = 0;
Yakutexttmp = Yakutexttmp + (("ƒhƒ‰@" + doravalue) + "–ð\n");
YakuSum = YakuSum + doravalue;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒhƒ‰");
}
if ((0 < YakuAgariBase[8]) && (SoundPlayFlag == 0)) {
doravalue = YakuAgariBase[8];
YakuAgariBase[8] = 0;
Yakutexttmp = Yakutexttmp + (("— ƒhƒ‰@" + doravalue) + "–ð\n");
YakuSum = YakuSum + doravalue;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("— ƒhƒ‰");
}
if ((YakuAgariBase[11] == 1) && (SoundPlayFlag == 0)) {
YakuAgariBase[11] = 0;
Yakutexttmp = Yakutexttmp + "{Œƒ‚µ‚ƒhƒ‰{@1–ð\n";
YakuSum++;
SpecialMovie._visible = true;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("Œƒ‚µ‚ƒhƒ‰");
}
if ((YakuAgariBase[11] == 2) && (SoundPlayFlag == 0)) {
YakuAgariBase[11] = 0;
Yakutexttmp = Yakutexttmp + "{Œƒ‚µ‚— ƒhƒ‰{@1–ð\n";
YakuSum++;
SpecialMovie._visible = true;
SoundPlayFlag = 1;
SEMC.gotoAndPlay("Œƒ‚µ‚— ƒhƒ‰");
}
if (((SoundPlayFlag != 1) && (AgariFirstFlag == 0)) && (YakumeiSE != 1)) {
YakumeiSE = 1;
if (99 < YakuSum) {
if (199 < YakuSum) {
Yakutexttmp = Yakutexttmp + "‚vƒ„ƒNƒ}ƒ“@";
AgariScore = 6400;
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("‚vƒ„ƒNƒ}ƒ“");
} else {
Yakutexttmp = Yakutexttmp + "ƒ„ƒNƒ}ƒ“@";
AgariScore = 3200;
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("ƒ„ƒNƒ}ƒ“");
}
} else {
Yakutexttmp = Yakutexttmp + (YakuSum + "–ð\n");
i = 0;
while (i < 9) {
YakuPaiSum = YakuPaiSum + PaiInfo[AgariTehai[i]].ten;
i++;
}
AgariScore = YakuPaiSum;
i = 1;
while (i < YakuSum) {
AgariScore = AgariScore * 2;
i++;
}
if ((YakuSum >= 4) && (5 >= YakuSum)) {
AgariScore = 800;
Yakutexttmp = Yakutexttmp + "ƒ}ƒ“ƒKƒ“@";
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("ƒ}ƒ“ƒKƒ“");
}
if ((YakuSum >= 6) && (7 >= YakuSum)) {
Yakutexttmp = Yakutexttmp + "ƒnƒlƒ}ƒ“@";
AgariScore = 1200;
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("ƒnƒlƒ}ƒ“");
}
if ((YakuSum >= 8) && (10 >= YakuSum)) {
Yakutexttmp = Yakutexttmp + "ƒoƒCƒ}ƒ“@";
AgariScore = 1600;
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("ƒoƒCƒ}ƒ“");
}
if (YakuSum >= 11) {
AgariScore = 2400;
Yakutexttmp = Yakutexttmp + "ƒTƒ“ƒoƒCƒ}ƒ“@";
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("ƒTƒ“ƒoƒCƒ}ƒ“");
}
}
Yakutexttmp = Yakutexttmp + (AgariScore + "“_\n");
}
if (YakuAgariBase[10] == 1) {
YakuAgariBase[10] = 0;
YakuMovie0.gotoAndStop(1);
YakuMovie0._visible = true;
YakuMovie1._visible = false;
YakuMovie3._visible = false;
Yakutexttmp = "ƒnƒbƒs[ƒnƒbƒs[@\nƒoƒCƒ}ƒ“@";
AgariScore = 1600;
Yakutexttmp = Yakutexttmp + (AgariScore + "“_\n");
SoundPlayFlag = 1;
SEMC.gotoAndPlay("ƒnƒbƒs[ƒnƒbƒs[");
}
if (((SoundPlayFlag == 0) && (AgariFirstFlag == 1)) && (YakumeiSE != 1)) {
YakumeiSE = 1;
SoundPlayFlag = 1;
SEMC2.gotoAndPlay("ƒoƒCƒ}ƒ“");
}
if (SoundPlayFlag != 1) {
if (AgariOyaFlag == 1) {
AgariScore = Math.floor(AgariScore * 1.5);
Yakutexttmp = Yakutexttmp + (("~1.5”{@" + AgariScore) + "“_");
}
}
YakuWindow.YakuDisplay = Yakutexttmp;
if (SoundPlayFlag != 1) {
gotoAndPlay (313);
}
Frame 308
trace("stop");
Frame 309
YakuWindow.YakuDisplay = Yakutexttmp;
Frame 311
gotoAndPlay (306);
Frame 313
if (agatta == 0) {
AiteScore = AiteScore - AgariScore;
MyScore = MyScore + AgariScore;
if (AgariScore >= 800) {
char.gotoAndPlay("angry");
} else {
char.gotoAndPlay("angry");
}
} else {
AiteScore = AiteScore + AgariScore;
MyScore = MyScore - AgariScore;
char.gotoAndPlay("smile");
}
MyScoreDisplay.ScoreText = MyScore;
AiteScoreDisplay.ScoreText = AiteScore;
Instance of Symbol 282 MovieClip in Frame 315
onClipEvent (keyDown) {
InpKeyValue = String.fromCharCode(Key.getCode());
trace(InpKeyValue);
if (InpKeyValue == "Y") {
_root.gotoAndPlay(320);
}
}
Frame 316
gotoAndPlay(_currentframe - 1);
Frame 320
YakuWindow._visible = false;
YakuMovie0._visible = false;
YakuMovie1._visible = false;
YakuMovie3._visible = false;
SpecialMovie._visible = false;
Frame 321
OyaMark._visible = true;
if (agatta == 0) {
i = 0;
while (i < 8) {
PaiRemove(i);
i++;
}
PaiRemove(8);
PaiDoraRemove();
if (MyOyaFlag == 0) {
MyOyaFlag = 1;
AiteOyaFlag = 0;
KazeCount++;
}
} else {
i = 0;
while (i < 9) {
AitePaiRemove(i);
i++;
}
PaiDoraRemove();
if (AiteOyaFlag == 0) {
MyOyaFlag = 0;
AiteOyaFlag = 1;
KazeCount++;
}
}
Frame 330
if (4 < KazeCount) {
gotoAndPlay (340);
} else {
gotoAndPlay (20);
}
Frame 348
ResultDisplay.Resulttext = "";
ResultDisplay.Resulttext = ResultDisplay.Resulttext + (("YOUR SCORE:" + MyScore) + newline);
ResultDisplay.Resulttext = ResultDisplay.Resulttext + (("CPU SCORE:" + AIteScore) + newline);
if (AiteScore < MyScore) {
ResultDisplay.Resulttext = ResultDisplay.Resulttext + "YOU WIN!\n";
if ((MyScore - AiteScore) >= 1500) {
char.gotoAndPlay("cry");
} else {
char.gotoAndPlay("cry");
}
} else {
if (MyScore == AiteScore) {
esultDisplay.Resulttext = esultDisplay.Resulttext + "DRAW...\n";
} else {
ResultDisplay.Resulttext = ResultDisplay.Resulttext + "YOU LOSE...\n";
}
char.gotoAndPlay("smile");
}
Instance of Symbol 291 MovieClip in Frame 348
onClipEvent (keyDown) {
_root.gotoAndPlay(10);
}
Frame 350
gotoAndPlay(_currentframe - 1);
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 4
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 4
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 3
stop();
Symbol 61 MovieClip Frame 4
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 66 MovieClip Frame 4
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 3
stop();
Symbol 75 MovieClip Frame 4
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 3
stop();
Symbol 87 MovieClip Frame 4
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 3
stop();
Symbol 91 MovieClip Frame 4
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
stop();
Symbol 100 MovieClip Frame 3
stop();
Symbol 100 MovieClip Frame 4
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 4
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 3
stop();
Symbol 110 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 4
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 3
stop();
Symbol 118 MovieClip Frame 4
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 4
stop();
Symbol 130 MovieClip Frame 5
stop();
Symbol 130 MovieClip Frame 6
stop();
Symbol 147 Button
on (release) {
getURL ("http://homepage2.nifty.com/chavinet/", "_blank");
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 56
_root.play();
Symbol 149 MovieClip Frame 57
stop();
Symbol 149 MovieClip Frame 117
_root.play();
Symbol 149 MovieClip Frame 118
stop();
Symbol 149 MovieClip Frame 145
_root.play();
Symbol 149 MovieClip Frame 146
stop();
Symbol 149 MovieClip Frame 213
_root.play();
Symbol 149 MovieClip Frame 214
stop();
Symbol 149 MovieClip Frame 274
_root.play();
Symbol 149 MovieClip Frame 275
stop();
Symbol 149 MovieClip Frame 327
_root.play();
Symbol 149 MovieClip Frame 328
stop();
Symbol 149 MovieClip Frame 383
_root.play();
Symbol 149 MovieClip Frame 384
stop();
Symbol 149 MovieClip Frame 444
_root.play();
Symbol 149 MovieClip Frame 445
stop();
Symbol 149 MovieClip Frame 508
_root.play();
Symbol 149 MovieClip Frame 509
stop();
Symbol 149 MovieClip Frame 593
_root.play();
Symbol 149 MovieClip Frame 594
stop();
Symbol 149 MovieClip Frame 668
_root.play();
Symbol 149 MovieClip Frame 669
stop();
Symbol 149 MovieClip Frame 744
_root.play();
Symbol 149 MovieClip Frame 745
stop();
Symbol 149 MovieClip Frame 786
_root.play();
Symbol 149 MovieClip Frame 787
stop();
Symbol 149 MovieClip Frame 836
_root.play();
Symbol 149 MovieClip Frame 837
stop();
Symbol 149 MovieClip Frame 894
_root.play();
Symbol 149 MovieClip Frame 895
stop();
Symbol 149 MovieClip Frame 940
_root.play();
Symbol 149 MovieClip Frame 941
stop();
Symbol 149 MovieClip Frame 1040
_root.play();
Symbol 149 MovieClip Frame 1041
stop();
Symbol 149 MovieClip Frame 1103
_root.play();
Symbol 149 MovieClip Frame 1104
stop();
Symbol 149 MovieClip Frame 1130
_root.play();
Symbol 149 MovieClip Frame 1131
stop();
Symbol 149 MovieClip Frame 1182
_root.play();
Symbol 149 MovieClip Frame 1183
stop();
Symbol 149 MovieClip Frame 1230
_root.play();
Symbol 149 MovieClip Frame 1231
stop();
Symbol 149 MovieClip Frame 1277
_root.play();
Symbol 149 MovieClip Frame 1278
stop();
Symbol 149 MovieClip Frame 1342
_root.play();
Symbol 149 MovieClip Frame 1343
stop();
Symbol 149 MovieClip Frame 1424
_root.play();
Symbol 149 MovieClip Frame 1425
stop();
Symbol 149 MovieClip Frame 1475
_root.play();
Symbol 149 MovieClip Frame 1476
stop();
Symbol 149 MovieClip Frame 1547
_root.play();
Symbol 149 MovieClip Frame 1548
stop();
Symbol 149 MovieClip Frame 1588
_root.play();
Symbol 149 MovieClip Frame 1589
stop();
Symbol 149 MovieClip Frame 1641
_root.play();
Symbol 149 MovieClip Frame 1642
stop();
Symbol 149 MovieClip Frame 1673
_root.play();
Symbol 149 MovieClip Frame 1674
stop();
Symbol 149 MovieClip Frame 1725
_root.play();
Symbol 149 MovieClip Frame 1726
stop();
Symbol 149 MovieClip Frame 1790
_root.play();
Symbol 149 MovieClip Frame 1791
stop();
Symbol 149 MovieClip Frame 1819
_root.play();
Symbol 149 MovieClip Frame 1820
stop();
Symbol 149 MovieClip Frame 1876
_root.play();
Symbol 149 MovieClip Frame 1877
stop();
Symbol 149 MovieClip Frame 1924
_root.play();
Symbol 149 MovieClip Frame 1925
stop();
Symbol 149 MovieClip Frame 1992
_root.play();
Symbol 149 MovieClip Frame 1993
stop();
Symbol 149 MovieClip Frame 2023
_root.play();
Symbol 149 MovieClip Frame 2024
stop();
Symbol 149 MovieClip Frame 2052
_root.play();
Symbol 149 MovieClip Frame 2053
stop();
Symbol 149 MovieClip Frame 2103
_root.play();
Symbol 149 MovieClip Frame 2104
stop();
Symbol 149 MovieClip Frame 2131
_root.play();
Symbol 149 MovieClip Frame 2132
stop();
Symbol 149 MovieClip Frame 2162
_root.play();
Symbol 149 MovieClip Frame 2163
stop();
Symbol 149 MovieClip Frame 2199
_root.play();
Symbol 149 MovieClip Frame 2200
stop();
Symbol 149 MovieClip Frame 2237
_root.play();
Symbol 149 MovieClip Frame 2238
stop();
Symbol 149 MovieClip Frame 2252
_root.play();
Symbol 149 MovieClip Frame 2253
stop();
Symbol 149 MovieClip Frame 2276
_root.play();
Symbol 149 MovieClip Frame 2277
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 82
_root.play();
Symbol 150 MovieClip Frame 83
stop();
Symbol 150 MovieClip Frame 172
_root.play();
Symbol 150 MovieClip Frame 173
stop();
Symbol 150 MovieClip Frame 265
_root.play();
Symbol 150 MovieClip Frame 266
stop();
Symbol 150 MovieClip Frame 358
_root.play();
Symbol 150 MovieClip Frame 359
stop();
Symbol 150 MovieClip Frame 447
_root.play();
Symbol 150 MovieClip Frame 448
stop();
Symbol 150 MovieClip Frame 568
_root.play();
Symbol 150 MovieClip Frame 569
stop();
Symbol 150 MovieClip Frame 685
_root.play();
Symbol 150 MovieClip Frame 686
stop();
Symbol 150 MovieClip Frame 744
_root.play();
Symbol 150 MovieClip Frame 745
stop();
Symbol 150 MovieClip Frame 786
_root.play();
Symbol 150 MovieClip Frame 787
stop();
Symbol 150 MovieClip Frame 836
_root.play();
Symbol 150 MovieClip Frame 837
stop();
Symbol 150 MovieClip Frame 894
_root.play();
Symbol 150 MovieClip Frame 895
stop();
Symbol 150 MovieClip Frame 940
_root.play();
Symbol 150 MovieClip Frame 941
stop();
Symbol 150 MovieClip Frame 1040
_root.play();
Symbol 150 MovieClip Frame 1041
stop();
Symbol 150 MovieClip Frame 1103
_root.play();
Symbol 150 MovieClip Frame 1104
stop();
Symbol 150 MovieClip Frame 1130
_root.play();
Symbol 150 MovieClip Frame 1131
stop();
Symbol 150 MovieClip Frame 1182
_root.play();
Symbol 150 MovieClip Frame 1183
stop();
Symbol 150 MovieClip Frame 1230
_root.play();
Symbol 150 MovieClip Frame 1231
stop();
Symbol 150 MovieClip Frame 1277
_root.play();
Symbol 150 MovieClip Frame 1278
stop();
Symbol 150 MovieClip Frame 1342
_root.play();
Symbol 150 MovieClip Frame 1343
stop();
Symbol 150 MovieClip Frame 1424
_root.play();
Symbol 150 MovieClip Frame 1425
stop();
Symbol 150 MovieClip Frame 1475
_root.play();
Symbol 150 MovieClip Frame 1476
stop();
Symbol 150 MovieClip Frame 1547
_root.play();
Symbol 150 MovieClip Frame 1548
stop();
Symbol 150 MovieClip Frame 1588
_root.play();
Symbol 150 MovieClip Frame 1589
stop();
Symbol 150 MovieClip Frame 1641
_root.play();
Symbol 150 MovieClip Frame 1642
stop();
Symbol 150 MovieClip Frame 1673
_root.play();
Symbol 150 MovieClip Frame 1674
stop();
Symbol 150 MovieClip Frame 1725
_root.play();
Symbol 150 MovieClip Frame 1726
stop();
Symbol 150 MovieClip Frame 1790
_root.play();
Symbol 150 MovieClip Frame 1791
stop();
Symbol 150 MovieClip Frame 1819
_root.play();
Symbol 150 MovieClip Frame 1820
stop();
Symbol 150 MovieClip Frame 1876
_root.play();
Symbol 150 MovieClip Frame 1877
stop();
Symbol 150 MovieClip Frame 1924
_root.play();
Symbol 150 MovieClip Frame 1925
stop();
Symbol 150 MovieClip Frame 1992
_root.play();
Symbol 150 MovieClip Frame 1993
stop();
Symbol 150 MovieClip Frame 2023
_root.play();
Symbol 150 MovieClip Frame 2024
stop();
Symbol 150 MovieClip Frame 2052
_root.play();
Symbol 150 MovieClip Frame 2053
stop();
Symbol 150 MovieClip Frame 2103
_root.play();
Symbol 150 MovieClip Frame 2104
stop();
Symbol 150 MovieClip Frame 2131
_root.play();
Symbol 150 MovieClip Frame 2132
stop();
Symbol 150 MovieClip Frame 2162
_root.play();
Symbol 150 MovieClip Frame 2163
stop();
Symbol 150 MovieClip Frame 2199
_root.play();
Symbol 150 MovieClip Frame 2200
stop();
Symbol 150 MovieClip Frame 2237
_root.play();
Symbol 150 MovieClip Frame 2238
stop();
Symbol 150 MovieClip Frame 2252
_root.play();
Symbol 150 MovieClip Frame 2253
stop();
Symbol 150 MovieClip Frame 2276
_root.play();
Symbol 150 MovieClip Frame 2277
stop();
Symbol 164 MovieClip Frame 1
function setBar(parcent) {
_width = (oneStep * parcent);
}
oneStep = _width / 100;
Symbol 165 MovieClip Frame 1
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.play();
} else {
parcent = (loadedSize / totalSize) * 100;
gDownloaded = Math.round(parcent);
progressBar.setbar(gDownloaded);
_root.stop();
}
Symbol 165 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 181 Button
on (release) {
gotoAndPlay (11);
}
Symbol 207 Button
on (release) {
nextFrame();
}
Symbol 227 MovieClip Frame 27
stop();
Symbol 234 Button
on (release) {
nextFrame();
}
Symbol 239 MovieClip Frame 136
stop();
Symbol 239 MovieClip Frame 137
stop();
Symbol 240 MovieClip Frame 1
stop();
stop();
Symbol 240 MovieClip Frame 113
stop();
Symbol 241 MovieClip Frame 9
stop();
Symbol 241 MovieClip Frame 19
gotoAndPlay (10);
Symbol 241 MovieClip Frame 29
gotoAndPlay (20);
Symbol 241 MovieClip Frame 40
gotoAndPlay (30);
Symbol 252 Button
on (release) {
_root.gotoAndPlay(155);
}
Symbol 255 Button
on (release) {
_root.gotoAndPlay(180);
}
Symbol 256 Button
on (release) {
_root.gotoAndPlay(210);
}
Symbol 259 Button
on (release) {
_root.MyReachFlag = 1;
_root.MyIppatuFlag = 1;
_root.MyReachBou._visible = true;
_root.ReachSutehaitmp = 1;
_root.gotoAndPlay(205);
}
Symbol 260 Button
on (release) {
_root.gotoAndPlay(50);
}
Symbol 263 Button
on (release) {
_root.gotoAndPlay(225);
}
Symbol 266 Button
on (release) {
_root.gotoAndPlay(235);
}
Symbol 270 MovieClip Frame 120
_root.play();
Symbol 272 MovieClip Frame 120
_root.play();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 3
stop();
Symbol 280 Button
on (release) {
_root.gotoAndPlay(320);
}
Symbol 290 Button
on (release) {
gotoAndPlay (10);
}