Section 1
//MainTimeline (densya_boin_fla.MainTimeline)
package densya_boin_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.media.*;
public dynamic class MainTimeline extends MovieClip {
public var loadCompleteHandler:Function;
public var loader:Loader;
public var bgmLoadCompleteHandler:Function;
public var bt1Handler:Function;
public var movieURL:URLRequest;
public var bt_mitsugu:SimpleButton;
public var se:Sound;
public var seLoadCompleteHandler:Function;
public var startHandler:Function;
public var naoHandler:Function;
public var title_selected:Number;
public var info:LoaderInfo;
public var startHandler2:Function;
public var btBackHandler:Function;
public var bt_back:SimpleButton;
public var mc_title_scene:MovieClip;
public var bgm:Sound;
public var bt4Handler:Function;
public var characterSelected:Number;
public var playMode:Number;
public var bt_select_2:SimpleButton;
public var bt_select_3:SimpleButton;
public var bt_select_4:SimpleButton;
public var bt_select_5:SimpleButton;
public var mitsuguHandler:Function;
public var bt_select_1:SimpleButton;
public var bt2Handler:Function;
public var mc_title_story:MovieClip;
public var seCompleteHandler:Function;
public var bgm_ch:SoundChannel;
public var se_playing:Boolean;
public var mcCompleteHandler:Function;
public var se_ch:SoundChannel;
public var se_ready:Boolean;
public var storyModeIndex:Number;
public var btCharacterSelectBackHandler:Function;
public var bt5Handler:Function;
public var bt_nao:SimpleButton;
public var bt3Handler:Function;
public var buttonSelected:Number;
public function MainTimeline(){
addFrameScript(0, frame1, 30, frame31, 95, frame96, 96, frame97, 135, frame136, 175, frame176, 211, frame212, 223, frame224, 224, frame225, 285, frame286, 334, frame335, 335, frame336, 359, frame360, 408, frame409, 409, frame410, 433, frame434, 434, frame435, 435, frame436, 764, frame765);
}
function frame286(){
stop();
bgm_ch.stop();
bgm.removeEventListener(Event.COMPLETE, bgmLoadCompleteHandler);
se.removeEventListener(Event.COMPLETE, seLoadCompleteHandler);
if (title_selected == 0){
playMode = 0;
gotoAndPlay(1, "character_select");
} else {
playMode = 1;
gotoAndPlay(1, "scene_select");
};
}
function frame176(){
if (se_ready == true){
se_ch = se.play(0, 1);
};
}
function frame1(){
playMode = 0;
se_ready = false;
se_playing = false;
seLoadCompleteHandler = function (_arg1:Event):void{
se_ready = true;
};
}
function frame31(){
}
function frame409(){
stop();
buttonSelected = 0;
bt1Handler = function (_arg1:MouseEvent){
buttonSelected = 0;
play();
};
bt_select_1.addEventListener(MouseEvent.MOUSE_DOWN, bt1Handler);
bt2Handler = function (_arg1:MouseEvent){
buttonSelected = 1;
play();
};
bt_select_2.addEventListener(MouseEvent.MOUSE_DOWN, bt2Handler);
bt3Handler = function (_arg1:MouseEvent){
buttonSelected = 2;
play();
};
bt_select_3.addEventListener(MouseEvent.MOUSE_DOWN, bt3Handler);
bt4Handler = function (_arg1:MouseEvent){
buttonSelected = 3;
play();
};
bt_select_4.addEventListener(MouseEvent.MOUSE_DOWN, bt4Handler);
bt5Handler = function (_arg1:MouseEvent){
buttonSelected = 4;
play();
};
bt_select_5.addEventListener(MouseEvent.MOUSE_DOWN, bt5Handler);
btBackHandler = function (_arg1:MouseEvent){
buttonSelected = 5;
play();
};
bt_back.addEventListener(MouseEvent.MOUSE_DOWN, btBackHandler);
}
function frame765(){
stop();
gotoAndPlay(1, "title");
}
function frame410(){
bt_select_1.removeEventListener(MouseEvent.MOUSE_DOWN, bt1Handler);
bt_select_2.removeEventListener(MouseEvent.MOUSE_DOWN, bt2Handler);
bt_select_3.removeEventListener(MouseEvent.MOUSE_DOWN, bt3Handler);
bt_select_4.removeEventListener(MouseEvent.MOUSE_DOWN, bt4Handler);
bt_select_5.removeEventListener(MouseEvent.MOUSE_DOWN, bt5Handler);
bt_back.removeEventListener(MouseEvent.MOUSE_DOWN, btBackHandler);
}
function frame434(){
bgm_ch.stop();
bgm.removeEventListener(Event.COMPLETE, bgmLoadCompleteHandler);
se.removeEventListener(Event.COMPLETE, seLoadCompleteHandler);
if ((((buttonSelected < 0)) || ((buttonSelected >= 5)))){
gotoAndPlay(1, "title");
};
}
function frame435(){
stop();
loader = new Loader();
info = loader.contentLoaderInfo;
storyModeIndex = 0;
loadCompleteHandler = function (_arg1:Event):void{
addChild(loader);
};
info.addEventListener(Event.COMPLETE, loadCompleteHandler);
if (playMode == 1){
switch (buttonSelected){
case 1:
movieURL = new URLRequest("scene1-2.swf");
break;
case 2:
movieURL = new URLRequest("scene2-1.swf");
break;
case 3:
movieURL = new URLRequest("scene2-2.swf");
break;
case 4:
movieURL = new URLRequest("scene3-1.swf");
break;
case 0:
default:
movieURL = new URLRequest("scene1-1.swf");
};
loader.load(movieURL);
mcCompleteHandler = function (_arg1:Event):void{
removeChild(loader);
loader.unload();
gotoAndPlay("lb_cut_play_end");
};
this.addEventListener(Event.COMPLETE, mcCompleteHandler);
} else {
movieURL = new URLRequest("adv_op.swf");
loader.load(movieURL);
mcCompleteHandler = function (_arg1:Event):void{
removeChild(loader);
loader.unload();
storyModeIndex++;
if (characterSelected == 0){
switch (storyModeIndex){
case 1:
movieURL = new URLRequest("scene1-1.swf");
break;
case 2:
movieURL = new URLRequest("adv_scene1-1_after.swf");
break;
case 3:
movieURL = new URLRequest("scene2-1.swf");
break;
case 4:
movieURL = new URLRequest("adv_scene2-1_after.swf");
break;
case 5:
movieURL = new URLRequest("scene3-1.swf");
break;
case 6:
movieURL = new URLRequest("adv_scene3-1_after.swf");
break;
case 0:
default:
gotoAndPlay("lb_cut_play_end");
};
} else {
switch (storyModeIndex){
case 1:
movieURL = new URLRequest("scene1-2.swf");
break;
case 2:
movieURL = new URLRequest("adv_scene1-2_after.swf");
break;
case 3:
movieURL = new URLRequest("scene2-2.swf");
break;
case 4:
movieURL = new URLRequest("adv_scene2-2_after.swf");
break;
case 5:
movieURL = new URLRequest("scene3-1.swf");
break;
case 6:
movieURL = new URLRequest("adv_scene3-1_after.swf");
break;
case 0:
default:
gotoAndPlay("lb_cut_play_end");
};
};
loader.load(movieURL);
};
this.addEventListener(Event.COMPLETE, mcCompleteHandler);
};
}
function frame436(){
stop();
info.removeEventListener(Event.COMPLETE, loadCompleteHandler);
this.removeEventListener(Event.COMPLETE, mcCompleteHandler);
if (playMode == 0){
gotoAndPlay(1, "endroll");
} else {
gotoAndPlay("lb_scene_select_start", "scene_select");
};
}
function frame336(){
bt_nao.removeEventListener(MouseEvent.MOUSE_DOWN, naoHandler);
bt_mitsugu.removeEventListener(MouseEvent.MOUSE_DOWN, mitsuguHandler);
bt_back.removeEventListener(MouseEvent.MOUSE_DOWN, btCharacterSelectBackHandler);
}
function frame212(){
if (se_ch != null){
se_ch.stop();
};
se.removeEventListener(Event.COMPLETE, seLoadCompleteHandler);
}
function frame97(){
title_selected = 0;
bgmLoadCompleteHandler = function (_arg1:Event):void{
bgm_ch = bgm.play(0, 1000);
};
bgm = new Sound();
bgm.addEventListener(Event.COMPLETE, bgmLoadCompleteHandler);
bgm.load(new URLRequest("bgm/bgm01.mp3"));
se_ready = false;
se_playing = false;
seLoadCompleteHandler = function (_arg1:Event):void{
se_ready = true;
};
se = new Sound();
se.addEventListener(Event.COMPLETE, seLoadCompleteHandler);
se.load(new URLRequest("se/se0003.mp3"));
}
function frame335(){
stop();
characterSelected = 0;
naoHandler = function (_arg1:MouseEvent){
characterSelected = 0;
play();
};
bt_nao.addEventListener(MouseEvent.MOUSE_DOWN, naoHandler);
mitsuguHandler = function (_arg1:MouseEvent){
characterSelected = 1;
play();
};
bt_mitsugu.addEventListener(MouseEvent.MOUSE_DOWN, mitsuguHandler);
btCharacterSelectBackHandler = function (_arg1:MouseEvent){
characterSelected = 2;
play();
};
bt_back.addEventListener(MouseEvent.MOUSE_DOWN, btCharacterSelectBackHandler);
}
function frame224(){
stop();
startHandler = function (_arg1:MouseEvent){
title_selected = 0;
play();
};
mc_title_story.addEventListener(MouseEvent.MOUSE_DOWN, startHandler);
startHandler2 = function (_arg1:MouseEvent){
title_selected = 1;
play();
};
mc_title_scene.addEventListener(MouseEvent.MOUSE_DOWN, startHandler2);
}
function frame96(){
}
function frame225(){
mc_title_story.removeEventListener(MouseEvent.MOUSE_DOWN, startHandler);
mc_title_scene.removeEventListener(MouseEvent.MOUSE_DOWN, startHandler2);
}
function frame360(){
stop();
bgm_ch.stop();
bgm.removeEventListener(Event.COMPLETE, bgmLoadCompleteHandler);
se.removeEventListener(Event.COMPLETE, seLoadCompleteHandler);
if ((((characterSelected < 0)) || ((characterSelected >= 2)))){
gotoAndPlay(1, "title");
} else {
gotoAndPlay(1, "cut_play");
};
}
function frame136(){
if (se_ready == true){
se_ch = se.play(0, 1);
};
}
}
}//package densya_boin_fla
Section 2
//mc_character_select_frame_6 (densya_boin_fla.mc_character_select_frame_6)
package densya_boin_fla {
import flash.display.*;
public dynamic class mc_character_select_frame_6 extends MovieClip {
public function mc_character_select_frame_6(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package densya_boin_fla
Section 3
//mc_scene_select_frame_10 (densya_boin_fla.mc_scene_select_frame_10)
package densya_boin_fla {
import flash.display.*;
public dynamic class mc_scene_select_frame_10 extends MovieClip {
public function mc_scene_select_frame_10(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package densya_boin_fla
Section 4
//mc_title_scene_4 (densya_boin_fla.mc_title_scene_4)
package densya_boin_fla {
import flash.display.*;
public dynamic class mc_title_scene_4 extends MovieClip {
public function mc_title_scene_4(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package densya_boin_fla
Section 5
//mc_title_story_2 (densya_boin_fla.mc_title_story_2)
package densya_boin_fla {
import flash.display.*;
public dynamic class mc_title_story_2 extends MovieClip {
public function mc_title_story_2(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package densya_boin_fla