Frame 2
if (_framesloaded >= _totalframes) {
gotoAndPlay (5);
}
Frame 3
if (_framesloaded >= _totalframes) {
gotoAndPlay (5);
}
var ld = Math.round((_framesloaded / _totalframes) * 100);
_root.loadbar.bar._x = ld * 2.5;
Frame 4
gotoAndPlay (3);
Frame 5
function interval() {
frame = frameCo;
frameCo = 0;
}
ALLCLEARflg = false;
setInterval(function () {
interval();
}, 1000);
Frame 17
function BlockClear() {
var _local2 = 0;
while (_local2 <= 500) {
var _local4 = "blA" + _local2;
var _local3 = "blB" + _local2;
_root.fieldMC.maskMC[_local4].removeMovieClip();
_root.fieldMC.stageMC[_local3].removeMovieClip();
_local2++;
}
}
function blockSet(m) {
BlockClear();
blTo[m] = 0;
blCo = 0;
var _local3 = 0;
var _local5 = 0;
while (_local5 <= 23) {
var _local2 = 0;
while (_local2 <= 11) {
var _local6 = (_local5 * 12) + _local2;
if (Bdata[m][_local6] == 1) {
var _local4 = "blA" + _local3;
_root.fieldMC.maskMC.attachMovie("blA", _local4, _local3 + 100);
_root.fieldMC.maskMC[_local4]._x = _local2 * 40;
_root.fieldMC.maskMC[_local4]._y = _local5 * 20;
blTo[m]++;
_local3++;
} else if (Bdata[m][_local6] == 2) {
var _local7 = new Object();
_local7.hit = 0;
var _local4 = "blB" + _local3;
_root.fieldMC.stageMC.attachMovie("blB", _local4, _local3 + 100, _local7);
_root.fieldMC.stageMC[_local4]._x = _local2 * 40;
_root.fieldMC.stageMC[_local4]._y = _local5 * 20;
_local3++;
}
_local2++;
}
_local5++;
}
_root.fieldMC.imageMC.setMask(_root.fieldMC.maskMC);
}
function blockDataSet() {
Bdata = new Array();
Bdata[1] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0);
hoChange = new Array();
var _local1 = 0;
while (_local1 <= 11) {
hoChange[_local1] = new Array();
_local1++;
}
hoChange[0][0] = 11;
hoChange[0][3] = 5;
hoChange[1][0] = 10;
hoChange[1][3] = 4;
hoChange[2][0] = 9;
hoChange[2][3] = 3;
hoChange[3][0] = 8;
hoChange[3][2] = 2;
hoChange[4][0] = 7;
hoChange[4][2] = 1;
hoChange[5][0] = 6;
hoChange[5][2] = 0;
hoChange[6][1] = 5;
hoChange[6][2] = 11;
hoChange[7][1] = 4;
hoChange[7][2] = 10;
hoChange[8][1] = 3;
hoChange[8][2] = 9;
hoChange[9][1] = 2;
hoChange[9][3] = 8;
hoChange[10][1] = 1;
hoChange[10][3] = 7;
hoChange[11][1] = 0;
hoChange[11][3] = 6;
bvA = new Array();
bvB = new Array();
bvC = new Array();
bvA[0] = 8;
bvB[0] = 11;
bvC[0] = 15;
bvA[1] = 7;
bvB[1] = 9.5;
bvC[1] = 13;
bvA[2] = 6;
bvB[2] = 8;
bvC[2] = 11;
bvA[3] = 5;
bvB[3] = 6.5;
bvC[3] = 9;
bvA[4] = 4;
bvB[4] = 5;
bvC[4] = 7;
}
function ballMoveVal(v) {
ballMo[0][0] = bvA[v];
ballMo[0][1] = -bvC[v];
ballMo[1][0] = bvB[v];
ballMo[1][1] = -bvB[v];
ballMo[2][0] = bvC[v];
ballMo[2][1] = -bvA[v];
ballMo[3][0] = bvC[v];
ballMo[3][1] = bvA[v];
ballMo[4][0] = bvB[v];
ballMo[4][1] = bvB[v];
ballMo[5][0] = bvA[v];
ballMo[5][1] = bvC[v];
ballMo[6][0] = -bvA[v];
ballMo[6][1] = bvC[v];
ballMo[7][0] = -bvB[v];
ballMo[7][1] = bvB[v];
ballMo[8][0] = -bvC[v];
ballMo[8][1] = bvA[v];
ballMo[9][0] = -bvC[v];
ballMo[9][1] = -bvA[v];
ballMo[10][0] = -bvB[v];
ballMo[10][1] = -bvB[v];
ballMo[11][0] = -bvA[v];
ballMo[11][1] = -bvC[v];
_root.bmvText.text = v + 1;
}
Frame 18
function keyWait() {
if (_root.pyoroMC._currentframe == 1) {
_root.pyoroMC.play();
return(true);
}
return(false);
}
function TextDataSet() {
Td = new Array();
Td[0] = "\u3042\u3042\u3093";
Td[1] = "\u3042\u3063\u2026";
Td[2] = "\u3044\u3084\u3093";
Td[3] = "\u3060\u3081\u3063";
Td[4] = "\u2026\u3042\uFF01";
Td[5] = "\u3084\u3081\u3066";
}
function dataSet(v) {
_root.ayaMC._xscale = cameraA[cam][0];
_root.ayaMC._yscale = cameraA[cam][0];
_root.ayaMC._x = cameraA[cam][1];
_root.ayaMC._y = cameraA[cam][2];
var _local4;
var _local3;
var _local2;
if (_root._quality == "LOW") {
_local4 = "\u4F4E";
}
if (_root._quality == "MEDIUM") {
_local4 = "\u4E2D";
}
if (_root._quality == "HIGH") {
_local4 = "\u9AD8";
}
_root.dataMC.data1.text = _local4;
var _local5 = _root._currentframe - 15;
if (_local5 == 10) {
_local2 = 0;
} else if (_local5 >= 15) {
_local2 = 5;
}
if (cam == (0 + _local2)) {
_local3 = "\uFF21";
} else if (cam == (1 + _local2)) {
_local3 = "\uFF22";
} else if (cam == (2 + _local2)) {
_local3 = "\uFF23";
} else if (cam == (3 + _local2)) {
_local3 = "\uFF24";
} else if (cam == (4 + _local2)) {
_local3 = "\uFF25";
} else if (cam == (5 + _local2)) {
_local3 = "\uFF26";
}
_root.dataMC.data2.text = _local3;
_root.dataMC.data3.text = cameraA[cam][0];
if (v != undefined) {
var _local7 = "iconMC" + v;
_root.dataMC[_local7].gotoAndStop(2);
if (v == 2) {
_root.dataMC.txtMC._visible = true;
}
}
}
function iconProcessing(n) {
_root.Pyoro1.stop();
_root.Pyoro1.start();
var _local2 = 1;
while (_local2 <= 2) {
var _local4 = "iconMC" + _local2;
var _local3 = _root.dataMC[_local4];
if (_local3._currentframe == 3) {
_local3.gotoAndStop(2);
}
_local2++;
}
var _local4 = "iconMC" + n;
_root.dataMC[_local4].gotoAndStop(3);
}
function textDisplay(no, tag, t) {
var _local2 = Td[no];
if ((Tc == t) && (_local2.length != Tco)) {
if ((_local2.charCodeAt(Tco) != 12288) && (_local2.charCodeAt(Tco) != 10)) {
_root.Pyoro1.stop();
_root.Pyoro1.start();
}
if (_local2.charCodeAt(Tco) == 64) {
tag.text = tag.text + myName;
} else {
tag.text = tag.text + _local2.charAt(Tco);
}
Tco++;
Tc = 0;
} else if (_local2.length == Tco) {
txtEndflg = true;
Tc = 0;
Tco = 0;
return(true);
}
Tc++;
return(true);
}
function mySound() {
Pyoro1 = new Sound();
Pyoro1.attachSound("pyoro43_a@.wav");
Pyoro1.setVolume(100);
Pyoro2 = new Sound();
Pyoro2.attachSound("pyoro43_a.wav");
Pyoro2.setVolume(100);
Pyoro3 = new Sound();
Pyoro3.attachSound("power21.wav");
Pyoro3.setVolume(100);
Pyoro4 = new Sound();
Pyoro4.attachSound("puu35.wav");
Pyoro4.setVolume(100);
aan = new Array();
aan[0] = new Sound(_root.MC);
aan[0].attachSound("***");
aan[0].setVolume(100);
aan[1] = new Sound(_root.MC);
aan[1].attachSound("***");
aan[1].setVolume(100);
}
function deBug() {
frameCo++;
var _local4 = _root.ayaMC._xscale;
var _local3 = _root.fieldMC.imageMC._currentframe;
var _local2 = _root.fieldMC.IbackMC._currentframe;
DDD = ((((((((((((((((frame + "fps") + "\nanimeFlg:") + animeFlg) + "\nMgetFlg: ") + MgetFlg) + "\nMmode: ") + Mmode) + "\nfootFlg:") + footFlg) + "\nNoM:") + noMissFlg) + "\nimg:") + _local3) + "\nIbak:") + _local2) + "\n\uFF8E\uFF9E\uFF72\uFF7DF:") + soFlg;
}
MgetFlg = false;
newLis = new Object();
newLis.onMouseDown = function () {
MgetFlg = true;
};
newLis.onMouseMove = function () {
};
newLis.onMouseUp = function () {
MgetFlg = false;
};
Mouse.addListener(newLis);
Frame 19
function MhandCheckM() {
Mx = _root._xmouse;
My = _root._ymouse;
var _local2 = _root.MhandMC;
_local2._x = Mx;
_local2._y = My;
_local2.gotoAndStop(Mmode);
}
function ballDisrupted() {
var _local4 = false;
var _local5 = 0;
var _local8;
var _local7;
var _local6;
var _local3 = 0;
while (_local3 <= 2) {
var _local2 = "ballMC" + _local3;
if (_root[_local2] == undefined) {
_local4 = true;
} else {
_local8 = _root[_local2]._x;
_local7 = _root[_local2]._y;
_local6 = _root[_local2].Ho;
}
_local3++;
}
if (!_local4) {
return(undefined);
}
do {
_local5 = Math.floor(Math.random() * 12);
if (_local5 != _local6) {
_local4 = false;
} else {
_local4 = true;
}
} while (_local4);
ballSet(_local8, _local7, _local5);
}
function missProcessing(tg) {
ballDelete(false, tg);
var _local4 = 0;
var _local2 = 0;
while (_local2 <= 2) {
var _local3 = "ballMC" + _local2;
if (_root[_local3] != undefined) {
_local4++;
}
_local2++;
}
Pyoro4.start();
if (_local4 == 0) {
racketMode = 1;
Itime = 0;
noMissFlg = true;
_root.gaugeMC.nextFrame();
if (_root.gaugeMC._currentframe == 6) {
_root.gotoAndStop(40);
} else {
_root.gotoAndStop(30);
}
}
}
function ballCheck(tg) {
var _local6 = _root.fieldMC.racketMC;
var _local2 = tg.Ho;
var _local5 = tg._x;
var _local4 = tg._y;
if (_local4 < 15) {
_root.Pyoro1.start();
if (hoChange[_local2][3] != undefined) {
tg.Ho = hoChange[_local2][3];
}
} else if (_local5 > 465) {
_root.Pyoro1.start();
if (hoChange[_local2][0] != undefined) {
tg.Ho = hoChange[_local2][0];
}
} else if (_local5 < 15) {
_root.Pyoro1.start();
if (hoChange[_local2][1] != undefined) {
tg.Ho = hoChange[_local2][1];
}
} else if (_local6.hitTest(_local5, _local4 + 5, true) || (_local4 > 600)) {
_root.Pyoro2.start();
var _local9 = _local6.hitAreaMC0;
var _local8 = _local6.hitAreaMC1;
if (_local4 > 600) {
missProcessing(tg);
}
if (_local9.hitTest(_local5, _local4 + 5, true) || (_local8.hitTest(_local5, _local4 + 5, true))) {
if ((_local2 >= 3) && (_local2 <= 5)) {
var _local7 = Math.floor(Math.random() * 3);
tg.Ho = _local7;
} else if ((_local2 >= 6) && (_local2 <= 8)) {
var _local7 = Math.floor(Math.random() * 3) + 9;
tg.Ho = _local7;
}
} else if (hoChange[_local2][2] != undefined) {
tg.Ho = hoChange[_local2][2];
}
}
}
function blockCheck(blockTg, ballTg) {
var _local4 = ballTg._x;
var _local3 = ballTg._y;
var _local1 = ballTg.Ho;
if (blockTg.hitTest(_local4, _local3 + 6, false)) {
r = Math.floor(Math.random() * 10);
if ((hoChange[_local1][2] != undefined) && (r != 0)) {
ballTg.Ho = hoChange[_local1][2];
} else if (hoChange[_local1][3] != undefined) {
if ((_local1 >= 3) && (_local1 <= 5)) {
var r = Math.floor(Math.random() * 3);
ballTg.Ho = hoChange[r][3];
} else if ((_local1 >= 6) && (_local1 <= 8)) {
var r = (Math.floor(Math.random() * 3) + 9);
ballTg.Ho = hoChange[r][3];
}
}
} else if (blockTg.hitTest(_local4 + 6, _local3, false)) {
if (hoChange[_local1][0] != undefined) {
ballTg.Ho = hoChange[_local1][0];
}
} else if (blockTg.hitTest(_local4 - 6, _local3, false)) {
if (hoChange[_local1][1] != undefined) {
ballTg.Ho = hoChange[_local1][1];
}
} else if (blockTg.hitTest(_local4, _local3 - 6, false)) {
if (hoChange[_local1][3] != undefined) {
ballTg.Ho = hoChange[_local1][3];
}
}
}
function ballSet(x, y, h) {
val = new Object();
val.Ho = h;
var _local3 = 0;
while (_local3 <= 2) {
var _local2 = "ballMC" + _local3;
if (_root[_local2] == undefined) {
_root.attachMovie("ballMC", _local2, 100 + _local3, val);
_root[_local2]._x = x;
_root[_local2]._y = y;
break;
}
_local3++;
}
}
function ballDelete(fg, tg) {
if (fg) {
var _local2 = 0;
while (_local2 <= 2) {
var _local3 = "ballMC" + _local2;
delete _root[_local3].enterFrame;
_root[_local3].removeMovieClip();
_local2++;
}
} else {
delete tg.enterFrame;
tg.removeMovieClip();
}
}
function MhandCheck() {
Mx = _root._xmouse;
var _local3 = _root.fieldMC.racketMC;
_local3._x = Mx;
_local3._y = 500;
_local3.gotoAndStop(racketMode);
if (racketMode != 1) {
Itime++;
if (Itime >= 250) {
racketMode = 1;
Itime = 0;
var _local2 = 0;
while (_local2 <= 2) {
Ins = "ballMC" + _local2;
_root[Ins].gotoAndStop(1);
_local2++;
}
}
}
}
function ecstasyCounter(n) {
if (ecs.flg[n]) {
return(undefined);
}
if (ecs.total[n] > ecs.co[n]) {
ecs.co[n]++;
} else {
ecs.flg[n] = true;
_root.dataMC.nextFrame();
}
}
function spiritCheak(st) {
var _local2 = _root.ayaMC;
var _local3 = _local2.UbodyMC;
var _local4 = _local3._currentframe <= 35;
switch (st) {
case 0 :
r = Math.floor(Math.random() * 2);
if (r == 0) {
aanSound(0);
}
_local2.nextFrame();
break;
case 1 :
r = Math.floor(Math.random() * 8);
if (r == 0) {
_local2.nextFrame();
aanSound(1);
}
break;
case 2 :
var _local5 = _local2.hipMC;
if (_local4) {
_local3.gotoAndPlay("aegiA");
}
_local2.nextFrame();
if (!_local5.mozaMC._visible) {
aanSound(2);
} else {
aanSound(3);
}
break;
case 3 :
aanSound(4);
break;
case 4 :
if (_local4) {
_local3.gotoAndPlay("aegiB");
}
aanSound(5);
break;
case 5 :
_local2.nextFrame();
aanSound(6);
break;
case 6 :
_local2.nextFrame();
r = Math.floor(Math.random() * 5);
if ((r == 0) && (_local4)) {
_local3.gotoAndPlay("aegiB");
}
if ((r == 1) && (_local4)) {
_local3.gotoAndPlay("aegiA");
}
aanSound(7);
}
}
function aanSound(n) {
if (soFlg) {
return(undefined);
}
soFlg = true;
var _local2;
var _local3;
switch (n) {
case 0 :
var _local4 = new Array(1, 2, 3, 5, 13, 15);
_local2 = Math.floor(Math.random() * 6);
_local3 = "akina_anMC" + _local4[_local2];
break;
case 1 :
_local4 = new Array(4, 6, 7, 8, 9, 10, 11, 12, 14, 16);
_local2 = Math.floor(Math.random() * 10);
_local3 = "akina_anMC" + _local4[_local2];
break;
case 2 :
_local4 = new Array(17, 18);
_local2 = Math.floor(Math.random() * 2);
_local3 = "akina_anMC" + _local4[_local2];
break;
case 3 :
_local4 = new Array("aanMC10", "aanMC11", "aanMC12", "aanMC13", "aanMC15");
_local2 = Math.floor(Math.random() * 5);
_local3 = _local4[_local2];
break;
case 4 :
_local4 = new Array("aanMC20", "aanMC23");
_local2 = Math.floor(Math.random() * 2);
_local3 = _local4[_local2];
break;
case 5 :
_local4 = new Array("aanMC18", "aanMC19", "aanMC21");
_local2 = Math.floor(Math.random() * 3);
_local3 = _local4[_local2];
break;
case 6 :
_local2 = Math.floor(Math.random() * 22) + 1;
_local3 = "aanMC" + _local2;
break;
case 7 :
_local4 = new Array("aanMC24", "aanMC25", "aanMC26", "aanMC27", "aanMC28", "aanMC29");
_local2 = Math.floor(Math.random() * 6);
_local3 = _local4[_local2];
}
aanCf = _root[_local3]._totalframes;
_root[_local3].play();
}
function MMcheck() {
bfX2 = _root._xmouse;
bfY2 = _root._ymouse;
var _local2 = 0;
var _local7 = bfX2 - bfX1;
var _local6 = bfY2 - bfY1;
var _local5 = 3;
var _local4 = (_local7 > (-_local5)) && (_local7 < _local5);
var _local3 = (_local6 > (-_local5)) && (_local6 < _local5);
if ((_local4 && (!_local3)) && (bfY1 > bfY2)) {
_local2 = 1;
Ho = "\u4E0A";
} else if ((((!_local4) && (!_local3)) && (bfY1 > bfY2)) && (bfX1 < bfX2)) {
_local2 = 2;
Ho = "\u53F3\u4E0A";
} else if (((!_local4) && (_local3)) && (bfX1 < bfX2)) {
_local2 = 3;
Ho = "\u53F3";
} else if ((((!_local4) && (!_local3)) && (bfY1 < bfY2)) && (bfX1 < bfX2)) {
_local2 = 4;
Ho = "\u53F3\u4E0B";
} else if ((_local4 && (!_local3)) && (bfY1 < bfY2)) {
_local2 = 5;
Ho = "\u4E0B";
} else if ((((!_local4) && (!_local3)) && (bfY1 < bfY2)) && (bfX1 > bfX2)) {
_local2 = 6;
Ho = "\u5DE6\u4E0B";
} else if (((!_local4) && (_local3)) && (bfX1 > bfX2)) {
_local2 = 7;
Ho = "\u5DE6";
} else if ((((!_local4) && (!_local3)) && (bfY1 > bfY2)) && (bfX1 > bfX2)) {
_local2 = 8;
Ho = "\u5DE6\u4E0A";
}
bfX1 = bfX2;
bfY1 = bfY2;
return(_local2);
}
function prevHead(v) {
var _local2 = false;
var _local3 = _root.ayaMC.UbodyMC.headMC;
var _local4 = _root.ayaMC.UbodyMC.bodyMC.uBodyMC.armMC;
if (Math.floor(Math.random() * v) == 0) {
_local4.prevFrame();
_local3.prevFrame();
_local2 = true;
} else {
_local2 = false;
}
return(_local2);
}
txtEndflg = false;
Tc = 0;
Tco = 0;
myName = "\u3054\u4E3B\u4EBA";
soFlg = false;
sCo = 0;
men = 1;
Mx = 0;
My = 0;
ballFlg = false;
ball = 5;
racketMode = 1;
Bco = 0;
Itime = 0;
ItemFlg = new Array(false, false, false);
blCo = 0;
blTo = new Array();
maskFlg = false;
noMissFlg = false;
bmv = 0;
braFlg = true;
partsFlg = new Array();
var i = 1;
while (i <= 10) {
partsFlg[i] = true;
i++;
}
Mmode = 1;
ecs = new Object();
ecs.flg = new Array();
ecs.co = new Array();
ecs.total = new Array(0, 0, 80, 14, 14, 0, 0, 7, 300, 0, 0, 15, 150, 150, 320);
i = 0;
while (i <= 20) {
ecs.flg[i] = false;
ecs.co[i] = 0;
i++;
}
skirtUpFlg = false;
panDownFlg = false;
simiCo = 0;
foamEndFlg = false;
jacketFlg = true;
animeFlg = false;
megaFlg = false;
mimiFlg = false;
footFlg = true;
ballMo = new Array();
var i = 0;
while (i <= 11) {
ballMo[i] = new Array();
i++;
}
mySound();
blockDataSet();
TextDataSet();
Frame 20
this.stop();
racketMode = 1;
Mmode = 1;
ballMoveVal(bmv);
_root.fieldMC.racketMC.bfBallMC._visible = true;
_root.onEnterFrame = function () {
var _local13 = _root._currentframe - 15;
switch (_local13) {
case 5 :
MhandCheck();
if (MgetFlg) {
blockSet(men);
_root.fieldMC.nextFrame();
_root.fieldMC.imageMC.gotoAndStop(men);
_root.fieldMC.IbackMC.gotoAndStop(men + 1);
_root.gotoAndStop(25);
}
break;
case 10 :
MhandCheck();
if (MgetFlg && (!ballFlg)) {
ballFlg = true;
_root.fieldMC.racketMC.bfBallMC._visible = false;
ballSet(Mx, 490, 10);
}
if (blTo[men] == blCo) {
ballFlg = false;
ballDelete(true);
_root.fieldMC.nextFrame();
if (men < 3) {
BlockClear();
_root.gotoAndStop(35);
} else {
BlockClear();
ALLCLEARflg = true;
_root.gotoAndStop(45);
}
}
break;
case 15 :
MhandCheck();
_root.fieldMC.gotoAndStop(1);
_root.fieldMC.racketMC.bfBallMC._visible = true;
if (MgetFlg) {
ballFlg = false;
_root.fieldMC.nextFrame();
_root.gotoAndStop(25);
}
break;
case 20 :
MhandCheck();
_root.fieldMC.gotoAndStop(1);
_root.fieldMC.racketMC.bfBallMC._visible = true;
if (MgetFlg) {
ballFlg = false;
_root.fieldMC.nextFrame();
men++;
_root.fieldMC.imageMC.gotoAndStop(men);
_root.fieldMC.IbackMC.gotoAndStop(men + 1);
blockSet(men);
_root.gotoAndStop(25);
}
break;
case 25 :
MhandCheck();
_root.fieldMC.gotoAndStop(1);
if (MgetFlg) {
men = 1;
ballFlg = false;
BlockClear();
_root.fieldMC.gotoAndStop(1);
_root.gaugeMC.gotoAndStop(1);
_root.gotoAndStop(20);
}
break;
case 30 :
MhandCheck();
_root.fieldMC.gotoAndStop(1);
if (MgetFlg && (ALLCLEARflg)) {
men = 1;
ballFlg = false;
_root.fieldMC.gotoAndStop(1);
_root.gaugeMC.gotoAndStop(1);
_root.gotoAndStop(50);
}
break;
case 35 :
var _local7 = _root.mayaMC.wakiSW;
var _local6 = _root.mayaMC.manSW;
var _local4 = _root.mayaMC.hipMC;
var _local11 = _local4.FR_SW;
var _local10 = _local4.FL_SW;
var _local9 = _local4.RfootMC;
var _local8 = _local4.LfootMC;
var _local3 = _root.mayaMC.bodyMC;
var _local2 = _local3.headMC;
var _local5 = _root.MhandMC;
var _local14 = _local9._currentframe;
var _local12 = _local8._currentframe;
MhandCheckM();
if (((Mmode == 1) || (Mmode == 2)) && (!animeFlg)) {
if (_local7.hitTest(Mx, My, true) && (MgetFlg)) {
Mmode = 2;
_root.Pyoro2.start();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if (_local6.hitTest(Mx, My, true) && (MgetFlg)) {
Mmode = 2;
_root.Pyoro2.start();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if ((_local11.hitTest(Mx, My, true) && (MgetFlg)) && (_local14 != 16)) {
_local5._visible = false;
_local9.play();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if ((_local10.hitTest(Mx, My, true) && (MgetFlg)) && (_local12 != 16)) {
_local5._visible = false;
_local8.play();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
}
if ((!MgetFlg) && (!animeFlg)) {
if (Mmode == 2) {
Mmode = 1;
}
_local5._visible = true;
}
}
if (!(((Mmode >= 3) && (Mmode <= 5)) && (!animeFlg))) {
break;
}
if (_local7.hitTest(Mx, My, true) && (MgetFlg)) {
Mmode = 5;
_root.Bero.start();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if ((_local6.hitTest(Mx, My, true) && (MgetFlg)) && (!footFlg)) {
Mmode = 5;
_root.Bero.start();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if (_local2.hitTest(Mx, My, true) && (MgetFlg)) {
Mmode = 5;
_root.Bero.start();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if ((_local4.hitTest(Mx, My, true) && (MgetFlg)) && (!footFlg)) {
Mmode = 5;
_root.Bero.start();
_local3.gotoAndPlay(60);
_local2.gotoAndPlay(60);
} else if (_root.mayaMC.hitTest(Mx, My, true) && (MgetFlg)) {
Mmode = 4;
} else {
if (!((!MgetFlg) || (!animeFlg))) {
break;
}
Mmode = 3;
}
}
deBug();
};
Instance of Symbol 51 MovieClip in Frame 20
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
if (_root.maskFlg) {
_root.maskFlg = false;
} else {
_root.maskFlg = true;
}
if (_root.maskFlg) {
_root.fieldMC.imageMC.setMask(null);
} else {
_root.fieldMC.imageMC.setMask(_root.fieldMC.maskMC);
}
}
if (Key.getCode() == 70) {
var tg1 = _root.fieldMC.ayaMC.footMC;
var tg2 = _root.fieldMC.imageMC.footMC;
var cf1 = tg1._currentframe;
var cf2 = tg2._currentframe;
if (cf1 == 1) {
tg1.gotoAndStop(2);
tg2.gotoAndStop(2);
_root.footFlg = false;
} else {
tg1.gotoAndStop(1);
tg2.gotoAndStop(1);
_root.footFlg = true;
}
}
if (Key.getCode() == 77) {
var tg1 = _root.fieldMC.ayaMC.headMC.mimiMC;
var tg2 = _root.fieldMC.imageMC.headMC.mimiMC;
if (_root.mimiFlg) {
_root.mimiFlg = false;
tg1._visible = false;
tg2._visible = false;
} else {
_root.mimiFlg = true;
tg1._visible = true;
tg2._visible = true;
}
}
if (Key.getCode() == 71) {
var tg1 = _root.fieldMC.ayaMC.headMC.meganeMC;
var tg2 = _root.fieldMC.imageMC.headMC.meganeMC;
if (_root.megaFlg) {
_root.megaFlg = false;
tg1._visible = false;
tg2._visible = false;
} else {
_root.megaFlg = true;
tg1._visible = true;
tg2._visible = true;
}
}
if (Key.getCode() == 65) {
_root._quality = "LOW";
_root.dataSet();
} else if (Key.getCode() == 83) {
_root._quality = "MEDIUM";
_root.dataSet();
} else if (Key.getCode() == 68) {
_root._quality = "HIGH";
_root.dataSet();
}
if ((Key.getCode() == 90) && (_root.bmv > 0)) {
_root.bmv--;
_root.ballMoveVal(_root.bmv);
} else if ((Key.getCode() == 88) && (_root.bmv < 4)) {
_root.bmv++;
_root.ballMoveVal(_root.bmv);
}
}
Symbol 8 MovieClip [blB] Frame 2
var bf = false;
var i = 0;
while (i <= 2) {
var Bins = ("ballMC" + i);
if (_root[Bins] == undefined) {
} else {
if (this.hitTest(_root[Bins])) {
if (_root[Bins]._currentframe == 1) {
_root.blockCheck(this, _root[Bins]);
hit++;
if (hit >= 20) {
bf = true;
}
} else {
bf = true;
}
var r = 0;
var r = Math.floor(Math.random() * 5);
if ((r == 0) && (bf)) {
var i = 0;
while (i <= 2) {
if (!_root.ItemFlg[i]) {
var ri = Math.floor(Math.random() * 5);
var r = Math.floor(Math.random() * 2);
if ((ri == 4) && (r == 0)) {
ri = 4;
} else if (ri == 4) {
ri = 0;
}
var Iname = ("itemMC" + ri);
var Ins = (Iname + i);
var Item = new Object();
Item.no = i;
_root.ItemFlg[i] = true;
_root.fieldMC.attachMovie(Iname, Ins, i + 10, Item);
_root.fieldMC[Ins]._x = this._x + 20;
_root.fieldMC[Ins]._y = this._y + 10;
break;
}
i++;
}
}
break;
}
bf = false;
}
i++;
}
if (!bf) {
this.gotoAndPlay(1);
}
Symbol 8 MovieClip [blB] Frame 9
this.removeMovieClip();
Symbol 10 MovieClip [blA] Frame 2
var bf = false;
var i = 0;
while (i <= 2) {
var Bins = ("ballMC" + i);
if (_root[Bins] == undefined) {
} else {
if (this.hitTest(_root[Bins])) {
bf = true;
if (_root[Bins]._currentframe == 1) {
_root.blockCheck(this, _root[Bins]);
}
var r = 0;
var r = Math.floor(Math.random() * 5);
if (r == 0) {
var i = 0;
while (i <= 2) {
if (!_root.ItemFlg[i]) {
var ri = Math.floor(Math.random() * 5);
var r = Math.floor(Math.random() * 2);
if ((ri == 4) && (r == 0)) {
ri = 4;
} else if (ri == 4) {
ri = 0;
}
var Iname = ("itemMC" + ri);
var Ins = (Iname + i);
var Item = new Object();
Item.no = i;
_root.ItemFlg[i] = true;
_root.fieldMC.attachMovie(Iname, Ins, i + 10, Item);
_root.fieldMC[Ins]._x = this._x + 20;
_root.fieldMC[Ins]._y = this._y + 10;
break;
}
i++;
}
}
break;
}
bf = false;
}
i++;
}
if (!bf) {
this.gotoAndPlay(1);
}
Symbol 10 MovieClip [blA] Frame 20
_root.blCo++;
this.removeMovieClip();
Symbol 13 MovieClip [ballMC] Frame 1
this.stop();
this.onEnterFrame = function () {
_root.ballCheck(this);
x = _root.ballMo[Ho][0];
y = _root.ballMo[Ho][1];
this._x = this._x + x;
this._y = this._y + y;
};
Symbol 15 MovieClip [itemMC0] Frame 2
this._y = this._y + 5;
if (this._y > 560) {
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
var tg = _root.fieldMC.racketMC;
if (this.hitTest(tg) && (_root._currentframe == 25)) {
_root.racketMode = 2;
_root.Itime = 0;
var i = 0;
while (i <= 2) {
Ins = "ballMC" + i;
_root[Ins].gotoAndStop(1);
i++;
}
_root.Pyoro4.start();
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
this.gotoAndPlay(1);
Symbol 17 MovieClip [itemMC4] Frame 2
this._y = this._y + 5;
if (this._y > 560) {
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
var tg = _root.fieldMC.racketMC;
if (this.hitTest(tg) && (_root._currentframe == 25)) {
_root.racketMode = 1;
_root.Itime = 0;
_root.gaugeMC.prevFrame();
_root.Pyoro3.start();
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
this.gotoAndPlay(1);
Symbol 19 MovieClip [itemMC3] Frame 2
this._y = this._y + 5;
if (this._y > 560) {
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
var tg = _root.fieldMC.racketMC;
if (this.hitTest(tg) && (_root._currentframe == 25)) {
var i = 0;
while (i <= 2) {
var Ins = ("ballMC" + i);
if ((_root[Ins] != undefined) && (_root[Ins]._currentframe == 1)) {
_root[Ins].gotoAndStop(2);
break;
}
i++;
}
if (_root.racketMode != 3) {
_root.racketMode = 5;
}
_root.Itime = 0;
_root.Pyoro3.start();
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
this.gotoAndPlay(1);
Symbol 21 MovieClip [itemMC2] Frame 2
this._y = this._y + 5;
if (this._y > 560) {
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
var tg = _root.fieldMC.racketMC;
if (this.hitTest(tg) && (_root._currentframe == 25)) {
_root.ballDisrupted();
_root.Pyoro3.start();
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
this.gotoAndPlay(1);
Symbol 23 MovieClip [itemMC1] Frame 2
this._y = this._y + 5;
if (this._y > 560) {
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
var tg = _root.fieldMC.racketMC;
if (this.hitTest(tg) && (_root._currentframe == 25)) {
_root.racketMode = 3;
_root.Itime = 0;
_root.Pyoro3.start();
_root.ItemFlg[no] = false;
this.removeMovieClip();
}
this.gotoAndPlay(1);
Symbol 37 MovieClip Frame 1
this.stop();
Symbol 45 MovieClip Frame 1
this.stop();
if (_root.ballFlg) {
this.bfBallMC._visible = false;
}
Symbol 46 MovieClip Frame 1
this.stop();
Symbol 48 MovieClip Frame 1
this.stop();
Symbol 62 MovieClip Frame 1
this.stop();
_root.soFlg = false;
Symbol 70 MovieClip Frame 1
if (_root.noMissFlg) {
this.stop();
}
Symbol 85 MovieClip Frame 1
Symbol 85 MovieClip Frame 59
if (!_root.animeFlg) {
this.gotoAndPlay(1);
}
Symbol 85 MovieClip Frame 60
Symbol 85 MovieClip Frame 75
this.gotoAndPlay(1);
Symbol 89 MovieClip Frame 1
_root.animeFlg = false;
Symbol 89 MovieClip Frame 59
if (!_root.animeFlg) {
this.gotoAndPlay(1);
}
Symbol 89 MovieClip Frame 60
_root.animeFlg = true;
var r = Math.floor(Math.random() * 5);
this.txt.text = _root.Td[r];
Symbol 89 MovieClip Frame 75
this.gotoAndPlay(1);
Symbol 100 MovieClip Frame 1
this.stop();
this.handMC._visible = false;
Symbol 100 MovieClip Frame 2
this.handMC._visible = true;
_root.animeFlg = true;
Symbol 100 MovieClip Frame 16
this.stop();
_root.animeFlg = false;
var cfFR = _parent.RfootMC._currentframe;
_root.footFlg = cfFR != 16;
if (!_root.footFlg) {
_root.dataSet(2);
}
Symbol 107 MovieClip Frame 1
this.stop();
this.handMC._visible = false;
Symbol 107 MovieClip Frame 2
this.handMC._visible = true;
_root.animeFlg = true;
Symbol 107 MovieClip Frame 16
this.stop();
_root.animeFlg = false;
var cfFL = _parent.LfootMC._currentframe;
_root.footFlg = cfFL != 16;
if (!_root.footFlg) {
_root.dataSet(2);
}
Symbol 123 MovieClip Frame 1
this.stop();
Symbol 125 Button
on (release) {
_root.gotoAndStop(20);
}
Symbol 127 MovieClip Frame 1
this.stop();
Symbol 129 MovieClip Frame 1
this.stop();
Symbol 133 MovieClip Frame 1
this.txtMC._visible = false;
Instance of Symbol 127 MovieClip "iconMC1" in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
on (release) {
var cf = this._currentframe;
if ((cf == 2) && (!_root.animeFlg)) {
_root.Mmode = 1;
_root.iconProcessing(1);
}
}
Instance of Symbol 129 MovieClip "iconMC2" in Symbol 133 MovieClip Frame 1
on (release) {
var cf = this._currentframe;
if ((cf == 2) && (!_root.animeFlg)) {
_root.Mmode = 3;
_root.iconProcessing(2);
}
}