Frame 1
fscommand ("showmenu", "false");
Instance of Symbol 63 MovieClip "BLCurtainMC" in Frame 1
onClipEvent (load) {
function OpenMe() {
OpenFlg = true;
}
function OpenAlpSet() {
if (_alpha <= 0) {
_parent.gotoAndPlay("SetUpOK");
} else {
_alpha = (_alpha - 10);
}
}
_alpha = 100;
OpenFlg = false;
}
onClipEvent (enterFrame) {
if (OpenFlg == true) {
OpenAlpSet();
}
}
Frame 2
BLCurtainMC.OpenMe();
this.stop();
Frame 7
function DataLoad() {
lso = SharedObject.getLocal("DisPoohIQSF");
if (lso.data.RecHiscore != undefined) {
gRecHiscore = Number(lso.data.RecHiscore);
gRecRank = Number(lso.data.RecRank);
gLastMonth = Number(lso.data.LastMonth);
gLastDate = Number(lso.data.LastDate);
gLastHour = Number(lso.data.LastHour);
gLastMin = Number(lso.data.LastMin);
gSoundSwitch = lso.data.SoundSwitch;
} else {
gRecHiscore = 0;
gRecRank = 0;
gLastMonth = 0;
gLastDate = 0;
gLastHour = 0;
gLastMin = 0;
gSoundSwitch = true;
lso.data.RecHiscore = gRecHiscore;
lso.data.RecRank = gRecRank;
lso.data.LastMonth = gLastMonth;
lso.data.LastDate = gLastDate;
lso.data.LastHour = gLastHour;
lso.data.LastMin = gLastMin;
lso.data.SoundSwitch = gSoundSwitch;
}
trace("gRecHiscore:" + gRecHiscore);
trace((((((("LastPlayDate:" + gLastMonth) + "/") + gLastDate) + "/") + gLastHour) + ":") + gLastMin);
DataSave();
}
function DataSave() {
lso = SharedObject.getLocal("DisPoohIQSF");
lso.data.RecHiscore = gRecHiscore;
lso.data.RecRank = gRecRank;
lso.data.LastMonth = gLastMonth;
lso.data.LastDate = gLastDate;
lso.data.LastHour = gLastHour;
lso.data.LastMin = gLastMin;
lso.data.SoundSwitch = gSoundSwitch;
}
Frame 8
function AllInit() {
gTotalScore = 0;
gNowRank = 0;
ScoreRec = [];
RankRec = [];
TrueAnsRec = [];
gTotalTAnsP = 0;
FalseAnsRec = [];
TimeUpRec = [];
TimeAvgRec = [];
gTotalTimeAvg = 0;
GameTypeRec = [];
GamePlayRec = [0, 0, 0];
GameTypeNum = 0;
HiscoreRenewFlg = false;
DataLoad();
}
function GameSelect(SetP) {
GameTypeNum = SetP;
_root.SndBtn.TitleBGM.stop("TitleBGM");
_root.SndBtn.ValueBGM.stop("ValueBGM");
_root.SndBtn.FadeOutSnd.start(0, 0);
CurtainMC.FedeOut("Play");
}
function AllResetWindowIn() {
this.gotoAndPlay("AllResetAlert");
}
function AllResetBackTitle() {
AllInit();
_root.SndBtn.ValueBGM.stop("ValueBGM");
_root.SndBtn.AllSounds.stop();
_root.SndBtn.AllResetSnd.start(0, 0);
CurtainMC.FedeOut("Opening");
}
function GoThisLabel(GoLabelName) {
this.gotoAndStop(GoLabelName);
}
function GoTitle() {
_root.SndBtn.ValueBGM.stop("ValueBGM");
_root.SndBtn.FadeInSnd.start(0, 0);
CurtainMC.FedeOut("Title");
}
function BackTitle() {
_root.SndBtn.ValueBGM.stop("ValueBGM");
_root.SndBtn.FadeInSnd.start(0, 0);
CurtainMC.FedeOut("Title");
}
function BackTitleAndAllReset() {
AllInit();
_root.SndBtn.ValueBGM.stop("ValueBGM");
_root.SndBtn.AllSounds.stop();
_root.SndBtn.FadeInSnd.start(0, 0);
CurtainMC.FedeOut("Opening");
}
function GoAtResult() {
_root.SndBtn.FadeInSnd.start(0, 0);
CurtainMC.FedeOut("AtResult");
}
function GoAllResultScript() {
_root.SndBtn.ValueBGM.stop("ValueBGM");
TotalResSet();
SaveCheck();
_root.SndBtn.FadeOutSnd.start(0, 0);
CurtainMC.FedeOut("Result");
trace((((("Result/TotalScore:" + gTotalScore) + "/gNowRank:") + gNowRank) + "/gTotalTimeAvg:") + gTotalTimeAvg);
}
function TotalResSet() {
i = 0;
while (i <= (ScoreRec.length - 1)) {
gTotalScore = gTotalScore + ScoreRec[i];
i++;
}
gNowRank = TotalRankSet();
var _local1 = 0;
n = 0;
while (n <= (TimeAvgRec.length - 1)) {
_local1 = _local1 + TimeAvgRec[n];
n++;
}
gTotalTimeAvg = Math.round(_local1 / 3);
x = 0;
while (x <= (TrueAnsRec.length - 1)) {
gTotalTAnsP = gTotalTAnsP + TrueAnsRec[x];
x++;
}
}
function TotalRankSet() {
if (gTotalScore >= 45001) {
var _local1 = 4;
} else if (gTotalScore >= 36001) {
var _local1 = 3;
} else if (gTotalScore >= 24001) {
var _local1 = 2;
} else {
var _local1 = 1;
}
return(_local1);
}
function SaveCheck() {
var _local1 = new Date();
if (gTotalScore > gRecHiscore) {
HiscoreRenewFlg = true;
gRecHiscore = gTotalScore;
gRecRank = gNowRank;
gLastMonth = _local1.getMonth() + 1;
gLastDate = _local1.getDate();
gLastHour = _local1.getHours();
gLastMin = _local1.getMinutes();
DataSave();
} else {
HiscoreRenewFlg = false;
}
}
function ScoresRecord(AddScore, AddBnsScore, AddTAnsP, AddFAnsP, AddTimeUpP, TimeAvg, AddRank) {
gLastScore = AddScore;
gLastBonus = AddBnsScore;
gLastTAnsP = AddTAnsP;
gLastRank = AddRank;
AddTotalScore = AddScore + AddBnsScore;
GameTypeRec.push(GameTypeNum);
GamePlayRec[GameTypeNum - 1] = 1;
ScoreRec.push(AddTotalScore);
TrueAnsRec.push(AddTAnsP);
FalseAnsRec.push(AddFAnsP);
TimeUpRec.push(AddTimeUpP);
TimeAvgRec.push(TimeAvg);
trace((((((((((("Result/Score:" + AddScore) + "/OKP:") + AddTAnsP) + "/MissP:") + AddFAnsP) + "/TimeUpP:") + AddTimeUpP) + "/TimeAvg:") + TimeAvg) + "/Rank:") + AddRank);
}
AllInit();
Instance of Symbol 200 MovieClip "BBoard" in Frame 24
onClipEvent (load) {
_root.SndBtn.TitleBGM.start(0, 999999);
}
Frame 25
Frame 28
Frame 59
Frame 89
this.stop();
Instance of Symbol 279 MovieClip in Frame 89
onClipEvent (load) {
MyNumber = 1;
}
Instance of Symbol 279 MovieClip in Frame 89
onClipEvent (load) {
MyNumber = 2;
}
Instance of Symbol 279 MovieClip in Frame 89
onClipEvent (load) {
MyNumber = 3;
}
Instance of Symbol 372 MovieClip "HowtoWin" in Frame 89
/* no clip actions */
Frame 92
this.stop();
Frame 97
this.stop();
Instance of Symbol 879 MovieClip in Frame 97
onClipEvent (load) {
MyNumber = 1;
}
Instance of Symbol 879 MovieClip in Frame 97
onClipEvent (load) {
MyNumber = 2;
}
Instance of Symbol 879 MovieClip in Frame 97
onClipEvent (load) {
MyNumber = 3;
}
Frame 101
this.stop();
Symbol 91 MovieClip Frame 1
function InitMe() {
MyNumber = Number(this._name.slice(7));
}
function DispIn(SetP) {
this._alpha = 100;
this.gotoAndStop(SetP + 2);
}
function DispOut() {
this._alpha = 0;
this.gotoAndStop(1);
}
InitMe();
Symbol 91 MovieClip Frame 2
this.stop();
Symbol 94 MovieClip Frame 1
function InitMe() {
DefX = _x;
SlideP = 30;
}
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 5) {
if (ScoreLength < i) {
eval ("Number_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Number_" + i).DispIn(SetP);
}
i++;
}
_x = (DefX + ((ScoreLength - 1) * (SlideP / 2)));
}
InitMe();
Symbol 95 MovieClip Frame 1
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.play();
} else {
parcent = (loadedSize / totalSize) * 100;
gDownloaded = Math.round(parcent);
DispNum.DispIn(gDownloaded);
_root.stop();
}
Symbol 99 MovieClip Frame 1
function InitMe() {
_alpha = 0;
AlpP = 10;
GoalLabelName = "";
}
function FedeOut(LabelName) {
GoalLabelName = LabelName;
this.gotoAndPlay("FedeOut");
}
function FedeOutAlpSet() {
if (_alpha >= 100) {
FedeIn();
} else {
_alpha = (_alpha + AlpP);
this.gotoAndPlay(_currentframe - 1);
}
}
function FedeIn() {
this.gotoAndPlay("FedeIn");
_root.GoThisLabel(GoalLabelName);
}
function FedeInAlpSet() {
if (_alpha <= 0) {
FedeEnd();
} else {
_alpha = (_alpha - AlpP);
this.gotoAndPlay(_currentframe - 1);
}
}
function FedeEnd() {
_root.play();
this.gotoAndStop("End");
}
InitMe();
Symbol 99 MovieClip Frame 2
this.stop();
Instance of Symbol 98 MovieClip in Symbol 99 MovieClip Frame 3
onClipEvent (load) {
this.onPress = function () {
};
this.onRelease = function () {
};
}
Symbol 99 MovieClip Frame 5
FedeOutAlpSet();
Symbol 99 MovieClip Frame 14
FedeInAlpSet();
Symbol 99 MovieClip Frame 15
this.gotoAndStop("Wait");
Symbol 148 MovieClip Frame 1
AllSounds = new Sound();
AllResetSnd = new Sound();
AllResetSnd.attachSound("AllReset");
BtnPushSnd = new Sound();
BtnPushSnd.attachSound("Btn_Push");
BtnRollSnd = new Sound();
BtnRollSnd.attachSound("Btn_Roll");
CountDownSnd = new Sound();
CountDownSnd.attachSound("CountDown");
CountDownFinSnd = new Sound();
CountDownFinSnd.attachSound("CountDownFin");
FadeInSnd = new Sound();
FadeInSnd.attachSound("FadeIn");
FadeOutSnd = new Sound();
FadeOutSnd.attachSound("FadeOut");
OKSnd = new Sound();
OKSnd.attachSound("OK");
OKStarSnd = new Sound();
OKStarSnd.attachSound("OKStar");
NGSnd = new Sound();
NGSnd.attachSound("NG");
G_1MissSnd = new Sound();
G_1MissSnd.attachSound("G_1Miss");
G_1OKSnd = new Sound();
G_1OKSnd.attachSound("G_1OK");
G_1ShotSnd = new Sound();
G_1ShotSnd.attachSound("G_1Shot");
TimerSnd = new Sound();
TimerSnd.attachSound("TimerSnd");
GameSetPerfectSnd = new Sound();
GameSetPerfectSnd.attachSound("GameSetPerfectSnd");
ValuePerfectSnd = new Sound();
ValuePerfectSnd.attachSound("ValuePerfectSnd");
AddScoreSnd = new Sound();
AddScoreSnd.attachSound("AddScoreSnd");
Fun_RankCSnd = new Sound();
Fun_RankCSnd.attachSound("Fun_RankC");
Fun_RankABSnd = new Sound();
Fun_RankABSnd.attachSound("Fun_RankAB");
Fun_RankSSnd = new Sound();
Fun_RankSSnd.attachSound("Fun_RankS");
DrumRollSnd = new Sound();
DrumRollSnd.attachSound("DrumRollSnd");
DrumFinishSnd = new Sound();
DrumFinishSnd.attachSound("DrumFinishSnd");
GameSetSnd = new Sound();
GameSetSnd.attachSound("GameSetSnd");
Symbol 148 MovieClip Frame 2
TitleBGM = new Sound();
TitleBGM.attachSound("TitleBGM");
Game1BGM = new Sound();
Game1BGM.attachSound("Game1BGM");
Game2BGM = new Sound();
Game2BGM.attachSound("Game2BGM");
Game3BGM = new Sound();
Game3BGM.attachSound("Game3BGM");
ValueBGM = new Sound();
ValueBGM.attachSound("ValueBGM");
ResultBGM = new Sound();
ResultBGM.attachSound("ResultBGM");
OP_BtnInSnd = new Sound();
OP_BtnInSnd.attachSound("OP_BtnInSnd");
OP_TitleLogo1 = new Sound();
OP_TitleLogo1.attachSound("OP_TitleLogo1");
Symbol 148 MovieClip Frame 3
function InitMe() {
SndFlg = _root.gSoundSwitch;
if (SndFlg == false) {
AllSounds.setVolume(0);
} else {
AllSounds.setVolume(100);
}
this.gotoAndStop(("Snd_" + SndFlg) + "_release");
}
function FlgSwitch() {
if (SndFlg == true) {
SndFlg = false;
AllSounds.setVolume(0);
AllSounds.stop(0);
} else {
SndFlg = true;
AllSounds.setVolume(100);
}
_root.gSoundSwitch = SndFlg;
this.gotoAndStop(("Snd_" + SndFlg) + "_Roll");
_root.DataSave();
}
InitMe();
this.onRollOver = function () {
this.gotoAndStop(("Snd_" + SndFlg) + "_Roll");
};
this.onPress = function () {
this.gotoAndStop(("Snd_" + SndFlg) + "_press");
};
this.onRelease = function () {
FlgSwitch();
};
this.onRollOut = function () {
this.gotoAndStop(("Snd_" + SndFlg) + "_release");
};
this.onDragOut = function () {
this.gotoAndStop(("Snd_" + SndFlg) + "_release");
};
this.onReleaseOutside = function () {
this.gotoAndStop(("Snd_" + SndFlg) + "_release");
};
Symbol 148 MovieClip Frame 4
this.stop();
Symbol 174 MovieClip Frame 1
function PauseMe() {
this.stop();
}
function PlayMe() {
this.play();
}
Symbol 174 MovieClip Frame 338
this.gotoAndPlay(1);
Symbol 200 MovieClip Frame 1
function PauseMe() {
this.BBoardDraw.PauseMe();
trace("PauseMe");
}
function PlayMe() {
this.BBoardDraw.PlayMe();
trace("PlayMe");
}
Symbol 200 MovieClip Frame 2
this.stop();
Symbol 223 MovieClip Frame 15
Symbol 223 MovieClip Frame 20
Symbol 223 MovieClip Frame 24
this.stop();
Symbol 263 Button
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
SelectMe();
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
RollOverMe();
}
on (rollOut) {
RollOutMe();
}
Symbol 266 MovieClip Frame 7
stop();
Symbol 272 Button
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
SelectMe();
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
RollOverMe();
}
on (rollOut) {
RollOutMe();
}
Symbol 278 Button
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
SelectMe();
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
RollOverMe();
}
on (rollOut) {
RollOutMe();
}
Symbol 279 MovieClip Frame 1
function InitMe() {
if (_root.GamePlayRec[MyNumber - 1] == 1) {
this.gotoAndStop(("G_" + MyNumber) + "_OFF");
} else {
this.gotoAndStop(("G_" + MyNumber) + "_ON");
}
}
function SelectMe() {
_root.GameSelect(MyNumber);
}
function RollOverMe() {
_root.GameGuideText.DispIn(MyNumber);
}
function RollOutMe() {
_root.GameGuideText.DispOut();
}
InitMe();
Symbol 279 MovieClip Frame 3
this.stop();
Symbol 288 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
HowtoWin.WindowIn();
}
Symbol 294 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
HiscoreWin.WindowIn();
}
Symbol 300 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
AllResetWin.WindowIn();
}
Symbol 306 MovieClip Frame 15
stop();
Symbol 310 MovieClip Frame 15
stop();
Symbol 314 MovieClip Frame 15
stop();
Symbol 315 MovieClip Frame 1
function DispIn(SetNum) {
_root.BBoard.PauseMe();
this.gotoAndStop(SetNum + 1);
}
function DispOut() {
_root.BBoard.PlayMe();
this.gotoAndStop("Init");
}
this.stop();
Symbol 315 MovieClip Frame 2
this.stop();
Symbol 317 Button
on (press) {
this.Nothing();
}
on (release) {
this.Nothing();
}
Symbol 332 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
this.gotoAndStop("RollOver");
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
_root.AllResetBackTitle();
WindowOut();
}
Symbol 338 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
WindowOut();
}
Symbol 339 MovieClip Frame 1
function InitMe() {
}
function WindowIn() {
this.gotoAndPlay("ON");
}
function WindowOut() {
this.gotoAndPlay("Close");
}
function Nothing() {
}
InitMe();
Symbol 339 MovieClip Frame 2
this.stop();
Symbol 339 MovieClip Frame 8
this.stop();
Symbol 339 MovieClip Frame 14
this.gotoAndStop("OFF");
Symbol 371 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
WindowOut();
}
Symbol 372 MovieClip Frame 1
function InitMe() {
}
function WindowIn() {
this.gotoAndPlay("ON");
}
function WindowOut() {
this.gotoAndPlay("Close");
}
function Nothing() {
}
InitMe();
Symbol 372 MovieClip Frame 2
this.stop();
Symbol 372 MovieClip Frame 8
this.stop();
Symbol 372 MovieClip Frame 14
this.gotoAndStop("OFF");
Symbol 397 MovieClip Frame 1
function DispIn(SetP) {
this.gotoAndStop(SetP + 2);
_alpha = 100;
}
function DispOut() {
_alpha = 0;
this.gotoAndStop(1);
}
this.stop();
Symbol 397 MovieClip Frame 2
this.stop();
Symbol 400 MovieClip Frame 1
if (_parent.DispHiscore <= 0) {
this.gotoAndStop("Empty");
}
Instance of Symbol 398 MovieClip "DispMC" in Symbol 400 MovieClip Frame 2
onClipEvent (load) {
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 5) {
if (ScoreLength < i) {
eval ("Num_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Num_" + i).DispIn(SetP);
}
i++;
}
}
}
Symbol 400 MovieClip Frame 3
DispMC.DispIn(_parent.DispHiscore);
this.stop();
Symbol 400 MovieClip Frame 4
this.stop();
Symbol 412 MovieClip Frame 1
function InitMe() {
var _local3 = _parent._parent.DispRank;
if (_local3 <= 0) {
this.gotoAndStop("Empty");
} else {
this.gotoAndStop(_local3 + 1);
}
}
InitMe();
Symbol 412 MovieClip Frame 2
this.stop();
Symbol 418 MovieClip Frame 1
if (_parent.DispHiscore <= 0) {
this.gotoAndStop("Empty");
}
Instance of Symbol 416 MovieClip "DateDisp" in Symbol 418 MovieClip Frame 2
onClipEvent (load) {
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 2) {
if (ScoreLength < i) {
eval ("Num_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Num_" + i).DispIn(SetP);
}
i++;
}
_x = (DefX - ((2 - ScoreLength) * SlideP));
}
DefX = _x;
SlideP = 22;
}
Instance of Symbol 416 MovieClip "MonthDisp" in Symbol 418 MovieClip Frame 2
onClipEvent (load) {
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 2) {
if (ScoreLength < i) {
eval ("Num_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Num_" + i).DispIn(SetP);
}
i++;
}
}
}
Symbol 418 MovieClip Frame 3
MonthDisp.DispIn(_parent.DispMonth);
DateDisp.DispIn(_parent.DispDate);
this.stop();
Symbol 418 MovieClip Frame 4
this.stop();
Symbol 422 MovieClip Frame 1
if (_parent.DispHiscore <= 0) {
this.gotoAndStop("Empty");
}
Instance of Symbol 416 MovieClip "MinDisp" in Symbol 422 MovieClip Frame 2
onClipEvent (load) {
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 2) {
if (ScoreLength < i) {
eval ("Num_" + i).DispIn(0);
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Num_" + i).DispIn(SetP);
}
i++;
}
}
}
Instance of Symbol 416 MovieClip "HourDisp" in Symbol 422 MovieClip Frame 2
onClipEvent (load) {
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 2) {
if (ScoreLength < i) {
eval ("Num_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Num_" + i).DispIn(SetP);
}
i++;
}
}
}
Symbol 422 MovieClip Frame 3
HourDisp.DispIn(_parent.DispHour);
MinDisp.DispIn(_parent.DispMin);
this.stop();
Symbol 422 MovieClip Frame 4
this.stop();
Symbol 428 MovieClip Frame 1
function InitMe() {
DispHiscore = _root.gRecHiscore;
if (DispHiscore <= 0) {
DispRank = 0;
DispMonth = 0;
DispDate = 0;
DispHour = 0;
DispMin = 0;
}
DispRank = _root.gRecRank;
DispMonth = _root.gLastMonth;
DispDate = _root.gLastDate;
DispHour = _root.gLastHour;
DispMin = _root.gLastMin;
}
function WindowIn() {
this.gotoAndPlay("ON");
}
function WindowOut() {
this.gotoAndPlay("Close");
}
function Nothing() {
}
InitMe();
Symbol 428 MovieClip Frame 2
this.stop();
Symbol 428 MovieClip Frame 8
this.stop();
Symbol 428 MovieClip Frame 14
this.gotoAndStop("OFF");
Symbol 444 MovieClip Frame 1
this.stop();
Symbol 444 MovieClip Frame 4
this.stop();
Symbol 444 MovieClip Frame 7
this.stop();
Symbol 444 MovieClip Frame 10
this.stop();
Symbol 445 MovieClip Frame 1
this.stop();
Instance of Symbol 444 MovieClip "Sign_1" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 1;
}
Instance of Symbol 444 MovieClip "Sign_2" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 2;
}
Instance of Symbol 444 MovieClip "Sign_3" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 3;
}
Instance of Symbol 444 MovieClip "Sign_4" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 4;
}
Instance of Symbol 444 MovieClip "Sign_5" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 5;
}
Instance of Symbol 444 MovieClip "Sign_6" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 6;
}
Instance of Symbol 444 MovieClip "Sign_7" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 7;
}
Instance of Symbol 444 MovieClip "Sign_8" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 8;
}
Instance of Symbol 444 MovieClip "Sign_9" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 9;
}
Instance of Symbol 444 MovieClip "Sign_10" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 10;
}
Instance of Symbol 444 MovieClip "Sign_11" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 11;
}
Instance of Symbol 444 MovieClip "Sign_12" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 12;
}
Instance of Symbol 444 MovieClip "Sign_13" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 13;
}
Instance of Symbol 444 MovieClip "Sign_14" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 14;
}
Instance of Symbol 444 MovieClip "Sign_15" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 15;
}
Instance of Symbol 444 MovieClip "Sign_16" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 16;
}
Instance of Symbol 444 MovieClip "Sign_17" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 17;
}
Instance of Symbol 444 MovieClip "Sign_18" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 18;
}
Instance of Symbol 444 MovieClip "Sign_19" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 19;
}
Instance of Symbol 444 MovieClip "Sign_20" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
function DispIn(SignType) {
this.gotoAndPlay(SignType);
}
MyNumber = 20;
}
Symbol 452 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
_root.BackTitle();
}
Symbol 454 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
CloseMe();
}
Symbol 465 MovieClip Frame 1
function InitMe() {
_parent.stop();
}
function CloseMe() {
this.gotoAndPlay("Close");
}
InitMe();
Symbol 465 MovieClip Frame 3
this.gotoAndStop("G_" + MyNumber);
Symbol 465 MovieClip Frame 4
this.stop();
Symbol 465 MovieClip Frame 16
_parent.play();
this.stop();
Symbol 490 MovieClip Frame 1
function InitMe() {
RoundNum = _parent.RoundNum;
ResetMe();
}
function ResetMe() {
this.gotoAndStop("Normal_" + RoundNum);
}
function OKMe() {
this.gotoAndPlay("OK_" + RoundNum);
}
function NGMe() {
this.gotoAndPlay("NG_" + RoundNum);
}
InitMe();
Symbol 490 MovieClip Frame 3
this.stop();
Symbol 490 MovieClip Frame 4
this.stop();
Symbol 490 MovieClip Frame 27
this.stop();
Symbol 490 MovieClip Frame 50
this.stop();
Symbol 490 MovieClip Frame 51
this.stop();
Symbol 490 MovieClip Frame 74
this.stop();
Symbol 490 MovieClip Frame 97
this.stop();
Symbol 490 MovieClip Frame 98
this.stop();
Symbol 490 MovieClip Frame 119
this.stop();
Symbol 490 MovieClip Frame 140
this.stop();
Symbol 497 MovieClip Frame 1
function InitMe() {
_parent.stop();
}
InitMe();
Symbol 497 MovieClip Frame 2
_root.SndBtn.CountDownSnd.start(0, 0);
Symbol 497 MovieClip Frame 21
_root.SndBtn.CountDownSnd.start(0, 0);
Symbol 497 MovieClip Frame 41
_root.SndBtn.CountDownSnd.start(0, 0);
Symbol 497 MovieClip Frame 61
_root.SndBtn.CountDownFinSnd.start(0, 0);
_parent.play();
this.stop();
Symbol 559 MovieClip Frame 1
this.stop();
Symbol 559 MovieClip Frame 61
this.gotoAndPlay("Sub");
Symbol 559 MovieClip Frame 70
this.stop();
Symbol 559 MovieClip Frame 80
this.stop();
Symbol 559 MovieClip Frame 90
this.stop();
Instance of Symbol 559 MovieClip "Body" in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
function Subjugation() {
this.gotoAndPlay("Sub_" + SymPtnType);
}
function SetUnti() {
}
VirTypeNum = _parent._parent.VirTypeNum;
SymPtnType = _parent._parent.SymPtnP;
SymPtnP = (_parent._parent.SymPtnP - 1) * 20;
this.gotoAndStop(VirTypeNum + SymPtnP);
}
Symbol 608 MovieClip Frame 1
this.stop();
Instance of Symbol 608 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
SymPtnP = (_parent._parent.SymPtnP - 1) * 20;
if (_parent._parent._parent.AnsNum == _parent.MyNumber) {
VacTypeNum = _parent._parent.VacTypeList[0];
} else {
VacTypeNum = _parent._parent.VacTypeList[_parent.MyNumber];
}
this.gotoAndStop(VacTypeNum + SymPtnP);
}
Symbol 613 Button
on (press) {
G18Check(1);
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Symbol 614 Button
on (press) {
G18Check(2);
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Symbol 615 Button
on (press) {
G18Check(3);
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Symbol 616 Button
on (press) {
G18Check(4);
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Instance of Symbol 608 MovieClip "UntiFallMC" in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
SelectVacNum = _parent._parent.VacTypeList[_parent._parent.PushBtnNum];
SymPtnP = (_parent._parent.SymPtnP - 1) * 20;
this.gotoAndStop(SelectVacNum + SymPtnP);
}
Symbol 618 MovieClip Frame 1
function QInit() {
QLevel = _parent.QLevel;
SymPtnP = _parent.SymPtnP;
RotationFlg = _parent.RotationFlg;
VacTypeList = ArrayShuffle(MakeArray(20));
VirTypeNum = VacTypeList[0];
}
function G18Check(BtnNum) {
PushBtnNum = BtnNum;
PushBtnLocNum = BtnNum;
ShotPRot = eval ("Btn_" + BtnNum)._rotation;
trace("ShotPRot:" + ShotPRot);
_parent.AnsCheck(PushBtnNum);
}
function ShotIn(DataP) {
TFP = DataP;
if (TFP == true) {
PushBtnNum = 0;
this.gotoAndPlay("Shot");
} else if (TFP == false) {
this.gotoAndPlay("Shot");
} else {
this.gotoAndPlay("NoShot");
}
}
function AnsDDispIn() {
if (TFP == "Timeout") {
VirusMC.SetUnti();
this.gotoAndStop("Timeout");
} else if (TFP == true) {
VirusMC.Subjugation();
this.gotoAndStop("Sub");
} else {
VirusMC.SetUnti();
this.gotoAndStop("Unti");
}
}
function AnsDDispOut() {
AnsD.DispOut();
}
function MakeArray(LengthP) {
var _local1 = [];
i = 1;
while (i <= LengthP) {
_local1.push(i);
i++;
}
return(_local1);
}
function NaturalSort(a, b) {
if (a < b) {
return(-1);
}
if (a > b) {
return(1);
}
return(0);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
QInit();
Instance of Symbol 560 MovieClip "VirusMC" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
function Subjugation() {
this.Body.Subjugation();
Condition = "Sub";
}
function SetUnti() {
this.Body.SetUnti();
Condition = "Unti";
}
function SwellAnim() {
if (_xscale <= 100) {
_xscale = 105;
} else {
_xscale = (_xscale - 0.5);
}
_yscale = _xscale;
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
if (_parent.RotationFlg != 0) {
Condition = "Rotation";
_rotation = (randomInt(360) - 1);
RollP = randomInt(10) - 6;
if (RollP == 0) {
RollP = 5;
}
RollP = RollP * _parent.RotationFlg;
} else {
Condition = "Swell";
_rotation = 0;
RollP = 0;
}
}
onClipEvent (enterFrame) {
if (Condition == "Swell") {
SwellAnim();
}
_rotation = (_rotation + RollP);
}
Instance of Symbol 609 MovieClip "Btn_1" in Symbol 618 MovieClip Frame 2
onClipEvent (load) {
function SwellAnim() {
if (_xscale <= DefScale) {
_xscale = MaxScale;
} else {
_xscale = (_xscale - 0.5);
}
_yscale = _xscale;
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
MyNumber = 1;
DefScale = _xscale;
MaxScale = DefScale * 1.05;
if (_parent.RotationFlg != 0) {
MyStat = "Rot";
_rotation = (randomInt(360) - 1);
RollP = randomInt(10) - 6;
if (RollP == 0) {
RollP = 5;
}
RollP = RollP * _parent.RotationFlg;
} else {
MyStat = "Swell";
_rotation = 0;
RollP = 0;
}
}
onClipEvent (enterFrame) {
_rotation = (_rotation + RollP);
if (MyStat == "Swell") {
SwellAnim();
}
}
Instance of Symbol 609 MovieClip "Btn_2" in Symbol 618 MovieClip Frame 3
onClipEvent (load) {
function SwellAnim() {
if (_xscale <= DefScale) {
_xscale = MaxScale;
} else {
_xscale = (_xscale - 0.5);
}
_yscale = _xscale;
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
MyNumber = 2;
DefScale = _xscale;
MaxScale = DefScale * 1.05;
if (_parent.RotationFlg != 0) {
MyStat = "Rot";
_rotation = (randomInt(360) - 1);
RollP = randomInt(10) - 6;
if (RollP == 0) {
RollP = 5;
}
RollP = RollP * _parent.RotationFlg;
} else {
MyStat = "Swell";
_rotation = 0;
RollP = 0;
}
}
onClipEvent (enterFrame) {
_rotation = (_rotation + RollP);
if (MyStat == "Swell") {
SwellAnim();
}
}
Instance of Symbol 609 MovieClip "Btn_3" in Symbol 618 MovieClip Frame 4
onClipEvent (load) {
function SwellAnim() {
if (_xscale <= DefScale) {
_xscale = MaxScale;
} else {
_xscale = (_xscale - 0.5);
}
_yscale = _xscale;
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
MyNumber = 3;
DefScale = _xscale;
MaxScale = DefScale * 1.05;
if (_parent.RotationFlg != 0) {
MyStat = "Rot";
_rotation = (randomInt(360) - 1);
RollP = randomInt(10) - 6;
if (RollP == 0) {
RollP = 5;
}
RollP = RollP * _parent.RotationFlg;
} else {
MyStat = "Swell";
_rotation = 0;
RollP = 0;
}
}
onClipEvent (enterFrame) {
_rotation = (_rotation + RollP);
if (MyStat == "Swell") {
SwellAnim();
}
}
Instance of Symbol 609 MovieClip "Btn_4" in Symbol 618 MovieClip Frame 5
onClipEvent (load) {
function SwellAnim() {
if (_xscale <= DefScale) {
_xscale = MaxScale;
} else {
_xscale = (_xscale - 0.5);
}
_yscale = _xscale;
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
MyNumber = 4;
DefScale = _xscale;
MaxScale = DefScale * 1.05;
if (_parent.RotationFlg != 0) {
MyStat = "Rot";
_rotation = (randomInt(360) - 1);
RollP = randomInt(10) - 6;
if (RollP == 0) {
RollP = 5;
}
RollP = RollP * _parent.RotationFlg;
} else {
MyStat = "Swell";
_rotation = 0;
RollP = 0;
}
}
onClipEvent (enterFrame) {
_rotation = (_rotation + RollP);
if (MyStat == "Swell") {
SwellAnim();
}
}
Symbol 618 MovieClip Frame 6
this.stop();
Symbol 618 MovieClip Frame 7
_root.SndBtn.G_1ShotSnd.start(0, 0);
Instance of Symbol 617 MovieClip in Symbol 618 MovieClip Frame 7
onClipEvent (load) {
function MoveMe() {
if (MoveCnt <= MoveFrame) {
var _local2 = StartX + (Math.round((FinishLocX - StartX) / MoveFrame) * MoveCnt);
var _local1 = StartY + (Math.round((FinishLocY - StartY) / MoveFrame) * MoveCnt);
_x = _local2;
_y = _local1;
_rotation = (StartRot + (Math.round((GoalRot - StartRot) / MoveFrame) * MoveCnt));
MoveCnt++;
}
}
FinishLocX = 0;
FinishLocY = 0;
StartLocNum = _parent.PushBtnLocNum;
StartX = (80 * (StartLocNum - 1)) - 120;
StartY = 100;
MoveCnt = 0;
MoveFrame = 5;
_x = StartX;
_y = StartY;
StartRot = (_parent.ShotPRot + 360) % 360;
GoalRot = (_parent.VirusMC._rotation + 360) % 360;
_rotation = StartRot;
}
onClipEvent (enterFrame) {
MoveMe();
}
Symbol 618 MovieClip Frame 12
AnsDDispIn();
_parent.GoNext();
Symbol 618 MovieClip Frame 14
AnsDDispIn();
_parent.GoNext();
Symbol 618 MovieClip Frame 15
_root.SndBtn.G_1OKSnd.start(0, 0);
this.stop();
Symbol 618 MovieClip Frame 16
_root.SndBtn.G_1MissSnd.start(0, 0);
this.stop();
Instance of Symbol 617 MovieClip in Symbol 618 MovieClip Frame 16
onClipEvent (load) {
function FallMe() {
FallP = FallP * 2;
_y = (_y + FallP);
}
_rotation = _parent.VirusMC._rotation;
FallP = 1;
}
onClipEvent (enterFrame) {
FallMe();
}
Symbol 618 MovieClip Frame 17
this.stop();
Symbol 620 MovieClip Frame 7
this.stop();
Symbol 623 MovieClip Frame 21
this.stop();
Symbol 624 MovieClip Frame 8
this.stop();
Symbol 627 MovieClip Frame 4
_root.SndBtn.OKSnd.start(0, 0);
_parent._parent.CharaMC.OKMe();
Symbol 627 MovieClip Frame 5
this.stop();
Symbol 627 MovieClip Frame 8
_root.SndBtn.OKSnd.start(0, 0);
_parent._parent.CharaMC.OKMe();
Symbol 627 MovieClip Frame 9
this.stop();
Symbol 627 MovieClip Frame 12
_root.SndBtn.OKSnd.start(0, 0);
_root.SndBtn.OKStarSnd.start(0, 0);
_parent._parent.CharaMC.OKMe();
Symbol 627 MovieClip Frame 13
this.stop();
Symbol 627 MovieClip Frame 16
_root.SndBtn.NGSnd.start(0, 0);
_parent._parent.CharaMC.NGMe();
Symbol 627 MovieClip Frame 17
this.stop();
Symbol 627 MovieClip Frame 21
_root.SndBtn.NGSnd.start(0, 0);
_parent._parent.CharaMC.NGMe();
Symbol 627 MovieClip Frame 22
this.stop();
Symbol 628 MovieClip Frame 1
function InitMe() {
SetQNum = 0;
PushAnsNum = 0;
OKNum = 0;
MissNum = 0;
TimeUpNum = 0;
TotalTime = 0;
Score = 0;
}
function QANumSet(SetPType) {
switch (SetPType) {
case "OK" :
PushAnsNum++;
OKNum++;
_parent.QCountGage.MarkIn(SetQNum, SetPType);
Score = Score + AddScoreP;
trace("NowTotalScore:" + Score);
break;
case "Miss" :
PushAnsNum++;
MissNum++;
_parent.QCountGage.MarkIn(SetQNum, SetPType);
break;
case "Timeout" :
TimeUpNum++;
_parent.QCountGage.MarkIn(SetQNum, "Miss");
break;
case "QSet" :
SetQNum++;
}
}
function GameSet() {
this.gotoAndPlay("GameSet");
_parent.GameSetScript(Score, OKNum, MissNum, TimeUpNum, TotalTime);
}
function NewQSet() {
QANumSet("QSet");
AnsNum = randomInt(4);
OKSign.DispOut();
if (SetQNum >= 18) {
QLevel = 3;
SymPtnP = 3;
RotationFlg = 2;
} else if (SetQNum >= 14) {
if (SetQNum >= 16) {
QLevel = 3;
} else {
QLevel = 2;
}
SymPtnP = 2;
RotationFlg = 1;
} else if (SetQNum >= 11) {
QLevel = 2;
SymPtnP = 1;
RotationFlg = 1;
} else if (SetQNum >= 8) {
QLevel = 1;
SymPtnP = 3;
RotationFlg = 0;
} else if (SetQNum >= 5) {
QLevel = 1;
SymPtnP = 2;
RotationFlg = 0;
} else {
QLevel = 1;
SymPtnP = 1;
RotationFlg = 0;
}
}
function AnsCheck(BtnNum) {
_parent.TimeCounter.AnswerCntStop();
if (BtnNum == 0) {
AnswerCheckP = "Timeout";
} else if (BtnNum == AnsNum) {
AnswerCheckP = true;
} else {
AnswerCheckP = false;
}
QMain.ShotIn(AnswerCheckP);
}
function TimeRtn(RtnTimeP) {
GetTimeP = Math.round((RtnTimeP / 24) * 10);
TotalTime = TotalTime + (50 - GetTimeP);
TimeBaseP = Math.floor(GetTimeP / 10) + 1;
if (TimeBaseP >= 5) {
TimeBaseP = 5;
}
AddScoreP = (QLevel * 100) * TimeBaseP;
trace((("RtnTimeP:" + GetTimeP) + "/TimeBaseP:") + TimeBaseP);
}
function TimeUpMe() {
AnsCheck(0);
}
function GoNext() {
switch (AnswerCheckP) {
case "Timeout" :
QANumSet("Timeout");
break;
case true :
OKSign.DispIn(AnswerCheckP);
QANumSet("OK");
break;
case false :
OKSign.DispIn(AnswerCheckP);
QANumSet("Miss");
}
this.gotoAndPlay("AnswerCheck");
}
function ResultIn() {
}
function G18TimeOut() {
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
InitMe();
Symbol 628 MovieClip Frame 4
NewQSet();
Symbol 628 MovieClip Frame 9
_parent.TimeCounter.CountStart();
Symbol 628 MovieClip Frame 10
this.stop();
Instance of Symbol 627 MovieClip "OKText" in Symbol 628 MovieClip Frame 11
onClipEvent (load) {
function DispIn(FrameName, GetScoreLv) {
if (GetScoreLv == 5) {
var _local2 = 3;
} else if (GetScoreLv >= 3) {
var _local2 = 2;
} else {
var _local2 = 1;
}
switch (FrameName) {
case true :
this.gotoAndPlay("Disp_OK_" + _local2);
break;
case false :
this.gotoAndPlay("Disp_Miss");
}
}
if (_parent.AnswerCheckP == "Timeout") {
this.gotoAndPlay("Disp_Timeout");
} else {
this.gotoAndStop("Empty");
}
}
Symbol 628 MovieClip Frame 15
if (AnswerCheckP == true) {
OKText.DispIn(true, TimeBaseP);
} else if (AnswerCheckP == false) {
OKText.DispIn(false);
}
Symbol 628 MovieClip Frame 43
_parent.TimeCounter.ResetMe();
_parent.CharaMC.ResetMe();
if (SetQNum >= 20) {
ResultIn();
GameSet("Clear");
} else {
this.gotoAndPlay("QSet");
}
Symbol 628 MovieClip Frame 49
this.stop();
Symbol 647 MovieClip Frame 1
function InitMe() {
LimitNum = 5;
RtnPoint = 120;
}
function CountStart() {
InitMe();
this.gotoAndPlay("CntStart");
}
function TimeoutScript() {
LimitNum = 0;
RtnPoint = 0;
_parent.GameBody.TimeUpMe(0);
}
function CountStop() {
this.stop();
}
function AnswerCntStop() {
this.stop();
RtnPoint = 120 - (_currentframe - 4);
if (RtnPoint >= 120) {
RtnPoint = 120;
} else if (RtnPoint <= 0) {
RtnPoint = 0;
}
_parent.GameBody.TimeRtn(RtnPoint);
}
function ResetMe() {
this.gotoAndStop("Init");
}
InitMe();
Symbol 647 MovieClip Frame 28
LimitNum--;
_root.SndBtn.TimerSnd.start(0, 0);
Symbol 647 MovieClip Frame 52
LimitNum--;
_root.SndBtn.TimerSnd.start(0, 0);
Symbol 647 MovieClip Frame 76
LimitNum--;
_root.SndBtn.TimerSnd.start(0, 0);
Symbol 647 MovieClip Frame 100
LimitNum--;
_root.SndBtn.TimerSnd.start(0, 0);
Symbol 647 MovieClip Frame 124
TimeoutScript();
this.stop();
Symbol 655 MovieClip Frame 1
_parent.stop();
_root.SndBtn.GameSetSnd.start(0, 0);
Symbol 655 MovieClip Frame 36
_parent.play();
this.stop();
Symbol 663 MovieClip Frame 1
function InitMe() {
if (_parent.ResTAnsP >= 20) {
_parent.stop();
this.gotoAndPlay("Anim");
} else {
this.stop();
}
}
InitMe();
Symbol 663 MovieClip Frame 2
_root.SndBtn.GameSetPerfectSnd.start(0, 0);
Symbol 663 MovieClip Frame 41
_parent.play();
this.stop();
Symbol 688 MovieClip Frame 1
function AnsDispIn() {
if (MyType == "Question") {
this.gotoAndStop(_parent.AnsDiceNum + 2);
_xscale = AnsOpenScale;
_yscale = AnsOpenScale;
}
}
DefScale = _xscale;
AnsOpenScale = 110;
if (SetMyNum == 0) {
MyType = "Question";
this.gotoAndStop("Empty");
} else {
MyType = "Normal";
this.gotoAndStop(SetMyNum + 2);
}
Symbol 688 MovieClip Frame 2
this.stop();
Symbol 695 MovieClip Frame 1
this.stop();
Symbol 716 MovieClip Frame 1
function MouseOver() {
_xscale = 110;
_yscale = 110;
}
function MouseOut() {
_xscale = 100;
_yscale = 100;
}
function SendMyCode() {
_parent.AnsCheck(MyDispNum);
}
MyDispNum = _parent._parent.BtnNumList[MyNumber - 1];
this.gotoAndStop(MyDispNum + 1);
Symbol 716 MovieClip Frame 2
this.stop();
Symbol 719 Button
on (release) {
Dice_1.SendMyCode();
}
on (rollOver) {
BtnRollOver(1);
}
on (rollOut) {
BtnRollOut(1);
}
Symbol 720 Button
on (release) {
Dice_2.SendMyCode();
}
on (rollOver) {
BtnRollOver(2);
}
on (rollOut) {
BtnRollOut(2);
}
Symbol 721 Button
on (release) {
Dice_3.SendMyCode();
}
on (rollOver) {
BtnRollOver(3);
}
on (rollOut) {
BtnRollOut(3);
}
Symbol 722 Button
on (release) {
Dice_4.SendMyCode();
}
on (rollOver) {
BtnRollOver(4);
}
on (rollOut) {
BtnRollOut(4);
}
Symbol 723 Button
on (release) {
Dice_5.SendMyCode();
}
on (rollOver) {
BtnRollOver(5);
}
on (rollOut) {
BtnRollOut(5);
}
Symbol 724 Button
on (release) {
Dice_6.SendMyCode();
}
on (rollOver) {
BtnRollOver(6);
}
on (rollOut) {
BtnRollOut(6);
}
Symbol 725 MovieClip Frame 1
function InitMe() {
var _local3 = _parent.BtnsKind;
this.gotoAndPlay("Btn_" + _local3);
}
function AnsCheck(PushBtnNum) {
_root.SndBtn.BtnPushSnd.start(0, 0);
_parent.AnsCheck(PushBtnNum);
this.gotoAndStop(_currentframe + 1);
}
function BtnRollOver(BtnNum) {
_root.SndBtn.BtnRollSnd.start(0, 0);
eval ("this.Dice_" + BtnNum).MouseOver();
}
function BtnRollOut(BtnNum) {
eval ("this.Dice_" + BtnNum).MouseOut();
}
function TimeUpMe() {
this.gotoAndStop(_currentframe + 1);
}
InitMe();
Symbol 725 MovieClip Frame 5
this.stop();
Instance of Symbol 716 MovieClip "Dice_1" in Symbol 725 MovieClip Frame 5
onClipEvent (load) {
MyNumber = 1;
}
Instance of Symbol 716 MovieClip "Dice_2" in Symbol 725 MovieClip Frame 5
onClipEvent (load) {
MyNumber = 2;
}
Instance of Symbol 716 MovieClip "Dice_3" in Symbol 725 MovieClip Frame 5
onClipEvent (load) {
MyNumber = 3;
}
Symbol 725 MovieClip Frame 8
this.stop();
Instance of Symbol 716 MovieClip "Dice_1" in Symbol 725 MovieClip Frame 8
onClipEvent (load) {
MyNumber = 1;
}
Instance of Symbol 716 MovieClip "Dice_2" in Symbol 725 MovieClip Frame 8
onClipEvent (load) {
MyNumber = 2;
}
Instance of Symbol 716 MovieClip "Dice_3" in Symbol 725 MovieClip Frame 8
onClipEvent (load) {
MyNumber = 3;
}
Instance of Symbol 716 MovieClip "Dice_4" in Symbol 725 MovieClip Frame 8
onClipEvent (load) {
MyNumber = 4;
}
Symbol 725 MovieClip Frame 11
this.stop();
Instance of Symbol 716 MovieClip "Dice_1" in Symbol 725 MovieClip Frame 11
onClipEvent (load) {
MyNumber = 1;
}
Instance of Symbol 716 MovieClip "Dice_2" in Symbol 725 MovieClip Frame 11
onClipEvent (load) {
MyNumber = 2;
}
Instance of Symbol 716 MovieClip "Dice_3" in Symbol 725 MovieClip Frame 11
onClipEvent (load) {
MyNumber = 3;
}
Instance of Symbol 716 MovieClip "Dice_4" in Symbol 725 MovieClip Frame 11
onClipEvent (load) {
MyNumber = 4;
}
Instance of Symbol 716 MovieClip "Dice_5" in Symbol 725 MovieClip Frame 11
onClipEvent (load) {
MyNumber = 5;
}
Symbol 725 MovieClip Frame 14
this.stop();
Instance of Symbol 716 MovieClip "Dice_1" in Symbol 725 MovieClip Frame 14
onClipEvent (load) {
MyNumber = 1;
}
Instance of Symbol 716 MovieClip "Dice_2" in Symbol 725 MovieClip Frame 14
onClipEvent (load) {
MyNumber = 2;
}
Instance of Symbol 716 MovieClip "Dice_3" in Symbol 725 MovieClip Frame 14
onClipEvent (load) {
MyNumber = 3;
}
Instance of Symbol 716 MovieClip "Dice_4" in Symbol 725 MovieClip Frame 14
onClipEvent (load) {
MyNumber = 4;
}
Instance of Symbol 716 MovieClip "Dice_5" in Symbol 725 MovieClip Frame 14
onClipEvent (load) {
MyNumber = 5;
}
Instance of Symbol 716 MovieClip "Dice_6" in Symbol 725 MovieClip Frame 14
onClipEvent (load) {
MyNumber = 6;
}
Symbol 726 MovieClip Frame 1
function AnsCheck(PushNum) {
this.gotoAndStop("Wait_" + FormLength);
if (PushNum == AnsDiceNum) {
var _local3 = 1;
} else {
var _local3 = -1;
}
_parent.AnsCheck(_local3);
}
function QInit() {
LevelSet();
var _local3 = [[[2, "m", 1, 0], [3, "m", 2, 0], [4, "m", 3, 0], [5, "m", 4, 0], [6, "m", 5, 0], [7, "m", 6, 0], [8, "m", 7, 0], [9, "m", 8, 0], [1, "p", 0, 2], [2, "p", 0, 3], [3, "p", 0, 4], [4, "p", 0, 5], [5, "p", 0, 6], [6, "p", 0, 7], [7, "p", 0, 8], [8, "p", 0, 9], [2, "m", 0, 1], [3, "m", 0, 2], [4, "m", 0, 3], [5, "m", 0, 4], [6, "m", 0, 5], [7, "m", 0, 6], [8, "m", 0, 7], [9, "m", 0, 8], [0, "p", 1, 2], [0, "p", 2, 3], [0, "p", 3, 4], [0, "p", 4, 5], [0, "p", 5, 6], [0, "p", 6, 7], [0, "p", 7, 8], [0, "p", 8, 9]], [[1, "p", 1, 0], [3, "m", 1, 0], [4, "m", 2, 0], [5, "m", 3, 0], [6, "m", 4, 0], [7, "m", 5, 0], [8, "m", 6, 0], [9, "m", 7, 0], [1, "p", 0, 3], [2, "p", 0, 4], [3, "p", 0, 5], [4, "p", 0, 6], [5, "p", 0, 7], [6, "p", 0, 8], [7, "p", 0, 9], [3, "m", 0, 1], [4, "m", 0, 2], [5, "m", 0, 3], [6, "m", 0, 4], [7, "m", 0, 5], [8, "m", 0, 6], [9, "m", 0, 7], [0, "p", 1, 3], [0, "p", 2, 4], [0, "p", 3, 5], [0, "p", 4, 6], [0, "p", 5, 7], [0, "p", 6, 8], [0, "p", 7, 9], [0, "m", 1, 1]], [[1, "p", 2, 0], [2, "p", 1, 0], [4, "m", 1, 0], [5, "m", 2, 0], [6, "m", 3, 0], [7, "m", 4, 0], [8, "m", 5, 0], [9, "m", 6, 0], [1, "p", 0, 4], [2, "p", 0, 5], [3, "p", 0, 6], [4, "p", 0, 7], [5, "p", 0, 8], [6, "p", 0, 9], [4, "m", 0, 1], [5, "m", 0, 2], [6, "m", 0, 3], [7, "m", 0, 4], [8, "m", 0, 5], [9, "m", 0, 6], [0, "p", 1, 4], [0, "p", 2, 5], [0, "p", 3, 6], [0, "p", 4, 7], [0, "p", 5, 8], [0, "p", 6, 9], [0, "m", 1, 2], [0, "m", 2, 1]], [[1, "p", 3, 0], [2, "p", 2, 0], [3, "p", 1, 0], [5, "m", 1, 0], [6, "m", 2, 0], [7, "m", 3, 0], [8, "m", 4, 0], [9, "m", 5, 0], [1, "p", 0, 5], [2, "p", 0, 6], [3, "p", 0, 7], [4, "p", 0, 8], [5, "p", 0, 9], [5, "m", 0, 1], [6, "m", 0, 2], [7, "m", 0, 3], [8, "m", 0, 4], [9, "m", 0, 5], [0, "p", 1, 5], [0, "p", 2, 6], [0, "p", 3, 7], [0, "p", 4, 8], [0, "p", 5, 9], [0, "m", 1, 3], [0, "m", 2, 2], [0, "m", 3, 1]], [[1, "p", 4, 0], [2, "p", 3, 0], [3, "p", 2, 0], [4, "p", 1, 0], [6, "m", 1, 0], [7, "m", 2, 0], [8, "m", 3, 0], [9, "m", 4, 0], [1, "p", 0, 6], [2, "p", 0, 7], [3, "p", 0, 8], [4, "p", 0, 9], [6, "m", 0, 1], [7, "m", 0, 2], [8, "m", 0, 3], [9, "m", 0, 4], [0, "p", 1, 6], [0, "p", 2, 7], [0, "p", 3, 8], [0, "p", 4, 9], [0, "m", 1, 4], [0, "m", 2, 3], [0, "m", 3, 2], [0, "m", 4, 1]], [[1, "p", 5, 0], [2, "p", 4, 0], [3, "p", 3, 0], [4, "p", 2, 0], [5, "p", 1, 0], [7, "m", 1, 0], [8, "m", 2, 0], [9, "m", 3, 0], [1, "p", 0, 7], [2, "p", 0, 8], [3, "p", 0, 9], [7, "m", 0, 1], [8, "m", 0, 2], [9, "m", 0, 3], [0, "p", 1, 7], [0, "p", 2, 8], [0, "p", 3, 9], [0, "m", 1, 5], [0, "m", 2, 4], [0, "m", 3, 3], [0, "m", 4, 2], [0, "m", 5, 1]], [[1, "p", 6, 0], [2, "p", 5, 0], [3, "p", 4, 0], [4, "p", 3, 0], [5, "p", 2, 0], [6, "p", 1, 0], [8, "m", 1, 0], [9, "m", 2, 0], [1, "p", 0, 8], [2, "p", 0, 9], [8, "m", 0, 1], [9, "m", 0, 2], [0, "p", 1, 8], [0, "p", 2, 9], [0, "m", 1, 6], [0, "m", 2, 5], [0, "m", 3, 4], [0, "m", 4, 3], [0, "m", 5, 2], [0, "m", 6, 1]], [[1, "p", 7, 0], [2, "p", 6, 0], [3, "p", 5, 0], [4, "p", 4, 0], [5, "p", 3, 0], [6, "p", 2, 0], [7, "p", 1, 0], [9, "m", 1, 0], [1, "p", 0, 9], [9, "m", 0, 1], [0, "p", 1, 9], [0, "m", 1, 7], [0, "m", 2, 6], [0, "m", 3, 5], [0, "m", 4, 4], [0, "m", 5, 3], [0, "m", 6, 2], [0, "m", 7, 1]], [[1, "p", 8, 0], [2, "p", 7, 0], [3, "p", 6, 0], [4, "p", 5, 0], [5, "p", 4, 0], [6, "p", 3, 0], [7, "p", 2, 0], [8, "p", 1, 0], [0, "m", 1, 8], [0, "m", 2, 7], [0, "m", 3, 6], [0, "m", 4, 5], [0, "m", 5, 4], [0, "m", 6, 3], [0, "m", 7, 2], [0, "m", 8, 1]]];
var _local4 = [[[2, "p", 0, "p", 5, 8], [0, "p", 4, "p", 4, 9], [4, "p", 0, "p", 2, 7], [0, "p", 3, "p", 2, 6], [2, "p", 0, "p", 2, 5], [5, "m", 0, "m", 2, 2], [7, "m", 0, "m", 3, 3], [7, "m", 2, "m", 4, 0], [9, "m", 3, "m", 0, 5], [8, "m", 0, "m", 4, 3], [6, "p", 0, "m", 2, 5], [9, "m", 3, "p", 0, 7]], [[3, "p", 1, "p", 0, 6], [0, "p", 4, "p", 1, 7], [5, "p", 1, "p", 0, 8], [0, "p", 3, "p", 4, 9], [3, "p", 0, "p", 2, 7], [7, "m", 4, "m", 1, 0], [9, "m", 0, "m", 4, 3], [8, "m", 5, "m", 0, 1], [9, "m", 1, "m", 0, 6], [9, "m", 0, "m", 5, 2], [6, "p", 3, "m", 0, 7], [7, "m", 0, "p", 1, 6]], [[1, "p", 2, "p", 0, 6], [0, "p", 1, "p", 4, 8], [1, "p", 0, "p", 1, 5], [2, "p", 2, "p", 0, 7], [0, "p", 5, "p", 1, 9], [9, "m", 0, "m", 4, 2], [8, "m", 4, "m", 1, 0], [0, "m", 1, "m", 1, 1], [8, "m", 1, "m", 0, 4], [7, "m", 0, "m", 1, 3], [0, "p", 6, "m", 2, 7], [6, "m", 0, "p", 2, 5]], [[0, "p", 1, "p", 1, 6], [2, "p", 0, "p", 1, 7], [0, "p", 3, "p", 1, 8], [3, "p", 2, "p", 0, 9], [3, "p", 0, "p", 1, 8], [7, "m", 2, "m", 1, 0], [7, "m", 1, "m", 0, 2], [8, "m", 0, "m", 1, 3], [0, "m", 1, "m", 1, 2], [6, "m", 0, "m", 1, 1], [0, "p", 5, "m", 2, 7], [8, "m", 0, "p", 5, 9]], [[2, "p", 2, "p", 1, 0], [0, "p", 1, "p", 2, 8], [3, "p", 0, "p", 1, 9], [1, "p", 1, "p", 0, 7], [0, "p", 2, "p", 2, 9], [0, "m", 2, "m", 1, 2], [8, "m", 0, "m", 2, 1], [8, "m", 2, "m", 1, 0], [9, "m", 1, "m", 0, 3], [8, "m", 0, "m", 2, 1], [0, "p", 4, "m", 1, 8], [8, "m", 0, "p", 3, 6]], [[2, "p", 3, "p", 1, 0], [2, "p", 1, "p", 0, 9], [0, "p", 2, "p", 1, 9], [1, "p", 0, "p", 1, 8], [1, "p", 2, "p", 0, 9], [9, "m", 2, "m", 1, 0], [9, "m", 0, "m", 1, 2], [0, "m", 2, "m", 3, 1], [9, "m", 2, "m", 0, 1], [0, "m", 3, "m", 1, 2], [2, "p", 0, "m", 4, 4], [7, "m", 4, "p", 0, 9]], [[2, "p", 4, "p", 1, 0], [1, "p", 0, "p", 1, 9], [3, "p", 2, "p", 2, 0], [1, "p", 3, "p", 3, 0], [1, "p", 1, "p", 5, 0], [0, "m", 2, "m", 3, 2], [0, "m", 2, "m", 1, 4], [9, "m", 1, "m", 0, 1], [9, "m", 1, "m", 1, 0], [9, "m", 0, "m", 1, 1], [0, "p", 2, "m", 4, 5], [9, "m", 0, "p", 4, 6]], [[3, "p", 1, "p", 4, 0], [4, "p", 1, "p", 3, 0], [2, "p", 1, "p", 5, 0], [5, "p", 2, "p", 1, 0], [1, "p", 4, "p", 3, 0], [0, "m", 3, "m", 1, 4], [0, "m", 4, "m", 3, 1], [0, "m", 2, "m", 3, 3], [0, "m", 3, "m", 3, 2], [0, "m", 2, "m", 1, 5], [9, "m", 0, "p", 6, 7], [3, "p", 6, "m", 0, 1]], [[2, "p", 2, "p", 5, 0], [3, "p", 3, "p", 3, 0], [5, "p", 3, "p", 1, 0], [2, "p", 3, "p", 4, 0], [1, "p", 7, "p", 1, 0], [0, "m", 5, "m", 2, 2], [0, "m", 2, "m", 4, 3], [0, "m", 4, "m", 1, 4], [0, "m", 1, "m", 3, 5], [0, "m", 5, "m", 3, 1], [0, "m", 7, "p", 3, 5], [0, "m", 7, "p", 1, 3]]];
AnsDiceNum = randomInt(9);
if (FormLength == 3) {
var _local2 = _local4[AnsDiceNum - 1];
AnsForm = _local2[randomInt(_local2.length) - 1];
} else {
var _local2 = _local3[AnsDiceNum - 1];
AnsForm = _local2[randomInt(_local2.length) - 1];
}
QBtnListInit();
this.gotoAndPlay("Form_" + FormLength);
}
function LevelSet() {
BtnsKind = _parent.BtnsKind;
RevFormFlg = _parent.RevFormFlg;
QLevel = _parent.QLevel;
if (RevFormFlg == true) {
RevFormBool = randomInt(2) - 1;
} else {
RevFormBool = 0;
}
if (QLevel >= 3) {
FormLength = 3;
} else {
FormLength = 2;
}
}
function QBtnListInit() {
BtnDiceList = [];
var _local2 = MakeArray(9);
BtnDiceList.push(AnsDiceNum);
_local2.splice(AnsDiceNum - 1, 1);
var _local1 = ArrayShuffle(_local2);
trace("SflBaseList:" + _local1);
i = 1;
while (i <= (BtnsKind - 1)) {
BtnDiceList.push(_local1.shift());
i++;
}
BtnNumList = ArrayShuffle(BtnDiceList);
trace("BtnNumList:" + BtnNumList);
}
function TimeUpMe() {
BtnsMC.TimeUpMe();
}
function CloseMe() {
this.gotoAndPlay("Close");
}
function AnsDDispIn() {
i = 1;
while (i <= 3) {
eval ("this.QDice_" + i).AnsDispIn();
i++;
}
}
function AnsDDispOut() {
AnsD.DispOut();
}
function MakeArray(LengthP) {
var _local1 = [];
i = 1;
while (i <= LengthP) {
_local1.push(i);
i++;
}
return(_local1);
}
function NaturalSort(a, b) {
if (a < b) {
return(-1);
}
if (a > b) {
return(1);
}
return(0);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
QInit();
Instance of Symbol 688 MovieClip "QDice_1" in Symbol 726 MovieClip Frame 2
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[0];
} else {
SetMyNum = _parent.AnsForm[3];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Instance of Symbol 695 MovieClip in Symbol 726 MovieClip Frame 3
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[1];
} else {
SetMyNum = "eq";
}
if (SetMyNum == "p") {
this.gotoAndStop(1);
} else if (SetMyNum == "m") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 688 MovieClip "QDice_2" in Symbol 726 MovieClip Frame 4
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[2];
} else {
SetMyNum = _parent.AnsForm[0];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Instance of Symbol 695 MovieClip in Symbol 726 MovieClip Frame 5
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = "eq";
} else {
SetMyNum = _parent.AnsForm[1];
}
if (SetMyNum == "p") {
this.gotoAndStop(1);
} else if (SetMyNum == "m") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 688 MovieClip "QDice_3" in Symbol 726 MovieClip Frame 6
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[3];
} else {
SetMyNum = _parent.AnsForm[2];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Symbol 726 MovieClip Frame 9
this.stop();
Instance of Symbol 688 MovieClip "QDice_1" in Symbol 726 MovieClip Frame 12
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[0];
} else {
SetMyNum = _parent.AnsForm[1];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Instance of Symbol 695 MovieClip in Symbol 726 MovieClip Frame 13
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[1];
} else {
SetMyNum = "eq";
}
if (SetMyNum == "p") {
this.gotoAndStop(1);
} else if (SetMyNum == "m") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 688 MovieClip "QDice_2" in Symbol 726 MovieClip Frame 14
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[2];
} else {
SetMyNum = _parent.AnsForm[3];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Instance of Symbol 695 MovieClip in Symbol 726 MovieClip Frame 15
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[3];
} else {
SetMyNum = _parent.AnsForm[4];
}
if (SetMyNum == "p") {
this.gotoAndStop(1);
} else if (SetMyNum == "m") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 688 MovieClip "QDice_3" in Symbol 726 MovieClip Frame 16
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[4];
} else {
SetMyNum = _parent.AnsForm[5];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Instance of Symbol 695 MovieClip in Symbol 726 MovieClip Frame 17
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = "eq";
} else {
SetMyNum = _parent.AnsForm[3];
}
if (SetMyNum == "p") {
this.gotoAndStop(1);
} else if (SetMyNum == "m") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 688 MovieClip "QDice_4" in Symbol 726 MovieClip Frame 18
onClipEvent (load) {
if (_parent.RevFormBool == 0) {
SetMyNum = _parent.AnsForm[5];
} else {
SetMyNum = _parent.AnsForm[0];
}
}
onClipEvent (enterFrame) {
if (_xscale > DefScale) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
}
Symbol 726 MovieClip Frame 20
this.stop();
Symbol 726 MovieClip Frame 23
this.stop();
Symbol 727 MovieClip Frame 1
function InitMe() {
SetQNum = 0;
PushAnsNum = 0;
OKNum = 0;
MissNum = 0;
TimeUpNum = 0;
TotalTime = 0;
Score = 0;
}
function QANumSet(SetPType) {
switch (SetPType) {
case "OK" :
PushAnsNum++;
OKNum++;
_parent.QCountGage.MarkIn(SetQNum, SetPType);
Score = Score + AddScoreP;
trace("NowTotalScore:" + Score);
break;
case "Miss" :
PushAnsNum++;
MissNum++;
_parent.QCountGage.MarkIn(SetQNum, SetPType);
break;
case "Timeout" :
MissNum++;
_parent.QCountGage.MarkIn(SetQNum, "Miss");
break;
case "QSet" :
SetQNum++;
}
}
function NewQSet() {
QANumSet("QSet");
OKSign.DispOut();
if (SetQNum >= 16) {
BtnsKind = 6;
RevFormFlg = false;
QLevel = 3;
} else if (SetQNum >= 11) {
BtnsKind = 5;
RevFormFlg = true;
QLevel = 2;
} else if (SetQNum >= 6) {
BtnsKind = 4;
RevFormFlg = false;
QLevel = 1;
} else {
BtnsKind = 3;
RevFormFlg = false;
QLevel = 1;
}
}
function GameSet() {
this.gotoAndPlay("GameSet");
_parent.GameSetScript(Score, OKNum, MissNum, TimeUpNum, TotalTime);
}
function CursorSet(CursorP) {
this.CursorMC.LocSet(CursorP);
}
function AnsCheck(CheckP) {
_parent.TimeCounter.AnswerCntStop();
if (CheckP == 0) {
AnswerCheckP = "Timeout";
OKSign.DispIn(AnswerCheckP);
QANumSet("Miss");
} else if (CheckP == 1) {
AnswerCheckP = true;
OKSign.DispIn(AnswerCheckP);
QANumSet("OK");
} else {
AnswerCheckP = false;
OKSign.DispIn(AnswerCheckP);
QANumSet("Miss");
}
Q_13Panels.AnsDDispIn();
this.gotoAndPlay("AnswerCheck");
}
function TimeRtn(RtnTimeP) {
GetTimeP = Math.round((RtnTimeP / 24) * 10);
TotalTime = TotalTime + (50 - GetTimeP);
TimeBaseP = Math.floor(GetTimeP / 10) + 1;
if (TimeBaseP >= 5) {
TimeBaseP = 5;
}
AddScoreP = (QLevel * 100) * TimeBaseP;
trace((("RtnTimeP:" + GetTimeP) + "/TimeBaseP:") + TimeBaseP);
}
function TimeUpMe() {
AnsCheck(0);
Q_13Panels.TimeUpMe();
}
function ResultIn() {
}
function G13TimeOut() {
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
InitMe();
Symbol 727 MovieClip Frame 4
NewQSet();
Symbol 727 MovieClip Frame 8
_parent.TimeCounter.CountStart();
Symbol 727 MovieClip Frame 9
this.stop();
Instance of Symbol 627 MovieClip "OKText" in Symbol 727 MovieClip Frame 10
onClipEvent (load) {
function DispIn(FrameName, GetScoreLv) {
if (GetScoreLv == 5) {
var _local2 = 3;
} else if (GetScoreLv >= 3) {
var _local2 = 2;
} else {
var _local2 = 1;
}
switch (FrameName) {
case true :
this.gotoAndPlay("Disp_OK_" + _local2);
break;
case false :
this.gotoAndPlay("Disp_Miss");
}
}
if (_parent.AnswerCheckP == "Timeout") {
this.gotoAndPlay("Disp_Timeout");
} else {
this.gotoAndStop("Empty");
}
}
Symbol 727 MovieClip Frame 15
if (AnswerCheckP == true) {
OKText.DispIn(true, TimeBaseP);
} else if (AnswerCheckP == false) {
OKText.DispIn(false);
}
Symbol 727 MovieClip Frame 40
Q_13Panels.CloseMe();
Symbol 727 MovieClip Frame 43
_parent.TimeCounter.ResetMe();
_parent.CharaMC.ResetMe();
if (SetQNum >= 20) {
TimeCounter.CountStop();
ResultIn();
GameSet("Clear");
} else {
this.gotoAndPlay("G_13");
}
Symbol 727 MovieClip Frame 50
this.stop();
Symbol 798 MovieClip Frame 1
function InitMe() {
_alpha = 100;
_rotation = (randomInt(120) - 60);
MyNumber = Number(_name.slice(4));
MySymCode = _parent.AllSymList[MyNumber - 1];
MySymP = MySymCode + ((_parent._parent._parent.SymsSet - 1) * 100);
MyMoveFlg = _parent._parent._parent.SymMoveFlg;
if (MySymCode == _parent.AnsNum) {
TAnsFlg = true;
} else {
TAnsFlg = false;
}
StageBounds = _parent.MovableStage.getBounds(_parent);
theBounds = this.getBounds(this);
xMin = StageBounds.xMin - theBounds.xMin;
xMax = StageBounds.xMax - theBounds.xMax;
yMin = StageBounds.yMin - theBounds.yMin;
yMax = StageBounds.yMax - theBounds.yMax;
xDir = MovePRndSet();
xMoveP = randomInt(3);
yDir = MovePRndSet();
yMoveP = randomInt(3);
}
function TrueAnsDisp() {
if (TAnsFlg == false) {
_alpha = 20;
}
}
function HMove() {
var _local1 = _x + (xMoveP * xDir);
if (_local1 < xMin) {
_local1 = xMin;
xDir = xDir * -1;
} else if (_local1 > xMax) {
_local1 = xMax;
xDir = xDir * -1;
}
_x = _local1;
}
function VMove() {
var _local1 = _y + (yMoveP * yDir);
if (_local1 < yMin) {
_local1 = yMin;
yDir = yDir * -1;
} else if (_local1 > yMax) {
_local1 = yMax;
yDir = yDir * -1;
}
_y = _local1;
}
function MovePRndSet() {
var _local1 = randomInt(2);
if (_local1 >= 2) {
var _local2 = -1;
} else {
var _local2 = 1;
}
return(_local2);
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
InitMe();
this.onEnterFrame = function () {
if (MyMoveFlg == true) {
HMove();
VMove();
}
};
this.gotoAndStop("S_" + MySymP);
Symbol 798 MovieClip Frame 2
this.stop();
Symbol 798 MovieClip Frame 22
this.stop();
Symbol 799 MovieClip Frame 1
function InitMe() {
QLevelP = _parent._parent.QLvP;
SymsP = _parent._parent.LvSymsP;
DummyP = _parent._parent.DummyP;
SetSymbols();
var _local3 = randomInt(6);
this.gotoAndStop((("L_" + SymsP) + "_") + _local3);
}
function SetSymbols() {
var _local7 = [1, 2, 3, 4];
var _local5 = ArrayShuffle(_local7);
AllKindPtnList = [[3, 2, 2, 2], [4, 3, 3, 2], [5, 4, 4, 3], [6, 5, 5, 4], [7, 6, 6, 5]];
var _local6 = AllKindPtnList[QLevelP - 1];
AnsNum = _local5[0];
_parent.SendAnsCode(AnsNum);
var _local2 = [];
i = 0;
while (i <= (_local6.length - 1)) {
var _local3 = _local6[i];
n = 1;
while (n <= _local3) {
_local2.push(_local5[i]);
n++;
}
i++;
}
if (DummyP >= 1) {
i = 0;
while (i <= (DummyP - 1)) {
var _local4 = _local6[0] + i;
_local2[_local4 + i] = (_local2[_local4] * 10) + _local5[2];
i++;
}
}
AllSymList = ArrayShuffle(_local2);
}
function TrueAnsDisp() {
i = 1;
while (i <= SymsP) {
eval ("Sym_" + i).TrueAnsDisp();
i++;
}
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
InitMe();
Symbol 799 MovieClip Frame 2
this.stop();
Symbol 800 MovieClip Frame 1
function InitMe() {
MyNumber = Number(_name.slice(4));
MyCode = _parent.BtnList[MyNumber - 1];
DefScale = _xscale;
OverScale = DefScale * 1.1;
this.gotoAndStop((MyCode + ((_parent._parent.SymsSet - 1) * 4)) + 1);
}
function SendMyNum() {
_parent.AnsCheck(MyCode);
}
function MouseOver() {
_xscale = OverScale;
_yscale = OverScale;
}
function MouseOut() {
_xscale = DefScale;
_yscale = DefScale;
}
InitMe();
Symbol 800 MovieClip Frame 2
this.stop();
Symbol 800 MovieClip Frame 6
this.stop();
Symbol 801 Button
on (press) {
Btn_1.SendMyNum();
}
on (rollOver) {
BtnRollOver(1);
}
on (rollOut) {
BtnRollOut(1);
}
Symbol 802 Button
on (press) {
Btn_2.SendMyNum();
}
on (rollOver) {
BtnRollOver(2);
}
on (rollOut) {
BtnRollOut(2);
}
Symbol 803 Button
on (press) {
Btn_3.SendMyNum();
}
on (rollOver) {
BtnRollOver(3);
}
on (rollOut) {
BtnRollOut(3);
}
Symbol 804 Button
on (press) {
Btn_4.SendMyNum();
}
on (rollOver) {
BtnRollOver(4);
}
on (rollOut) {
BtnRollOut(4);
}
Symbol 805 MovieClip Frame 1
function InitMe() {
var _local1 = [1, 2, 3, 4];
BtnList = ArrayShuffle(_local1);
}
function SendAnsCode(AnsCode) {
AnsNum = AnsCode;
}
function AnsCheck(AnsCode) {
_root.SndBtn.BtnPushSnd.start(0, 0);
if (AnsNum == AnsCode) {
_parent.AnsCheck(1);
} else {
_parent.AnsCheck(-1);
}
this.gotoAndStop(_currentframe + 1);
}
function TimeUpMe() {
this.gotoAndStop("End");
}
function BtnRollOver(BtnNum) {
_root.SndBtn.BtnRollSnd.start(0, 0);
eval ("this.Btn_" + BtnNum).MouseOver();
}
function BtnRollOut(BtnNum) {
eval ("this.Btn_" + BtnNum).MouseOut();
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
InitMe();
Symbol 805 MovieClip Frame 4
this.stop();
Symbol 805 MovieClip Frame 5
SymsDisp.TrueAnsDisp();
this.stop();
Symbol 806 MovieClip Frame 1
function InitMe() {
SetQNum = 0;
PushAnsNum = 0;
OKNum = 0;
MissNum = 0;
TimeUpNum = 0;
TotalTime = 0;
Score = 0;
QLvP = 1;
LvSymsP = 9;
DummyFlg = true;
SymMoveFlg = false;
}
function QANumSet(SetPType) {
switch (SetPType) {
case "OK" :
PushAnsNum++;
OKNum++;
_parent.QCountGage.MarkIn(SetQNum, SetPType);
Score = Score + AddScoreP;
trace("NowTotalScore:" + Score);
break;
case "Miss" :
PushAnsNum++;
MissNum++;
_parent.QCountGage.MarkIn(SetQNum, SetPType);
break;
case "Timeout" :
MissNum++;
_parent.QCountGage.MarkIn(SetQNum, "Miss");
break;
case "QSet" :
SetQNum++;
}
}
function GameSet() {
this.gotoAndPlay("GameSet");
_parent.GameSetScript(Score, OKNum, MissNum, TimeUpNum, TotalTime);
}
function NewQSet() {
QANumSet("QSet");
LevelSet();
OKSign.DispOut();
}
function LevelSet() {
if (SetQNum >= 18) {
QLvP = 5;
LvSymsP = 24;
DummyP = 2;
SymsSet = 2;
SymMoveFlg = true;
QLevel = 3;
} else if (SetQNum >= 16) {
QLvP = 4;
LvSymsP = 20;
DummyP = 1;
SymsSet = 2;
SymMoveFlg = true;
QLevel = 3;
} else if (SetQNum >= 14) {
QLvP = 3;
LvSymsP = 16;
DummyP = 1;
SymsSet = 2;
SymMoveFlg = true;
QLevel = 2;
} else if (SetQNum >= 11) {
QLvP = 2;
LvSymsP = 12;
DummyP = 0;
SymsSet = 2;
SymMoveFlg = true;
QLevel = 2;
} else if (SetQNum >= 7) {
QLvP = 3;
LvSymsP = 16;
DummyP = 0;
SymsSet = 1;
SymMoveFlg = false;
QLevel = 1;
} else if (SetQNum >= 4) {
QLvP = 2;
LvSymsP = 12;
DummyP = 0;
SymsSet = 1;
SymMoveFlg = false;
QLevel = 1;
} else {
QLvP = 1;
LvSymsP = 9;
DummyP = 0;
SymsSet = 1;
SymMoveFlg = false;
QLevel = 1;
}
}
function AnsCheck(AnsCode) {
_parent.TimeCounter.AnswerCntStop();
if (AnsCode == 0) {
AnswerCheckP = "Timeout";
QANumSet(AnswerCheckP);
} else if (AnsCode == 1) {
AnswerCheckP = true;
QANumSet("OK");
} else {
AnswerCheckP = false;
QANumSet("Miss");
}
this.gotoAndPlay("AnswerCheck");
}
function TimeRtn(RtnTimeP) {
GetTimeP = Math.round((RtnTimeP / 24) * 10);
TotalTime = TotalTime + (50 - GetTimeP);
TimeBaseP = Math.floor(GetTimeP / 10) + 1;
if (TimeBaseP >= 5) {
TimeBaseP = 5;
}
AddScoreP = (QLevel * 100) * TimeBaseP;
trace((("RtnTimeP:" + GetTimeP) + "/TimeBaseP:") + TimeBaseP);
}
function TimeUpMe() {
AnsCheck(0);
QMain.TimeUpMe();
}
function GoNext() {
switch (AnswerCheckP) {
case "Timeout" :
QANumSet("Timeout");
break;
case true :
OKSign.DispIn(AnswerCheckP);
QANumSet("OK");
break;
case false :
OKSign.DispIn(AnswerCheckP);
QANumSet("Miss");
}
this.gotoAndPlay(_currentframe + 1);
}
function ResultIn() {
}
function G18TimeOut() {
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function ArrayShuffle(targetList) {
var _local3 = [];
var _local1 = targetList.concat();
while (_local1.length > 0) {
var _local2 = randomInt(_local1.length);
_local3.push(_local1[_local2 - 1]);
_local1.splice(_local2 - 1, 1);
}
return(_local3);
}
InitMe();
Symbol 806 MovieClip Frame 4
NewQSet();
Symbol 806 MovieClip Frame 9
_parent.TimeCounter.CountStart();
Symbol 806 MovieClip Frame 10
this.stop();
Instance of Symbol 627 MovieClip "OKText" in Symbol 806 MovieClip Frame 11
onClipEvent (load) {
function DispIn(FrameName, GetScoreLv) {
if (GetScoreLv == 5) {
var _local2 = 3;
} else if (GetScoreLv >= 3) {
var _local2 = 2;
} else {
var _local2 = 1;
}
switch (FrameName) {
case true :
this.gotoAndPlay("Disp_OK_" + _local2);
break;
case false :
this.gotoAndPlay("Disp_Miss");
}
}
if (_parent.AnswerCheckP == "Timeout") {
this.gotoAndPlay("Disp_Timeout");
} else {
this.gotoAndStop("Empty");
}
}
Symbol 806 MovieClip Frame 14
if (AnswerCheckP == true) {
OKText.DispIn(true, TimeBaseP);
} else if (AnswerCheckP == false) {
OKText.DispIn(false);
}
Symbol 806 MovieClip Frame 43
_parent.TimeCounter.ResetMe();
_parent.CharaMC.ResetMe();
if (SetQNum >= 20) {
ResultIn();
GameSet("Clear");
} else {
this.gotoAndPlay("QSet");
}
Symbol 806 MovieClip Frame 49
this.stop();
Symbol 807 MovieClip Frame 1
function InitMe() {
GameTypeNum = _root.GameTypeNum;
BaseScore = 0;
ResScore = 0;
ResTAnsP = 0;
ResFAnsP = 0;
ResTimeUpP = 0;
ResTimeAvg = 0;
BonusScore = 0;
ResRank = 0;
RoundNum = _root.GameTypeRec.length + 1;
}
function ResetMe() {
InitMe();
this.gotoAndPlay("Init");
}
function GameSetScript(AddScore, AddTAnsP, AddFAnsP, AddTimeUpP, TotalTime) {
if (AddTAnsP >= 20) {
BonusScore = 2500;
}
BaseScore = AddScore;
ResScore = BaseScore + BonusScore;
ResRank = SetRank(ResScore);
ResTAnsP = AddTAnsP;
ResFAnsP = AddFAnsP;
ResTimeUpP = AddTimeUpP;
ResTimeAvg = Math.round((TotalTime / 200) * 10);
_root.ScoresRecord(BaseScore, BonusScore, ResTAnsP, ResFAnsP, ResTimeUpP, ResTimeAvg, ResRank);
this.gotoAndPlay(("G_" + GameTypeNum) + "End");
}
function SetRank(GetScore) {
if (GetScore >= 15001) {
SendRankP = 4;
} else if (GetScore >= 12001) {
SendRankP = 3;
} else if (GetScore >= 8001) {
SendRankP = 2;
} else {
SendRankP = 1;
}
return(SendRankP);
}
function ResultInScript() {
_root.GoAtResult();
this.stop();
}
function ResultStageIn() {
this.gotoAndPlay("Result");
}
function GoNextScript() {
var _local2 = _root.GameTypeRec.length;
if (_local2 < 3) {
_root.ReturnSelect();
} else {
_root.GoResult();
}
}
InitMe();
this.gotoAndPlay("G_" + GameTypeNum);
Symbol 807 MovieClip Frame 2
Instance of Symbol 445 MovieClip "QCountGage" in Symbol 807 MovieClip Frame 4
onClipEvent (load) {
function MarkIn(MarkNum, MarkType) {
eval ("Sign_" + MarkNum).DispIn(MarkType);
}
}
Instance of Symbol 465 MovieClip in Symbol 807 MovieClip Frame 4
onClipEvent (load) {
MyNumber = 1;
}
Symbol 807 MovieClip Frame 10
_root.SndBtn.Game1BGM.start(0, 999999);
Symbol 807 MovieClip Frame 15
this.stop();
Symbol 807 MovieClip Frame 16
_root.SndBtn.Game1BGM.stop("Game1BGM");
Symbol 807 MovieClip Frame 31
ResultInScript();
Instance of Symbol 445 MovieClip "QCountGage" in Symbol 807 MovieClip Frame 32
onClipEvent (load) {
function MarkIn(MarkNum, MarkType) {
eval ("Sign_" + MarkNum).DispIn(MarkType);
}
}
Instance of Symbol 465 MovieClip in Symbol 807 MovieClip Frame 32
onClipEvent (load) {
MyNumber = 2;
}
Symbol 807 MovieClip Frame 38
_root.SndBtn.Game2BGM.start(0, 999999);
Symbol 807 MovieClip Frame 43
this.stop();
Symbol 807 MovieClip Frame 44
_root.SndBtn.Game2BGM.stop("Game2BGM");
Symbol 807 MovieClip Frame 59
ResultInScript();
Instance of Symbol 445 MovieClip "QCountGage" in Symbol 807 MovieClip Frame 60
onClipEvent (load) {
function MarkIn(MarkNum, MarkType) {
eval ("Sign_" + MarkNum).DispIn(MarkType);
}
}
Instance of Symbol 465 MovieClip in Symbol 807 MovieClip Frame 60
onClipEvent (load) {
MyNumber = 3;
}
Symbol 807 MovieClip Frame 66
_root.SndBtn.Game3BGM.start(0, 999999);
Symbol 807 MovieClip Frame 71
this.stop();
Symbol 807 MovieClip Frame 72
_root.SndBtn.Game3BGM.stop("Game3BGM");
Symbol 807 MovieClip Frame 87
ResultInScript();
Symbol 827 MovieClip Frame 1
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 5) {
if (ScoreLength < i) {
eval ("Number_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Number_" + i).DispIn(SetP);
}
i++;
}
}
Symbol 828 MovieClip Frame 1
function AnimStop() {
this.gotoAndStop("Stop");
}
function BonusAdd() {
_root.SndBtn.AddScoreSnd.start(0, 999);
BonusAddScore = MyDispSetP + 2500;
this.gotoAndPlay("AddBonus");
}
Symbol 828 MovieClip Frame 2
ScoreDisp.DispIn(MyDispSetP);
Symbol 828 MovieClip Frame 6
this.gotoAndPlay("Loop");
Symbol 828 MovieClip Frame 7
this.stop();
Symbol 828 MovieClip Frame 10
NewScore = MyDispSetP;
if (NewScore >= BonusAddScore) {
ScoreDisp.DispIn(BonusAddScore);
_root.SndBtn.AddScoreSnd.stop("AddScoreSnd");
_parent.gotoAndPlay("AddEnd");
this.gotoAndStop("Stop");
} else {
MyDispSetP = MyDispSetP + 100;
ScoreDisp.DispIn(MyDispSetP);
this.gotoAndPlay(_currentframe - 1);
}
Symbol 836 MovieClip Frame 1
function DispIn(SetScore) {
var ScoreLength = String(SetScore).length;
i = 1;
while (i <= 2) {
if (ScoreLength < i) {
eval ("Number_" + i).DispOut();
} else {
var SetP = Number(String(SetScore).substr(-i, 1));
eval ("Number_" + i).DispIn(SetP);
}
i++;
}
}
Symbol 837 MovieClip Frame 1
function AnimStop() {
this.gotoAndStop("Stop");
}
Symbol 837 MovieClip Frame 2
AnsPDisp.DispIn(MyDispSetP);
Symbol 837 MovieClip Frame 6
this.gotoAndPlay("Loop");
Symbol 837 MovieClip Frame 7
this.stop();
Symbol 841 MovieClip Frame 15
this.stop();
Symbol 842 MovieClip Frame 2
function AnimStop() {
if (BonusScore != 0) {
this.gotoAndPlay("Stop");
} else {
this.gotoAndStop("Empty");
}
}
BonusScore = Number(_parent.BonusScore);
MyDispSetP = BonusScore;
ScoreDisp.DispIn(MyDispSetP);
if (BonusScore != 0) {
} else {
this.gotoAndStop("Empty");
}
Symbol 842 MovieClip Frame 7
this.gotoAndPlay("Loop");
Symbol 842 MovieClip Frame 8
_root.SndBtn.ValuePerfectSnd.start(0, 0);
Symbol 842 MovieClip Frame 24
_parent.ScoreDisp.BonusAdd();
Symbol 842 MovieClip Frame 27
NewScore = MyDispSetP;
if (NewScore <= 0) {
ScoreDisp.DispIn(0);
this.gotoAndStop("Finish");
} else {
MyDispSetP = MyDispSetP - 100;
ScoreDisp.DispIn(MyDispSetP);
this.gotoAndPlay(_currentframe - 1);
}
Symbol 842 MovieClip Frame 28
this.stop();
Symbol 842 MovieClip Frame 29
this.stop();
Symbol 849 MovieClip Frame 11
this.stop();
Symbol 856 MovieClip Frame 1
function InitMe() {
BaseScore = _root.gLastScore;
BonusScore = _root.gLastBonus;
TrueAnsP = _root.gLastTAnsP;
RankNum = _root.gLastRank;
}
InitMe();
_parent.stop();
_root.SndBtn.DrumRollSnd.start(0, 999999);
Instance of Symbol 828 MovieClip "ScoreDisp" in Symbol 856 MovieClip Frame 2
onClipEvent (load) {
MyDispSetP = _parent.BaseScore;
}
Instance of Symbol 837 MovieClip "TAnsDisp" in Symbol 856 MovieClip Frame 7
onClipEvent (load) {
MyDispSetP = _parent.TrueAnsP;
}
Symbol 856 MovieClip Frame 18
ScoreDisp.AnimStop();
Symbol 856 MovieClip Frame 23
TAnsDisp.AnimStop();
Symbol 856 MovieClip Frame 28
BonusDisp.AnimStop();
if (BonusScore != 0) {
this.stop();
}
Symbol 856 MovieClip Frame 39
_root.SndBtn.DrumRollSnd.stop("DrumRollSnd");
_root.SndBtn.DrumFinishSnd.start(0, 0);
this.gotoAndPlay("Rank_" + RankNum);
Symbol 856 MovieClip Frame 52
_root.SndBtn.ValueBGM.start(0, 999999);
_parent.play();
this.stop();
Symbol 856 MovieClip Frame 55
_root.SndBtn.ValueBGM.start(0, 999999);
_parent.play();
this.stop();
Symbol 856 MovieClip Frame 58
_root.SndBtn.ValueBGM.start(0, 999999);
_parent.play();
this.stop();
Symbol 856 MovieClip Frame 61
_root.SndBtn.ValueBGM.start(0, 999999);
_parent.play();
this.stop();
Symbol 864 Button
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
SelectMe();
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Symbol 871 Button
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
SelectMe();
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Symbol 878 Button
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
SelectMe();
}
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
Symbol 879 MovieClip Frame 1
function InitMe() {
if (_root.GamePlayRec[MyNumber - 1] == 1) {
this.gotoAndStop(("G_" + MyNumber) + "_OFF");
} else {
this.gotoAndStop(("G_" + MyNumber) + "_ON");
}
}
function SelectMe() {
_root.GameSelect(MyNumber);
}
InitMe();
Symbol 879 MovieClip Frame 3
this.stop();
Symbol 886 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
_parent.GoAllResultScript();
}
Symbol 887 MovieClip Frame 1
function InitMe() {
if (_root.GameTypeRec.length >= 3) {
this.gotoAndStop("ON");
} else {
this.gotoAndStop("OFF");
}
}
function GoAllResultScript() {
_root.GoAllResultScript();
}
InitMe();
Symbol 887 MovieClip Frame 2
this.stop();
Symbol 904 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.BtnPushSnd.start(0, 0);
_root.BackTitle();
}
Symbol 905 MovieClip Frame 1
function InitMe() {
if (_root.GameTypeRec.length <= 2) {
this.gotoAndStop("ON");
} else {
this.gotoAndStop("OFF");
}
}
InitMe();
Symbol 905 MovieClip Frame 2
this.stop();
Symbol 909 MovieClip Frame 1
function AnimStop() {
this.gotoAndStop("Stop");
}
Symbol 909 MovieClip Frame 2
AnsPDisp.DispIn(MyDispSetP);
Symbol 909 MovieClip Frame 6
this.gotoAndPlay("Loop");
Symbol 909 MovieClip Frame 7
this.stop();
Symbol 915 MovieClip Frame 2
if (_parent.RankNum >= 4) {
this.gotoAndPlay("RankS");
} else {
this.gotoAndPlay("RankABC");
}
Symbol 915 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 1);
Symbol 915 MovieClip Frame 8
this.gotoAndPlay(_currentframe - 1);
Symbol 924 MovieClip Frame 1
this.stop();
Symbol 932 MovieClip Frame 1
function AnimStart() {
this.gotoAndPlay("AnimStart");
}
Symbol 932 MovieClip Frame 2
this.stop();
Symbol 932 MovieClip Frame 40
this.stop();
Symbol 936 MovieClip Frame 18
this.gotoAndPlay("Loop");
Symbol 937 MovieClip Frame 1
function InitMe() {
TotalScore = _root.gTotalScore;
TotalTAnsP = _root.gTotalTAnsP;
RankNum = _root.gNowRank;
}
InitMe();
_root.SndBtn.DrumRollSnd.start(0, 999999);
_parent.stop();
Instance of Symbol 828 MovieClip "ScoreDisp" in Symbol 937 MovieClip Frame 1
onClipEvent (load) {
MyDispSetP = _parent.TotalScore;
}
Instance of Symbol 909 MovieClip "TAnsDisp" in Symbol 937 MovieClip Frame 1
onClipEvent (load) {
MyDispSetP = _parent.TotalTAnsP;
}
Symbol 937 MovieClip Frame 31
ScoreDisp.AnimStop();
TAnsDisp.AnimStop();
Symbol 937 MovieClip Frame 32
_root.SndBtn.DrumRollSnd.stop("DrumRollSnd");
_root.SndBtn.DrumFinishSnd.start(0, 0);
this.gotoAndPlay("Rank_" + RankNum);
Symbol 937 MovieClip Frame 33
_root.SndBtn.Fun_RankSSnd.onSoundComplete = function () {
_root.SndBtn.ResultBGM.start(0, 999999);
_parent.play();
};
_root.SndBtn.Fun_RankSSnd.start(0, 0);
Instance of Symbol 924 MovieClip in Symbol 937 MovieClip Frame 33
onClipEvent (load) {
MyLabelP = _parent.RankNum + 1;
this.gotoAndStop(MyLabelP);
}
Symbol 937 MovieClip Frame 44
if (_root.HiscoreRenewFlg == true) {
HiscoreDisp.AnimStart();
}
Symbol 937 MovieClip Frame 45
this.stop();
Symbol 937 MovieClip Frame 46
_root.SndBtn.Fun_RankABSnd.onSoundComplete = function () {
_root.SndBtn.ResultBGM.start(0, 999999);
_parent.play();
};
_root.SndBtn.Fun_RankABSnd.start(0, 0);
Symbol 937 MovieClip Frame 49
if (_root.HiscoreRenewFlg == true) {
HiscoreDisp.AnimStart();
}
Symbol 937 MovieClip Frame 50
this.stop();
Symbol 937 MovieClip Frame 51
_root.SndBtn.Fun_RankABSnd.onSoundComplete = function () {
_root.SndBtn.ResultBGM.start(0, 999999);
_parent.play();
};
_root.SndBtn.Fun_RankABSnd.start(0, 0);
Symbol 937 MovieClip Frame 54
if (_root.HiscoreRenewFlg == true) {
HiscoreDisp.AnimStart();
}
Symbol 937 MovieClip Frame 55
this.stop();
Symbol 937 MovieClip Frame 56
_root.SndBtn.Fun_RankCSnd.onSoundComplete = function () {
_root.SndBtn.ResultBGM.start(0, 999999);
_parent.play();
};
_root.SndBtn.Fun_RankCSnd.start(0, 0);
Symbol 937 MovieClip Frame 59
if (_root.HiscoreRenewFlg == true) {
HiscoreDisp.AnimStart();
}
Symbol 937 MovieClip Frame 60
this.stop();
Symbol 939 Button
on (rollOver) {
_root.SndBtn.BtnRollSnd.start(0, 0);
}
on (release) {
_root.SndBtn.ResultBGM.stop("ResultBGM");
_root.SndBtn.BtnPushSnd.start(0, 0);
_root.BackTitleAndAllReset();
}