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 18
function TextDataSet() {
Td = new Array();
Td[0] = "\u4E21\u624B\u3092\u30B1\u30AC\u3057\u3061\u3083\u3063\u3066\n\u7121\u7406\u306A\u306E\u2026\u3000\u3000\u3000\u3000\u3000\u3000\n\u98DF\u3079\u3055\u305B\u3066\u304F\u308C\u308B\uFF1F\u3000\u3000\u3000\u3000\u3000";
Td[1] = "\u304A\uFF4B\uFF01\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000";
Td[2] = "\u3042\u308A\u304C\u3068\u3046\u2026\n\u304A\u793C\u306B\u3071\u3093\u3064\n\u898B\u3057\u3066\u3042\u3052\u308B\u306D\u3000\u3000\u3000\u3000\u3000\u3000";
Td[3] = "\u305D\u308C\u4EE5\u4E0A\u306F\n\u898B\u3048\u3061\u3083\u3046\u304B\u3089\n\u3060\u3081\u3063\u3000\u2026\u3000\u3000\u3000\u3000\u3000\u3000";
Td[4] = "\u3046\u305D\uFF5E\u3093\u3063\n\u4E0B\u306E\u6BDB\u3092\n\u5243\u3089\u305B\u308D\u3060\n\u306A\u3093\u3066\uFF01\uFF1F";
Td[5] = "\u3044\u3084\u3044\u3084\u3044\u3084\n\u4F55\u3067\u305D\u3093\u306A\u4E8B\u304C\n\u3057\u305F\u3044\u306E\uFF5E!?\n\u3082\u3049\uFF5E\n\u30D8\u30F3\u30BF\u30A4\u3063\uFF01";
Td[6] = "\u3044\u3084\u3041\uFF5E\u3093\n\u6065\u304B\u3057\u3044\u3088\n\u30FB\u30FB\u30FB\u3082\u3046\uFF01\n@\u69D8\u306E\n\u30A8\u30C3\u30C1\uFF01";
Td[7] = "\u2026\u2026\u2026\n@\u69D8\u3041\u2026\n\u82E6\u3044\u3088\uFF5E";
}
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);
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 _local3 = _root.gikoMC;
var _local4 = _local3.iceMC;
var _local6 = _root.ayaMC;
var _local5 = _local6.bodyMC;
var _local2 = _local5.headMC;
var _local11 = _local2.gikoMC;
var _local10 = _local2.moSW;
var _local9 = _local3.iceSW;
var _local7 = _local2._currentframe;
var _local8 = _local4._currentframe;
DDD = ((((((((((((((((((frame + "fps") + "\ncf:") + _local7) + "\niceCo: ") + iceCo) + "\ncfIce: ") + _local8) + "\nmouseC:") + Ho) + "\n\u63B4\u307F:") + MgetFlg) + "\n\uFF71\uFF86\uFF92F:") + animeFlg) + "\n\uFF8E\uFF9E\uFF72\uFF7DF:") + soFlg) + "\nfaceA:") + faceFlg) + "\nlortCo:") + lortCo;
}
newLis = new Object();
newLis.onMouseDown = function () {
MgetFlg = true;
};
newLis.onMouseMove = function () {
};
newLis.onMouseUp = function () {
MgetFlg = false;
};
Mouse.addListener(newLis);
Frame 19
function MhandCheck() {
Mx = _root._xmouse;
My = _root._ymouse;
var _local3 = _root.ayaMC;
var _local2 = _root.gikoMC;
_local2._x = Mx;
_local2._y = My;
}
function aanSound(n) {
if (soFlg) {
return(undefined);
}
soFlg = true;
var _local2;
var _local3;
switch (n) {
case 0 :
_local3 = "aanMC6";
break;
case 1 :
var _local4 = new Array("aanMC20", "aanMC23");
_local2 = Math.floor(Math.random() * 2);
_local3 = _local4[_local2];
break;
case 2 :
_local4 = new Array("aanMC1", "aanMC3", "aanMC8", "aanMC9", "aanMC14");
_local2 = Math.floor(Math.random() * 5);
_local3 = _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 = 2;
Ho = "\u4E0A";
} else if ((((!_local4) && (!_local3)) && (bfY1 > bfY2)) && (bfX1 < bfX2)) {
_local2 = 3;
Ho = "\u53F3\u4E0A";
} else if (((!_local4) && (_local3)) && (bfX1 < bfX2)) {
_local2 = 4;
Ho = "\u53F3";
} else if ((((!_local4) && (!_local3)) && (bfY1 < bfY2)) && (bfX1 < bfX2)) {
_local2 = 5;
Ho = "\u53F3\u4E0B";
} else if ((_local4 && (!_local3)) && (bfY1 < bfY2)) {
_local2 = 6;
Ho = "\u4E0B";
} else if ((((!_local4) && (!_local3)) && (bfY1 < bfY2)) && (bfX1 > bfX2)) {
_local2 = 7;
Ho = "\u5DE6\u4E0B";
} else if (((!_local4) && (_local3)) && (bfX1 > bfX2)) {
_local2 = 8;
Ho = "\u5DE6";
} else if ((((!_local4) && (!_local3)) && (bfY1 > bfY2)) && (bfX1 > bfX2)) {
_local2 = 9;
Ho = "\u5DE6\u4E0A";
}
bfX1 = bfX2;
bfY1 = bfY2;
return(_local2);
}
bf1 = 0;
bf2 = 0;
bfX1 = 0;
bfY1 = 0;
bfX2 = 0;
bfY2 = 0;
bfFlg1 = false;
bfFlg2 = false;
bfFlg3 = false;
bfFlg4 = false;
txtEndflg = false;
Tc = 0;
Tco = 0;
myName = "\u3054\u4E3B\u4EBA";
soFlg = false;
Mx = 0;
My = 0;
MgetFlg = false;
iceCo = 0;
iceVal = 10;
megaFlg = false;
mimiFlg = false;
footFlg = true;
Frame 20
this.stop();
mySound();
TextDataSet();
bfflg = true;
_root.onEnterFrame = function () {
var _local17 = _root._currentframe - 15;
switch (_local17) {
case 5 :
var _local6 = _root.openingMC;
var _local12 = _local6._currentframe;
var _local18 = _local6._totalframes;
if ((_local12 == 5) && (!txtEndflg)) {
textDisplay(0, _local6.txt0, 3);
}
if ((_local12 == 15) && (!txtEndflg)) {
textDisplay(1, _local6.txt1, 3);
}
if (txtEndflg) {
_local6.play();
}
if (_local12 == _local18) {
_root.gotoAndStop(25);
}
break;
case 10 :
var _local9 = _root.gikoMC;
var _local5 = _local9.iceMC;
_local6 = _root.ayaMC;
var _local13 = _local6.bodyMC;
var _local2 = _local13.headMC;
var _local8 = _local2.gikoMC;
var _local10 = _local8.iceMC;
var _local16 = _local2.moSW;
var _local14 = _local9.iceSW;
var _local4 = _local2._currentframe;
var _local11 = _local2._totalframes;
var _local7 = _local5._currentframe;
MhandCheck();
var _local3 = MMcheck();
iceVal = _local7 - 1;
if (iceVal >= 50) {
_root.dataMC.thanksBtn._visible = true;
}
if (_local4 >= 31) {
_local9._visible = false;
_local8._visible = true;
if (_local8.hitTest(Mx, My, true) && (MgetFlg)) {
if ((_local3 >= 6) && (_local3 <= 8)) {
iceCo++;
_local2.nextFrame();
} else if ((_local3 >= 2) && (_local3 <= 4)) {
iceCo++;
_local2.prevFrame();
}
}
} else {
_local9._visible = true;
_local8._visible = false;
if (_local16.hitTest(_local14) && (MgetFlg)) {
if ((_local3 >= 6) && (_local3 <= 8)) {
_local2.nextFrame();
var _local15 = Math.floor(Math.random() * 5);
if (_local15 == 0) {
aanSound(0);
}
}
}
}
if (iceCo >= 10) {
iceCo = 0;
if ((_local4 < 60) && (_local7 < 30)) {
_local5.nextFrame();
_local10.nextFrame();
} else if ((_local4 < 80) && (_local7 < 40)) {
_local5.nextFrame();
_local10.nextFrame();
} else if ((_local4 >= 80) && (_local7 >= 40)) {
_local5.nextFrame();
_local10.nextFrame();
}
}
if (_local4 == _local11) {
_local6.gotoAndPlay(51);
_local2.gotoAndStop(_local11 - 10);
_root.dataMC.nextFrame();
aanSound(1);
if (_root.dataMC._currentframe == 7) {
_root.gotoAndStop(30);
trace("GAME OVER");
}
}
break;
case 15 :
break;
case 20 :
_local6 = _root.endingMC;
_local12 = _local6._currentframe;
_local18 = _local6._totalframes;
if ((_local12 == 30) && (!txtEndflg)) {
textDisplay(2, _local6.txt2, 3);
}
if (txtEndflg) {
_local6.play();
}
break;
case 25 :
_local6 = _root.endingMC;
_local12 = _local6._currentframe;
_local18 = _local6._totalframes;
if ((_local12 == 30) && (!txtEndflg)) {
textDisplay(3, _local6.txt3, 3);
}
if (!txtEndflg) {
break;
}
_local6.play();
}
};
Instance of Symbol 40 MovieClip in Frame 20
onClipEvent (keyDown) {
if (Key.getCode() == 70) {
var tg1 = _root.ayaMC.hipMC.hipMC;
var cf1 = tg1._currentframe;
var tg2 = _root.ayaMC.footMC;
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.openingMC.headMC.mimiMC;
var tg2 = _root.ayaMC.bodyMC.headMC.mimiMC;
var tg3 = _root.endingMC.ayaMC.mimiMC;
var tg4 = _root.endingMC.ayaMC.bodyMC.mimiMC;
if (_root.mimiFlg) {
_root.mimiFlg = false;
tg1._visible = false;
tg2._visible = false;
tg3._visible = false;
tg4._visible = false;
} else {
_root.mimiFlg = true;
tg1._visible = true;
tg2._visible = true;
tg3._visible = true;
tg4._visible = true;
}
}
if (Key.getCode() == 71) {
var tg1 = _root.openingMC.headMC.meganeMC;
var tg2 = _root.ayaMC.bodyMC.headMC.meganeMC;
var tg3 = _root.endingMC.ayaMC.meganeMC;
var tg4 = _root.endingMC.ayaMC.bodyMC.meganeMC;
if (_root.megaFlg) {
_root.megaFlg = false;
tg1._visible = false;
tg2._visible = false;
tg3._visible = false;
tg4._visible = false;
} else {
_root.megaFlg = true;
tg1._visible = true;
tg2._visible = true;
tg3._visible = true;
tg4._visible = true;
}
}
if (Key.getCode() == 67) {
var tg = _root.ayaMC.hipMC.mozaMC;
if (tg._visible) {
tg.nextFrame();
}
}
if ((Key.getCode() == 65) && (_root.bfflg)) {
_root._quality = "LOW";
} else if ((Key.getCode() == 83) && (_root.bfflg)) {
_root._quality = "MEDIUM";
} else if ((Key.getCode() == 68) && (_root.bfflg)) {
_root._quality = "HIGH";
}
var cf = (_root._currentframe - 15);
var val1;
var val2;
if (cf == 10) {
val1 = 0;
val2 = 0;
}
if (cf >= 15) {
val1 = 5;
val2 = 6;
}
if (Key.getCode() == 90) {
_root.cam--;
if (_root.cam < (0 + val1)) {
_root.cam = 4 + val2;
}
_root.dataSet();
} else if (Key.getCode() == 88) {
_root.cam++;
if (_root.cam > (4 + val2)) {
_root.cam = 0 + val1;
}
_root.dataSet();
}
}
Frame 25
txtEndflg = false;
Tc = 0;
Tco = 0;
iceCo = 0;
iceVal = 10;
Symbol 28 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
Symbol 31 Button
on (release) {
_root.Pyoro2.start();
this.play();
}
Symbol 38 MovieClip Frame 1
this.stop();
Symbol 38 MovieClip Frame 5
_root.txtEndflg = false;
this.stop();
Symbol 38 MovieClip Frame 15
_root.txtEndflg = false;
this.stop();
Symbol 38 MovieClip Frame 35
_root.txtEndflg = false;
this.stop();
Symbol 45 MovieClip Frame 1
this.stop();
_root.soFlg = false;
Symbol 48 MovieClip Frame 1
this.stop();
_root.soFlg = false;
Symbol 51 MovieClip Frame 1
this.stop();
_root.soFlg = false;
Symbol 72 MovieClip Frame 1
this.stop();
Symbol 96 MovieClip Frame 59
this.gotoAndPlay(1);
Symbol 98 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
this.stop();
Symbol 99 MovieClip Frame 1
this.stop();
Symbol 100 MovieClip Frame 50
this.gotoAndPlay(1);
Symbol 100 MovieClip Frame 51
this.bodyMC.play();
this.bodyMC.headMC.eyeMC.gotoAndPlay(60);
Symbol 105 Button
on (release) {
if (_root.iceVal >= 70) {
_root.gotoAndStop(45);
} else if (_root.iceVal >= 60) {
_root.gotoAndStop(40);
} else if (_root.iceVal >= 50) {
_root.gotoAndStop(35);
}
}
Symbol 107 MovieClip Frame 1
this.stop();
this.thanksBtn._visible = false;
Symbol 120 Button
on (release) {
_root.gotoAndStop(25);
}
Symbol 123 MovieClip Frame 76
this.stop();
Symbol 140 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
Symbol 143 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
Symbol 146 Button
on (release) {
_root.gotoAndPlay("start");
}
Symbol 147 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
_root.txtEndflg = false;
Symbol 147 MovieClip Frame 30
this.stop();
Symbol 147 MovieClip Frame 91
this.stop();
_root.txtEndflg = false;
Symbol 163 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
Symbol 163 MovieClip Frame 35
var cf = _parent._currentframe;
if (cf != 152) {
this.gotoAndPlay(1);
}
Symbol 163 MovieClip Frame 56
this.gotoAndPlay(36);
Symbol 167 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
_root.txtEndflg = false;
Symbol 167 MovieClip Frame 30
this.stop();
Symbol 167 MovieClip Frame 152
this.stop();
_root.txtEndflg = false;
Symbol 190 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
Symbol 192 MovieClip Frame 1
this.meganeMC._visible = _root.megaFlg;
this.mimiMC._visible = _root.mimiFlg;
_root.txtEndflg = false;
Symbol 192 MovieClip Frame 195
this.stop();
_root.txtEndflg = false;