Frame 1
Stage.showMenu = false;
Stage.scaleMode = "noScale";
Frame 2
gotoAndStop (1);
Frame 18
stop();
function voice_func_aegi() {
var _local1 = 0;
_local1 = Math.floor(Math.random() * 5);
trace("\u58F0\u30D1\u30BF\u30FC\u30F3" + _local1);
if ((_local1 >= 0) && (_local1 < 1)) {
vo_sound.stop();
vo_sound.attachSound("aegi02.mp3");
vo_sound.start();
} else if ((_local1 <= 1) && (_local1 < 2)) {
vo_sound.stop();
vo_sound.attachSound("aegi01.mp3");
vo_sound.start();
} else {
vo_sound.stop();
}
}
function voice_func_end1() {
vo_sound.stop();
vo_sound.attachSound("end1.mp3");
vo_sound.start();
}
function voice_func_end2() {
vo_sound.stop();
vo_sound.attachSound("end1.mp3");
vo_sound.start();
}
function voice_func_nn() {
vo_sound.stop();
vo_sound.attachSound("nn.mp3");
vo_sound.start();
}
function voice_func_aha() {
vo_sound.stop();
vo_sound.attachSound("aha.mp3");
vo_sound.start();
}
function bgm_func_step() {
bgm_sound.stop();
bgm_sound.attachSound("step.mp3");
bgm_sound.start();
}
function vo_func_un() {
var _local1 = 0;
_local1 = Math.floor(Math.random() * 3);
if ((_local1 >= 0) && (_local1 < 1)) {
vo_sound.stop();
vo_sound.attachSound("aegi02.mp3");
vo_sound.start();
}
}
function time01_act() {
time01_act_koucho();
trace("\u611F\u5EA6:" + kando_mum);
trace("\u5ACC\u60AA:" + keno_num);
if (kando_mum <= 0) {
} else if (kando_mum <= 100) {
kando_mum = kando_mum - 1;
} else if (kando_mum > 100) {
good_end();
ef_stop();
}
if (keno_num <= 0) {
} else if (keno_num <= 100) {
keno_num = keno_num - 3;
} else if (keno_num > 100) {
bad_end();
ef_stop();
}
}
function time01_act_koucho() {
this.main_mc.eyeset_mc.koucho._alpha = (kando_mum / 80) * 100;
this.main_mc.ashiopenset_mc.nure._alpha = (kando_mum / 80) * 100;
}
function return_act() {
this.nextFrame();
this.play();
trace("\u30EA\u30BF\u30FC\u30F3");
}
function toumei_kirikae() {
this.main_mc.eyeset_mc.megane_mc._visible = !this.main_mc.eyeset_mc.megane_mc._visible;
}
function zoom_act(nam1, nam2, nam3) {
this.main_mc._xscale = nam3;
this.main_mc._yscale = nam3;
this.main_mc._x = nam1;
this.main_mc._y = nam2;
}
function re_zoom_act() {
this.main_mc._xscale = 72;
this.main_mc._yscale = 72;
this.main_mc._x = 1;
this.main_mc._y = 1;
}
function mekuri_act() {
delete this.main_mc.mekuri_btn.onEnterFrame;
var drg_nagasa = Math.abs(this.main_mc.mekuri_ank1_mc._y - this.main_mc.mekuri_ank2_mc._y);
this.main_mc.mekuri_btn.startDrag(lock, this.main_mc.mekuri_btn._x, this.main_mc.mekuri_ank1_mc._y, this.main_mc.mekuri_btn._x, this.main_mc.mekuri_ank2_mc._y);
this.main_mc.mekuri_btn.onEnterFrame = function () {
var _local2 = Math.abs(this._parent.mekuri_ank1_mc._y - this._y) / drg_nagasa;
trace(_local2);
if (_local2 <= 0.2) {
this._parent.sktset_mc.gotoAndStop(4);
suuchi_plus(0, 0.5);
} else if (_local2 <= 0.4) {
this._parent.sktset_mc.gotoAndStop(3);
suuchi_plus(0, 0.5);
} else if (_local2 <= 0.7) {
this._parent.sktset_mc.gotoAndStop(2);
suuchi_plus(0, 0.5);
} else if (_local2 >= 0.9) {
this._parent.sktset_mc.gotoAndStop(1);
suuchi_plus(0, 0.5);
}
};
}
function mekuri_act_end() {
delete this.main_mc.mekuri_btn.onEnterFrame;
this.main_mc.mekuri_btn.stopDrag();
this.main_mc.mekuri_btn.onEnterFrame = function () {
if (this._parent.sktset_mc._currentframe == 4) {
this._parent.hiraki_btn.enabled = true;
this._parent.sktset_mc.gotoAndStop(5);
delete this.onEnterFrame;
} else if (this._parent.sktset_mc._currentframe == 1) {
this._y = this._parent.mekuri_ank2_mc._y;
delete this.onEnterFrame;
} else {
this._parent.sktset_mc.prevFrame();
}
};
}
function hiraki_act() {
var drg_nagasa = Math.abs(this.main_mc.hiraki_ank1_mc._x - this.main_mc.hiraki_ank2_mc._x);
this.main_mc.hiraki_btn.startDrag(lock, this.main_mc.hiraki_ank1_mc._x, this.main_mc.hiraki_btn._y, this.main_mc.hiraki_ank2_mc._x, this.main_mc.hiraki_btn._y);
this.main_mc.sktset_mc._visible = false;
this.main_mc.hidariashi_mc._visible = false;
this.main_mc.ashiopenset_mc._visible = true;
this.main_mc.mekuri_btn.enabled = false;
this.main_mc.hiraki_btn.onEnterFrame = function () {
var _local2 = Math.abs(this._parent.hiraki_ank1_mc._x - this._x) / drg_nagasa;
trace("\u958B\u304D\u5272\u5408" + _local2);
if (_local2 >= 0.9) {
this._parent.ashiopenset_mc.gotoAndStop(3);
time01_act_koucho();
suuchi_plus(0, 0.5);
} else if (_local2 >= 0.6) {
this._parent.ashiopenset_mc.gotoAndStop(2);
suuchi_plus(0, 0.5);
} else if (_local2 >= 0.3) {
this._parent.ashiopenset_mc.gotoAndStop(1);
suuchi_plus(0, 0.5);
}
};
}
function hiraki_act_end() {
this.main_mc.hiraki_btn.stopDrag();
delete this.main_mc.hiraki_btn.onEnterFrame;
if (this.main_mc.ashiopenset_mc._currentframe == 1) {
this.main_mc.sktset_mc._visible = true;
this.main_mc.hidariashi_mc._visible = true;
this.main_mc.ashiopenset_mc._visible = false;
this.main_mc.iziri_btn.enabled = false;
this.main_mc.mekuri_btn.enabled = true;
} else if (this.main_mc.ashiopenset_mc._currentframe == 3) {
this.main_mc.iziri_btn.enabled = true;
}
}
function iziri_act() {
this.main_mc.gotoAndPlay("iziri");
this.main_mc.eyeset_mc.gotoAndStop(2);
this.main_mc.kuchiset_mc.gotoAndStop(2);
}
function iziri_act_end() {
this.main_mc.gotoAndPlay("machiuke");
this.main_mc.eyeset_mc.gotoAndStop(1);
this.main_mc.kuchiset_mc.gotoAndStop(1);
}
function hannou_act() {
this.main_mc.gotoAndPlay("hannou");
}
function nugashi_act() {
if (this.main_mc.muneset_mc.count == 3) {
this.main_mc.ribon_mc._visible = true;
this.main_mc.muneizi_btn.enabled = false;
this.main_mc.muneset_mc.gotoAndStop(1);
this.main_mc.muneset_mc.count = 1;
} else if (this.main_mc.muneset_mc.count == 2) {
voice_func_aegi();
this.main_mc.muneset_mc.gotoAndStop(2);
this.main_mc.muneizi_btn.enabled = true;
this.main_mc.muneset_mc.count = 3;
} else {
this.main_mc.ribon_mc._visible = false;
this.main_mc.muneset_mc.count = 2;
}
}
function muneizi_act() {
this.main_mc.gotoAndPlay("muneizi");
this.main_mc.muneset_mc.gotoAndPlay("muneizi");
}
function muneizi_act_end() {
this.main_mc.nextFrame();
this.main_mc.play();
this.main_mc.muneset_mc.gotoAndStop("2");
}
function suuchi_plus(nam1, nam2) {
kando_mum = kando_mum + nam1;
keno_num = keno_num + nam2;
trace("\u611F\u5EA6:" + kando_mum);
trace("\u5ACC\u60AA:" + keno_num);
}
function good_end() {
this.main_mc.gotoAndPlay("good_e");
clearInterval(time01);
this.main_mc.hiraki_btn.enabled = false;
this.main_mc.iziri_btn.enabled = false;
this.main_mc.mekuri_btn.enabled = false;
this.main_mc.muneizi_btn.enabled = false;
this.main_mc.nugashi_btn.enabled = false;
}
function bad_end() {
this.main_mc.gotoAndPlay("bad_e");
clearInterval(time01);
this.main_mc.hiraki_btn.enabled = false;
this.main_mc.iziri_btn.enabled = false;
this.main_mc.mekuri_btn.enabled = false;
this.main_mc.muneizi_btn.enabled = false;
this.main_mc.nugashi_btn.enabled = false;
}
function reset() {
kando_mum = 0;
keno_num = 0;
this.main_mc.eyeset_mc.megane_mc._visible = true;
time01_act_koucho();
this.main_mc.gotoAndPlay("machiuke");
this.good_icon.gotoAndStop(1);
this.main_mc.eyeset_mc.gotoAndStop(1);
this.main_mc.kuchiset_mc.gotoAndStop(1);
this.main_mc.ashiopenset_mc.gotoAndStop(1);
this.main_mc.sktset_mc.gotoAndStop(1);
this.main_mc.sktset_mc._visible = true;
this.main_mc.hidariashi_mc._visible = true;
this.main_mc.ashiopenset_mc._visible = false;
this.main_mc.mekuri_btn.enabled = true;
this.main_mc.mekuri_btn._y = this.main_mc.mekuri_ank2_mc._y;
this.main_mc.hiraki_btn._x = this.main_mc.hiraki_ank1_mc._x;
this.main_mc.hiraki_btn.enabled = false;
this.main_mc.nugashi_btn.enabled = true;
this.main_mc.ribon_mc._visible = true;
this.main_mc.muneizi_btn.enabled = false;
this.main_mc.muneset_mc.gotoAndStop(1);
this.main_mc.muneset_mc.count = 1;
}
function ef_stop() {
delete this.main_mc.hiraki_btn.onEnterFrame;
delete this.main_mc.mekuri_btn.onEnterFrame;
}
this.createEmptyMovieClip("sound1", 1);
this.createEmptyMovieClip("sound2", 2);
var vo_sound = new Sound(this.sound1);
var bgm_sound = new Sound(this.sound2);
this.vo_sound.setVolume((this.menu_mc.onryou_drg.drg_bar_mc._x / 90) * 100);
this.bgm_sound.setVolume((this.menu_mc.onryou_drg.drg_bar_mc._x / 90) * 100);
time01 = setInterval(time01_act, 3000);
var kando_mum = 0;
var keno_num = 0;
this.menu_mc.return_btn.onRelease = function () {
return_act();
};
this.menu_mc.megane_btn.onRelease = function () {
toumei_kirikae();
};
this.menu_mc.zoom2_btn.onRelease = function () {
zoom_act(-595, -382, 229);
};
this.menu_mc.zoom1_btn.onRelease = function () {
zoom_act(-292, -128, 152);
};
this.menu_mc.unzoom_btn.onRelease = function () {
re_zoom_act();
};
this.main_mc.mekuri_btn.onPress = function () {
mekuri_act();
};
this.main_mc.mekuri_btn.onRelease = (this.main_mc.mekuri_btn.onReleaseOutside = function () {
mekuri_act_end();
});
this.main_mc.hiraki_btn.onPress = function () {
vo_func_un();
hiraki_act();
};
this.main_mc.hiraki_btn.onRelease = (this.main_mc.hiraki_btn.onReleaseOutside = function () {
hiraki_act_end();
});
this.main_mc.iziri_btn.onPress = function () {
iziri_act();
};
this.main_mc.iziri_btn.onRelease = (this.main_mc.iziri_btn.onReleaseOutside = function () {
iziri_act_end();
});
this.main_mc.iziri_btn.onRollOver = (this.main_mc.muneizi_btn.onRollOver = function () {
suuchi_plus(5, 1);
hannou_act();
});
this.main_mc.nugashi_btn.onRelease = function () {
nugashi_act();
};
this.main_mc.muneizi_btn.onPress = function () {
muneizi_act();
};
this.main_mc.muneizi_btn.onReleaseOutside = (this.main_mc.muneizi_btn.onRelease = function () {
muneizi_act_end();
});
Frame 33
gotoAndPlay (3);
reset();
Symbol 22 Button
on (release) {
this._parent._parent.gotoAndPlay(3);
}
Symbol 23 MovieClip Frame 1
this.st.stpic.setMask(this.st.stmask);
Symbol 23 MovieClip Frame 6
stop();
Symbol 29 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip "enter_b" in Symbol 29 MovieClip Frame 1
on (rollOver) {
if (this._parent._parent._currentframe == 12) {
this._parent.gotoAndPlay(2);
}
}
on (rollOut) {
if (this._parent._parent._currentframe == 12) {
this._parent.gotoAndStop(1);
}
}
on (release) {
if (this._parent._parent._currentframe == 12) {
getURL ("http://eroflashfrontier.h.fc2.com/index.html", "_self");
}
}
Symbol 29 MovieClip Frame 5
stop();
Symbol 31 MovieClip Frame 12
this.stop();
Symbol 32 MovieClip Frame 1
stop();
Instance of Symbol 12 MovieClip "bar" in Symbol 32 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 0;
_global.par = 0;
}
onClipEvent (enterFrame) {
_global.par = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this._xscale = _global.par;
if (_global.par >= 100) {
this._parent.gotoAndStop(3);
}
}
Symbol 32 MovieClip Frame 2
gotoAndStop (1);
Symbol 32 MovieClip Frame 3
stop();
Instance of Symbol 49 MovieClip "drg_bar_mc" in Symbol 50 MovieClip Frame 1
on (press) {
this.startDrag(lock, 0, 0, 90, 0);
}
on (release, releaseOutside) {
this.stopDrag();
_root.vo_sound.setVolume((this._x / 90) * 100);
_root.bgm_sound.setVolume((this._x / 90) * 100);
}
Symbol 56 Button
on (release) {
_root._quality = "high";
this.gotoAndStop(2);
this._parent.m_low_mc.gotoAndStop(1);
this._parent.m_med_mc.gotoAndStop(1);
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 61 Button
on (release) {
_root._quality = "medium";
this.gotoAndStop(2);
this._parent.m_low_mc.gotoAndStop(1);
this._parent.m_high_mc.gotoAndStop(1);
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 66 Button
on (release) {
_root._quality = "low";
this.gotoAndStop(2);
this._parent.m_med_mc.gotoAndStop(1);
this._parent.m_high_mc.gotoAndStop(1);
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
var sis_houkou_bool = true;
Instance of Symbol 52 MovieClip in Symbol 69 MovieClip Frame 1
on (release) {
this.onEnterFrame = function () {
if (this._parent.sis_houkou_bool == true) {
if ((this._parent._x + 50) > 0) {
this._parent._x = 0;
this._parent.sis_houkou_bool = false;
this._xscale = this._xscale * -1;
delete this.onEnterFrame;
trace(this._parent._x);
trace(this._parent.sis_houkou_bool);
} else {
this._parent._x = this._parent._x + 50;
}
} else if ((this._parent._x - 50) < -125) {
this._parent._x = -125;
this._parent.sis_houkou_bool = true;
this._xscale = this._xscale * -1;
delete this.onEnterFrame;
trace(this._parent._x);
trace(this._parent.sis_houkou_bool);
} else {
this._parent._x = this._parent._x - 50;
}
};
}
Instance of Symbol 58 MovieClip "m_high_mc" in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 11
stop();
Symbol 90 MovieClip Frame 1
stop();
Instance of Symbol 88 MovieClip "nure" in Symbol 90 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 5
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 10
this._parent._parent.suuchi_plus(2, 3);
Symbol 126 MovieClip Frame 18
gotoAndPlay ("muneizi");
Symbol 139 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip "koucho" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
Instance of Symbol 78 MovieClip "muneizi_btn" in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
this.enabled = false;
}
Instance of Symbol 78 MovieClip "hiraki_btn" in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
this.enabled = false;
}
Instance of Symbol 90 MovieClip "ashiopenset_mc" in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 165 MovieClip Frame 72
this.gotoAndPlay("machiuke");
Symbol 165 MovieClip Frame 85
this._parent.suuchi_plus(3, 3);
this._parent.voice_func_aegi();
Symbol 165 MovieClip Frame 115
this._parent.suuchi_plus(3, 10);
Symbol 165 MovieClip Frame 135
gotoAndPlay ("iziri");
Symbol 165 MovieClip Frame 137
this.kuchiset_mc.gotoAndStop(2);
this.eyeset_mc.gotoAndStop(2);
Symbol 165 MovieClip Frame 146
this.kuchiset_mc.gotoAndStop(1);
this.eyeset_mc.gotoAndStop(1);
Symbol 165 MovieClip Frame 150
gotoAndPlay ("machiuke");
Symbol 165 MovieClip Frame 152
this.kuchiset_mc.gotoAndStop(2);
this.eyeset_mc.gotoAndStop(2);
this._parent.voice_func_aegi();
Symbol 165 MovieClip Frame 159
stop();
Symbol 165 MovieClip Frame 164
this.kuchiset_mc.gotoAndStop(1);
this.eyeset_mc.gotoAndStop(1);
Symbol 165 MovieClip Frame 165
gotoAndPlay ("machiuke");
Symbol 165 MovieClip Frame 166
this.kuchiset_mc.gotoAndStop(2);
this.eyeset_mc.gotoAndStop(2);
Symbol 165 MovieClip Frame 171
this._parent.voice_func_nn();
Symbol 165 MovieClip Frame 179
this._parent.voice_func_aha();
Symbol 165 MovieClip Frame 185
this._parent.voice_func_end1();
this._parent.good_icon.gotoAndPlay(2);
Symbol 165 MovieClip Frame 186
this.kuchiset_mc.gotoAndStop(4);
this.eyeset_mc.gotoAndStop(4);
Symbol 165 MovieClip Frame 221
gotoAndPlay ("good_e_l");
Symbol 165 MovieClip Frame 222
this.kuchiset_mc.gotoAndStop(2);
this.eyeset_mc.gotoAndStop(2);
Symbol 165 MovieClip Frame 227
this._parent.voice_func_nn();
Symbol 165 MovieClip Frame 235
this._parent.voice_func_aha();
Symbol 165 MovieClip Frame 242
this.kuchiset_mc.gotoAndStop(3);
this.eyeset_mc.gotoAndStop(3);
this._parent.voice_func_end2();
Symbol 165 MovieClip Frame 272
this._parent.re_zoom_act();
this._parent.bgm_func_step();
Symbol 165 MovieClip Frame 277
this.stop();