Frame 1
function xPreload() {
nLoaded = this.getBytesLoaded();
if (nTotal <= nLoaded) {
if (20070728 == _level0.nGameKey) {
this.gotoAndStop("init");
} else {
this.gotoAndStop("init");
}
delete this.onEnterFrame;
} else {
nParcentage = Math.round((100 * nLoaded) / nTotal);
bar_mc._xscale = nParcentage;
parcentage_txt.text = nParcentage + " %";
}
}
stop();
System.useCodepage = true;
_quality = "MEDIUM";
nParcentage = 0;
nTotal = this.getBytesTotal();
this.onEnterFrame = xPreload;
Instance of Symbol 74 MovieClip "bar_mc" in Frame 1
onClipEvent (load) {
this._xscale = 0;
}
Frame 2
snr = "lala_free.dat";
scenario_lv = new LoadVars();
scenario_lv.load(snr);
stop();
var automode = false;
var automode_time = -1;
var automode_speed = 45;
var txt_column = 28;
var maxRow = 3;
var totalPages = 0;
var pages = new Array();
var bigPages = new Array();
var lines = new Array();
var linesRow = new Array();
var advPages = new Array();
var pNum = 0;
scenario_lv.onData = function (novel) {
if (novel) {
novel = novel.split(" ").join("");
novel = novel.split("\r\n").join(newline);
novel = novel.split("\r").join(newline);
rest = novel;
bigPages = rest.split("\n\n");
i = 0;
while (i < bigPages.length) {
var _local3;
var _local5 = 0;
_local3 = bigPages[i].split(newline);
j = 0;
while (j < _local3.length) {
if (_local3[j].length > txt_column) {
rest = _local3[j];
_local3[j] = "";
var _local2;
var _local4 = 0;
var _local1 = 0;
while (_local1 < rest.length) {
if (rest.charAt(_local1) == "<") {
while (rest.charAt(_local1) != ">") {
_local1++;
}
} else {
_local4++;
if (_local4 == txt_column) {
if (((((rest.charAt(_local1 + 1) == "\u3002") || (rest.charAt(_local1 + 1) == "\u3001")) || (rest.charAt(_local1 + 1) == "\uFF09")) || (rest.charAt(_local1 + 1) == "\u300D")) || (rest.charAt(_local1 + 1) == "\u300F")) {
_local2 = rest.substr(0, _local1 + 2);
rest = rest.substr(_local1 + 2);
} else if (rest.charAt(_local1 + 1) == "\uFF01") {
if ((((((rest.charAt(_local1 + 2) == "\u3002") || (rest.charAt(_local1 + 2) == "\u3001")) || (rest.charAt(_local1 + 2) == "\uFF09")) || (rest.charAt(_local1 + 2) == "\u300D")) || (rest.charAt(_local1 + 2) == "\u300F")) || (rest.charAt(_local1 + 2) == "\uFF1F")) {
_local2 = rest.substr(0, _local1 + 1);
rest = rest.substr(_local1 + 1);
} else {
_local2 = rest.substr(0, _local1 + 1);
_local2 = _local2 + "!";
rest = rest.substr(_local1 + 2);
}
} else if (rest.charAt(_local1 + 1) == "\uFF1F") {
if ((((((rest.charAt(_local1 + 2) == "\u3002") || (rest.charAt(_local1 + 2) == "\u3001")) || (rest.charAt(_local1 + 2) == "\uFF09")) || (rest.charAt(_local1 + 2) == "\u300D")) || (rest.charAt(_local1 + 2) == "\u300F")) || (rest.charAt(_local1 + 2) == "\uFF01")) {
_local2 = rest.substr(0, _local1 + 1);
rest = rest.substr(_local1 + 1);
} else {
_local2 = rest.substr(0, _local1 + 1);
_local2 = _local2 + "?";
rest = rest.substr(_local1 + 2);
}
} else {
_local2 = rest.substr(0, _local1 + 1);
rest = rest.substr(_local1 + 1);
}
if (rest.charAt(0)) {
_local2 = _local2 + "\r";
}
_local3[j] = _local3[j] + _local2;
_local4 = 0;
_local1 = -1;
}
}
_local1++;
}
_local3[j] = _local3[j] + rest;
}
j++;
}
pages[pNum] = "";
j = 0;
while (j < _local3.length) {
if (_local5 < maxRow) {
if (_local3[j].charAt(0) == "<") {
pages[pNum] = pages[pNum] + (_local3[j] + newline);
} else {
var _local6;
_local6 = _local3[j].split("\r");
if (_local6.length > maxRow) {
_level0.errortxt = _local3[j];
gotoAndStop ("textover");
return(undefined);
}
if ((_local5 + _local6.length) <= maxRow) {
pages[pNum] = pages[pNum] + (_local3[j] + newline);
_local5 = _local5 + _local6.length;
} else {
pNum++;
pages[pNum] = "";
_local5 = 0;
j--;
}
}
} else {
pNum++;
pages[pNum] = "";
_local5 = 0;
j--;
}
j++;
}
pNum++;
i++;
}
pNum--;
(i = 0);
(j = 0);
while (i <= pNum) {
var _local7 = 0;
while (pages[i].charAt(_local7) == newline) {
_local7++;
}
pages[i] = pages[i].substring(_local7, pages[i].length - 1);
if (pages[i].length > 0) {
advPages[j] = pages[i];
trace((("******* " + (j + 1)) + "\u30DA\u30FC\u30B8") + " *******");
trace(advPages[j]);
j++;
}
i++;
}
totalPages = j - 1;
gotoAndPlay ("start");
} else {
gotoAndStop ("error");
}
};
var rollBackBMP = new Array(totalPages);
Frame 3
function showText() {
if (textClick || (textSpeed == 1)) {
textClick = false;
while (true) {
if ((showPage.charAt(cnt) == "\u3002") || (showPage.charAt(cnt + 1) == newline)) {
break;
}
if (showPage.charAt(cnt) == "<") {
var _local3 = cnt;
while (showPage.charAt(cnt) != ">") {
cnt++;
}
var _local5 = showPage.slice(_local3 + 1, cnt);
var _local4 = _local5.split("=");
var _local2 = _local4[1].split(",");
switch (_local4[0]) {
case "img" :
imgName = _local2[0];
if (_local2[1]) {
imgMoveX = Number(_local2[1]);
} else {
imgMoveX = 0;
}
if (_local2[2]) {
imgMoveY = Number(_local2[2]);
} else {
imgMoveY = 0;
}
imgTag = true;
break;
case "blackout" :
imgName = "black";
imgTag = true;
break;
case "whiteout" :
imgName = "white";
imgTag = true;
break;
case "bgm" :
bgmName = _local2[0];
bgmTag = true;
break;
case "bgmdel" :
bgmdelTag = true;
break;
case "se" :
seName = _local2[0];
if (_local2[1]) {
seTime = Number(_local2[1]);
} else {
seTime = 1;
}
seTag = true;
break;
case "voice" :
voiceName = _local2[0];
voiceTag = true;
break;
case "name" :
nameName = _local2[0];
nameTag = 1;
break;
case "/name" :
nameTag = 2;
break;
case "mc" :
mcName = _local2[0];
if (_local2[1]) {
mcMoveX = Number(_local2[1]);
} else {
mcMoveX = 0;
}
if (_local2[2]) {
mcMoveY = Number(_local2[2]);
} else {
mcMoveY = 0;
}
if (_local2[3]) {
mcTimes = Number(_local2[3]);
} else {
mcTimes = 0;
}
mcTag = true;
}
if ((_local3 == 0) || (showPage.charAt(_local3 - 1) == newline)) {
if (showPage.charAt(cnt + 1) == newline) {
cnt++;
}
}
showPage = showPage.substr(0, _local3) + showPage.substr(cnt + 1);
cnt = _local3;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = true;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text = showPage.substr(0, cnt);
_root.textBMP = new flash.display.BitmapData(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._width + 20, _root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._height + 20, true, 16777215);
_root.textBMP.draw(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc);
_root.textBMP.applyFilter(_root.textBMP, new flash.geom.Rectangle(0, 0, _root.textBMP.width, _root.textBMP.height), new flash.geom.Point(0, 0), txtDropShadowFilter);
_root.stage_mc.ADVtxt_mc.bitmapTxt_mc.attachBitmap(_root.textBMP, 0);
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = false;
updateAfterEvent();
clearInterval(showTextID);
return(undefined);
}
cnt++;
if (cnt >= showPage.length) {
pageWait = true;
if (_root.automode) {
_root.automode_time = 0;
}
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = true;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text = showPage.substr(0, cnt);
_root.textBMP = new flash.display.BitmapData(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._width + 20, _root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._height + 20, true, 16777215);
_root.textBMP.draw(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc);
_root.textBMP.applyFilter(_root.textBMP, new flash.geom.Rectangle(0, 0, _root.textBMP.width, _root.textBMP.height), new flash.geom.Point(0, 0), txtDropShadowFilter);
_root.stage_mc.ADVtxt_mc.bitmapTxt_mc.attachBitmap(_root.textBMP, 0);
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = false;
updateAfterEvent();
clearInterval(showTextID);
if (_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text == "") {
_root.changePage = true;
}
return(undefined);
}
}
cnt++;
} else {
if (showPage.charAt(cnt) == "<") {
var _local3 = cnt;
while (showPage.charAt(cnt) != ">") {
cnt++;
}
var _local5 = showPage.slice(_local3 + 1, cnt);
var _local4 = _local5.split("=");
var _local2 = _local4[1].split(",");
switch (_local4[0]) {
case "img" :
imgName = _local2[0];
if (_local2[1]) {
imgMoveX = _local2[1];
} else {
imgMoveX = 0;
}
if (_local2[2]) {
imgMoveY = _local2[2];
} else {
imgMoveY = 0;
}
imgTag = true;
break;
case "blackout" :
imgName = "black";
imgTag = true;
break;
case "whiteout" :
imgName = "white";
imgTag = true;
break;
case "bgm" :
bgmName = _local2[0];
bgmTag = true;
break;
case "bgmdel" :
bgmdelTag = true;
break;
case "se" :
seName = _local2[0];
if (_local2[1]) {
seTime = _local2[1];
} else {
seTime = 1;
}
seTag = true;
break;
case "voice" :
voiceName = _local2[0];
voiceTag = true;
break;
case "name" :
nameName = _local2[0];
nameTag = 1;
break;
case "/name" :
nameTag = 2;
break;
case "mc" :
mcName = _local2[0];
if (_local2[1]) {
mcMoveX = Number(_local2[1]);
} else {
mcMoveX = 0;
}
if (_local2[2]) {
mcMoveY = Number(_local2[2]);
} else {
mcMoveY = 0;
}
if (_local2[3]) {
mcTimes = Number(_local2[3]);
} else {
mcTimes = 0;
}
mcTag = true;
}
if ((_local3 == 0) || (showPage.charAt(_local3 - 1) == newline)) {
if (showPage.charAt(cnt + 1) == newline) {
cnt++;
}
}
showPage = showPage.substr(0, _local3) + showPage.substr(cnt + 1);
cnt = _local3;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = true;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text = showPage.substr(0, cnt);
_root.textBMP = new flash.display.BitmapData(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._width + 20, _root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._height + 20, true, 16777215);
_root.textBMP.draw(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc);
_root.textBMP.applyFilter(_root.textBMP, new flash.geom.Rectangle(0, 0, _root.textBMP.width, _root.textBMP.height), new flash.geom.Point(0, 0), txtDropShadowFilter);
_root.stage_mc.ADVtxt_mc.bitmapTxt_mc.attachBitmap(textBMP, 0);
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = false;
updateAfterEvent();
clearInterval(showTextID);
return(undefined);
}
cnt++;
if (cnt >= showPage.length) {
pageWait = true;
if (_root.automode) {
_root.automode_time = 0;
}
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = true;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text = showPage.substr(0, cnt);
_root.textBMP = new flash.display.BitmapData(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._width + 20, _root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._height + 20, true, 16777215);
_root.textBMP.draw(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc);
_root.textBMP.applyFilter(_root.textBMP, new flash.geom.Rectangle(0, 0, _root.textBMP.width, _root.textBMP.height), new flash.geom.Point(0, 0), txtDropShadowFilter);
_root.stage_mc.ADVtxt_mc.bitmapTxt_mc.attachBitmap(textBMP, 0);
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = false;
updateAfterEvent();
clearInterval(showTextID);
if (_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text == "") {
_root.changePage = true;
}
return(undefined);
}
}
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = true;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text = showPage.substr(0, cnt);
_root.textBMP = new flash.display.BitmapData(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._width + 20, _root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._height + 20, true, 16777215);
_root.textBMP.draw(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc);
_root.textBMP.applyFilter(_root.textBMP, new flash.geom.Rectangle(0, 0, _root.textBMP.width, _root.textBMP.height), new flash.geom.Point(0, 0), txtDropShadowFilter);
_root.stage_mc.ADVtxt_mc.bitmapTxt_mc.attachBitmap(textBMP, 0);
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = false;
updateAfterEvent();
if (showPage.charAt(cnt) == newline) {
while (showPage.charAt(cnt) == newline) {
cnt++;
}
if (_root.automode) {
_root.automode_time = 0;
}
if (cnt >= showPage.length) {
pageWait = true;
if (_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text == "") {
_root.changePage = true;
}
clearInterval(showTextID);
return(undefined);
}
clickWait = true;
clearInterval(showTextID);
return(undefined);
}
}
_global.master = new Sound(_root);
_global.master.setVolume(_level0.masterVol);
_global.bgm = new Sound(this.bgm_mc);
_global.voice = new Sound(this.voice_mc);
_global.se = new Sound(this.stage_mc.backGround_mc);
this.showVolume_mc._visible = false;
var mcIsTop = false;
showPage = advPages[0];
pageNum = 0;
textSpeed = 1;
var old_txt_speed;
cnt = 0;
_global.clickLock = false;
_root.clickLocktemp = clickLock;
soundVolChange = false;
soundVolChangeBtn = false;
textDel = false;
ppbtn = false;
npbtn = false;
lock = false;
textClick = false;
clickWait = false;
pageWait = false;
clickON = false;
changePage = false;
this.stage_mc.ADVtxt_mc.nameWindow_mc._visible = false;
this.nextPage_btn._visible = false;
this.prevPage_btn._visible = false;
textVisible = true;
this.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.autoSize = true;
this.stage_mc.ADVtxt_mc.nameWidowTemp_mc.charNameTemp_mc.charName_txt.autoSize = false;
var nameTxt_fmt = new TextFormat();
nameTxt_fmt.leftMargin = 14;
nameTxt_fmt.align = "center";
var imgFadeout = false;
var imgFadein = -1;
var bgmFadeout = false;
var imgName = "";
var imgMoveX = 0;
var imgMoveY = 0;
var imgTag = false;
var bgmName = "";
var bgmTag = false;
var bgmdelTag = false;
var seName = "";
var seTime = 1;
var seTag = false;
var voiceName = "";
var voiceTag = false;
var nameTag = 0;
var nameName = "";
var mcName = "";
var mcMoveX = 0;
var mcMoveY = 0;
var mcTimes = 0;
var mcTag = false;
this.stage_mc.backGround_mc.createEmptyMovieClip("bgA_mc", 2);
this.stage_mc.backGround_mc.createEmptyMovieClip("bgB_mc", 1);
var topImg = flash.display.BitmapData.loadBitmap("black");
var bottomImg;
var textBMP;
var nameBMP;
this.stage_mc.backGround_mc.bgA_mc.attachBitmap(topImg, 1);
var txtDropShadowFilter = (new flash.filters.DropShadowFilter(3, 45, 0, 1, 3, 3, 3.5, 1, false, false, false));
showTextID = setInterval(showText, textSpeed);
Instance of Symbol 91 MovieClip "stage_mc" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 93 MovieClip in Frame 3
onClipEvent (load) {
var key_ENTER = 0;
var key_UP = 0;
var key_DN = 0;
var key_DEL = 0;
var rl_num = 999;
var rollBMP;
}
onClipEvent (keyDown) {
if (_root.lock == false) {
if (Key.isDown(13) && (_root.lock == false)) {
if (this._parent.stage_mc._currentframe == 1) {
if (_root.textVisible) {
if (_root.automode == false) {
if (_root.clickWait) {
_root.clickWait = false;
_root.clickON = true;
} else if (_root.pageWait) {
_root.pageWait = false;
_root.changePage = true;
} else {
_root.textClick = true;
}
} else {
_root.txtSpeed_mc._visible = true;
_root.automode = false;
_root.automode_time = -1;
_root.textSpeed = _root.old_txt_speed;
}
} else {
this._parent.textVisible = true;
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.automode_mc._visible = true;
}
} else if (this._parent.stage_mc._currentframe == 2) {
this._parent.stage_mc.gotoAndStop(1);
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.automode_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
this._parent.nextPage_btn._visible = false;
}
}
if (Key.isDown(38) && (this._parent.textVisible)) {
if ((this._parent.stage_mc._currentframe == 1) && (this._parent.pageNum > 0)) {
this._parent.textVisible_btn._visible = false;
this._parent.automode_mc._visible = false;
this._parent.menu_mc._visible = false;
this._parent.quit_mc._visible = false;
this._parent.soundVol_mc._visible = false;
this._parent.txtSpeed_mc._visible = false;
this._parent.stage_mc.nextFrame();
this._parent.stage_mc.ADVtxt_mc._visible = false;
this._parent.nextPage_btn._visible = true;
this._parent.nextPage_btn._alpha = 100;
this._parent.stage_mc.ADVrolltxt_mc.rolltxt_mc.attachBitmap(_root.rollBackBMP[this._parent.pageNum - 1], 0);
rl_num = this._parent.pageNum - 1;
} else if ((this._parent.stage_mc._currentframe == 2) && (rl_num > 0)) {
rl_num--;
this._parent.stage_mc.ADVrolltxt_mc.rolltxt_mc.attachBitmap(_root.rollBackBMP[rl_num], 0);
}
}
if (Key.isDown(40) && (this._parent.textVisible)) {
this._parent.npbtn = false;
if (this._parent.stage_mc._currentframe == 2) {
if (rl_num < (this._parent.pageNum - 1)) {
rl_num++;
this._parent.stage_mc.ADVrolltxt_mc.rolltxt_mc.attachBitmap(_root.rollBackBMP[rl_num], 0);
} else if (rl_num == (this._parent.pageNum - 1)) {
this._parent.stage_mc.gotoAndStop(1);
this._parent.nextPage_btn._visible = false;
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.automode_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
}
}
}
if (Key.isDown(39)) {
if (Key.isDown(83)) {
if (_level0.seVol < 100) {
_level0.seVol = _level0.seVol + 1;
} else {
_level0.seVol = 100;
}
_global.se.setVolume(_level0.seVol);
} else if (Key.isDown(86)) {
if (_level0.voiceVol < 100) {
_level0.voiceVol = _level0.voiceVol + 1;
} else {
_level0.voiceVol = 100;
}
_global.voice.setVolume(_level0.voiceVol);
} else if (Key.isDown(66)) {
if (_level0.bgmVol < 100) {
_level0.bgmVol = _level0.bgmVol + 1;
} else {
_level0.bgmVol = 100;
}
_global.bgm.setVolume(_level0.bgmVol);
} else {
if (_level0.masterVol < 100) {
_level0.masterVol = _level0.masterVol + 1;
} else {
_level0.masterVol = 100;
}
_global.master.setVolume(_level0.masterVol);
}
}
if (Key.isDown(37)) {
if (Key.isDown(83)) {
if (_level0.seVol > 0) {
_level0.seVol = _level0.seVol - 1;
} else {
_level0.seVol = 0;
}
_global.se.setVolume(_level0.seVol);
} else if (Key.isDown(86)) {
if (_level0.voiceVol > 0) {
_level0.voiceVol = _level0.voiceVol - 1;
} else {
_level0.voiceVol = 0;
}
_global.voice.setVolume(_level0.voiceVol);
} else if (Key.isDown(66)) {
if (_level0.bgmVol > 0) {
_level0.bgmVol = _level0.bgmVol - 1;
} else {
_level0.bgmVol = 0;
}
_global.bgm.setVolume(_level0.bgmVol);
} else {
if (_level0.masterVol > 0) {
_level0.masterVol = _level0.masterVol - 1;
} else {
_level0.masterVol = 0;
}
_global.master.setVolume(_level0.masterVol);
}
}
}
}
onClipEvent (enterFrame) {
if (_root.lock == false) {
if (Key.isDown(17) && (_root.lock == false)) {
if (this._parent.stage_mc._currentframe == 1) {
if (_root.textVisible) {
if (_root.automode == false) {
if (_root.clickWait) {
_root.clickWait = false;
_root.clickON = true;
} else if (_root.pageWait) {
_root.pageWait = false;
_root.changePage = true;
} else {
_root.textClick = true;
}
} else {
_root.automode = false;
_root.txtSpeed_mc._visible = true;
_root.automode_time = -1;
_root.textSpeed = _root.old_txt_speed;
}
} else {
this._parent.textVisible = true;
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.automode_mc._visible = true;
}
} else if (this._parent.stage_mc._currentframe == 2) {
this._parent.stage_mc.gotoAndStop(1);
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.automode_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
this._parent.nextPage_btn._visible = false;
}
}
if (this._parent.ppbtn && (this._parent.textVisible)) {
this._parent.ppbtn = false;
if ((this._parent.stage_mc._currentframe == 1) && (this._parent.pageNum > 0)) {
this._parent.textVisible_btn._visible = false;
this._parent.automode_mc._visible = false;
this._parent.menu_mc._visible = false;
this._parent.quit_mc._visible = false;
this._parent.soundVol_mc._visible = false;
this._parent.txtSpeed_mc._visible = false;
this._parent.stage_mc.nextFrame();
this._parent.stage_mc.ADVtxt_mc._visible = false;
this._parent.nextPage_btn._visible = true;
this._parent.nextPage_btn._alpha = 100;
this._parent.stage_mc.ADVrolltxt_mc.rolltxt_mc.attachBitmap(_root.rollBackBMP[this._parent.pageNum - 1], 0);
rl_num = this._parent.pageNum - 1;
} else if ((this._parent.stage_mc._currentframe == 2) && (rl_num > 0)) {
rl_num--;
this._parent.stage_mc.ADVrolltxt_mc.rolltxt_mc.attachBitmap(_root.rollBackBMP[rl_num], 0);
}
}
if (this._parent.npbtn && (this._parent.textVisible)) {
this._parent.npbtn = false;
if (this._parent.stage_mc._currentframe == 2) {
if (rl_num < (this._parent.pageNum - 1)) {
rl_num++;
this._parent.stage_mc.ADVrolltxt_mc.rolltxt_mc.attachBitmap(_root.rollBackBMP[rl_num], 0);
} else if (rl_num == (this._parent.pageNum - 1)) {
this._parent.stage_mc.gotoAndStop(1);
this._parent.nextPage_btn._visible = false;
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.automode_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
}
}
}
if (((this._parent.pageNum > 0) && (this._parent.textVisible)) && (_root.lock == false)) {
this._parent.prevPage_btn._visible = true;
this._parent.prevPage_btn._alpha = 100;
} else {
this._parent.prevPage_btn._visible = false;
}
if ((((Key.isDown(46) && (key_DEL == 0)) && (_root.lock == false)) || (this._parent.textDel)) && (this._parent.stage_mc._currentframe == 1)) {
this._parent.textDel = false;
if (this._parent.textVisible) {
this._parent.textVisible = false;
this._parent.prevPage_btn._visible = false;
this._parent.stage_mc.ADVtxt_mc._visible = false;
this._parent.textVisible_btn._visible = false;
this._parent.txtSpeed_mc._visible = false;
this._parent.soundVol_mc._visible = false;
this._parent.automode_mc._visible = false;
this._parent.menu_mc._visible = false;
this._parent.quit_mc._visible = false;
} else {
this._parent.textVisible = true;
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.automode_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
}
}
}
if (((((Key.isDown(39) || (Key.isDown(37))) || (Key.isDown(83))) || (Key.isDown(86))) || (Key.isDown(66))) && (_root.lock == false)) {
_root.soundVolChange = true;
_root.showVolume_mc._alpha = 100;
_root.showVolume_mc._visible = true;
} else {
_root.soundVolChange = false;
_root.showVolume_mc._visible = false;
}
key_DEL = Key.isDown(46);
}
onClipEvent (mouseDown) {
if ((clickLock == false) && (_root.lock == false)) {
if (this._parent.stage_mc._currentframe == 1) {
if (this._parent.textVisible) {
if (_root.automode == false) {
if (_root.clickWait) {
_root.clickWait = false;
_root.clickON = true;
} else if (_root.pageWait) {
_root.pageWait = false;
_root.changePage = true;
} else {
_root.textClick = true;
}
} else {
_root.txtSpeed_mc._visible = true;
_root.automode = false;
_root.automode_time = -1;
_root.textSpeed = _root.old_txt_speed;
}
} else {
this._parent.textVisible = true;
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.automode_mc._visible = true;
}
} else if (this._parent.stage_mc._currentframe == 2) {
this._parent.stage_mc.gotoAndStop(1);
this._parent.stage_mc.ADVtxt_mc._visible = true;
this._parent.textVisible_btn._visible = true;
this._parent.automode_mc._visible = true;
this._parent.soundVol_mc._visible = true;
this._parent.txtSpeed_mc._visible = true;
this._parent.menu_mc._visible = true;
this._parent.quit_mc._visible = true;
this._parent.nextPage_btn._visible = false;
}
}
}
Instance of Symbol 101 MovieClip "prevPage_btn" in Frame 3
on (rollOver) {
_global.clickLock = true;
nextFrame();
}
on (rollOut) {
_global.clickLock = false;
prevFrame();
}
on (release) {
_root.ppbtn = true;
}
onClipEvent (load) {
stop();
}
Instance of Symbol 105 MovieClip "nextPage_btn" in Frame 3
on (rollOver) {
_global.clickLock = true;
nextFrame();
}
on (rollOut) {
_global.clickLock = false;
prevFrame();
}
on (release) {
_root.npbtn = true;
}
onClipEvent (load) {
stop();
}
Instance of Symbol 119 MovieClip "txtSpeed_mc" in Frame 3
onClipEvent (load) {
stop();
}
on (rollOver) {
_global.clickLock = true;
nextFrame();
this.txspPre_mc._visible = true;
this.txspPre_mc._alpha = 100;
}
on (rollOut) {
_global.clickLock = false;
this.txspPre_mc._visible = false;
prevFrame();
}
on (press) {
this.txspPre_mc._visible = false;
switch (_root.textSpeed) {
case 10 :
_root.textSpeed = 2;
gotoAndStop (4);
break;
case 2 :
_root.textSpeed = 1;
gotoAndStop (6);
break;
case 1 :
_root.textSpeed = 80;
gotoAndStop (8);
break;
case 80 :
_root.textSpeed = 10;
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (clickLock == false) {
switch (_root.textSpeed) {
case 10 :
gotoAndStop (1);
break;
case 2 :
gotoAndStop (3);
break;
case 1 :
gotoAndStop (5);
break;
case 80 :
gotoAndStop (7);
}
}
}
Instance of Symbol 125 MovieClip "textVisible_btn" in Frame 3
onClipEvent (load) {
stop();
}
on (rollOver) {
_global.clickLock = true;
nextFrame();
}
on (rollOut) {
_global.clickLock = false;
prevFrame();
}
on (release) {
_root.textDel = true;
}
Instance of Symbol 151 MovieClip "automode_mc" in Frame 3
onClipEvent (load) {
var over = false;
stop();
}
on (rollOver) {
_global.clickLock = true;
over = true;
nextFrame();
this.txspPre_mc._visible = true;
this.txspPre_mc._alpha = 100;
}
on (rollOut) {
_global.clickLock = false;
over = false;
this.txspPre_mc._visible = false;
prevFrame();
}
on (press) {
this.txspPre_mc._visible = false;
if (_root.automode) {
_root.automode = false;
_root.textSpeed = _root.old_txt_speed;
_root.txtSpeed_mc._visible = true;
gotoAndStop (1);
} else {
_root.automode = true;
_root.old_txt_speed = _root.textSpeed;
_root.txtSpeed_mc._visible = false;
_root.textSpeed = 10;
if (_root.clickWait || (_root.pageWait)) {
_root.automode_time = 0;
}
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (clickLock == false) {
if (_root.automode) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
}
onClipEvent (mouseDown) {
if (((_root.automode && (over == false)) && (_root.soundVolChangeBtn == false)) && (clickLock == true)) {
_root.automode = false;
_root.automode_time = -1;
_root.textSpeed = _root.old_txt_speed;
}
}
onClipEvent (keyDown) {
if (_root.automode && ((Key.isDown(46) || (Key.isDown(38))) || (Key.isDown(40)))) {
_root.automode = false;
_root.automode_time = -1;
_root.textSpeed = _root.old_txt_speed;
}
}
Instance of Symbol 155 MovieClip "menu_mc" in Frame 3
onClipEvent (load) {
stop();
}
on (rollOver) {
_global.clickLock = true;
nextFrame();
this.txspPre_mc._visible = true;
this.txspPre_mc._alpha = 100;
}
on (rollOut) {
_global.clickLock = false;
this.txspPre_mc._visible = false;
prevFrame();
}
on (release) {
this.txspPre_mc._visible = false;
_level0.gotoAndStop("menu");
}
Instance of Symbol 164 MovieClip "soundVol_mc" in Frame 3
onClipEvent (load) {
stop();
if (_level0.mute) {
gotoAndStop (3);
}
}
on (rollOver) {
_global.clickLock = true;
_root.soundVolChangeBtn = true;
if (_level0.mute) {
gotoAndStop (4);
} else {
gotoAndStop (2);
}
}
on (rollOut) {
_global.clickLock = false;
_root.soundVolChangeBtn = false;
if (_level0.mute) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
on (release) {
if (_level0.mute) {
_level0.mute = false;
_global.master.setVolume(_level0.masterVol);
gotoAndStop (1);
} else {
_level0.mute = true;
_global.master.setVolume(0);
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (_level0.mute) {
_global.master.setVolume(0);
}
if (clickLock == false) {
if (_level0.mute) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
}
Frame 4
if (clickON) {
clickON = false;
showTextID = setInterval(showText, textSpeed);
}
if (changePage) {
rollBackBMP[pageNum] = textBMP;
pageNum++;
if (pageNum > totalPages) {
gotoAndPlay ("end");
} else {
changePage = false;
showPage = advPages[pageNum];
voice.setVolume(0);
voice.stop();
voiceStart = false;
cnt = 0;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = true;
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt.text = "";
textBMP = new flash.display.BitmapData(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._width + 20, _root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc.ADVtext_txt._height + 20, true, 16777215);
textBMP.draw(_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc);
_root.stage_mc.ADVtxt_mc.bitmapTxt_mc.attachBitmap(textBMP, 0);
_root.stage_mc.ADVtxt_mc.bitmapTxtTemp_mc._visible = false;
showTextID = setInterval(showText, textSpeed);
}
}
if (imgTag) {
imgTag = false;
bottomImg = flash.display.BitmapData.loadBitmap(imgName);
if (this.stage_mc.backGround_mc.bgA_mc.getDepth() < this.stage_mc.backGround_mc.bgB_mc.getDepth()) {
this.stage_mc.backGround_mc.bgA_mc.removeMovieClip();
this.stage_mc.backGround_mc.createEmptyMovieClip("bgA_mc", 1);
this.stage_mc.backGround_mc.bgA_mc.attachBitmap(bottomImg, 1);
this.stage_mc.backGround_mc.bgA_mc._x = this.stage_mc.backGround_mc.bgA_mc._x + imgMoveX;
this.stage_mc.backGround_mc.bgA_mc._y = this.stage_mc.backGround_mc.bgA_mc._y + imgMoveY;
if (mcIsTop) {
this.stage_mc.backGround_mc.bgB_mc.movie_mc.stop();
topImg = new flash.display.BitmapData(this.stage_mc.backGround_mc.bgB_mc._width + 20, this.stage_mc.backGround_mc.bgB_mc._height + 20, true, 16777215);
topImg.draw(this.stage_mc.backGround_mc.bgB_mc);
this.stage_mc.backGround_mc.bgB_mc.attachBitmap(topImg, 1);
this.stage_mc.backGround_mc.bgB_mc.movie_mc.removeMovieClip();
}
} else {
this.stage_mc.backGround_mc.bgB_mc.removeMovieClip();
this.stage_mc.backGround_mc.createEmptyMovieClip("bgB_mc", 1);
this.stage_mc.backGround_mc.bgB_mc.attachBitmap(bottomImg, 1);
this.stage_mc.backGround_mc.bgB_mc._x = this.stage_mc.backGround_mc.bgB_mc._x + imgMoveX;
this.stage_mc.backGround_mc.bgB_mc._y = this.stage_mc.backGround_mc.bgB_mc._y + imgMoveY;
if (mcIsTop) {
this.stage_mc.backGround_mc.bgA_mc.movie_mc.stop();
topImg = new flash.display.BitmapData(this.stage_mc.backGround_mc.bgA_mc._width + 20, this.stage_mc.backGround_mc.bgA_mc._height + 20, true, 16777215);
topImg.draw(this.stage_mc.backGround_mc.bgA_mc);
this.stage_mc.backGround_mc.bgA_mc.attachBitmap(topImg, 1);
this.stage_mc.backGround_mc.bgA_mc.movie_mc.removeMovieClip();
}
}
this.prevPage_btn._visible = false;
this.soundVol_mc._visible = false;
this.quit_mc._visible = false;
this.menu_mc._visible = false;
this.txtSpeed_mc._visible = false;
this.automode_mc._visible = false;
this.textVisible_btn._visible = false;
mcIsTop = false;
imgFadeout = true;
_root.lock = true;
} else if (mcTag) {
mcTag = false;
if (this.stage_mc.backGround_mc.bgA_mc.getDepth() < this.stage_mc.backGround_mc.bgB_mc.getDepth()) {
this.stage_mc.backGround_mc.bgA_mc.removeMovieClip();
this.stage_mc.backGround_mc.createEmptyMovieClip("bgA_mc", 1);
this.stage_mc.backGround_mc.bgA_mc.attachMovie(mcName, "movie_mc", 1);
this.stage_mc.backGround_mc.bgA_mc.movie_mc._x = this.stage_mc.backGround_mc.bgA_mc.movie_mc._x + mcMoveX;
this.stage_mc.backGround_mc.bgA_mc.movie_mc._y = this.stage_mc.backGround_mc.bgA_mc.movie_mc._y + mcMoveY;
this.stage_mc.backGround_mc.bgA_mc.movie_mc.stop();
bottomImg = new flash.display.BitmapData(this.stage_mc.backGround_mc.bgA_mc._width + 20, this.stage_mc.backGround_mc.bgA_mc._height + 20, true, 16777215);
bottomImg.draw(this.stage_mc.backGround_mc.bgA_mc);
this.stage_mc.backGround_mc.bgA_mc.attachBitmap(bottomImg, 1);
this.stage_mc.backGround_mc.bgA_mc.movie_mc.removeMovieClip();
if (mcIsTop) {
this.stage_mc.backGround_mc.bgB_mc.movie_mc.stop();
topImg = new flash.display.BitmapData(this.stage_mc.backGround_mc.bgB_mc._width + 20, this.stage_mc.backGround_mc.bgB_mc._height + 20, true, 16777215);
topImg.draw(this.stage_mc.backGround_mc.bgB_mc);
this.stage_mc.backGround_mc.bgB_mc.attachBitmap(topImg, 1);
this.stage_mc.backGround_mc.bgB_mc.movie_mc.removeMovieClip();
}
} else {
this.stage_mc.backGround_mc.bgB_mc.removeMovieClip();
this.stage_mc.backGround_mc.createEmptyMovieClip("bgB_mc", 1);
this.stage_mc.backGround_mc.bgB_mc.attachMovie(mcName, "movie_mc", 1);
this.stage_mc.backGround_mc.bgB_mc.movie_mc._x = this.stage_mc.backGround_mc.bgB_mc.movie_mc._x + mcMoveX;
this.stage_mc.backGround_mc.bgB_mc.movie_mc._y = this.stage_mc.backGround_mc.bgB_mc.movie_mc._y + mcMoveY;
this.stage_mc.backGround_mc.bgB_mc.movie_mc.stop();
bottomImg = new flash.display.BitmapData(this.stage_mc.backGround_mc.bgB_mc._width + 20, this.stage_mc.backGround_mc.bgB_mc._height + 20, true, 16777215);
bottomImg.draw(this.stage_mc.backGround_mc.bgB_mc);
this.stage_mc.backGround_mc.bgB_mc.attachBitmap(bottomImg, 1);
this.stage_mc.backGround_mc.bgB_mc.movie_mc.removeMovieClip();
if (mcIsTop) {
this.stage_mc.backGround_mc.bgA_mc.movie_mc.stop();
topImg = new flash.display.BitmapData(this.stage_mc.backGround_mc.bgA_mc._width + 20, this.stage_mc.backGround_mc.bgA_mc._height + 20, true, 16777215);
topImg.draw(this.stage_mc.backGround_mc.bgA_mc);
this.stage_mc.backGround_mc.bgA_mc.attachBitmap(topImg, 1);
this.stage_mc.backGround_mc.bgA_mc.movie_mc.removeMovieClip();
}
}
mcIsTop = true;
this.prevPage_btn._visible = false;
this.quit_mc._visible = false;
this.menu_mc._visible = false;
this.soundVol_mc._visible = false;
this.txtSpeed_mc._visible = false;
this.textVisible_btn._visible = false;
this.automode_mc._visible = false;
imgFadeout = true;
_root.lock = true;
} else if (imgFadeout) {
if (this.stage_mc.ADVtxt_mc._alpha > 10) {
this.stage_mc.ADVtxt_mc._alpha = this.stage_mc.ADVtxt_mc._alpha - 10;
} else {
this.stage_mc.ADVtxt_mc._alpha = 0;
}
if (this.stage_mc.ADVtxt_mc._alpha == 0) {
if (this.stage_mc.backGround_mc.bgA_mc.getDepth() > this.stage_mc.backGround_mc.bgB_mc.getDepth()) {
if (this.stage_mc.backGround_mc.bgA_mc._alpha > 10) {
this.stage_mc.backGround_mc.bgA_mc._alpha = this.stage_mc.backGround_mc.bgA_mc._alpha - 10;
} else {
this.stage_mc.backGround_mc.bgA_mc._visible = false;
this.stage_mc.backGround_mc.bgA_mc.swapDepths("_root.stage_mc.backGround_mc.bgB_mc");
imgFadeout = false;
if (mcIsTop) {
this.stage_mc.backGround_mc.bgB_mc.attachMovie(mcName, "movie_mc", 1);
this.stage_mc.backGround_mc.bgB_mc.movie_mc._x = this.stage_mc.backGround_mc.bgB_mc.movie_mc._x + mcMoveX;
this.stage_mc.backGround_mc.bgB_mc.movie_mc._y = this.stage_mc.backGround_mc.bgB_mc.movie_mc._y + mcMoveY;
if (mcTimes > 0) {
_root.playingMcLoopTimes = 0;
this.stage_mc.backGround_mc.bgB_mc.movie_mc.onEnterFrame = function () {
if (_root.stage_mc.backGround_mc.bgB_mc.movie_mc._currentframe == _root.stage_mc.backGround_mc.bgB_mc.movie_mc._totalframes) {
_root.playingMcLoopTimes++;
if (_root.playingMcLoopTimes == mcTimes) {
_root.stage_mc.backGround_mc.bgB_mc.movie_mc.stop();
_root.imgFadein = 1;
_root.stage_mc.backGround_mc.bgB_mc.movie_mc.onEnterFrame = null;
}
}
};
} else {
imgFadein = 1;
}
} else {
imgFadein = 1;
}
}
} else if (this.stage_mc.backGround_mc.bgB_mc._alpha > 10) {
this.stage_mc.backGround_mc.bgB_mc._alpha = this.stage_mc.backGround_mc.bgB_mc._alpha - 10;
} else {
this.stage_mc.backGround_mc.bgB_mc._visible = false;
this.stage_mc.backGround_mc.bgB_mc.swapDepths("_root.stage_mc.backGround_mc.bgA_mc");
imgFadeout = false;
if (mcIsTop) {
this.stage_mc.backGround_mc.bgA_mc.attachMovie(mcName, "movie_mc", 1);
this.stage_mc.backGround_mc.bgA_mc.movie_mc._x = this.stage_mc.backGround_mc.bgA_mc.movie_mc._x + mcMoveX;
this.stage_mc.backGround_mc.bgA_mc.movie_mc._y = this.stage_mc.backGround_mc.bgA_mc.movie_mc._y + mcMoveY;
if (mcTimes > 0) {
_root.playingMcLoopTimes = 0;
this.stage_mc.backGround_mc.bgA_mc.movie_mc.onEnterFrame = function () {
if (_root.stage_mc.backGround_mc.bgA_mc.movie_mc._currentframe == _root.stage_mc.backGround_mc.bgA_mc.movie_mc._totalframes) {
_root.playingMcLoopTimes++;
if (_root.playingMcLoopTimes == mcTimes) {
_root.stage_mc.backGround_mc.bgA_mc.movie_mc.stop();
_root.imgFadein = 1;
_root.stage_mc.backGround_mc.bgA_mc.movie_mc.onEnterFrame = null;
}
}
};
} else {
imgFadein = 1;
}
} else {
imgFadein = 1;
}
}
}
} else if (imgFadein > 0) {
imgFadein++;
if (imgFadein > 5) {
if (this.stage_mc.ADVtxt_mc._alpha < 90) {
this.stage_mc.ADVtxt_mc._alpha = this.stage_mc.ADVtxt_mc._alpha + 10;
} else {
this.stage_mc.ADVtxt_mc._alpha = 100;
_global.clickLock = false;
_root.lock = false;
this.quit_mc._visible = true;
this.menu_mc._visible = true;
this.soundVol_mc._visible = true;
this.textVisible_btn._visible = true;
this.automode_mc._visible = true;
if (automode == false) {
this.txtSpeed_mc._visible = true;
}
if (pageNum > 0) {
this.prevPage_btn._visible = true;
}
imgFadein = -1;
showTextID = setInterval(showText, textSpeed);
}
}
}
if (bgmTag || (bgmdelTag)) {
if (bgm.getVolume() > 10) {
bgm.setVolume(bgm.getVolume() - 10);
} else {
bgm.stop();
if (bgmdelTag) {
bgmdelTag = false;
} else {
bgm.attachSound(bgmName);
if (_level0.mute) {
bgm.setVolume(0);
} else {
bgm.setVolume(_level0.bgmVol);
}
bgm.start(0, 999);
bgmTag = false;
}
showTextID = setInterval(showText, textSpeed);
}
}
if (seTag) {
se.setVolume(0);
se.stop();
se.attachSound(seName);
if (_level0.mute) {
se.setVolume(0);
} else {
se.setVolume(_level0.seVol);
}
se.start(0, seTime);
seTag = false;
showTextID = setInterval(showText, textSpeed);
}
if (voiceTag) {
voiceTag = false;
voice.setVolume(0);
voice.stop();
voice.attachSound(voiceName);
if (_level0.mute) {
voice.setVolume(0);
} else {
voice.setVolume(_level0.voiceVol);
}
voice.start(0, 1);
voiceStart = true;
voice.onSoundComplete = function () {
voiceStart = false;
};
showTextID = setInterval(showText, textSpeed);
}
if (nameTag == 1) {
this.stage_mc.ADVtxt_mc.nameWidowTemp_mc._visible = true;
this.stage_mc.ADVtxt_mc.nameWidowTemp_mc.charNameTemp_mc.charName_txt.text = nameName;
nameBMP = new flash.display.BitmapData(this.stage_mc.ADVtxt_mc.nameWidowTemp_mc._width, this.stage_mc.ADVtxt_mc.nameWidowTemp_mc._height, true, 16777215);
nameBMP.draw(this.stage_mc.ADVtxt_mc.nameWidowTemp_mc);
this.stage_mc.ADVtxt_mc.nameWindow_mc.attachBitmap(nameBMP, 0);
this.stage_mc.ADVtxt_mc.nameWidowTemp_mc._visible = false;
this.stage_mc.ADVtxt_mc.nameWindow_mc._visible = true;
nameTag = 0;
showTextID = setInterval(showText, textSpeed);
} else if (nameTag == 2) {
this.stage_mc.ADVtxt_mc.nameWindow_mc._visible = false;
nameTag = 0;
showTextID = setInterval(showText, textSpeed);
}
if ((automode == true) && (automode_time >= 0)) {
if (voiceStart) {
automode_time = 0;
} else {
automode_time++;
}
if (automode_time > automode_speed) {
automode_time = -1;
if (pageWait) {
pageWait = false;
changePage = true;
} else if (clickWait) {
clickWait = false;
clickON = true;
}
}
}
Frame 5
gotoAndPlay(_currentframe - 1);
_root.clickLocktemp = clickLock;
Frame 6
var ebgmVol;
Frame 7
ebgmVol = master.getVolume();
if (ebgmVol > 5) {
master.setVolume(ebgmVol - 5);
} else {
master.setVolume(0);
master.stop();
}
if (this.ending_mc._alpha < 100) {
this.ending_mc._alpha = this.ending_mc._alpha + 1.5;
} else {
this.ending_mc._alpha = 100;
}
if ((this.ending_mc._alpha == 100) && (master.getVolume() == 0)) {
stop();
_level0.gotoAndStop("menu");
}
Frame 8
gotoAndPlay(_currentframe - 1);
Frame 9
stop();
Symbol 50 MovieClip [lala_03_2] Frame 84
this.stop();
Symbol 63 MovieClip [lala_02_3] Frame 84
this.stop();
Symbol 65 MovieClip [lala_02_2] Frame 84
this.stop();
Instance of Symbol 137 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
this.volMask_mc._x = Math.floor((_level0.masterVol * this.volMask_mc._width) / 100);
}
Instance of Symbol 137 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
this.volMask_mc._x = Math.floor((_level0.bgmVol * this.volMask_mc._width) / 100);
}
Instance of Symbol 137 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
this.volMask_mc._x = Math.floor((_level0.voiceVol * this.volMask_mc._width) / 100);
}
Instance of Symbol 137 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
this.volMask_mc._x = Math.floor((_level0.seVol * this.volMask_mc._width) / 100);
}