Combined Code
frame 1 {
function eroSound() {
vol = 50;
bgm1 = new Sound(this);
bgm1.attachSound('bkフィールドloop.mp3');
bgm1.setVolume(vol);
}
this.stop();
eroSound();
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 {
pName = _root.cName;
txt1 = pName + ', \nit\'s time of the \ndeparture. ';
goFlg = false;
endFlg = false;
}
frame 3 {
function feedOutPro() {
vol -= 0.5;
if (vol <= 0) {
vol = 0;
feedout = false;
}
bgm1.setVolume(Math.round(vol));
}
function frameCheck() {
if (goFlg || endFlg) {
return undefined;
}
var v2 = this.serifuMC._currentframe;
var v4 = this.serifuMC._totalframes;
var v6 = this.mainMC._currentframe;
var v7 = this.mainMC._totalframes;
var v3 = this.backMC._currentframe;
var v5 = this.backMC._totalframes;
if (v2 == v4 && v6 == v7 && v3 == v5) {
this.nextBTN._visible = true;
goFlg = true;
} else {
this.nextBTN._visible = false;
}
}
function BTNcheck() {
goFlg = false;
this.nextBTN._visible = false;
if (endFlg) {
this.play();
} else {
this.nextFrame();
}
_root.keyWait(3);
}
}
frame 5 {
this.onEnterFrame = function () {
frameCheck();
if (Key.isDown(39) && this.nextBTN._visible) {
BTNcheck();
}
if (feedout) {
feedOutPro();
}
};
}
movieClip 10 {
}
movieClip 13 {
}
movieClip 17 {
}
// unknown tag 88 length 89
movieClip 26 {
}
movieClip 27 {
frame 60 {
this.stop();
}
}
frame 20 {
this.stop();
}
button 30 {
on (release) {
this.BTNcheck();
}
}
// unknown tag 88 length 89
movieClip 33 {
frame 1 {
this.stop();
}
}
frame 21 {
this.mainMC.serifuMC._visible = false;
}
movieClip 35 {
}
movieClip 38 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 49 {
}
movieClip 53 {
frame 45 {
this.stop();
}
}
movieClip 55 {
}
movieClip 58 {
}
movieClip 59 {
frame 60 {
this.stop();
}
}
movieClip 61 {
}
frame 27 {
bgm1.start(0, 9999);
}
movieClip 64 {
}
movieClip 68 {
frame 30 {
this.stop();
}
}
movieClip 70 {
frame 20 {
this.stop();
}
}
movieClip 73 {
}
frame 29 {
feedout = true;
}
movieClip 75 {
frame 40 {
this.stop();
}
}
movieClip 77 {
frame 20 {
this.stop();
}
}
frame 30 {
endFlg = true;
this.play();
delete this.onEnterFrame;
}
frame 36 {
this.stop();
}