Frame 1
eroNo = 80;
menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.quality = false;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.save = false;
menu_cm.builtInItems.zoom = false;
_root.menu = menu_cm;
Frame 2
function keyWait(n) {
switch (n) {
case 0 :
if (_root.nasiMC._currentframe == 1) {
_root.nasiMC.play();
return(true);
}
return(false);
case 1 :
if (_root.pyoroMC._currentframe == 1) {
_root.pyoroMC.play();
return(true);
}
return(false);
case 2 :
if (_root.puriMC._currentframe == 1) {
_root.puriMC.play();
return(true);
}
return(false);
case 3 :
if (_root.piMC._currentframe == 1) {
_root.piMC.play();
return(true);
}
return(false);
case 4 :
if (_root.pinponMC._currentframe == 1) {
_root.pinponMC.play();
return(true);
}
return(false);
case 5 :
if (_root.buuMC._currentframe == 1) {
_root.buuMC.play();
return(true);
}
return(false);
}
}
function Debug() {
var _local2 = _root._currentframe;
var _local3 = "cf:" + _local2;
DDD0 = (((((((((((((((((_local3 + "\nstartGflg:") + startGflg) + "\nstartEflg:") + startEflg) + "\nsimiCo:") + simiCo) + "\nextCo:") + extCo) + "\npoint:") + pointLv[level]) + "\nfps:") + Tval) + "\ntime:") + bfT) + "\n\n\u7D75No\uFF1A") + mondai.pict) + "\n\u554F\u984CNo:") + mondai.no;
}
newLis = new Object();
newLis.onMouseDown = function () {
MgetFlg = true;
};
newLis.onMouseMove = function () {
};
newLis.onMouseUp = function () {
MgetFlg = false;
};
Mouse.addListener(newLis);
Instance of Symbol 14 MovieClip in Frame 2
onClipEvent (keyDown) {
var cfR = (_root._currentframe - 20);
if ((Key.getCode() == 65) && (_root.keyWait(3))) {
_root._quality = "LOW";
} else if ((Key.getCode() == 83) && (_root.keyWait(1))) {
_root._quality = "MEDIUM";
} else if ((Key.getCode() == 68) && (_root.keyWait(2))) {
_root._quality = "HIGH";
}
}
Frame 5
function reactionPro(no) {
if (tgBU._currentframe >= 5) {
return(undefined);
}
if (no == undefined) {
no = Math.floor(Math.random() * 2);
}
if (no == 0) {
tgBU.gotoAndPlay("R1");
tgHd.gotoAndPlay("R1");
} else if (no == 1) {
tgBU.gotoAndPlay("R2");
tgHd.gotoAndPlay("R2");
tgLR.prevFrame();
tgLL.prevFrame();
}
}
function handMousePro() {
var _local2 = this.handMC;
_local2._x = mx;
_local2._y = my;
}
function mouseCheck() {
var _local3 = this.handMC;
_local3._x = _root._xmouse;
_local3._y = _root._ymouse;
var _local5 = fx - _local3._x;
var _local4 = fy - _local3._y;
var _local8 = _local5 * _local5;
var _local7 = _local4 * _local4;
var _local6 = Math.sqrt(_local8 + _local7);
var _local9 = (Math.atan2(_local4, _local5) * 180) / Math.PI;
fx = _local3._x;
fy = _local3._y;
if (_local6 > 4) {
}
var _local10;
r = _local9;
if ((r == 0) && (_local6 == 0)) {
paiHo = 0;
} else if ((r > 67.5) && (r < 112.5)) {
paiHo = 1;
} else if ((r > 112.5) && (r < 157.5)) {
paiHo = 8;
} else if ((r > 157.5) || (r < -157.5)) {
paiHo = 7;
} else if ((r < -112.5) && (r > -157.5)) {
paiHo = 6;
} else if ((r < -67.5) && (r > -112.5)) {
paiHo = 5;
} else if ((r < -22.5) && (r > -67.5)) {
paiHo = 2;
} else if ((r < 22.5) && (r > -22.5)) {
paiHo = 3;
} else if ((r > 22.5) && (r < 67.5)) {
paiHo = 4;
}
return(paiHo);
}
function partsOnOff(no) {
if (partsFlg[no]) {
partsFlg[no] = false;
} else {
partsFlg[no] = true;
}
trace((no + " : ") + partsFlg[no]);
partsCheck();
}
Frame 6
function targetSet() {
mx = _root._xmouse;
my = _root._ymouse;
tgLR = this.mainMC.legRMC;
tgLL = this.mainMC.legLMC;
swLR = tgLR.sw;
swLL = tgLL.sw;
tgBU = this.mainMC.bodyUMC;
tgHp = this.mainMC.hipMC;
tgSSi = this.mainMC.simiMC;
tgHd = tgBU.headMC;
swM1 = tgHp.sw1;
swM2 = tgHp.sw2;
tgPn = this.mainMC.pantsMC;
tgSi = tgPn.simiMC;
tgHa = this.handMC;
}
function mainProcessing() {
switch (state) {
case 1 :
handMousePro();
var _local1 = mouseCheck();
var _local2 = true;
if (MgetFlg) {
if (swLR.hitTest(mx, my, true)) {
if ((_local1 >= 6) && (_local1 <= 8)) {
tgLR.nextFrame();
} else if ((_local1 >= 2) && (_local1 <= 4)) {
tgLR.prevFrame();
}
tgHa.gotoAndStop(2);
} else if (swLL.hitTest(mx, my, true)) {
if ((_local1 >= 2) && (_local1 <= 4)) {
tgLL.nextFrame();
} else if ((_local1 >= 6) && (_local1 <= 8)) {
tgLL.prevFrame();
}
tgHa.gotoAndStop(2);
}
if (!simiFlg) {
if (swM2.hitTest(mx, my, true)) {
if ((tgLR._currentframe >= 4) && (tgLR._currentframe >= 4)) {
_local2 = false;
simiCo = simiCo + 0.1;
if (tgSi._currentframe != tgSi._totalframes) {
tgSi.gotoAndStop(Math.round(simiCo));
tgHa.gotoAndStop(3);
} else {
simiFlg = true;
}
reactionPro();
}
}
} else if (tgPn.sw.hitTest(mx, my, true)) {
_local2 = false;
tgPn.play();
panFlg = false;
}
if (!panFlg) {
if ((tgLR._currentframe >= 5) && (tgLR._currentframe >= 5)) {
if (swM1.hitTest(mx, my, true)) {
_local2 = false;
if ((_local1 >= 2) && (_local1 <= 4)) {
tgHp.mozaMC.nextFrame();
}
} else if (swM2.hitTest(mx, my, true)) {
_local2 = false;
extCo = extCo + 0.1;
tgSSi.gotoAndStop(Math.round(extCo));
reactionPro();
tgHa.gotoAndStop(3);
}
}
}
} else {
_local2 = false;
if ((tgPn.hitTest(mx, my, true) && (panFlg)) && (simiFlg)) {
tgHa.gotoAndStop(7);
} else {
tgHa.gotoAndStop(1);
}
if (!panFlg) {
tgHp.mozaMC.gotoAndStop(2);
}
}
if (_local2) {
swLR.play();
swLL.play();
} else {
swLR.gotoAndStop(1);
swLL.gotoAndStop(1);
}
break;
case 2 :
break;
case 3 :
break;
case 4 :
}
}
Frame 9
function initialSet(no) {
switch (no) {
case 0 :
co = 0;
reactionFlg = false;
animeFlg = false;
simiCo = 0;
extCo = 0;
break;
case 1 :
break;
case 2 :
state = 1;
simiFlg = false;
panFlg = true;
}
}
initialSet(2);
Frame 10
this.stop();
initialSet(0);
this.onEnterFrame = function () {
targetSet();
var _local2 = this._currentframe;
switch (_local2) {
case 10 :
if (this.mainMC._currentframe == this.mainMC._totalframes) {
this.gotoAndStop(20);
}
break;
case 20 :
mainProcessing();
break;
case 30 :
break;
case 40 :
}
};
Frame 20
targetSet();
tgHp.mozaMC._visible = false;
tgHd.hatMC._visible = false;
Instance of Symbol 9 MovieClip in Symbol 25 MovieClip Frame 95
on (release) {
getURL ("http://www.e-ohkoku.jp", "_blank ");
}
Symbol 31 MovieClip Frame 1
this.stop();
Symbol 41 MovieClip Frame 39
this.gotoAndStop(1);
Symbol 41 MovieClip Frame 79
this.gotoAndStop(1);
Symbol 48 MovieClip Frame 69
this.gotoAndPlay(1);
Symbol 48 MovieClip Frame 74
_parent._parent.fukidasiMC.gotoAndStop(2);
Symbol 48 MovieClip Frame 101
_parent._parent.fukidasiMC.gotoAndStop(1);
Symbol 48 MovieClip Frame 104
this.gotoAndPlay(10);
Symbol 48 MovieClip Frame 105
_parent._parent.fukidasiMC.gotoAndStop(3);
Symbol 48 MovieClip Frame 138
_parent._parent.fukidasiMC.gotoAndStop(1);
Symbol 48 MovieClip Frame 139
this.gotoAndPlay(10);
Symbol 51 MovieClip Frame 1
this.stop();
Symbol 51 MovieClip Frame 8
this.gotoAndPlay(3);
Symbol 60 MovieClip Frame 1
this.stop();
Symbol 63 MovieClip Frame 1
this.stop();
Symbol 66 MovieClip Frame 1
this.stop();
Symbol 70 MovieClip Frame 1
this.stop();
Symbol 70 MovieClip Frame 3
_parent.hipMC.mozaMC._visible = true;
_parent.hipMC.mozaMC.gotoAndStop(2);
Symbol 70 MovieClip Frame 5
this.stop();
Symbol 77 MovieClip Frame 1
this.stop();
Symbol 78 MovieClip Frame 1
this.stop();
Symbol 81 MovieClip Frame 1
this.stop();
Symbol 84 Button
on (release) {
_parent.gotoAndStop(10);
}
Instance of Symbol 81 MovieClip "hMarkMC" in Symbol 85 MovieClip Frame 1
on (release) {
var f = _parent.bodyUMC.headMC.hatMC;
f._visible = !f._visible;
}
Symbol 99 MovieClip Frame 2
Symbol 104 MovieClip Frame 1
this.stop();
Symbol 109 MovieClip Frame 1
this.stop();