Frame 1
_focusrect = "0";
Score = "0";
Frame 7
stop();
Frame 8
stop();
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 5
gotoAndStop (1);
Symbol 11 MovieClip Frame 6
stop();
Symbol 16 Button
on (press, keyPress "5") {
gotoAndPlay ("phase2");
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 15
stop();
Symbol 37 MovieClip Frame 4
if ("-1" < ../../:selectCard1) {
gotoAndPlay (1);
}
Symbol 38 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
setProperty("Mc_tbar", _xscale , "2400");
tcou = "0";
Symbol 40 MovieClip Frame 14
tcou = tcou + "1";
if (tcou >= "200") {
tellTarget ("../") {
gotoAndPlay ("phase5b");
};
} else {
setProperty("Mc_tbar", _xscale , getProperty("Mc_tbar", _xscale) - "12");
gotoAndPlay (2);
}
Symbol 44 Button
on (press, keyPress "4") {
flg = "0";
do {
targetIndex = targetIndex + "24";
targetIndex = targetIndex - (int(targetIndex / "25") * "25");
flg = eval ("CardLook" add targetIndex);
} while (flg);
if (selectCard1 < "0") {
tellTarget ("Target1") {
gotoAndStop(../:targetIndex + "1");
};
} else {
tellTarget ("Target2") {
gotoAndStop(../:targetIndex + "2");
};
}
}
Symbol 45 Button
on (press, keyPress "6") {
flg = "0";
do {
targetIndex = targetIndex + "1";
targetIndex = targetIndex - (int(targetIndex / "25") * "25");
flg = eval ("CardLook" add targetIndex);
} while (flg);
if (selectCard1 < "0") {
tellTarget ("Target1") {
gotoAndStop(../:targetIndex + "1");
};
} else {
tellTarget ("Target2") {
gotoAndStop(../:targetIndex + "2");
};
}
}
Symbol 46 Button
on (press, keyPress "5") {
tellTarget ("CardPlay/Card" add targetIndex) {
gotoAndStop(eval ("../../:CardVal" add ../../:targetIndex));
};
tellTarget (("CardPlay/Card" add targetIndex) add "/cgimg1") {
gotoAndStop (6);
if ("4" >= ../../../:targetIndex) {
_x = ("-46" * ../../../:targetIndex);
_y = "0";
} else if ("9" >= ../../../:targetIndex) {
_x = ("-46" * (../../../:targetIndex - "5"));
_y = "-52";
} else if ("14" >= ../../../:targetIndex) {
_x = ("-46" * (../../../:targetIndex - "10"));
_y = "-104";
} else if ("19" >= ../../../:targetIndex) {
_x = ("-46" * (../../../:targetIndex - "15"));
_y = "-156";
} else if ("24" >= ../../../:targetIndex) {
_x = ("-46" * (../../../:targetIndex - "20"));
_y = "-208";
}
_x = (_x - "5");
_y = (_y - "5");
};
Set("CardLook" add targetIndex, "1");
if (selectCard1 < "0") {
selectCard1 = targetIndex;
flg = "0";
do {
targetIndex = targetIndex + "1";
targetIndex = targetIndex - (int(targetIndex / "25") * "25");
flg = eval ("CardLook" add targetIndex);
} while (flg);
tellTarget ("Target2") {
gotoAndStop(../:targetIndex + "2");
};
} else {
selectCard2 = targetIndex;
n1 = "-1";
n1 = n1 + eval ("CardVal" add selectCard1);
n1 = n1 - (int(n1 / "13") * "13");
n2 = "-1";
n2 = n2 + eval ("CardVal" add selectCard2);
n2 = n2 - (int(n2 / "13") * "13");
if (n1 == n2) {
gotoAndPlay ("phase4a");
} else {
gotoAndPlay ("phase4b");
}
}
}
Symbol 48 Button
on (press, keyPress "5") {
tellTarget ("mc_timer") {
play();
};
sameCount = sameCount + "1";
tellTarget ("CardPlay/Card" add selectCard1) {
gotoAndStop ("NULL");
};
tellTarget ("CardPlay/Card" add selectCard2) {
gotoAndStop ("NULL");
};
selectCard1 = "-1";
selectCard2 = "-1";
if (sameCount < "12") {
gotoAndPlay ("phase3");
flg = "0";
do {
targetIndex = targetIndex + "1";
targetIndex = targetIndex - (int(targetIndex / "42") * "42");
flg = eval ("CardLook" add targetIndex);
} while (flg);
tellTarget ("Target1") {
gotoAndStop(../:targetIndex + "1");
};
tellTarget ("Target2") {
gotoAndStop (1);
};
} else {
gotoAndPlay ("phase5a");
tellTarget ("Target1") {
gotoAndStop ("NULL");
};
tellTarget ("Target2") {
gotoAndStop (1);
};
}
}
Symbol 50 Button
on (press, keyPress "5") {
call("sc1");
if (missCount < "4") {
tellTarget ("CardPlay/Card" add selectCard1) {
gotoAndStop (1);
};
tellTarget ("CardPlay/Card" add selectCard2) {
gotoAndStop (1);
};
gotoAndPlay ("phase3");
Set("CardLook" add selectCard1, "0");
Set("CardLook" add selectCard2, "0");
selectCard1 = "-1";
selectCard2 = "-1";
tellTarget ("Target1") {
gotoAndStop(../:targetIndex + "1");
};
tellTarget ("Target2") {
gotoAndStop (1);
};
}
}
Symbol 52 Button
on (press, keyPress "5") {
gotoAndPlay ("omake1");
}
Symbol 54 Button
on (press, keyPress "5") {
tellTarget ("/") {
gotoAndPlay ("end");
};
}
Symbol 56 Button
on (press, keyPress "5") {
nextFrame();
}
Symbol 59 Button
on (press, keyPress "4") {
if (getProperty("mc_omake1", _y) < "60") {
tellTarget ("mc_omake1") {
_y = (_y + "20");
};
}
}
Symbol 60 Button
on (press, keyPress "5") {
tellTarget ("mc_omake1") {
nextFrame();
};
}
Symbol 61 Button
on (press, keyPress "6") {
if ("-360" < getProperty("mc_omake1", _y)) {
tellTarget ("mc_omake1") {
_y = (_y - "20");
};
}
}
Symbol 62 Button
on (press, keyPress "0") {
tellTarget ("/") {
gotoAndPlay ("end");
};
}
Symbol 63 MovieClip Frame 1
i = "0";
while (i < "13") {
Set("Number" add i, i);
i = i + "1";
}
i = "0";
while (i < "13") {
idx1 = random("13");
idx2 = random("13");
temp = eval ("Number" add idx1);
Set("Number" add idx1, eval ("Number" add idx2));
Set("Number" add idx2, temp);
i = i + "1";
}
i = "0";
while (i < "13") {
j = i + "13";
Set("CardVal" add i, eval ("Number" add i) + "2");
Set("CardVal" add j, eval ("Number" add i) + "2");
Set("CardLook" add i, "0");
Set("CardLook" add j, "0");
i = i + "1";
}
i = "0";
while (i < "25") {
idx1 = random("25");
idx2 = random("25");
temp = eval ("CardVal" add idx1);
Set("CardVal" add idx1, eval ("CardVal" add idx2));
Set("CardVal" add idx2, temp);
i = i + "1";
}
selectCard1 = "-1";
selectCard2 = "-1";
sameCount = "0";
missCount = "0";
targetIndex = "0";
Symbol 63 MovieClip Frame 7
stop();
Symbol 63 MovieClip Frame 14
call("sc1");
gotoAndPlay ("phase3");
Symbol 63 MovieClip Frame 21
gotoAndPlay ("phase3");
Symbol 63 MovieClip Frame 22
tellTarget ("mc_timer") {
stop();
};
Symbol 63 MovieClip Frame 30
stop();
Symbol 63 MovieClip Frame 40
call("sc1");
if (missCount < "4") {
tellTarget ("CardPlay/Card" add selectCard1) {
gotoAndStop (1);
};
tellTarget ("CardPlay/Card" add selectCard2) {
gotoAndStop (1);
};
gotoAndPlay ("phase3");
Set("CardLook" add selectCard1, "0");
Set("CardLook" add selectCard2, "0");
selectCard1 = "-1";
selectCard2 = "-1";
tellTarget ("Target1") {
gotoAndStop(../:targetIndex + "1");
};
tellTarget ("Target2") {
gotoAndStop (1);
};
}
Symbol 63 MovieClip Frame 51
stop();
tellTarget ("moji_con") {
play();
};
Symbol 63 MovieClip Frame 61
stop();
tellTarget ("moji_over") {
play();
};
Symbol 63 MovieClip Frame 69
stop();
Symbol 63 MovieClip Frame 71
tellTarget ("CardPlay/Card0/cgimg1") {
gotoAndStop (1);
_x = "-5";
_y = "-5";
};
tellTarget ("CardPlay/Card1/cgimg1") {
gotoAndStop (1);
_x = "-51";
_y = "-5";
};
tellTarget ("CardPlay/Card2/cgimg1") {
gotoAndStop (1);
_x = "-97";
_y = "-5";
};
tellTarget ("CardPlay/Card3/cgimg1") {
gotoAndStop (1);
_x = "-143";
_y = "-5";
};
tellTarget ("CardPlay/Card4/cgimg1") {
gotoAndStop (1);
_x = "-189";
_y = "-5";
};
tellTarget ("CardPlay/Card5/cgimg1") {
gotoAndStop (1);
_x = "-5";
_y = "-57";
};
tellTarget ("CardPlay/Card6/cgimg1") {
gotoAndStop (1);
_x = "-51";
_y = "-57";
};
tellTarget ("CardPlay/Card7/cgimg1") {
gotoAndStop (1);
_x = "-97";
_y = "-57";
};
tellTarget ("CardPlay/Card8/cgimg1") {
gotoAndStop (1);
_x = "-143";
_y = "-57";
};
tellTarget ("CardPlay/Card9/cgimg1") {
gotoAndStop (1);
_x = "-189";
_y = "-57";
};
tellTarget ("CardPlay/Card10/cgimg1") {
gotoAndStop (1);
_x = "-5";
_y = "-109";
};
tellTarget ("CardPlay/Card11/cgimg1") {
gotoAndStop (1);
_x = "-51";
_y = "-109";
};
tellTarget ("CardPlay/Card12/cgimg1") {
gotoAndStop (1);
_x = "-97";
_y = "-109";
};
tellTarget ("CardPlay/Card13/cgimg1") {
gotoAndStop (1);
_x = "-143";
_y = "-109";
};
tellTarget ("CardPlay/Card14/cgimg1") {
gotoAndStop (1);
_x = "-189";
_y = "-109";
};
tellTarget ("CardPlay/Card15/cgimg1") {
gotoAndStop (1);
_x = "-5";
_y = "-161";
};
tellTarget ("CardPlay/Card16/cgimg1") {
gotoAndStop (1);
_x = "-51";
_y = "-161";
};
tellTarget ("CardPlay/Card17/cgimg1") {
gotoAndStop (1);
_x = "-97";
_y = "-161";
};
tellTarget ("CardPlay/Card18/cgimg1") {
gotoAndStop (1);
_x = "-143";
_y = "-161";
};
tellTarget ("CardPlay/Card19/cgimg1") {
gotoAndStop (1);
_x = "-189";
_y = "-161";
};
tellTarget ("CardPlay/Card20/cgimg1") {
gotoAndStop (1);
_x = "-5";
_y = "-213";
};
tellTarget ("CardPlay/Card21/cgimg1") {
gotoAndStop (1);
_x = "-51";
_y = "-213";
};
tellTarget ("CardPlay/Card22/cgimg1") {
gotoAndStop (1);
_x = "-97";
_y = "-213";
};
tellTarget ("CardPlay/Card23/cgimg1") {
gotoAndStop (1);
_x = "-143";
_y = "-213";
};
tellTarget ("CardPlay/Card24/cgimg1") {
gotoAndStop (1);
_x = "-189";
_y = "-213";
};
Symbol 64 MovieClip Frame 12
tellTarget ("/") {
gotoAndPlay ("title");
};