Frame 1
Stage.scaleMode = "noScale";
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 = true;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.save = false;
menu_cm.builtInItems.zoom = true;
_root.menu = menu_cm;
loadMovie ("data0.swf", _root.checkMC.m1);
loadMovie ("dataZ.swf", _root.checkMC.m2);
Frame 2
var lb = _root.getBytesLoaded();
var tb = _root.getBytesTotal();
if (lb >= tb) {
_root.gotoAndPlay(5);
}
Frame 3
var lb = _root.getBytesLoaded();
var tb = _root.getBytesTotal();
if (lb >= tb) {
_root.gotoAndPlay(5);
}
var f = Math.round((lb / tb) * 100);
_root.loadbar.gotoAndStop(f);
Frame 4
_root.gotoAndPlay(3);
Frame 18
_root.TAIKEN = _root.checkMC.m1.flg;
var tg1 = _root.checkMC.m1.ero;
var tg2 = _root.checkMC.m2.ero;
if (_root.TAIKEN) {
_root.stop();
_root.dataCheckMC.gotoAndStop(2);
} else if ((tg1 == tg2) && (tg1 != undefined)) {
_root.keyFlg1 = true;
_root.keyFlg2 = false;
_root.keyFlg3 = true;
} else {
_root.stop();
_root.dataCheckMC.gotoAndStop(3);
}
Frame 20
function interval() {
frame = frameCo;
frameCo = 0;
tTime++;
}
setInterval(function () {
interval();
}, 1000);
Frame 21
function eroSound() {
bgm = new Array();
bgm[0] = new Sound(_root.BGMMC);
bgm[0].attachSound("bgm4wav");
bgm[0].setVolume(100);
bgm[1] = new Sound(_root.BGMMC);
bgm[1].attachSound("bgm5wav");
bgm[1].setVolume(100);
bgm[2] = new Sound(_root.BGMMC);
bgm[2].attachSound("bgm1MP3");
bgm[2].setVolume(100);
bgm[3] = new Sound(_root.BGMMC);
bgm[3].attachSound("bgm2MP3");
bgm[3].setVolume(100);
bgm[4] = new Sound(_root.BGMMC);
bgm[4].attachSound("bgm3MP3");
bgm[4].setVolume(100);
bgm[5] = new Sound(_root.BGMMC);
bgm[5].attachSound("bgm6.mp3");
bgm[5].setVolume(100);
bgm[6] = new Sound(_root.BGMMC);
bgm[6].attachSound("bgm7.mp3");
bgm[6].setVolume(100);
sAll1 = new Sound(_root.SVMC);
sAll1.setVolume(100);
vibVol1 = new Sound(_root.SVMC.S_vibMC1);
vibVol1.setVolume(100);
vibVol2 = new Sound(_root.SVMC.S_vibMC2);
vibVol2.setVolume(100);
vibVol3 = new Sound(_root.SVMC.S_vibMC3);
vibVol3.setVolume(100);
}
function soundPro() {
if (_root.stageMC != undefined) {
sAll2 = new Sound(_root.stageMC);
if (soundType) {
sAll2.setVolume(100);
} else {
sAll2.setVolume(0);
}
}
if (soundType) {
sAll1.setVolume(100);
} else {
sAll1.setVolume(0);
}
}
function musicPro() {
_root.SVMC.S_vibMC1.gotoAndStop(1);
_root.SVMC.S_vibMC2.gotoAndStop(1);
_root.SVMC.S_vibMC3.gotoAndStop(1);
vibVol1.stop();
vibVol2.stop();
vibVol3.stop();
}
function keyWait(n) {
switch (n) {
case 0 :
if (_root.SVMC.pyoroMC._currentframe == 1) {
_root.SVMC.pyoroMC.play();
return(true);
}
return(false);
case 1 :
if (_root.nasiMC._currentframe == 1) {
_root.nasiMC.play();
return(true);
}
return(false);
case 2 :
if (_root.SVMC.puriMC._currentframe == 1) {
_root.SVMC.puriMC.play();
return(true);
}
return(false);
case 3 :
if (_root.SVMC.piMC._currentframe == 1) {
_root.SVMC.piMC.play();
return(true);
}
return(false);
case 4 :
if (_root.nasiMC2._currentframe == 1) {
_root.nasiMC2.play();
return(true);
}
return(false);
}
}
function timeChange() {
var _local6 = Math.floor(tTime / 3600);
var _local1 = tTime % 3600;
var _local2 = _local1 % 60;
_local1 = Math.floor(_local1 / 60);
if (_local1 <= 9) {
var _local3 = "0" + _local1;
} else {
var _local3 = _local1;
}
if (_local2 <= 9) {
var _local4 = "0" + _local2;
} else {
var _local4 = _local2;
}
var _local5 = (((_local6 + ":") + _local3) + ":") + _local4;
return(_local5);
}
function Debug() {
var _local6 = _root.startGamenMC.sentakuMC;
var _local19 = _local6._currentframe;
var _local20 = (paneY * 4) + paneX;
var _local18 = _root._currentframe;
var _local15 = enemy[eNo].partsFlg0;
var _local2 = enemy[eNo].partsFlg1;
var _local3 = enemy[eNo].partsFlg2;
var _local4 = enemy[eNo].partsFlg3;
var _local5 = enemy[eNo].partsFlg4;
var _local7 = enemy[eNo].partsFlg5;
var _local8 = enemy[eNo].partsFlg6;
var _local10 = enemy[eNo].partsFlg7;
var _local11 = enemy[eNo].partsFlg8;
var _local12 = enemy[eNo].partsFlg9;
var _local14 = enemy[eNo].partsFlg10;
var _local17 = _root.stageMC._visible;
var _local13 = tgE._currentframe;
var _local16 = enemy[eNo].ectP;
var _local9 = (("\nAstartFlg\uFF1A" + AstartFlg) + "\nanimeFlg:") + animeFlg;
DDD0 = (((((((((((((((((((((((((((((((((((((((((_local9 + "\n\n") + enemy[eneNo].name) + "\n\u6575\uFF26\uFF1A") + BFeneFinish) + "\n\u81EA\uFF26\uFF1A") + BFpriFinish) + "\n\nfinishP:") + finishP) + "\nLVno: ") + tgE.labelF) + "\niCo: ") + BFco) + " / ") + volumeValP[vol[4]]) + "\neCo: ") + tgE.co) + "\ncf: ") + _local13) + "\nIn\u5408\u56F3\uFF1A") + normalIn) + "\n\nP0fg :") + _local15) + "\nP1fg :") + _local2) + "\nP2fg :") + _local3) + "\nP3fg :") + _local4) + "\nP4fg :") + _local5) + "\nP5fg :") + _local7) + "\nP6fg :") + _local8) + "\nP7fg :") + _local10) + "\nP8fg :") + _local11) + "\nP9fg :") + _local12) + "\nP10fg:") + _local14;
}
var load1 = new MovieClipLoader();
var loadSound1 = new Object();
load1.addListener(loadSound1);
load1.loadClip("dataSV1.swf", SVMC);
loadSound1.onLoadStart = function (tg) {
dText.text = dText.text + (("\uFF7B\uFF73\uFF9D\uFF84\uFF9E \uFF9B\uFF70\uFF84\uFF9E\u958B\u59CB\uFF1A\n" + tg) + newline);
};
loadSound1.onLoadProgress = function (tgS, bytesLoaded, bytesTotal) {
dText.text = dText.text + (((bytesLoaded + " / ") + bytesTotal) + newline);
var _local2 = Math.round((bytesLoaded / bytesTotal) * 100);
var _local3 = _root.feedInOutMC.loadingMC.bar;
_local3.gotoAndStop(_local2);
};
loadSound1.onLoadComplete = function (tgS) {
dText.text = dText.text + (("\uFF7B\uFF73\uFF9D\uFF84\uFF9E \u8AAD\u307F\u8FBC\u307F\u7D42\u4E86:\n" + tgS) + newline);
var _local2 = _root.feedInOutMC.loadingMC;
_local2._visible = false;
};
loadSound1.onLoadInit = function (tg) {
dText.text = dText.text + ((("\uFF7B\uFF73\uFF9D\uFF84\uFF9E \u5148\u982D\uFF8C\uFF9A\uFF70\uFF91\u3000\uFF71\uFF78\uFF7C\uFF6E\uFF9D\u5B9F\u884C \n" + tg) + "\n \uFF92\uFF72\uFF9D\uFF80\uFF72\uFF91\uFF97\uFF72\uFF9D\uFF1A") + _root._currentframe);
};
loadSound1.onLoadError = function (target_mc, errorCode) {
dText.text = dText.text + ((("\uFF74\uFF97\uFF70!!!!! ERROR CODE =\u3000" + errorCode) + newline) + target_mc);
};
ANIMETICA = true;
keyType = 2;
qualType = false;
soundType = true;
BGMType = true;
EloadFlg = false;
fukuLv = 101;
cName = "";
Instance of Symbol 116 MovieClip in Frame 21
onClipEvent (keyDown) {
var cfR = (_root._currentframe - 20);
switch (cfR) {
case 10 :
break;
case 15 :
break;
case 20 :
}
if (_root.initSetMC.lv != "patternSet") {
if ((Key.getCode() == 65) && (_root.keyWait(0))) {
_root._quality = "LOW";
} else if ((Key.getCode() == 83) && (_root.keyWait(0))) {
_root._quality = "MEDIUM";
} else if ((Key.getCode() == 68) && (_root.keyWait(0))) {
_root._quality = "HIGH";
}
if ((Key.getCode() == 69) && (_root.keyWait(0))) {
if (_root.winAlpha) {
_root.winAlpha = false;
_root.messageMC._alpha = 1;
_root.panelMC._alpha = 1;
_root.tgS.gaugeMC._alpha = (_root.tgS.gaugeMC2._alpha = 1);
} else {
_root.winAlpha = true;
_root.messageMC._alpha = 100;
_root.panelMC._alpha = 100;
_root.tgS.gaugeMC._alpha = (_root.tgS.gaugeMC2._alpha = 100);
}
}
}
}
Frame 22
function saveProcessing() {
var _local1 = SharedObject.getLocal("erotica1", "/");
_local1.data.data0 = mapX;
_local1.data.data1 = mapY;
_local1.data.data2 = mapNo;
_local1.data.data3 = gold;
_local1.data.data4 = cName;
_local1.data.data5 = watt;
_local1.data.data10 = itemTimes;
_local1.data.data11 = ectP;
_local1.data.data15 = tTime;
_local1.data.data16 = tBattleCo;
_local1.data.data17 = tRunawayCo;
_local1.data.data20 = TEflg;
_local1.data.data21 = TElv;
_local1.data.data22 = BTEflg;
_local1.data.data25 = itemBN;
_local1.data.data26 = setBeltNo;
_local1.data.data27 = fukuLv;
_local1.data.data30 = mararaFlg;
_local1.data.data110 = SBCflg[10];
_local1.data.data111 = SBCflg[11];
_local1.data.data112 = SBCflg[12];
_local1.data.data118 = SBCflg[18];
_local1.data.data120 = SBCflg[20];
_local1.data.data121 = SBCflg[21];
_local1.data.data124 = SBCflg[24];
_local1.data.data127 = SBCflg[27];
_local1.data.data130 = SBCflg[30];
_local1.data.data131 = SBCflg[31];
_local1.data.data133 = SBCflg[33];
_local1.data.data135 = SBCflg[35];
_local1.data.data138 = SBCflg[38];
_local1.data.data140 = SBCflg[40];
_local1.data.data143 = SBCflg[43];
_local1.data.data145 = SBCflg[45];
_local1.data.data147 = SBCflg[47];
_local1.data.data150 = SBCflg[50];
_local1.data.data151 = SBCflg[51];
_local1.data.data154 = SBCflg[54];
_local1.data.data157 = SBCflg[57];
_local1.data.data160 = SBCflg[60];
_local1.data.data170 = SBCflg[70];
_local1.data.data190 = SBCflg[90];
_local1.data.data195 = SBCflg[95];
_local1.data.dataZ = loadingTest;
_local1.flush();
for (var _local2 in _local1.data) {
}
}
function loadProcessing() {
var _local1 = SharedObject.getLocal("erotica1", "/");
loadingTest = _local1.data.dataZ;
if (loadingTest != undefined) {
mapX = _local1.data.data0;
mapY = _local1.data.data1;
mapNo = _local1.data.data2;
gold = _local1.data.data3;
cName = _local1.data.data4;
watt = _local1.data.data5;
itemTimes = _local1.data.data10;
ectP = _local1.data.data11;
tTime = _local1.data.data15;
tBattleCo = _local1.data.data16;
tRunawayCo = _local1.data.data17;
TEflg = _local1.data.data20;
TElv = _local1.data.data21;
BTEflg = _local1.data.data22;
itemBN = _local1.data.data25;
setBeltNo = _local1.data.data26;
fukuLv = _local1.data.data27;
mararaFlg = _local1.data.data30;
SBCflg = new Array();
SBCflg[10] = _local1.data.data110;
SBCflg[11] = _local1.data.data111;
SBCflg[12] = _local1.data.data112;
SBCflg[18] = _local1.data.data118;
SBCflg[20] = _local1.data.data120;
SBCflg[21] = _local1.data.data121;
SBCflg[24] = _local1.data.data124;
SBCflg[27] = _local1.data.data127;
SBCflg[30] = _local1.data.data130;
SBCflg[31] = _local1.data.data131;
SBCflg[33] = _local1.data.data133;
SBCflg[35] = _local1.data.data135;
SBCflg[38] = _local1.data.data138;
SBCflg[40] = _local1.data.data140;
SBCflg[43] = _local1.data.data143;
SBCflg[45] = _local1.data.data145;
SBCflg[47] = _local1.data.data147;
SBCflg[50] = _local1.data.data150;
SBCflg[51] = _local1.data.data151;
SBCflg[54] = _local1.data.data154;
SBCflg[57] = _local1.data.data157;
SBCflg[60] = _local1.data.data160;
SBCflg[70] = _local1.data.data170;
SBCflg[90] = _local1.data.data190;
SBCflg[95] = _local1.data.data195;
textDataSet();
enemyIntelSet();
mapResetPro();
bigEventCheck(1);
itemUsing(setBeltNo, fukuLv);
capaInitialSet();
return(true);
}
return(false);
}
tgS = _root.stageMC.stageBMC;
var myMC = new MovieClipLoader();
var myLis1 = new Object();
myLis1.onLoadStart = function (tgS) {
};
myLis1.onLoadProgress = function (tgS, bytesLoaded, bytesTotal) {
var _local2 = Math.round((bytesLoaded / bytesTotal) * 100);
var _local3 = _root.feedInOutMC;
_local3.loadingMC.bar.gotoAndStop(_local2);
};
myLis1.onLoadComplete = function (tgS) {
var _local2 = _root.feedInOutMC;
_local2.loadingMC._visible = false;
};
myLis1.onLoadInit = function (tgS) {
EloadFlg = false;
tgS.nextFrame();
};
myLis1.onLoadError = function (target_mc, errorCode) {
var _local3 = _root.feedInOutMC;
_local3.gotoAndStop(1);
var _local2 = (("\u8AAD\u307F\u8FBC\u307F\u30A8\u30E9\u30FC\u3000\u6575No.=" + eNo) + "\u3000\u3000ERROR CODE =\u3000\n") + errorCode;
textWindowOpen(42, 0, 0, 0, 0, 0, _local2);
ERRORflg = true;
BFstartFlg = false;
miniEV.flg = false;
_root.gotoAndStop(35);
};
myMC.addListener(myLis1);
Frame 23
function BattleTextDataSet() {
var _local1 = enemy[eNo].name;
var _local2 = cName;
BTD = new Array();
BTD[1] = _local1 + " \u0430\u0442\u0430\u043A\u0443\u0435\u0442! \n";
BTD[2] = "\u0412\u0438\u0445\u0440\u0435\u0442\u0440\u0443\u0441\u044B \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0438\u043B\u0438 \u0438\n\u0441\u043E\u0440\u0432\u0430\u043B\u0438 \u043E\u0434\u0435\u0436\u0434\u0443 \u0432\u0440\u0430\u0433\u0443";
BTD[3] = "Enemy's excitement level hasn't decreased by the effect of Vivi-rotor! \n";
BTD[5] = _local1 + " \u044D\u0442\u043E \u043F\u0435\u0440\u0432\u043E\u0435 \u0441\u0440\u0430\u0436\u0435\u043D\u0438\u0435. \n\n\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u0435\u043A\u0441-\u0431\u0438\u0442\u0432\u0443: Space key \u0423\u0431\u0435\u0436\u0430\u0442\u044C: Shift key ";
BTD[6] = ((_local1 + " is the ") + enemy[eNo].co) + " times fighting. \n\nSex battle start: Space key It escapes: Shift key ";
BTD[7] = "";
BTD[10] = "\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\n\u0441\u0431\u0435\u0436\u0430\u0442\u044C...! ";
BTD[11] = _local2 + " \u0441\u0431\u0435\u0436\u0430\u043B. ";
BTD[12] = ("Attack of the " + _local2) + ". \nPlease select a command. ";
BTD[13] = "\u0412\u044B\u0431\u0435\u043E\u0438\u0442\u0435 \u043E\u0434\u0435\u0436\u0434\u0443 \u0434\u043B\u044F \u0441\u043D\u044F\u0442\u0438\u044F. ";
BTD[14] = "It's still impossible. ";
BTD[15] = "There are no parts. ";
BTD[16] = "It has already taken it off. ";
BTD[17] = "It's impossible. ";
BTD[19] = "Please select the attack pattern. ";
BTD[20] = "Please select the attack point. ";
BTD[21] = "It became the defense posture. \nEnemy's attack power decreases to 1/4 or less. ";
BTD[22] = "Please select the item used. ";
BTD[23] = "This command can't be executed. \nAfter the ability item is used, it's not possible to attack it. ";
BTD[24] = "This command can't be executed. \nThe insert attack is possible after the panty is undressed. ";
BTD[25] = "This command can't be executed. \nIt's possible after the attack item is equipped. ";
BTD[27] = "It endured by the divine protection of Miracle pants!! ";
BTD[29] = ((_local2 + " was defeated... \n\nThe body of the ") + _local2) + " was splashed in the Spring village by mysterious power... ";
BTD[30] = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0432\u043E\u0437\u0431\u0443\u0436\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u0446\u044B \u043F\u043E\u0432\u044B\u0441\u0438\u043B\u0441\u044F. ";
BTD[31] = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0432\u043E\u0437\u0431\u0443\u0436\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u0446\u044B \u0441\u043B\u0435\u0433\u043A\u0430 \u043F\u043E\u0432\u044B\u0441\u0438\u043B\u0441\u044F. ";
BTD[32] = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0432\u043E\u0437\u0431\u0443\u0436\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u0446\u044B \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u043E\u0432\u044B\u0441\u0438\u043B\u0441\u044F. \n\u0412\u043F\u0440\u043E\u0447\u0435\u043C, \u0432\u044B \u0442\u0430\u043A \u0436\u0435 \u0432\u043E\u0437\u0431\u0443\u0434\u0438\u043B\u0438\u0441\u044C. ";
BTD[40] = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0432\u043E\u0437\u0431\u0443\u0436\u0434\u0435\u043D\u0438\u044F \u0410\u0439\u0438 \u043F\u043E\u0432\u044B\u0441\u0438\u043B\u0441\u044F. ";
BTD[41] = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0432\u043E\u0437\u0431\u0443\u0436\u0434\u0435\u043D\u0438\u044F \u0410\u0439\u0438 \u0441\u043B\u0435\u0433\u043A\u0430 \u043F\u043E\u0432\u044B\u0441\u0438\u043B\u0441\u044F. ";
BTD[42] = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0432\u043E\u0437\u0431\u0443\u0436\u0434\u0435\u043D\u0438\u044F \u0410\u0439\u0438 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u043E\u0432\u044B\u0441\u0438\u043B\u0441\u044F. \n\u0412\u043F\u0440\u043E\u0447\u0435\u043C, \u0432\u044B \u0442\u0430\u043A \u0436\u0435 \u0432\u043E\u0437\u0431\u0443\u0434\u0438\u043B\u0438\u0441\u044C. ";
BTD[51] = "\u0410\u0442\u0430\u043A\u0430 " + _local1;
BTD[52] = _local1 + " \u0441\u043F\u0430\u0441\u0441\u044F. ";
BTD[53] = _local1 + " \u0431\u0435\u0437 \u0447\u0443\u0432\u0441\u0442\u0432! ";
}
function textDataSet() {
TD = new Array();
TD[0] = " It's not possible to have it any further. ";
TD[1] = " was gotten! ";
TD[2] = " There are no goods. ";
TD[3] = " used? ";
TD[4] = " There isn't last save data... ";
TD[5] = " It was empty in the treasure chest... ";
TD[7] = "'Grocery store of Spring village' \n\nIt enters with the space key. ";
TD[9] = "'Tool shop of street' \n\nIt enters with the space key. ";
TD[11] = "There is an entrance in temple site. Do you enter? \n\nIt enters with the space key. ";
TD[12] = "There is an exit of temple site. Do you go out? \n\nIt goes out with the space key. ";
TD[13] = "You can enter the tent. Do you enter? \n\nIt enters with the space key. ";
TD[14] = "Do you go out of the tent? \n\nIt goes out with the space key. ";
TD[15] = "From here the south 'Forest of lost child'. \nDo not enter. \n\nNorthwest: 'fishing village' ";
TD[16] = "'Grocery store of Northwest fishing village' \n\nIt enters with the space key. ";
TD[17] = "'Pants shop of desert' \n\nIt enters with the space key. ";
TD[18] = "'Tool shop of secret' \n\nIt enters with the space key. ";
TD[19] = "'Grocery store of Volcano village' \n\nIt enters with the space key. ";
TD[20] = "You got the gold dust! \n\nThis shoal came to be able to pass. ";
TD[23] = "There is an entrance to the cave. Do you enter? \n\nIt enters with the space key. ";
TD[24] = "There is an exit of the cave. Do you go out? \n\nIt goes out with the space key. ";
TD[25] = "Anything didn't occur here... ";
TD[26] = "it not usable here...! ";
TD[27] = "There is an entrance of the tunnel. Do you enter? \n\nIt enters with the space key. ";
TD[28] = "There is an exit of the tunnel. Do you go out? \n\nIt goes out with the space key. ";
TD[29] = "You can enter the hut. Do you enter? \n\nIt enters with the space key. ";
TD[30] = "Do you go out of the hut? \n\nIt goes out with the space key. ";
TD[32] = "The east: Ranch Southeast: Fishing port ";
TD[34] = "'Grocery store of Southeastern port' \n\nIt enters with the space key. ";
TD[36] = "'Laboratory of Dr.Crysler'\n\nIt enters with the space key. ";
TD[37] = "Do you go out of the laboratory? \n\nIt goes out with the space key. ";
TD[38] = "'Hut of Dr.Crysler' \n\nIt enters with the space key. ";
TD[39] = "'Grocery store of castle town' \n\nIt enters with the space key. ";
TD[41] = "Gate soldier: Please pass it. ";
TD[42] = "You unlocked the castle gate. Do you enter? \n\nIt enters with the space key. ";
TD[43] = "Do you go out of the castle? \n\nIt goes out with the space key. ";
TD[44] = "There are stairs to the basement. Do you go down? \n\nIt go down with the space key. ";
TD[45] = "There are stairs to the upper floor. Do you go up? \n\nIt go up with the space key. ";
TD[46] = "There are stairs to the lower floor. \n\nIt go down with the space key. ";
TD[47] = "There is an entrance to the labyrinth. Do you enter? \n\nIt enters with the space key. ";
TD[48] = "There is an exit of the labyrinth. Do you go out? \n\nIt goes out with the space key. ";
TD[50] = "'Royal tomb' Deepest portion.";
TD[52] = "'Grocery store of Satan's world' \n\nIt enters with the space key. ";
TD[53] = "'Shop of Spring village' \n\nIt enters with the space key. ";
TD[54] = "'Shop of Northwest fishing village' \n\nIt enters with the space key. ";
TD[55] = "'Shop of Volcano village' \n\nIt enters with the space key. ";
TD[56] = "'Shop of Southeastern port' \n\nIt enters with the space key. ";
TD[57] = "'Shop of castle town' \n\nIt enters with the space key. ";
TD[58] = "'Shop of Satan's world' \n\nIt enters with the space key. ";
TD[59] = "The battery charging was completed! \n\nIt go out: Down key. ";
TD[60] = "The battery charging was completed! \n\nYou can pull a lottery with the space key. \nIt go out: Down key. ";
TD[61] = "The map was opened. \n\nIt's closed with Shift key. ";
TD[63] = "It is an entrance to the hell. ...Do you enter? \n\nIt enters with the space key. ";
TD[64] = "It is an entrance to the Satan's world. Do you enter? \n\nIt enters with the space key. ";
TD[65] = "There is a cave, \nbut it can't enter that closed with the rock. ";
TD[66] = "The treasure chest was Mimic!! ";
TD[67] = "A lock works and can't enter. ";
TD[68] = "There is an entrance. Do you enter? \n\nIt enters with the space key. ";
TD[69] = "There is an exit. Do you go out? \n\nIt goes out with the space key. ";
TD[70] = "You released the lock. Do you enter? \n\nIt enters with the space key. ";
TD[71] = "The sound of a recorder didn't reach ground \nfrom the hell... ";
TD[73] = "(It throw it out with DEL key. To move the item, other items and empty slots are selected.) ";
TD[74] = "(The cancels with shift key. The bulk buying with \nC key.) ";
TD[75] = "(The cancels with shift key.) ";
TD[76] = "(To move the item, other items and empty slots are selected.) ";
TD[77] = "(The cancels with shift key. To move the item, other items and empty slots are selected.) ";
TD[78] = "(The cancels with shift key. All is sold with C key. \nTo move the item, other items and empty slots are selected.) ";
TD[79] = "";
TD[81] = "Is the data saved last time loaded? \n\nIt executes it with the space key. ";
TD[82] = "Is current data saved? \n(It is overwrited by the last data.) \n\nIt executes it with the space key. ";
TD[83] = "It loaded! ";
TD[84] = "It saved! ";
TD[85] = "You can't yet go to that place. ";
TD[86] = "It touched the Marar statue. ";
TD[87] = "You can warp from other places to this place. \nThe saving work of the progress data is done here. ";
TD[88] = "Marar statue: Do you save it? Or do you warp? \n(Present data is saved automatically when returning \nto the title.) ";
TD[89] = "Marar statue: See you again. ";
TD[90] = "'Spring village' ";
TD[91] = "'Northwest fishing village' ";
TD[92] = "'Volcano village' ";
TD[93] = "'Southeastern port' ";
TD[94] = "'The Ranch' ";
TD[95] = "'Castle town' ";
TD[96] = "'Mt.Bolbo' ";
TD[97] = "'Southern island' ";
TD[98] = "'The last place' ";
TD[99] = "It touched the Marar statue of AAA.";
TD[100] = "";
TD[102] = "Woman: Were you all right? \n It's this state as for my husband! \n He is very slovenly!";
TD[104] = "Woman: I'm surprise very much! \n Prince of the former kingdom you... ";
TD[106] = "Woman: All goes thanks to you... \n My husband also at last returned to the as before. \n I hope peace continues for a lot time.";
TD[108] = "Man: Uhuh hehehe...! Was it sweet... ";
TD[110] = ("Man: What I am...? A prince? \n Is this " + cName) + " a prince? \n HAHAHA! It's a pleasant joke. ";
TD[112] = "Boy: Do you go? \n A Cubuses appears when you cross a river. \n Is the equipment perfect? ";
TD[114] = ("Boy: " + cName) + "! \n Hang in there! ";
TD[116] = "Boy: Come to this village to play again even if \n you become King... It promised! ";
TD[120] = ("Aya: " + cName) + ", welcome to my shop. \n Did you come to buy it? Or will it be sale? \n\nBuy: Space key Sell: Shift key \nLuggage locker: C key It go out: Down key \nFighting with Aya: UP key ";
TD[121] = "Aya: What do you sell? \n\nPlease select the goods to sell. ";
TD[122] = "Aya: All are good goods. \n\nPlease select the goods to buy. ";
TD[123] = "Aya: Besides, is there the order? \n\nBuy: Space key Sell: Shift key \nLuggage locker: C key It go out: Down key \nFighting with Aya: UP key ";
TD[124] = "Aya: Thank you very much. ";
TD[125] = "Aya: It open the item panel with Shift key, \n and locker panel with C key. \n When it wants to be finished, \n push the Shift key more. ";
TD[128] = "Storekeeper: It's a customer after a long time... \n Please make itself at home. \n\nBuy: Space key Sell: Shift key \nIt go out: Down key ";
TD[129] = "Storekeeper: ...What do you sell? \n\nPlease select the goods to sell. ";
TD[130] = "Storekeeper: ...All are good goods. \n\nPlease select the goods to buy. ";
TD[131] = "Storekeeper: Is there the order else? \n\nBuy: Space key Sell: Shift key \nIt go out: Down key ";
TD[132] = "Storekeeper: Thank you very much. ";
TD[135] = "Storekeeper: Welcome to my shop. It discounts it. \n\nBuy: Space key Sell: Shift key \nIt go out: Down key ";
TD[136] = "Storekeeper: What do you sell? \n\nPlease select the goods to sell. ";
TD[137] = "Storekeeper: All are good goods. \n\nPlease select the goods to buy. ";
TD[138] = "Storekeeper: Besides, is there the order? \n\nBuy: Space key Sell: Shift key \nIt go out: Down key ";
TD[139] = "Storekeeper: Thank you very much. ";
TD[143] = "Old man: You accomplished it at last. Youth...no.. \n The new king! \n Thanks to you, this country is secure. \n Thank you... Thank you very much! ";
TD[145] = "Old man: You should not go to fishing village ahead. \n There is ruled over by an aide Sailor Mermaid of \n the Erotica. ";
TD[146] = "Old man: The youth like you will be caught \n immediately... ";
TD[148] = "Old man: You were able to defeat \n the Sailor Mermaid well... \n It's so! Presents for you the good item. \n It's in the tent. ";
TD[149] = "Old man: This was an item prepared for security. \n If you have it, item might be useful. ";
TD[151] = "Old man: If it's you, this country might be able to \n be saved. I pray for luck! ";
TD[153] = "Old man: All the young men became disabled \n after the Sailor Mermaid came... \n It seems to get a memory loss if it makes love \n to Succubus... ";
TD[154] = "Old man: Only the senior citizen does the fishery... \n In this situation the village falls... ";
TD[156] = "Old man: Unbelievable! \n There was the man who could overcome \n Succubus! You are the saviour. ";
TD[158] = "Madam: The young daughter was controlled by magic. \n Guys weren't interested in me. Damn it! ";
TD[160] = "Madam: You are wonderful! \n Please receive the reward. Please look in the house. ";
TD[162] = "Madam: Thank you very much! ";
TD[164] = "Kid: Sailor Mermaid lives in the temple site. \n To take care of guys, sisters were abducted. ";
TD[165] = "Kid: Temple site is in the south rocky mountain \n from here. ";
if (_root.TAIKEN) {
TD[167] = "You can play the trial version till area1. \nThe product version can advance from the gap \n of the rock to area2. ";
} else {
TD[167] = "Kid: Do you cross the desert? \n You're worn out immediately when you don't do \n an anti heat measure, please be careful. \n Thank you cool guy! ";
}
TD[170] = "Madam: I was going to go to the temple site to help \n a daughter, but it's obstructed by the Succubus \n and I don't advance it. You must return. \n The young man is a special favorite of Succubus. ";
TD[172] = "Madam: Daughters came back safely! \n I thank you very much. ";
TD[173] = "Madam: ...But, men are impossible though \n consciousness of daughters returned to normal. \n If Empress Erotica doesn't die, is it impossible...? ";
TD[175] = "Man: HAHA...HA. U..HEHEHE... ";
TD[177] = "Girl: Thank you! thank you so much! ";
TD[180] = ("Master: " + cName) + ", came well! ";
TD[181] = "Master: I talk the information about the Erotica \n which I collected. \n Please hear it firmly... Hear it! ";
TD[182] = "Master: I went to the Fellari castle... Non. \n I went to the current Erotica castle for \n reconnaissance. \n If there isn't a thing such as the security pass, \n there cannot enter inside. ";
TD[183] = "Master: I asked a citizen around the castle, \n but as for the person who watched the prince \n and king of the former kingdom, there was nobody. ";
TD[184] = "Master: However, only the queen sometimes goes out. \n ...Perhaps, I thinks that she is being manipulated \n by Erotica! ";
TD[185] = "Master: I predict that the prince and King is \n imprisoned. Succubus does not like killing. \n Instead, immoral sexual act is extraordinary... ";
TD[186] = "Master: Therefore, the royal family rescue is \n top priority. \n You go through the continent along the shore, \n and go to the castle! ";
TD[187] = "Master: A soldier of the erotica which is in \n a village and the town on the way may have \n the security pass. \n Obtain it by any means! ";
TD[188] = ("Master: I continue the information gathering. \n " + cName) + ", you must do your best. \n The map which I drew is in the box. \n Please take it. ...Take it and go soon! ";
TD[190] = "Madam: Men have recovered from the sickness. \n A prince! \n Our village became peaceful thanks to you. \n Thank you very much. ";
TD[200] = ("Master: " + cName) + "! \n I haven't seen you for a long time. \n You seem to have progressed considerably till you \n came to here. ";
TD[201] = "Master: There are good information and bad \n information! \n Please hear it... Hear it! ";
TD[202] = "Master: The prince was very discovered! \n The name is Fourd. It's Prince Fourd. \n On the occasion of confusion at the time of the war \n ten years ago, the person of my military unit saved it. \n Yoohoo!! ...nn. ";
TD[203] = "Master: The prince is hiding himself near the lake. \n If he is there, he will not be discovered in \n the Erotica army. It's good information. \n Bad information is... The death of King was \n confirmed... ";
TD[204] = "Master: I succeeded in infiltration to the castle \n at last and discovered a coffin of the King there. \n The corpse was surely former King... \n Fortunately, there was not the trace of the abuse, \n but... it's regrettable... ";
TD[205] = "Master: The queen found it, too. \n But didn't remember me... \n Probably she seems to be controlled by someone. \n Her mind will become normal if we defeat a guy \n controlling her. ";
TD[206] = "Master: 'Royal family crest' is necessary to enter \n the castle. To tell the truth... \n When I retreated from the Erotica army ten years \n ago, I escaped with it. \n However, I have lost it in the lake on the way. ";
TD[207] = "Master: Sneak into a castle with it if you locate it in \n a lake. Please don't sell it before entering... \n Don't sell it! \n I am separate action and I find out a guy controlling \n a queen! ";
TD[208] = "Master: The item is in this box. \n Please take it. ...Take it and go soon! ";
TD[212] = "Master: What do you do? Depart quickly! \n ...Oh. I forgot to hand the war funds of the trip. \n Money and clothes are in the box. \n Please take it. ...Take it and go soon! ";
TD[214] = "Master: What do you do? Depart quickly! ";
TD[220] = "Kid: Hi brother! \n The pirate always shows up from this forest. \n They may be bandits not a pirate... ";
TD[221] = "Kid: Do you want to know where you can enter \n the forest at? \n Please pay attention to... my... ";
TD[223] = ("Kid: Is your name " + cName) + "? \n Please don't be defeated by guys. ";
TD[225] = "Kid: Sisters having been kidnapped by the pirate \n came back! ";
TD[226] = "Kid: Are you helped them? \n Wow! It's wonderful! Very good job! \n Please live all the time in this village. ";
TD[228] = "Old man: Oh may god! \n A village is in a mess since a mountain erupted... \n I don't know what the cause is. ";
TD[229] = "Old man: Furthermore, this village is aimed at by \n a pirate... \n Some young daughters were already kidnapped. \n Did the god abandon us? ";
TD[231] = "Old man: Thank you... Thank you very much! \n Are you a messenger of God? \n ...That reminds me features resemble the king of \n the former kingdom. ";
TD[232] = "Old man: Your act is splendid and you deserve \n respect. God bless you! ";
TD[235] = "Man: ...Erotica army? \n Oh, The guys don't come to this village, but \n a pirate comes... ";
TD[236] = "Man: I want to go to help a daughter kidnapped by \n a pirate... \n But the village is impossible under such a condition. \n Damn it!! ";
TD[238] = "Man: Thank you for helping daughters! \n Oh, Was the pirate a minion of the Erotica? \n We had a terrible experience for underground gold. ";
TD[239] = "Man: However, the rebuilding of the village may be \n possible if we can dig the gold! \n The people who gave up a village surely come back. ";
TD[242] = "Woman: They left the village for eruption and pirate... \n I want to emigrate, too. \n But I am anxious about a daughter kidnapped by \n a pirate... ";
TD[244] = "Woman: Wow! Gold? ...Money! Was it buried \n underground? \n What a wonderful event! Good bye poor life, Wow! ";
TD[245] = "Woman: I really thank you. \n If the item in the house is necessary, \n I presents it to you. ";
TD[248] = "Girl: Thank you for helping me. \n You can surely defeat the Erotica. \n Do its best! ";
TD[250] = ("Girl: " + cName) + ", thank you! \n Incidently... Ghoul Beauty was being scolded by \n the Tsundele Devil before... \n A Tsundele Devil seems to be considerably great. ";
TD[252] = "Girl: The prince that thank you! \n I don't forget this favour eternally. ";
TD[256] = "Sailor Mermaid: FUFUFU. The boy very welcomes it. \n I fully please you. ";
TD[260] = "Succubus Girl: FUFUFU. If you want to pass here, \n you must defeat me. ";
TD[262] = "Succubus Girl: What is it? Our attack is ineffective... \n and feels sick! ";
TD[264] = "Succubus Girl: Don't be conceited! \n You can never defeat Miss Sailor Mermaid by \n your ability. ";
TD[268] = "Pirate Girl: Who are you!? How did you come to here? \n ...OK It was being ordered by the boss, \n 'Exclude the intruder'. ...Die! ";
TD[272] = "Pirate Girl: What are you!? \n Do you intend to fight against me? \n If you aren't an owner with the big penis, you \n cannot defeat me. ";
TD[276] = "Pirate Girl: Wow, nice guy! \n It may be good to sometimes do it with a man. \n Come on! ";
TD[278] = "Pirate Diva: Do you want to enter this hole? \n You like it very much. Let's play! ";
TD[280] = "Pirate Girl: You arrived well to here. \n But it is only a Succubus that it can go ahead \n from here. ";
TD[282] = "Pirate Girl: Oh... No! Why do you have a Crestone? ";
TD[284] = "Pirate Diva: Shit! Why do you have it? \n You cannot advance more than this. \n You become disabled here! ";
TD[290] = "Ghoul Beauty: Oh, very handsome boy. \n It is hot here because of the heat of lava, \n don't you? But you are almost naked. \n FUFU... Come on! ";
TD[300] = "Cat Ear: Oh, a visitor of the human group group is rare. \n The goods of this shop is expensive, are you \n all right? \n\nBuy: Space key Sell: Shift key \nIt go out: Down key ";
TD[301] = "Cat Ear: Are you want to sell it? Which is it? \n\nPlease select the goods to sell. ";
TD[302] = "Cat Ear: Do you like it that much? \n\nPlease select the goods to buy. ";
TD[303] = "Cat Ear: Is there the order else? \n\nBuy: Space key Sell: Shift key \nIt go out: Down key ";
TD[304] = "Cat Ear: Please come again sometime. ";
TD[310] = "Man: Digging and digging... Gold is not found. \n My strength is already a limit... ";
TD[311] = "Man: Escape? What kind of meaning is escape? \n After having sex with Miss Gunghoul, \n forgetfulness is intense. ";
TD[313] = "Man: Maybe I had a family... \n However, family face cannot be recalled... ";
TD[314] = "Man: Will you convey that I live at least? \n ...My name!? Jesus christ! \n I have forgotten my name... ";
TD[316] = "Man: Miss Gunghoul...! \n I can't dig any longer because underground water \n came out! \n Please forgive me... ";
TD[320] = "Disabled: Dig here and dig here... \n HAHAHA...! ";
TD[323] = "Man: I lived and was able to come back! \n I hide immediately from now on if I watch a party \n of the Erotica. ";
TD[325] = "Man: I recalled everything when Gouraud was \n defeated! \n You are good job! Thank you! ";
TD[327] = "Man: The life in the mine was terrible... \n When a guy called the Tsundele Devil came for \n inspection, I was made to work to death. ";
TD[328] = "Man: Tsundele Devil seems to be a boss of \n the Erotica army! \n You can defeat her, can't you? \n Got bless you. ";
TD[330] = "Man: Are you a prince? \n ...Oh! Surprised very much. \n This port became peaceful of your good deed. \n Thank you very much! ";
TD[332] = "Housewife: Gunghoul of the Erotica army came over \n and has taken all the men... \n They seem to be made to make forced labor in \n a mine. I am anxious about my husband. ";
TD[333] = "Housewife: The place of the mine? \n We look for it, but are not found... \n Originally, industry of this village is trade and fishery, \n and I did not know that could mine a mineral from \n the mountain... ";
TD[335] = "Housewife: Wow! My husband returned! \n We wish to express our gratitude to you... \n Thank you! ";
TD[337] = "Housewife: On the day before that my husband \n disappeared... \n He murmured 'mine... mine...' by the vacant eyes. \n He has already been charmed by Gunghoul if \n I thinks now. ";
TD[338] = "Housewife: But there is one person who was not \n defeated to the Gunghoul. \n We looked for him, but was not found... ";
TD[340] = "Housewife: My darling returned! \n Good bye from night of the frustration. \n Thank you so much. ";
TD[342] = "Housewife: It's not good to be only a woman... \n Trade stopped, and we cannot do fishing. \n How should we live in future? ";
TD[344] = "Housewife: You are great and cool! \n If I divorce my husband, do you marry again \n with me? \n HOHOHO! It's joke. ";
TD[346] = "Chevoler: Only this person doesn't recover normally. \n When the Erotica army came, this person was \n defeated first. \n The opponent was a guy named not Gunghoul \n but Tsundele Devil. ";
TD[347] = "Chevoler: I think that even you cannot overcome \n that Tsundele Devil. \n She was too strong... \n Let's give up fighting and live with me.";
TD[350] = "Kid: The person not defeated to Gunghoul is \n Chevoler of the gay. \n I don't know where he ran away to... ";
TD[351] = "Kid: There might be some clues if going to \n the labor union office. \n The labor union office is a building next to \n the Marar statue. ";
TD[353] = "Kid: Hideout!? \n The hideout is a hut that is on the way to \n the ranch! ";
TD[354] = "Kid: I eavesdropped on the story of the worker. \n Worker said 'When Chevoler is tormented, \n he shelters in the hideout.' ";
TD[356] = "Kid: Did you find Chevoler? Congratulations! \n Were you looking for the bell in the forest? \n No... But forest of the town is only \n this neighborhood. ";
TD[358] = "Kid: Do you go to the mine? \n You must not be defeated by the enemy. ";
TD[360] = "Kid: It's great to have defeated Gunghoul. \n Do you go towards a castle to defeat the Erotica? ";
TD[361] = "Kid: Please meet the shepherd Roof, \n if you go to the ranch on the way. \n He is very knowledgeable. ";
TD[363] = "Chevoler: Ohhh Nooo!! The Erotica army came here! \n ...What? Aren't you the Erotica army? ";
TD[364] = "Chevoler: Do you intend to defeat the Erotica? \n It's impossible! You stop such a thing, \n and let's live with me here. ";
TD[365] = "Chevoler: Is it unpleasant? It's regrettable. \n ... 'Mountain bell' is necessary to enter the mine. \n The gate opens when you sound it at an entrance. ";
TD[366] = "Chevoler: Though I was passed a bell by a friend, \n I concealed it because I was uneasy. \n The place is somewhere in the forest in the town. ";
TD[367] = "Chevoler: By the way, Do you know the entrance of \n the mine? \n It's a place of the rock in the northeast of the port. \n There please sound a bell. ";
TD[368] = "Chevoler: Let's live with me if you give up defeating \n the Erotica. \n I wait for good news. ";
TD[372] = "You opened a 'Diary of Chevoler'. \n\n 9 day X month \n The army of the Erotica appeared at last in \n this town. All the friends were defeated by \n their strong sex appeal... ";
TD[373] = " Because I was a gay, \n didn't the attack of the enemy work for me? \n Would the defeated people become \n the memory loss? \n They seem to remember nothing. ";
TD[374] = " It's very terrible to forget even the thing of me \n and their family. \n The normal people has become only woman, \n child and me... ";
TD[375] = " 12 day X month \n They say that we go to the mine. \n There is a mountain in the northeast of the town, \n but will a dig be possible there? \n I was invited, but was not able to bring myself to go. ";
TD[376] = " 13 day X month \n The town is an uproar. Left women run after me. \n I cannot be able to save them alone. \n They are memory loss as ever even if I helped them. \n Therefore I don't like women. ";
TD[377] = " 15 day X month \n The glance to me of women is tight! \n They don't seem to like that only I am normal. \n Such a town is unpleasant! \n I made up my mind to live in the hideout for a while. ";
TD[380] = "Gunghoul: Who are you? \n Don't play truant from work! \n Reopen work early... Come back!! \n Don't you heard my story!? \n Don't you understand it unless you are hit by me!? ";
TD[385] = "Chevoler: A man of disabled has recovered! \n But he has escaped because he didn't want to \n cohabit with me. \n It's awful! If you were not a prince, \n I was going to get you. ";
TD[390] = "Wise man: Iti's a surprise... \n that the demon shows up around here. \n They are expanding power steadily. ";
TD[391] = "Wise man: If you lose money and clothes, \n taking the leaf from the tree and equipping it \n might be good. \n As for nakedness, it is better. ";
TD[392] = "Wise man: Please examine it when you encounter \n a dead end and a doubtful place. \n You may discover an item. ";
TD[396] = "Wise man: When you cross the desert, \n please do not forget an anti-heat measure. \n It's all right if you possess a Hand's fan and \n a Portable fan. ";
TD[397] = "Wise man: Do you know the key item named \n 'Crestone'? A thing such as the security pass \n which a Cubuses uses. \n Item is lost after item use, but you can buy it in \n a 'Tool shop of secret'. ";
TD[401] = "Wise man: A key item called 'Thunder wand' is \n necessary to go over to the Southern island. \n I don't know where it is, but the knowledgeable boy \n living in the ranch may know it. ";
TD[402] = "Wise man: The key item 'Mountain bell' seems to exist. \n It isn't lost even if you uses it, but must never sell \n it before using it. ";
TD[406] = "Wise man: There seems to be a village where people \n escaped from Erotica hide themselves and \n they lives near the Fellari castle...non \n present Erotica castle. \n That people will support you. ";
TD[407] = "Wise man: There is an inventor who keeps making an \n obscene item in the castle town for anti Erotica. \n It's probably a doctor named Crysler. \n A doctor may have a stronger item. ";
TD[411] = "Wise man: There isn't what I know anymore... \n Please ask a knowledgeable boy living in the ranch \n in future. ";
TD[415] = "Wise man: What!? \n I am amazed that you were the first prince of \n the former kingdom...! \n I pray for your activity, and you should never \n overwork... ";
TD[419] = "Wise man: It's wonderful to have defeated \n Tsundele Devil! \n ...Did empress Erotica exist!? ...Oh it's fearful news. \n The thing that we can do only prays for your \n victory... ";
TD[423] = "Wise man: Congratulations the prince. \n Because it became the peaceful world, you can \n succeed to throne openly. \n I am full of supreme joy. Cheers! ";
TD[440] = ("Roof: Hello. I met the person after a long time. \n Are you called " + cName) + "? \n My name is a roof. thanks. ";
TD[441] = "Roof: Several days ago earthquake happened, \n and the cliff near the lake collapsed. \n I went to the lake to look for treasure, but was \n not found. ";
TD[442] = "Roof: The treasure is a legend of the lake there... \n Splendid treasure seems to be buried. \n If you look for it, too? ";
TD[443] = "Roof: Incidently... There was a person who was \n looking for the treasure recently. \n His name is probably Fourd. ";
TD[445] = "Roof: Wow! Is treasure it? \n With this, you can enter the castle. \n ...Incidently! \n There seem to be people of a revolt molecule \n doing espionage in the castle. ";
TD[446] = "Roof: If you can meet them, please ask them \n for cooperation. \n Do its best! ";
TD[448] = ("Roof: Oh! " + cName) + "!? \n It's a surprise that you were a prince of the \n former kingdom... \n If my cooperation is necessary, please say anything. \n ...Enemy's information? ";
TD[449] = "Roof: According to the ancient documents, \n Cubuses seems to have ruled this country \n long long ago. \n Because they seem to have emerged from \n the Mt.Bolbo in those days, it might be \n the same this time. ";
TD[450] = "Roof: The guard in the crater lived in the vicinity of \n the crater of the Mt.Bolbo. \n He might have been defeated though excellent \n Magic professor played the role from \n generation to generation... ";
TD[451] = "Roof: Magic professor seems to have had an item \n called 'Thunder wand'. You can enter the grave \n of royal families if you have a wand. \n There seems to be a secret about Cubuses \n in that grave. ";
TD[453] = "Roof: You entered the grave of royal families, \n didn't you? Did you get lot of rare items? \n Surely it's the thing which ancestral people left for \n a descendant. \n You can defeat guys by it! ";
TD[455] = "Roof: Did empress Erotica exist? \n She seems to be tough, doesn't she? \n I will reading ancient documents and evil course \n book again. \n I might be able to discover the hint of the strategy. ";
TD[457] = ("Roof: Prince " + cName) + "! \n I found a terrible article from evil course book. \n Though I came to stop a fight, I wasn't in time... \n The true purpose of the Erotica was... ";
TD[458] = "Roof: To become pregnant with a successor! \n ...You were chosen as a partner. \n But you must not feel responsibility. \n Succubus of the high level seems to take \n 100 years till she give birth from the pregnancy. ";
TD[459] = "Roof: She will behave herself till she bears a child... \n We won temporary peace! ";
TD[460] = ("Roof: Prince " + cName) + ", \n let's return to the castle. \n You have a mission... You improve your skill more, \n and please inherit it to the next generation! ";
TD[500] = "Fourd: ...Who are you...? ";
TD[501] = ("Fourd: " + cName) + "...? \n I see. You aren't a person of Erotica and \n were relieved. \n I am looking for the treasure of the lake for \n some reason. I cannot say the reason... ";
TD[502] = "Fourd: Please leave soon... ";
TD[505] = "Fourd: Prince Fourd!? Did you know my name? \n ...Exactly, I am prince Fourd of the former kingdom. ";
TD[506] = "Fourd: I want to save father and mother \n imprisoned in the castle. \n If you cooperate, I give plenty prize to you! ";
TD[507] = "Fourd: What!? Were my father already dead? \n God damn!! \n I promise that I absolutely defeat the Erotica \n by this hand!! ";
TD[508] = "Fourd: You must look for 'Royal family crest' \n in the lake! \n If there isn't it, because we cannot enter the castle. ";
TD[510] = ("Fourd: Hey " + cName) + "! \n You came well. \n At first let's find guy who controls mother. \n Even if my mother attacks you, don't fight. \n I don't forgive it. ";
TD[511] = "Fourd: I do it... I do... I'm last one in the family... \n ...What? No, I'm alright. It's cant. ";
TD[512] = "Fourd: I expect your activity. \n I am feeling a strange edge to you... ";
TD[515] = "Fourd: You aren't a person of Erotica, are you? \n My name is Fourd, prince of the former kingdom. \n I want to save father and mother imprisoned \n in the castle. \n Will you cooperate with me? ";
TD[516] = ("Fourd: Will you tell your name? \n Is your name " + cName) + "? \n It's a good name. ";
TD[519] = "Fourd: You aren't a person of Erotica, are you? \n My name is Fourd, prince of the former kingdom. \n I want to save father and mother imprisoned \n in the castle. \n Will you cooperate with me? ";
TD[520] = "Fourd: What!? Were my father already dead? \n God damn!! \n I promise that I absolutely defeat the Erotica \n by this hand!! ";
TD[521] = ("Fourd: Will you tell your name? \n Is your name " + cName) + "? \n It's a good name. ";
TD[525] = "Fourd: The enemy seems to have attacked this \n castle all together. \n The castle is brink of collapse, but I prevent the \n approach of the enemy. \n I protect our mother, you should go to the \n stronghold of the enemy. ";
TD[529] = "Fourd: Oh my brother! I believed your victory... \n WHOooo... ";
TD[548] = "Old man: True peace came on thanks to you. \n The granddaughter left to look for parents in peace. \n I don't have the regretted thing... ";
TD[550] = "Mystery sheep: You located me well! Hear it well. \n Sailor Mermaid, Ghoul Beauty, Gunghoul and \n Tsundele Devil are called four paladins of \n the Erotica army, but it is different! ";
TD[551] = "Mystery sheep: The boss of the Erotica army is \n Tsundele Devil. \n Empress Erotica doesn't exist. \n Erotica is a name of the god whom they worship. \n You must take care not to misunderstand it. ";
TD[560] = "Old man: This area is the village where the people \n who threw away a kingdom gather. \n Neither the person defeated at the Erotica nor \n the manipulated person are here. \n It is the only boast. ";
TD[561] = "Old man: A doubtful cloud hung in Mt.Bolbo from that \n day when the erotica army appeared 10years ago... \n In the crater of that mountain, there is a rumor to \n be the entrance of Satan's world. ";
TD[562] = "Old man: Guys might have come from there. \n The castle has been occupied instantly by the \n four paladins of the Erotica on that day. ";
TD[563] = "Old man: However, nobody watched the figure of \n empress Erotica... \n In the first place that she exists is doubt. ";
TD[566] = "Old man: Oh! my...! \n I am amazed that you were a prince of the \n former kingdom! \n Please forgive my impoliteness. ";
TD[567] = "Old man: Do you go to the Mt.Bolbo for a \n running fight? \n The future of this country hangs to you. \n Please value your life! ";
TD[570] = "Granddaughter: Both father and mother became \n missing by war before ten years... \n I want to go to look for them, but it is impossible \n because there is Cubuses... ";
TD[571] = "Granddaughter: Do you fight really against the \n Erotica? \n ...Well, there was a strange item in the source of \n the river there. \n If that is useful for the fight, I am glad. ";
TD[574] = "Granddaughter: The prince... Thank you really. \n I can go to look for father and mother in this. \n I don't forget this favor through life. ";
TD[576] = "Granddaughter: You were able to find the item, \n weren't you? \n It was good. God bless you...! ";
TD[580] = "Father: It's surprised! \n There was not the person who visited to here for \n several years... \n Are you fighting against the Erotica army alone? \n I'll want to cooperate. ";
TD[581] = "Father: There is the item which I possessed for \n anti-erotica in a next hut. \n Please take it if necessary. Good luck to you! ";
TD[584] = "Father: What!? I'm surprised that you were a prince \n of the former kingdom! \n This country is saved in this! \n We can come back to the original town. \n Thank you very much! ";
TD[587] = "Mother: A revolt molecule seems to be slightly exist \n in the Erotica castle. \n Please get their cooperation if you can meet them. ";
TD[590] = "Mother: Oh our prince... \n The revival of this country depends on you. \n Please be careful about your health... ";
TD[593] = "Kid: You defeated the soldier of Erotica, didn't you? \n You are erotic! ";
TD[596] = "Kid: Did you repel Tsundele Devil? \n The prince is erotic! ";
TD[598] = "Kid: Did you defeat Erotica? \n The prince is very erotic! ";
TD[600] = "Old man: Viva the Erotica empire! \n Let's do the eternal loyalty to empress Erotica! ";
TD[601] = "Old man: ...Are you a stranger? \n You must leave early... You escape! ";
TD[602] = "Old man: If you are found by a soldier of the erotica, \n You will be made to disable by them immediately. \n Then, you must enter the jail hut until you die. ";
TD[604] = "Old man: Oh, our great prince! \n I believed the day of the start of the day where you \n return and the kingdom revival to come! ";
TD[605] = "Old man: I can live from now on without feigning \n oneself... \n The next King, thank you. \n People in this country follow you! ";
TD[607] = "Old Woman: Viva the Erotica empire! \n Let's do the eternal loyalty to empress Erotica! ";
TD[608] = "Old Woman: Go to others! \n I am suspected by a soldier if I associate with \n a stranger. It's annoying! ";
TD[610] = "Old Woman: Oh my...! \n I'm amazed that you were a prince... \n Please...Please forgive my rudeness... ";
TD[613] = "Gate soldier: Whoy are you? \n I send only Succubus or the person of the \n former kingdom to the castle! ";
TD[615] = "Gate soldier: I arrest you if you doesn't leave soon! \n It was being instructed by Tsundele Devil sir, \n 'catch it if you discover a doubtful person'. ";
TD[617] = "Kid: Hi brother. I say... \n I feel person sign at this moat of the castle. ";
TD[618] = "Kid: Do you investigate this moat? \n Please stop it. \n You are in danger if found by a soldier. ";
TD[620] = "Kid: Strange brother, Where do you go to? ";
TD[622] = "Kid: Wow, you are the prince of this country, \n aren't you? \n If I become an adult, make me your vassal! ";
TD[624] = ("Revolt molecule: You are... " + cName) + ", aren't you? \n I heard the story from Mercedes who sneaked \n into here before. \n I discovered 'a key to enter the inside of the castle'. ";
TD[625] = "Revolt molecule: We can rescue her anytime. \n If you can enter the castle, let's meet in this place! ";
TD[628] = ("Revolt molecule: " + cName) + ", \n You came well! \n The place of 'Key of castle' is in the east end \n building of the castle town. \n It's a building close to the Marar statue. ";
TD[629] = "Revolt molecule: Mr.Mercedes... \n Your master has already hidden somewhere of \n the castle town. \n You please rescue a queen in cooperation with him. \n I want you to defeat the guy controlling a queen \n if possible. ";
TD[630] = "Revolt molecule: I want to cooperate with a fight, \n but my ability is low... Please execute it only by you. \n I'm sorry... ";
TD[631] = "Revolt molecule: I secure the path of retreat after \n the queen rescue. \n After all members joined, the prince Fourd also \n takes and escapes from this town. \n ...It is this strategy. Good luck! ";
TD[633] = ("Revolt molecule: The prince " + cName) + "! \n Please forgive my rudeness. \n I promise the loyalty to you again. \n Please use my life for the kingdom revival! ";
TD[634] = "Revolt molecule: Did you discover the concealed \n treasures of the castle? \n Please use it without hesitation if you find it. \n The defeating the Erotica army is a most \n immediate priority now! ";
TD[636] = "Ventley: Congratulations the prince! \n My name is Ventley, I worked as the attendant of \n the prince in old days. \n Your figure which grew up by tears of joy is not \n seen... ";
TD[638] = "Dr.Crysler: I am inventor Dr.Crysler! \n The erotic item circulating in this country is almost \n things that I made. \n Were you astonished? ";
TD[639] = "Dr.Crysler: I usually make an item secretly so that \n it isn't sensed by a party of Erotica. \n Naturally it is an item for anti-Erotica. ";
TD[640] = "Dr.Crysler: What!? \n Do you continue fighting for Erotica overthrow? \n It's a surprise that there is an opposition force \n besides me! ";
TD[641] = "Dr.Crysler: OK! \n I present you erotic item of my producing. \n Perhaps that is my best masterpiece. \n Surely that will be helpful for you. HAHAHA! ";
TD[642] = "Dr.Crysler: However, one materials are insufficient. \n Will you bring the materials? \n My granddaughter Aya lives in Spring village. \n She is managing the grocery store... ";
TD[643] = "Dr.Crysler: I want you to buy the item of \n 'Rocket fuel' in the shop. \n If it is obtained, my best masterpiece is completed! ";
TD[644] = "Dr.Crysler: Please bring it to my laboratory. \n The place in the laboratory is in the forest that \n comes to the castle on the way. \n Oh, please teach your name. ";
TD[645] = ("Dr.Crysler: " + cName) + "! \n I expect it of you! ";
TD[647] = "Dr.Crysler: Wow! \n Thank you. Thank you for bringing it! \n It's perfectible in this. Please wait for a while. ";
TD[649] = "Dr.Crysler: HAHAHA! The fuel had exploded \n immediately before completion. \n However, it was finally completed! \n Use it by all means. It is in this box. ";
TD[650] = ("Dr.Crysler: " + cName) + ", \n I pray for your playing an active part! ";
TD[652] = "Dr.Crysler: I pray for your playing an active part! ";
TD[654] = "Dr.Crysler: Did you bring a rocket fuel? \n You will go to the Spring village early, and please \n buy it. ";
TD[657] = "Dr.Crysler: Was Erotica army finally defeated? \n YAHOO!! This country is saved. \n ...I can return to the inventor of a common product. ";
TD[658] = "Dr.Crysler: ...It's joke! \n I will continue the invention of erotic item still more. \n Thank you very much, my dear prince! ";
TD[660] = "Watch soldier: ....z....zZ.... \n( Someone seems to have stunned him. ) ";
TD[665] = "You read the Guard's letter. ( It was written by \n the words which Succubus cannot read. )\n\n Succubus appeared from the crater of the mountain. \nGuys seem to have headed straight for the castle. ";
TD[666] = " It's bad to be robbed of 'Thunder wand' by guys. \nBecause it was danger to bring it in the castle, \nI buried it in the crater side. \nNobody will mind about such a thing though \nthe color of the soil of the place where it was \nburied has changed. ";
TD[667] = " I hope that a clean, right person finds it... \n\n The guard of the Mt.Bolbo. \n 5 day X month ";
TD[672] = "Queen: You were able to arrive well to here. \n However, with your ability, it's impossible to \n defeat me. \n ...Even if you give up, I will not pardon it. FUFUFU. ";
TD[673] = "Queen: OK, let's begin an obscene fight. \n I will make you sunk in the hell called the pleasure! ";
TD[675] = ("Queen: Please do its best, \n prince " + cName) + ". \n Because this country and the future of people \n hang on you... ";
TD[677] = ("Queen: You did your best well, \n prince " + cName) + ". \n I believed that you surely defeated thr Erotica. \n ...And, congratulations for you. ";
TD[678] = ("Queen: You became the new King of this country \n from today...! \n Let this country prosper forever. \n King " + cName) + "...! ";
TD[685] = ("Tsundele Devil: " + cName) + ", you came well... \n I didn't think that our army were annihilated like this \n by a human being like you...! A guy is all causes. \n Mercedes of former kingdom Commander!! ";
TD[686] = "Tsundele Devil: There was no problem if the guy \n had been killed ten years ago! When a guy died, \n the abnormal soldier like you wasn't born! Shit! \n ...What? ...Oh..Wow! HAHAHA! ";
TD[687] = "Tsundele Devil: News arrived from familiar spirit. \n Mercedes of your master have invaded in this crater. \n It's foolish master and pupil love. HAHAHA! ";
TD[688] = "Tsundele Devil: That provoking gay old man...! \n I want him to die before he arrives at here. \n OK, will we begin it? \n I will finish defeating you earlier than the arrival of \n the guy. Let's begin! ";
TD[698] = ("Erotica: " + cName) + "... \n Did you become strong than before...? ";
TD[699] = "Erotica: I need a powerful enemy... \n You must demonstrate all your power, and \n defeat me!! ";
TD[800] = ("Revolt molecule: " + cName) + ", \n you came well! \n ...What? Haven't you met the prince Fourd yet? \n It's not good not to know a face each other. \n You please meet a prince once! ";
TD[801] = "Revolt molecule: I expect that Prince Fourd hides \n around a castle. \n Come to here again after having met a prince. \n I tell strategy contents at the time. See you later! ";
TD[810] = "Watch soldier: What!? Who are you? ";
TD[812] = "Watch soldier: Do you have a 'Royal family crest'? \n Good! ";
TD[880] = "Witches: Hello... Do you want you to show a level \n as the eroticism warrior? \n ...OK! ...UUUOhhh... \n The level as your eroticism warrior is .......... ";
TD[881] = "";
TD[883] = "Witches: The level as your eroticism warrior is... ";
TD[900] = "the Emperor...! ";
TD[901] = "the Governor-general...! ";
TD[902] = "the Generalissimo...! ";
TD[903] = "the Admiral...! ";
TD[904] = "the Marshal...! ";
TD[905] = "the Senior general...! ";
TD[906] = "the General...! ";
TD[907] = "the Lieutenant general...! ";
TD[908] = "the Major general...! ";
TD[909] = "the Air commodore...! ";
TD[910] = "the Colonel...! ";
TD[911] = "the Commander...! ";
TD[912] = "the Major...! ";
TD[913] = "the Captain...! ";
TD[914] = "the Lieutenant...! ";
TD[915] = "the Second lieutenant...! ";
TD[916] = "the Warrant officer...! ";
TD[917] = "the Sergeant major...! ";
TD[918] = "the Sergeant...! ";
TD[919] = "the Corporal...! ";
TD[920] = "the Lance corporal...! ";
TD[921] = "the Superior soldier...! ";
TD[922] = "the First class soldier...! ";
TD[923] = "the Second class soldier...! ";
TD[924] = "the Third class soldier...! ";
TD[940] = "!! Attention at the time of the item use !! \n\nData except the item in the rucksack and the \nitem in the luggage locker are almost initialized. ";
TD[941] = "When it want to restore data after executed, \nplease finish it without saving it. \nIt's executed when you use an item again. ";
TD[1000] = "Cubuses: This is 'mystery corridor' connecting \n the human world and the Satan's world... \n You regret surely if not returning. ";
TD[1002] = "Cubuses: The Satan's world from here... \n I think reckless that thing human goes in \n Satan's world. \n Please don't think that you live and can come back. ";
TD[1004] = "Succubus Girl: Welcome to here. \n It's 1 chome 'Succubus hill' of Satan's world here. ";
TD[1010] = "Ghost soldier: It is a mansion of Mrs.Kobold here. \n You must not have the impoliteness for her. \n She ate dozens of our companion in the past. ";
TD[1015] = "Ghost soldier: Our body is immortal through \n all eternity. \n It's a thing by the magical power of great \n Mrs.Kobold! \n However, the body is rotten to some extent... ";
TD[1020] = "Gravekeeper: Oh... Are you a human being!? \n It's after a long time that I met a human... \n I was Gravekeeper's leader of the Fellari kingdom. ";
TD[1021] = "Gravekeeper: Cubuses appeared from the interior of \n the grave in great numbers 10 years ago... \n All members has been captured by guys. \n Did you watch a lot of tombs on the way? \n Those is tombs of my friends all... ";
TD[1022] = "Gravekeeper: All my friends was disabled by guys. \n Afterwards, everyone has died of decrepitude. \n I survived because ...I was gay... ";
TD[1023] = "Gravekeeper: Cubuses obstructs it though I tried to \n run away here many times, and \n Mrs.Kobold conspires to eat me! \n Please please help me. \n Take me to the humans world!! ";
TD[1026] = "Gravekeeper: Was Mrs.Kobold said to 'bring him'!? \n Nooo!! \n It's very unpleasant that I am eaten by her! \n Please help me... I give treasures to you if you do it! ";
TD[1027] = "Gravekeeper: There are 3 rooms in the north in \n this area. A right room is an altar, and \n there are treasures on the back side of it. \n the first is the gold ingot. \n I think that the second is a medicine of something... ";
TD[1028] = "Gravekeeper: I present you all the treasures of \n other rooms. \n Therefore please help me! ";
TD[1040] = "Mrs.Kobold: I want...eat human flesh... \n Ram...got tired... Young human meat like you... \n I'm satisfied...with even the meat except it. \n WOWOH! I want to eat! ";
TD[1041] = "Mrs.Kobold: ...Surprisingly, a human old man lives... \n in this area... Please bring him... \n If you do so, ...I'll change my precious pants and \n your pants...! ";
TD[1042] = "Mrs.Kobold: I Don't know...how long you have \n expensive pants, but my pants are very... \n very valuable! \n Please...bring the old man...if you want to \n exchange it. ";
TD[1043] = "Mrs.Kobold: ...Naturally, you may bring it...having \n cooked him... \n HEHEHE... I looks forward...! \n HEHEHE..HAHAHA! ";
TD[1046] = "Mrs.Kobold: Wow...! Thank you for bringing meat... \n This looks very delicious...! I will eat it later... \n Because it is a promise, let's exchange pants... ";
TD[1049] = "Mrs.Kobold: Please be pleased...! \n Exchange was over... ...See you again... \n Great super eroticism warrior...! ";
TD[1052] = "Mrs.Kobold: ....zz......z..Z...... \n( She is sleeping. ) ";
TD[1055] = "Mrs.Kobold: ...What...? \n You...don't wear underpants... \n Wear your best pants...! \n I exchanges mine...for it. HEHEHE! ";
TD[1058] = "Mrs.Kobold: ...What...? \n Do you want to...eat, too? \n ...Do you eat...together...? ";
TD[1068] = "Cubuses: From here the point is invasion prohibition \n by instruction of Tsundele Devil sir! \n Please obtain her permission if you want to enter. ";
TD[1080] = "Cubuses: Hi, it's 'Succubus street' here. \n It's an obscene town where Cubuses gathers here. \n Enjoy it. It's so... \n An interesting event seems to start in a \n central plaza! ";
TD[1082] = "Cubuses: They were revolt molecules to the Erotica...! \n Sisters and Informed man and the party whom \n there was around are... \n all the members was revolt molecule...! ";
TD[1083] = "Cubuses: The hell's gate was opened by them... \n It's a serious affair... \n I cannot say what comes out of that gate... \n However, there is a thing that I am convinced \n about it. ...The end... ";
TD[1084] = "Cubuses: It's the end of everything!! \n Not only this town but the person's world \n where you live is the end...! \n ...HA...HA...HAHAHA..FUFUFU..HEHEHE... ";
TD[1090] = "Succubus: Are you the human group!? Oh well... \n Public execution begins from now on. \n Will you watch it? Those sisters are betrayers. \n They hold the dangerous thought that is \n not good for Succubus! ";
TD[1091] = "Succubus: Such a party must make execution. \n It's a thing similar to 'a witch trial' of the world of \n the human group. HAHAHAHA! ";
TD[1093] = "Succubus: It's an execution festival! \n Execution festival is after a long time in \n Satan's world. \n Those sisters seem to have gone to the \n person world in secret. They seem to have shifted \n to dangerous ideas in there. ";
TD[1094] = "Succubus: Thought of coexistence of Cubuses \n and human group is a mistake. \n The human group is our food. \n I will eat you after this execution was over. \n HAHAHA! ";
TD[1098] = "MOE sisters: We went back and forth in Satan's world \n and the person world secretly from 10 years ago. \n The sisters of the monastery helped us who \n fell down by hunger at first... ";
TD[1099] = "MOE sisters: We learned human world was \n wonderful there. \n You are human, aren't you? \n Please hear our wish. \n Will you please take us to human world? ";
TD[1100] = "MOE sisters: It cannot be helped even if executed \n because we betrayed Succubus. ..But I want to \n say thanks and goodbye to sisters last. \n Please... Please hear our wish! ";
TD[1103] = ("MOE sisters: " + cName) + "... \n Thank you for supporting for us. \n We wish to express our gratitude really... \n Oh..Woooh... ";
TD[1106] = "MOE sisters: Why did you come again? \n There is no help for it. \n Let's begin a fight! ";
TD[1110] = ("MOE sisters: " + cName) + ". \n ...thank you. \n\n We really...thank... ";
TD[1111] = "MOE sisters: You were successfully cheated! \n Lie! HAHAHA! \n It's a lie that 'we were helped by sisters and \n we had a pure mind'. \n Do you want to you teach why we cheated you? ";
TD[1112] = "MOE sisters: The thing which you broke is not a rock. \n Hell's gate!! It's a lock of hell's gate. \n We really thank you. \n Because, Cubuses cannot destroy that lock. ";
TD[1113] = "MOE sisters: Hereafter, the power chart of the \n Satan's world will change greatly. \n It's the end in the days of the Erotica! HAHA! \n Do you want you to teach \n 'who comes out of that gate'? ";
TD[1114] = "MOE sisters: But, I stop it! \n I'm not interesting because you become disabled \n from now on, \n even if it says to you. Let's begin a fight! \n You aren't gone out of here unless you defeat us. ";
TD[1120] = "Informed man: My work is buying and selling of \n the information. \n Coming to Satan's world alone though you are \n human being is great courage. I came to like you! \n I offer information to you free. ";
TD[1123] = "Informed man: Do you want to help those sisters? \n Oh... It's impossible unless you do something \n about lava around them first of all. \n I think that lava begins to flow if you destroy \n that red rock... ";
TD[1124] = "Informed man: Oh yeah! \n Please consult inventor 'Shitroen' of the \n Satan's world. \n Shitroen lives in the southeastern tower. ";
TD[1127] = "Informed man: Was the tower of Shitroen locked? \n Maybe, the person who has the key is a mayor. \n The house of mayor is somewhere of the \n southwestern district of this town. ";
TD[1130] = "Informed man: What is the gunpowder...? \n Oh! It's a powder that burns intensely when \n igniting it, isn't it? \n There is not such a thing in Satan's world. But, \n I heard the rumor 'Gunghoul sir has it a lot'. ";
TD[1131] = "Informed man: She seems to use it to dig the hole \n in the mine. Its stash will be \n 'the hangar of treasure of the mine' or \n 'the bottom of floor in the room of Gunghoul sir'. ";
TD[1134] = "Informed man: You were in time! \n The execution of those sisters is going to begin now. \n Oh!? Is it the item to which it can destroy the rock? \n OK! Please explode it near that red rock early! ";
TD[1136] = "Informed man: ....zz......z..Z...... \n( He is sleeping. ) ";
TD[1140] = "Shitroen: Yeah! \n I am great inventor Shitroen of Satan's world! \n Did you say 'I wants the item that break the rock'? \n Ah... Oh... ...Yeah!! ";
TD[1141] = "Shitroen: I heard a rumor that there is a weapon \n called the bomb in human world. \n It set fire after compressing gunpowder, \n and is exploded greatly, isn't it? Yeah! ";
TD[1142] = "Shitroen: But such a dangerous thing is not in \n the Satan's world. \n However, I make it if you bring gunpowder. \n Yeah! But please bring it a lot. ";
TD[1145] = "Shitroen: Wow! Is this gunpowder!? OK baby! \n Because I make a bomb, you please wait for a while. \n Yeah! ";
TD[1148] = "Shitroen: I'm producing it now! \n You please wait for a while. ";
TD[1151] = "Shitroen: A bomb was completed at last! Yeah! \n Its power is proportional to owner's worldly desires \n energy. It's up to your ability whether expected \n result is provided or not. Do your best! ";
TD[1154] = "Shitroen: I will start scientific experiments with \n the gunpowder of the remainder. \n I'm excited what I invent! HAHAHA! ";
TD[1157] = "Shitroen: Was a rock that? Oh...Ah... \n That is not a rock but lock of hell gate! \n You have done an important mistake... baby... ";
TD[1158] = "Shitroen: Cubuses cannot near that Lock, and that \n doesn't easily break... \n Your worldly desires energy is to have been power \n more than expected. \n What is your...? ";
TD[1159] = "Shitroen: Real nature of you doesn't matter...than it. \n I understand the plot of that revolt molecules. \n Guys try to revive her to Satan's world! \n Her name is Lolitia... ";
TD[1160] = "Shitroen: The Lolitia sir is real younger sister \n of the Erotica sir...!! ";
TD[1161] = "Shitroen: Once upon a time there was the rumor that \n the Erotica sir which felt a menace for an unknown \n magical power of The Lolitia sir expelled her \n in Hell world. \n It's serious if she is cheerful in Hell world... ";
TD[1162] = "Shitroen: The ogre of the revenge... No! \n She become a 'Satan of the revenge' and \n come back! \n ...The world is the end. \n Your human world is the end, too... ";
TD[1164] = "\u8B0E\u306E\u58F0\uFF1A\u300C\u3000\u5730\u7344\u3078\u306F\u2026\u3000\u307E\u3060\u3000\u964D\u308A\u308B\u4E8B\u306F\u3067\u304D\u306C\u2026\u3000\u3000\n\u3000\u3000\u672C\u30B2\u30FC\u30E0\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u30A2\u30C3\u30D7\u6642\u307E\u3067\u5F85\u3063\u3066\u3082\u3089\u304A\u3046\u3000\n\u3000\u3000\u304B\u2026\u3000\u300D\u3000";
TD[1166] = "This treasure chest is locking by a wicked \nmagical power. ";
TD[1168] = "This treasure chest is locking by a magical power \nof the Erotica. ";
TD[1170] = "Hell's gate opened, but cannot enter for a \nmagical power of the erotica... ";
TD[1172] = "Hell's gate was locked again! ";
TD[1195] = "Minotauros: The nefarious villain, welcome to \n the hell world. \n Did you said, 'I'm not a bad man'? VOHAHAHA! \n I'm disgusted because the person who came to \n the hell doesn't have awareness. ";
TD[1196] = "Minotauros: Do you want to know what this bones is? \n This bones is people who died here. However, \n they revive sometime if I throw it into the pond of \n blood. \n They continue suffering permanently in this way. ";
TD[1200] = "Centaurus: VOFIFIFI! There is the person who wait \n for your arrival over there. \n You are all right because you only has to return \n when feeling dangerous. Please go. ";
TD[1202] = "Centaurus: VOFIFIFI!? ...Where did you emerge from? \n If you die here, it should take 100hours till you \n revive. \n You are a mysterious guy... ";
TD[1205] = "Sailor Mermaid: FUFUFU. I wanted to meet you again. \n I'm glad a wish came true. \n Please undertake my revenge fight, aren't you? \n By the way, the body doesn't disappear even if \n I die in the hell. ";
TD[1208] = "Ghoul Beauty: I'm very glad to meet you again! \n Only the dead and the demon are here... \n I felt hot whenever I thought of you... \n Ah! I will you ascend many times! ";
TD[1211] = "Gunghoul: I got tired of waiting for you... \n You wanted to see me and came to the hell, \n aren't you? OK! \n Let's begin an obscene fight soon. ";
TD[1215] = "Rop Ear: Cat!, after all thet he came! \nCat Ear: Oh. I haven't seen you for a long time. \n We came to the hell because of you. \n But we thank you than it which never bear a \n grudge against you. ";
TD[1216] = "Cat Ear: The reason is because we were able to \n come near the Lolitia sir. \n Maybe did you come to defeat her? \n We never forgive such a thing...!! ";
TD[1217] = "Cat Ear: I don't think that you can defeat her at a \n level of you... \n But we make disabled of you at this place. \n Please give it up! \nRop Ear: Please give up! ";
TD[1220] = "Tsundele Devil: Why did Erothia sir disguise itself to a \n Mercedes...? \n Why did she support you? \n Did she betray all subordinates? \n Watch this bones. It's bones of my... ";
TD[1221] = "Tsundele Devil: It's bones of my subordinates who \n were made to ascend by you entirely! \n A corpse, revival are the repetition. \n I will be the same fate, too. ...But! ";
TD[1222] = "Tsundele Devil: ...I don't forgive you...! \n ...I never forgive only you!! WOOOOON! ";
TD[1226] = "Minotauros: Hey you! \n You had better stop going over there. \n The person whom there is over there isn't the \n dead or the demon. \n The mountain of this corpse is guy's act, and \n it's hard to clear it up. ";
TD[1228] = "Minotauros: What are you!? \n This guy has defeated strongest Succubus... \n Oh no...! Please don't approach me! ";
TD[1230] = "Minotauros: Did you come again? \n You don't learn by experience. HAHA! ";
TD[1233] = "Centaurus: The person in over there is a new face \n who came only 100 years ago. \n She has a fearful magical power and became the \n ruler of this area. \n She is a bad mood recently, all the people who \n approached her were dismantled... ";
TD[1235] = "Centaurus: Oh no... Ah... \n You are too strong and creepy! ";
TD[1237] = "Centaurus: Did you come again...? \n You are a challenger! ";
TD[1245] = "Lolitia: Damn it! I said to you 'do not wake me up'!! \n Do you want to be hit again? ...!? Who are you? \n You aren't a person of the hell, are you? \n Where did you come from? ";
TD[1246] = "Lolitia: What!? Did you come from Satan's world? \n Was the lock untied? Hell gate opened, wasn't it? \n YAHOOOO! \n At last I can return to Satan's world. ...oh yeah! ";
TD[1247] = "Lolitia: Is Tica... Is Erotica older sister cheerful? \n Because she expelled me...to here, I cannot... \n forgive her!! \n ...You please guide me to the hiding place of \n Tica sister. ";
TD[1248] = "Lolitia: What? Did you come to defeat me so that \n I cannot return to Satan's world? HAHAHA! \n It's a foolish idea... I embalm you within 7seconds! ";
TD[1251] = "Lolitia: Oh No...! I lost favorite clothes... \n I'm ashamed with these clothes and cannot return \n in Satan's world. \n ...Did you come again? Did you revive again? \n Because you are persistent, I'm displeased! ";
TD[1270] = "Shitroen: I succeeded in re-rock of hell gate. Yeah! \n A way of re-lock appeared in ancient documents \n and was good. Because a revolt molecule left, \n all the world will be peaceful for a while. ";
TD[1271] = "Shitroen: I respected you in your having won to \n Lolitia sir! \n You may be a savior of the human group... \n However, you must not forget your worlds are \n always being aimed by us! ";
TD[1272] = "Shitroen: When evil prospers in the world of the \n human group, vigor of Satan's world rises. \n The prosperity is good, too, but please don't \n forget morality. \n ...See you again. Bye baby! ";
TD[1273] = "Shitroen: Oh yeah! \n Human group came to this town to look for you \n a while ago. \n They said 'the search party of the kingdom'... \n You should return to the castle. ";
TD[1300] = "Ventley: Wow, prince! \n Because you were safe, I felt relieved. \n Because I heard that a search party became \n missing in Satan's world, I organized a great \n reinforcement corps. ";
TD[1301] = "Ventley: I'm amazed to learn that you fought alone \n in Satan's world. \n Our knights corps cannot win to Succubus... \n I'm sorry that we cannot help you...! ";
TD[1302] = "Ventley: I was appointed to the leader of the \n knights corps by the queen. \n Please use us without hesitation in future for \n a country. \n Viva, our next new King! ";
TD[1307] = "Roof: I'm surprised to know that you went even to \n the Satan's world and the hell world. \n You are really great prince! \n If you become a king, this country will revive! ";
TD[1308] = "Roof: I'll absolutely lock \n 'the entrance to the Satan's world' of Mt.Bolbo \n and the grave of royal families. \n I make every possible effort for the revival \n of the country, too! ";
TD[1313] = "Dr.Crysler: Because you were safe, I felt relieved \n very much. \n When I was made to hear from the search party \n that 'you went in Satan's world', I despaired... \n This country dies out when lost you! ";
TD[1314] = "Dr.Crysler: And, Aya of the granddaughter grieves. \n Please make the granddaughter a bride when you \n become a king... \n HAHAHA! It's joke. ";
TD[1315] = "Dr.Crysler: ...Please don't act rashly in future. \n I am... Cooperates to the revival of the country by \n my best though I'm an old man...! ";
TD[1320] = "Fourd: Brother! You were safe and good! \n Please don't let us worry so much... \n You are an important person who becomes a king. \n Please be careful more... ";
TD[1321] = "Fourd: If there is a problem, at first please consult us. \n If we don't get united, the country cannot revive. \n I support you to the utmost! ";
TD[1326] = "Queen: Because you returned safely, I am glad... \n You are not alone anymore. There are 'your family', \n 'your vassal', and many people loving you... \n Be always mindful of the matter. ";
TD[1327] = "Queen: Your hardship is hardship also to us. \n Do not suffer alone. ......Let's stop a sermon. \n It is a very happy memorial day today. \n What? Did you say 'I don't know memorial day'? \n ...FUFUFUFU. ";
TD[1328] = ("Queen: " + cName) + " King! \n It's a day of the enthronement of \n the new king. ";
}
function itemSet() {
item = new Array();
item[0] = new Object();
item[0].atk = 0;
item[0].def = 0;
item[1] = new Object();
item[1].iName = "";
item[1].atk = 0;
item[1].def = 0;
item[1].comment = "Nothing";
item[1].buy = 0;
item[2] = new Object();
item[2].iName = "";
item[2].comment = "\u9B54\u6CD5\u3092\u5531\u3048\u308B\u6642\u306B\u8AAD\u3080\u3000\uFF08\u58F2\u8CB7\u4E0D\u53EF\uFF09\u3000";
item[3] = new Object();
item[3].iName = "Money";
item[4] = new Object();
item[4].iName = "Battery";
item[4].comment = "\nIf there is not electric power, you cannot use the item \nthat uses electric power. ";
strAU = "The attack power goes up when you use it at the fighting. ";
strDU = "The defense power is up when wearing it. ";
strIR = "the item for the realization. \nIt buy with a high price in a shop. ";
strEF = "An enemy appears, and a fight starts immediately. ";
item[6] = new Object();
item[6].iName = "Energy water";
item[6].comment = "\nYour excitement level decreases when you drink it. ";
item[6].useFlg = true;
item[6].buy = 30;
item[7] = new Object();
item[7].iName = "Cool gel";
item[7].comment = "\nthe gel apply to the penis. \nThe muscle and the cavernous body are cooled. \nThe excitement level decreases when using it. ";
item[7].useFlg = true;
item[7].buy = 120;
item[8] = new Object();
item[8].iName = "Guardian angel's tear";
item[8].comment = "\nThe excitement level becomes 0 by the divine protection of the guardian angel if it drinks. ";
item[8].useFlg = true;
item[8].buy = 345;
item[10] = new Object();
item[10].iName = "Supplement A";
item[10].comment = "\nSupplement that mixes zinc, arginine, and maca.\nThis raises the level of excitement up to 20% max when you take it during the fighting. ";
item[10].BUflg = true;
item[10].ectPmax = 0.2;
item[10].buy = 298;
item[11] = new Object();
item[11].iName = "Supplement S";
item[11].comment = "\nSupplement that mixes Sofon, Garana, and arginine. \nThis raises the level of excitement up to 30% max when you take it during the fighting. ";
item[11].BUflg = true;
item[11].ectPmax = 0.3;
item[11].buy = 725;
item[12] = new Object();
item[12].iName = "Supplement KING";
item[12].comment = "\nSupplement to which witch mixes and refined prohibited material. \nThis raises the level of excitement up to 50% max when you take it during the fighting. ";
item[12].BUflg = true;
item[12].ectPmax = 0.5;
item[12].buy = 1555;
item[13] = new Object();
item[13].iName = "Mens gel";
item[13].comment = "\nHair tonic. A dandy fragrance. \n" + strAU;
item[13].BUflg = true;
item[13].sustinMax = 3;
item[13].atk = 2;
item[13].def = 0;
item[13].buy = 35;
item[14] = new Object();
item[14].iName = "Jeanne erodeth";
item[14].comment = "\nPerfume. Fresh in the smell of citrus and Aroma. \n" + strAU;
item[14].BUflg = true;
item[14].sustinMax = 4;
item[14].atk = 3;
item[14].def = 0;
item[14].buy = 28;
item[15] = new Object();
item[15].iName = "Egoist erotinum";
item[15].comment = "\nPerfume. The mint which it is sweet and is fruity, \nand is cool?? \n" + strAU;
item[15].BUflg = true;
item[15].sustinMax = 4;
item[15].atk = 4;
item[15].def = 0;
item[15].buy = 30;
item[16] = new Object();
item[16].iName = "Refreshing spray";
item[16].comment = "\nMouth spray. It rises the effect when using it before the kiss attack. \n" + strAU;
item[16].BUflg = true;
item[16].sustinMax = 2;
item[16].atk = 2;
item[16].def = 0;
item[16].buy = 26;
item[17] = new Object();
item[17].iName = "Pheromone spray";
item[17].comment = "\nRhea item. Magic to make the woman entranced is put. The enemy's escape is blocked. \n" + strAU;
item[17].BUflg = true;
item[17].sustinMax = 3;
item[17].atk = 10;
item[17].def = 14;
item[17].buy = 798;
item[17].sell = 450;
item[19] = new Object();
item[19].iName = "Aloe oil";
item[19].comment = "\nOil painted on body. Smell of fresh aloe. \n" + strAU;
item[19].BUflg = true;
item[19].sustinMax = 3;
item[19].atk = 3;
item[19].def = 0;
item[19].buy = 38;
item[20] = new Object();
item[20].iName = "Vivi rotor";
item[20].comment = "\nDisposable micro rotor installed in enemy's vagina. \nIt reacts by the electric wave of rotor controller. \nEnemy's excitement level remains going up in the next fighting if it installs in the enemy. ";
item[20].BUflg = true;
item[20].sustinMax = 999;
item[20].atk = 4;
item[20].def = 4;
item[20].buy = 980;
item[21] = new Object();
item[21].iName = "lotion";
item[21].comment = "\nLotion painted on each other's bodies. \nRaises the excitement level. \nThe attack power goes up when you use it at the fighting, but the defense power is down. ";
item[21].BUflg = true;
item[21].sustinMax = 4;
item[21].atk = 7;
item[21].def = -3;
item[21].buy = 250;
item[23] = new Object();
item[23].iName = "Hot love C";
item[23].comment = "\nOil painted on clitoris. Raises the excitement level. \n" + strAU;
item[23].BUflg = true;
item[23].sustinMax = 4;
item[23].atk = 12;
item[23].def = 0;
item[23].buy = 298;
item[24] = new Object();
item[24].iName = "Hot love V";
item[24].comment = "\nOil painted in vagina. Raises the excitement level. \n" + strAU;
item[24].BUflg = true;
item[24].sustinMax = 3;
item[24].atk = 15;
item[24].def = 0;
item[24].buy = 450;
item[25] = new Object();
item[25].iName = "Touch cream";
item[25].comment = "\nCream painted on hand. Raises the excitement level. \n" + strAU;
item[25].BUflg = true;
item[25].sustinMax = 5;
item[25].atk = 4;
item[25].def = 0;
item[25].buy = 53;
item[27] = new Object();
item[27].iName = "Sweet kiss";
item[27].comment = "\nWater with the taste to quench a lip. \n" + strAU;
item[27].BUflg = true;
item[27].sustinMax = 3;
item[27].atk = 2;
item[27].def = 0;
item[27].buy = 20;
item[28] = new Object();
item[28].iName = "Fresh kiss";
item[28].comment = "\nWater with the taste to quench a lip. \n" + strAU;
item[28].BUflg = true;
item[28].sustinMax = 4;
item[28].atk = 3;
item[28].def = 0;
item[28].buy = 32;
item[29] = new Object();
item[29].iName = "Gorgeous kiss";
item[29].comment = "\nWater with the taste to quench a lip. \n" + strAU;
item[29].BUflg = true;
item[29].sustinMax = 5;
item[29].atk = 5;
item[29].def = 0;
item[29].buy = 77;
item[31] = new Object();
item[31].iName = "Green incense";
item[31].comment = "\nA fragrance to let a woman enchant. \n" + strAU;
item[31].BUflg = true;
item[31].sustinMax = 5;
item[31].atk = 4;
item[31].def = 0;
item[31].buy = 53;
item[32] = new Object();
item[32].iName = "Fruit incense";
item[32].comment = "\nA fragrance to let a woman enchant. \nThe defense power goes up when you use it at the fighting. ";
item[32].BUflg = true;
item[32].sustinMax = 3;
item[32].atk = 0;
item[32].def = 14;
item[32].buy = 60;
item[33] = new Object();
item[33].iName = "Fascination fragrance";
item[33].comment = "\nCandle. A fragrance to let a woman enchant. \nThe attack power and defense power goes up when you use it at the fighting. ";
item[33].BUflg = true;
item[33].sustinMax = 6;
item[33].atk = 3;
item[33].def = 6;
item[33].buy = 150;
item[34] = new Object();
item[34].iName = "Immoral candle";
item[34].comment = "\nA fragrance to let a woman enchant. \nThe attack power and defense power goes up when you use it at the fighting. ";
item[34].BUflg = true;
item[34].sustinMax = 7;
item[34].atk = 5;
item[34].def = 10;
item[34].buy = 320;
item[36] = new Object();
item[36].iName = "Energy cartridge";
item[36].comment = "\nEnergy cartridge of Whirlwind pants. \nIt is effective when it wear Whirlwind pants and having it during the fighting. ";
item[36].buy = 2980;
item[41] = new Object();
item[41].iName = "Aroma light";
item[41].comment = "\nIndirect lighting. An atmosphere, excitement level raise. \n" + strAU;
item[41].BUflg = true;
item[41].atk = 2;
item[41].def = 0;
item[41].buy = 2350;
item[43] = new Object();
item[43].iName = "Electrical handcuffs";
item[43].comment = "\nFarr's cover adheres. It have it on an enemy and prevent a counterattack. \nIt possible to use only when the inserting and the fighting. ";
item[43].BUflg = true;
item[43].atk = 0;
item[43].def = 14;
item[43].buy = 3970;
item[44] = new Object();
item[44].iName = "Rotor controller";
item[44].comment = "\nRemote controller of the Vivi rotor. \nStimulation is given by operating Vivi rotor installed in the enemy. \nIt is effective when having it during the fighting. ";
item[44].BUflg = false;
item[44].atk = 0;
item[44].def = 0;
item[44].buy = 11800;
item[45] = new Object();
item[45].iName = "Good ring";
item[45].comment = "\nA rubber ring. \nAttach it to a penis and use it during the inserting. \n" + strAU;
item[45].BUflg = true;
item[45].atk = 6;
item[45].def = 0;
item[45].buy = 680;
item[46] = new Object();
item[46].iName = "Aquamanta";
item[46].comment = "\nRotor cover. \nAttach it to a penis and use it during the inserting. \n(Without the rotor, it isn't possible to use it.) \n" + strAU;
item[46].BUflg = true;
item[46].atk = 15;
item[46].def = 0;
item[46].buy = 980;
item[51] = new Object();
item[51].iName = "Pink rotor";
item[51].comment = "\nDetailed vibration type. \n" + strAU;
item[51].BUflg = true;
item[51].atk = 15;
item[51].def = 0;
item[51].buy = 1680;
item[52] = new Object();
item[52].iName = "Stick rotor";
item[52].comment = "\nThe rotor of the stick type. \n" + strAU;
item[52].BUflg = true;
item[52].atk = 22;
item[52].def = 0;
item[52].buy = 2560;
item[54] = new Object();
item[54].iName = "Golden rotor";
item[54].comment = " Valuable item. \nA rotor of the magical power control. \nIt detect the excitement level of the enemy automatically and control movement. \n" + strAU;
item[54].BUflg = true;
item[54].atk = 49;
item[54].def = 7;
item[54].buy = 18880;
item[70].sell = 12800;
item[57] = new Object();
item[57].iName = "Normal Vibrator";
item[57].comment = "\nA normal swing type. Beginner use. \n" + strAU;
item[57].BUflg = true;
item[57].atk = 21;
item[57].def = 0;
item[57].buy = 1980;
item[59] = new Object();
item[59].iName = "G-Lady";
item[59].comment = "\nVibrator. The Vibrator of the woman design. \nA Grafenberg spot attack type. \n" + strAU;
item[59].BUflg = true;
item[59].atk = 47;
item[59].def = 0;
item[59].buy = 7980;
item[60] = new Object();
item[60].iName = "Silicon vibrator";
item[60].comment = "\nA product made in silicon. \nA Grafenberg spot attack type. \n" + strAU;
item[60].BUflg = true;
item[60].atk = 43;
item[60].def = 0;
item[60].buy = 6210;
item[62] = new Object();
item[62].iName = "bellows vibrator";
item[62].comment = "\nA swing type. Unevenness of Bellows is the very good. \n" + strAU;
item[62].BUflg = true;
item[62].atk = 25;
item[62].def = 0;
item[62].buy = 2815;
item[64] = new Object();
item[64].iName = "Pearl vibrator";
item[64].comment = "\nA swing type. A pearl rotates at the entrance of the vagina and is very comfortable. \n" + strAU;
item[64].BUflg = true;
item[64].atk = 28;
item[64].def = 0;
item[64].buy = 3980;
item[66] = new Object();
item[66].iName = "Insert stick";
item[66].comment = "\nVibrator. A rolling type. The mysterious stick which \ninsert automatically. It has verruca. \n" + strAU;
item[66].BUflg = true;
item[66].atk = 35;
item[66].def = 0;
item[66].buy = 4412;
item[68] = new Object();
item[68].iName = "Mega piston";
item[68].comment = "\nVibrator. A piston type. Continuous adjustment is possible from super Wilde to slight vibration. \n" + strAU;
item[68].BUflg = true;
item[68].atk = 39;
item[68].def = 0;
item[68].buy = 5025;
item[70] = new Object();
item[70].iName = "Mandolin dot";
item[70].comment = " Valuable item. \nRotor & vibrator. There is the vibration of both ends, and a hardness change is possible. \n" + strAU;
item[70].BUflg = true;
item[70].atk = 69;
item[70].def = 6;
item[70].buy = 32210;
item[70].sell = 18000;
item[71] = new Object();
item[71].iName = "Magical vibrator";
item[71].comment = " Valuable item. \nA vibrator of the magical power control. \nIt detect the excitement level of the enemy automatically and control movement. \n" + strAU;
item[71].BUflg = true;
item[71].atk = 100;
item[71].def = 10;
item[71].buy = 55770;
item[71].sell = 38900;
item[75] = new Object();
item[75].iName = "Aqua mole";
item[75].comment = "\nA rotor for anuses. It is redoubling effect to the enemy of the masochist type. \n" + strAU;
item[75].BUflg = true;
item[75].atk = 40;
item[75].def = -3;
item[75].buy = 4500;
item[76] = new Object();
item[76].iName = "Anal swing";
item[76].comment = "\nA vibrator for anuses. A swing type. It is redoubling effect to the enemy of the masochist type. \n" + strAU;
item[76].BUflg = true;
item[76].atk = 42;
item[76].def = -5;
item[76].buy = 4980;
item[77] = new Object();
item[77].iName = "silver ball";
item[77].comment = "\nA pearl for anuses. It is redoubling effect to the enemy of the masochist type. \n" + strAU;
item[77].BUflg = true;
item[77].atk = 43;
item[77].def = -7;
item[77].buy = 5820;
item[80] = new Object();
item[80].iName = "round fan";
item[80].comment = "\nSupporting item. \nIt prevent an excitement level raise in a hot area. \nDrug resistance increases when having it. ";
item[80].val = 0.35;
item[80].buy = 105;
item[81] = new Object();
item[81].iName = "Portable fan";
item[81].comment = "\nSupporting item. \nIt prevent an excitement level raise in a hot area. \nDrug resistance increases when having it. ";
item[81].val = 0.6;
item[81].buy = 525;
item[83] = new Object();
item[83].iName = "Belly band";
item[83].comment = "\nSupporting item. \nIt prevent an excitement level raise in a cold area. \nDrug resistance increases when having it. ";
item[83].val = 0.6;
item[83].buy = 1820;
item[84] = new Object();
item[84].iName = "Hot heating pads";
item[84].comment = "\nSupporting item. \nIt prevent an excitement level raise in a cold area. \nDrug resistance increases when having it. ";
item[84].val = 0.3;
item[84].buy = 980;
item[101] = new Object();
item[101].iName = "Nothing";
item[101].comment = "\nNothing ";
item[101].atk = 0;
item[101].def = 0;
item[102] = new Object();
item[102].iName = "Leaf";
item[102].comment = "\nA ordinary leaf. It's better than there isn't it. \n" + strDU;
item[102].attachFlg = true;
item[102].atk = 0;
item[102].def = 12;
item[102].buy = 1;
item[102].sell = 1;
item[103] = new Object();
item[103].iName = "Penis case";
item[103].comment = "\nPenis case made from bark of a tree. \n" + strDU;
item[103].attachFlg = true;
item[103].atk = 0;
item[103].def = 20;
item[103].buy = 98;
item[104] = new Object();
item[104].iName = "Pants of straw";
item[104].comment = "\nA product made in straw. \n" + strDU;
item[104].attachFlg = true;
item[104].atk = 0;
item[104].def = 22;
item[104].buy = 120;
item[105] = new Object();
item[105].iName = "Loincloth";
item[105].comment = "\nA ordinary cloth. \n" + strDU;
item[105].attachFlg = true;
item[105].atk = 0;
item[105].def = 23;
item[105].buy = 128;
item[106] = new Object();
item[106].iName = "Normal trunks";
item[106].comment = "\nA ordinary trunks. \n" + strDU;
item[106].attachFlg = true;
item[106].atk = 0;
item[106].def = 18;
item[106].buy = 130;
item[107] = new Object();
item[107].iName = "Normal brief";
item[107].comment = "\nA ordinary brief. \n" + strDU;
item[107].attachFlg = true;
item[107].atk = 0;
item[107].def = 19;
item[107].buy = 136;
item[108] = new Object();
item[108].iName = "Mesh pants";
item[108].comment = " Rhea item. \nIt sells for a high price. \n" + strDU;
item[108].attachFlg = true;
item[108].atk = 0;
item[108].def = 21;
item[108].buy = 800;
item[108].sell = 550;
item[109] = new Object();
item[109].iName = "Normal fundoshi";
item[109].comment = "\nThe fundoshi of the commoner. \n" + strDU;
item[109].attachFlg = true;
item[109].atk = 0;
item[109].def = 25;
item[109].buy = 198;
item[110] = new Object();
item[110].iName = "Cowhide pants";
item[110].comment = newline + strDU;
item[110].attachFlg = true;
item[110].atk = 0;
item[110].def = 31;
item[110].buy = 258;
item[111] = new Object();
item[111].iName = "T-back";
item[111].comment = " Rhea item. \nIt sells for a high price. \n" + strDU;
item[111].attachFlg = true;
item[111].atk = 0;
item[111].def = 24;
item[111].buy = 1200;
item[111].sell = 870;
item[112] = new Object();
item[112].iName = "Half back";
item[112].comment = " Rhea item. \nIt sells for a high price. \n" + strDU;
item[112].attachFlg = true;
item[112].atk = 0;
item[112].def = 29;
item[112].buy = 1420;
item[112].sell = 980;
item[113] = new Object();
item[113].iName = "Penis case of bamboo";
item[113].comment = "\nPenis case made from bark of a bamboo. \nIt sells for a high price. \n" + strDU;
item[113].attachFlg = true;
item[113].atk = 0;
item[113].def = 38;
item[113].buy = 600;
item[113].sell = 415;
item[114] = new Object();
item[114].iName = "O-front";
item[114].comment = " Rhea item. \nIt sells for a high price. \n" + strDU;
item[114].attachFlg = true;
item[114].atk = 0;
item[114].def = 14;
item[114].buy = 3500;
item[114].sell = 2450;
item[115] = new Object();
item[115].iName = "Bikini pants";
item[115].comment = " Rhea item. \nIt sells for a high price. \n" + strDU;
item[115].attachFlg = true;
item[115].atk = 0;
item[115].def = 36;
item[115].buy = 1050;
item[115].sell = 777;
item[117] = new Object();
item[117].iName = "High leg pants";
item[117].comment = " Rhea item. \nIt sells for a high price. \n" + strDU;
item[117].attachFlg = true;
item[117].atk = 0;
item[117].def = 37;
item[117].buy = 1480;
item[117].sell = 1010;
item[118] = new Object();
item[118].iName = "Boomerang pants";
item[118].comment = newline + strDU;
item[118].attachFlg = true;
item[118].atk = 0;
item[118].def = 32;
item[118].buy = 345;
item[119] = new Object();
item[119].iName = "Lowrise pants";
item[119].comment = newline + strDU;
item[119].attachFlg = true;
item[119].atk = 0;
item[119].def = 35;
item[119].buy = 398;
item[120] = new Object();
item[120].iName = "Penis case of unicorn";
item[120].comment = "\nPenis case made from The horn of the unicorn. \n" + strDU;
item[120].attachFlg = true;
item[120].atk = 0;
item[120].def = 43;
item[120].buy = 480;
item[121] = new Object();
item[121].iName = "Boxer trunks";
item[121].comment = newline + strDU;
item[121].attachFlg = true;
item[121].atk = 0;
item[121].def = 40;
item[121].buy = 390;
item[122] = new Object();
item[122].iName = "Boxer brief";
item[122].comment = newline + strDU;
item[122].attachFlg = true;
item[122].atk = 0;
item[122].def = 42;
item[122].buy = 442;
item[123] = new Object();
item[123].iName = "Normal foul cup";
item[123].comment = " Rhea item. \nA product made in hard plastic. \n" + strDU;
item[123].attachFlg = true;
item[123].atk = 0;
item[123].def = 45;
item[123].buy = 620;
item[123].sell = 480;
item[124] = new Object();
item[124].iName = "Swimming trunks";
item[124].comment = "\nHigh-level goods. \n" + strDU;
item[124].attachFlg = true;
item[124].atk = 0;
item[124].def = 47;
item[124].buy = 710;
item[127] = new Object();
item[127].iName = "Penis case of iron";
item[127].comment = " Rhea item. \nA product made in steel. It sells for a high price. \n" + strDU;
item[127].attachFlg = true;
item[127].atk = 0;
item[127].def = 65;
item[127].buy = 3600;
item[127].sell = 2680;
item[128] = new Object();
item[128].iName = "Hard foul cup";
item[128].comment = " Rhea item. \nA product made in magnesium alloy. \nIt sells for a high price. \n" + strDU;
item[128].attachFlg = true;
item[128].atk = 0;
item[128].def = 52;
item[128].buy = 1580;
item[128].sell = 1250;
item[129] = new Object();
item[129].iName = "Heavy metal pants";
item[129].comment = "\nA very strong made. \n" + strDU;
item[129].attachFlg = true;
item[129].atk = 0;
item[129].def = 50;
item[129].buy = 998;
item[130] = new Object();
item[130].iName = "Pumpkin pants";
item[130].comment = "\nIt's warm. It can protect the body from cold. \n" + strDU;
item[130].attachFlg = true;
item[130].val = 0.3;
item[130].atk = 0;
item[130].def = 40;
item[130].buy = 367;
item[131] = new Object();
item[131].iName = "Elephant pants";
item[131].comment = "\nA goods popular for some reason. \n" + strDU;
item[131].attachFlg = true;
item[131].atk = 0;
item[131].def = 58;
item[131].buy = 2055;
item[132] = new Object();
item[132].iName = "Swan";
item[132].comment = "\nA very popular goods. \n" + strDU;
item[132].attachFlg = true;
item[132].atk = 0;
item[132].def = 60;
item[132].buy = 2650;
item[133] = new Object();
item[133].iName = "Bigger pants";
item[133].comment = " Rhea item. \nWhen is equipped, the reaction of the enemy... \nand " + strDU;
item[133].attachFlg = true;
item[133].atk = 0;
item[133].def = 20;
item[133].buy = 3280;
item[134] = new Object();
item[134].iName = "Diaper for adults";
item[134].comment = "\nIt becomes impossible of use by one fighting. \nThe defense power is large up when wearing it. ";
item[134].attachFlg = true;
item[134].atk = 0;
item[134].def = 119;
item[134].buy = 1020;
item[134].sell = 1;
item[135] = new Object();
item[135].iName = "Red fundoshi";
item[135].comment = "\nThe top quality goods of the fundoshi. \n" + strDU;
item[135].attachFlg = true;
item[135].atk = 0;
item[135].def = 64;
item[135].buy = 3458;
item[136] = new Object();
item[136].iName = "Army pants";
item[136].comment = "\nIt made by denim and strong product. \n" + strDU;
item[136].attachFlg = true;
item[136].atk = 0;
item[136].def = 66;
item[136].buy = 3980;
item[137] = new Object();
item[137].iName = "Knit pants";
item[137].comment = "\nIt's warm moderately. \nIt can protect the body from cold. \n" + strDU;
item[137].attachFlg = true;
item[137].val = 0.4;
item[137].atk = 0;
item[137].def = 45;
item[137].buy = 390;
item[138] = new Object();
item[138].iName = "Woolen pants";
item[138].comment = "\nA product made in 100% wool and very warm. \nIt can protect the body from cold. \n" + strDU;
item[138].attachFlg = true;
item[138].val = 0.9;
item[138].atk = 0;
item[138].def = 48;
item[138].buy = 477;
item[139] = new Object();
item[139].iName = "Fur pants";
item[139].comment = "\nIt's very warm. It can protect the body from cold. \n" + strDU;
item[139].attachFlg = true;
item[139].val = 0.7;
item[139].atk = 0;
item[139].def = 51;
item[139].buy = 600;
item[140] = new Object();
item[140].iName = "Animal pants";
item[140].comment = "\nMade of leopard skin. It's warm moderately. \nIt can protect the body from cold. \n" + strDU;
item[140].attachFlg = true;
item[140].val = 0.5;
item[140].atk = 0;
item[140].def = 55;
item[140].buy = 680;
item[141] = new Object();
item[141].iName = "High grade foul cup";
item[141].comment = " Unique item. \n" + strDU;
item[141].attachFlg = true;
item[141].atk = 10;
item[141].def = 70;
item[141].buy = 4440;
item[141].sell = 3100;
item[142] = new Object();
item[142].iName = "Chastity belt of leather";
item[142].comment = " Unique item. \nA key equipped. \n" + strDU;
item[142].attachFlg = true;
item[142].atk = 12;
item[142].def = 74;
item[142].buy = 5150;
item[142].sell = 3280;
item[143] = new Object();
item[143].iName = "Bulletproof pants";
item[143].comment = " Unique item. \n" + strDU;
item[143].attachFlg = true;
item[143].atk = 15;
item[143].def = 77;
item[143].buy = 6772;
item[143].sell = 4670;
item[144] = new Object();
item[144].iName = "Mawashi";
item[144].comment = " Unique item. \n" + strDU;
item[144].attachFlg = true;
item[144].atk = -10;
item[144].def = 133;
item[144].buy = 8020;
item[144].sell = 5060;
item[145] = new Object();
item[145].iName = "Bear pants";
item[145].comment = " Unique item. \n" + strDU;
item[145].attachFlg = true;
item[145].atk = 38;
item[145].def = 80;
item[145].buy = 9800;
item[145].sell = 7580;
item[146] = new Object();
item[146].iName = "Dragon pants";
item[146].comment = " Unique item. \n" + strDU;
item[146].attachFlg = true;
item[146].atk = 20;
item[146].def = 90;
item[146].buy = 12800;
item[146].sell = 7800;
item[147] = new Object();
item[147].iName = "Angel's pants";
item[147].comment = " Valuable item. \nDefense power and item acquisition rate improve when equipped. ";
item[147].attachFlg = true;
item[147].atk = 0;
item[147].def = 75;
item[147].buy = 11150;
item[147].sell = 9800;
item[148] = new Object();
item[148].iName = "Fundoshi of sage";
item[148].comment = " Valuable item. \nDefense power and attack power rise when equipped. \nAn attack addition value cut of enemy of the boss grade. ";
item[148].attachFlg = true;
item[148].atk = 5;
item[148].def = 101;
item[148].buy = 10030;
item[148].sell = 9000;
item[149] = new Object();
item[149].iName = "T-back of devil";
item[149].comment = " Valuable item. \nThe attack power is large up when wearing it. ";
item[149].attachFlg = true;
item[149].atk = 69;
item[149].def = -13;
item[149].buy = 69;
item[149].sell = 69;
item[150] = new Object();
item[150].iName = "Chastity belt of iron";
item[150].comment = " Valuable item. \nA key equipped. \n" + strDU;
item[150].attachFlg = true;
item[150].atk = -10;
item[150].def = 177;
item[150].buy = 15000;
item[150].sell = 12800;
item[151] = new Object();
item[151].iName = "Pants of king";
item[151].comment = " Valuable item. \nAttack power and defence power is up when wearing it. ";
item[151].attachFlg = true;
item[151].atk = 30;
item[151].def = 150;
item[151].buy = 35000;
item[151].sell = 32000;
item[152] = new Object();
item[152].iName = "Miracle pants";
item[152].comment = " Valuable item. \nThe terrible pants which have miraculous ability. \nOnly once evades ascension. It doubles the attack power. Prevention of electricity consumption. ";
item[152].attachFlg = true;
item[152].atk = 0;
item[152].def = 77;
item[152].buy = 58000;
item[152].sell = 5;
item[153] = new Object();
item[153].iName = "Jet pants";
item[153].comment = " Unique item. \nPants that can be moved by double speed. ";
item[153].attachFlg = true;
item[153].atk = 0;
item[153].def = 37;
item[153].buy = 16000;
item[153].sell = 9800;
item[154] = new Object();
item[154].iName = "CryslerPX-78";
item[154].comment = " Valuable item. \nPants that can be moved at super high speed. ";
item[154].attachFlg = true;
item[154].atk = 0;
item[154].def = 69;
item[154].buy = 38000;
item[154].sell = 33100;
item[156] = new Object();
item[156].iName = "Whirlwind pants";
item[156].comment = " Valuable item. \nPants that cause whirlwind attack phenomenon, and cut clothes of the enemy whom there is in the front by causing whirlpool in the atmosphere. \nIt starts by the automatic when an enemy appears. \nEnergy cartridge is necessary as energy. ";
item[156].attachFlg = true;
item[156].atk = 42;
item[156].def = 16;
item[156].buy = 126000 /* 0x01EC30 */;
item[156].sell = 98000 /* 0x017ED0 */;
item[170] = new Object();
item[170].iName = "Agate";
item[170].comment = newline + strIR;
item[170].buy = 1120;
item[171] = new Object();
item[171].iName = "Jade";
item[171].comment = newline + strIR;
item[171].buy = 1440;
item[172] = new Object();
item[172].iName = "Florait";
item[172].comment = newline + strIR;
item[172].buy = 1950;
item[173] = new Object();
item[173].iName = "Amethyst";
item[173].comment = newline + strIR;
item[173].buy = 2480;
item[174] = new Object();
item[174].iName = "Garnet";
item[174].comment = newline + strIR;
item[174].buy = 3100;
item[175] = new Object();
item[175].iName = "Gold beryl";
item[175].comment = newline + strIR;
item[175].buy = 3890;
item[176] = new Object();
item[176].iName = "Opal";
item[176].comment = newline + strIR;
item[176].buy = 4710;
item[177] = new Object();
item[177].iName = "Topaz";
item[177].comment = newline + strIR;
item[177].buy = 5500;
item[178] = new Object();
item[178].iName = "Amber";
item[178].comment = newline + strIR;
item[178].buy = 5610;
item[179] = new Object();
item[179].iName = "Aquamarine";
item[179].comment = newline + strIR;
item[179].buy = 6800;
item[180] = new Object();
item[180].iName = "Turkish stone";
item[180].comment = newline + strIR;
item[180].buy = 7320;
item[181] = new Object();
item[181].iName = "Emerald";
item[181].comment = newline + strIR;
item[181].buy = 9510;
item[182] = new Object();
item[182].iName = "Sapphire";
item[182].comment = newline + strIR;
item[182].buy = 13000;
item[183] = new Object();
item[183].iName = "Ruby";
item[183].comment = newline + strIR;
item[183].buy = 15170;
item[184] = new Object();
item[184].iName = "Diamond";
item[184].comment = newline + strIR;
item[184].buy = 22200;
item[190] = new Object();
item[190].iName = "Gold dust";
item[190].comment = newline + strIR;
item[190].buy = 860;
item[191] = new Object();
item[191].iName = "Gold mine stone";
item[191].comment = newline + strIR;
item[191].buy = 470;
item[192] = new Object();
item[192].iName = "Gold coin";
item[192].comment = newline + strIR;
item[192].buy = 2210;
item[193] = new Object();
item[193].iName = "Gold ingot";
item[193].comment = newline + strIR;
item[193].buy = 108100 /* 0x01A644 */;
item[195] = new Object();
item[195].iName = "Obsidian";
item[195].comment = newline + strIR;
item[195].buy = 155;
item[201] = new Object();
item[201].iName = "Crestone";
item[201].comment = "\nThe stone that a crest of the Erotica is carved. \nA thing such as the security pass which a Cubuses uses. ";
item[201].useFlg = true;
item[201].buy = 776;
item[201].sell = 505;
item[202] = new Object();
item[202].iName = "Diary of Chevoler";
item[202].comment = " Key item. \nThe diary which a man called Kma-Chevoler wrote. ";
item[202].useFlg = true;
item[202].buy = 3;
item[203] = new Object();
item[203].iName = "Mountain bell";
item[203].comment = " Key item. \nThe road appears when sounding it in a specific place. ";
item[203].useFlg = true;
item[203].buy = 1081;
item[204] = new Object();
item[204].iName = "Thunder wand";
item[204].comment = " Key item. \nSomething seems to occur when sitting in the sky in a specific place. ";
item[204].useFlg = true;
item[204].buy = 3560;
item[205] = new Object();
item[205].iName = "Royal family crest";
item[205].comment = " Key item. \nPendant where crest of the former kingdom was drawn. \nIt was allowed to possess only the imperial family. \nThe proof of the imperial family. ";
item[205].useFlg = true;
item[205].buy = 6299;
item[206] = new Object();
item[206].iName = "Rocket fuel";
item[206].comment = " Key item. \nThe fuel which Dr.Crysler refined in old days. ";
item[206].useFlg = true;
item[206].buy = 2320;
item[207] = new Object();
item[207].iName = "Key of castle";
item[207].comment = " Key item. \nThe key to front gate of the Erotica castle. ";
item[207].useFlg = true;
item[207].buy = 980;
item[208] = new Object();
item[208].iName = "Guard's Letter";
item[208].comment = " Key item. \nThe memo which the guard of the Mt.Bolbo wrote. ";
item[208].useFlg = true;
item[208].buy = 3;
item[209] = new Object();
item[209].iName = "Map";
item[209].comment = "\nThe map of the continent which Mercedes produced. ";
item[209].useFlg = true;
item[209].buy = 1200;
item[209].sell = 1780;
item[210] = new Object();
item[210].iName = "Magical seasoning";
item[210].comment = " Key item. \nThe mysterious seasoning to change into favorite taste of the person who ate the taste of the cooking ingredient. ";
item[210].useFlg = true;
item[210].buy = 980;
item[211] = new Object();
item[211].iName = "Letter of invitation. Lv.1";
item[211].comment = "\nIt can summon Succubus of level1. \n" + strEF;
item[211].useFlg = true;
item[211].buy = 25;
item[212] = new Object();
item[212].iName = "Letter of invitation. Lv.2";
item[212].comment = "\nIt can summon Succubus of level2. \n" + strEF;
item[212].useFlg = true;
item[212].buy = 40;
item[213] = new Object();
item[213].iName = "Letter of invitation. Lv.3";
item[213].comment = "\nIt can summon Succubus of level3. \n" + strEF;
item[213].useFlg = true;
item[213].buy = 55;
item[214] = new Object();
item[214].iName = "Letter of invitation. Lv.4";
item[214].comment = "\nIt can summon Succubus of level4. \n" + strEF;
item[214].useFlg = true;
item[214].buy = 70;
item[215] = new Object();
item[215].iName = "Letter of invitation. Lv.5";
item[215].comment = "\nIt can summon Succubus of level5. \n" + strEF;
item[215].useFlg = true;
item[215].buy = 85;
item[216] = new Object();
item[216].iName = "Letter of invitation. Lv.6";
item[216].comment = "\nIt can summon Succubus of level6. \n" + strEF;
item[216].useFlg = true;
item[216].buy = 100;
item[218] = new Object();
item[218].iName = "Elf's recorder";
item[218].comment = "\nIt is teleportation to the ground by the spiritual power of the elf when it blows. \nIt can use it only in dungeon. ";
item[218].useFlg = true;
item[218].buy = 15480;
item[218].sell = 33600;
item[220] = new Object();
item[220].iName = "Key of tower";
item[220].comment = " Key item. \nThe key of the entrance of the tower where Shitroen lives. ";
item[220].useFlg = true;
item[220].buy = 333;
item[221] = new Object();
item[221].iName = "Devil gunpowder";
item[221].comment = " Key item. \nGunpowder that has magic that alchemist mixed. \nA life and mental energy of the person who uses it are absorbed and the burning rate is increased. ";
item[221].useFlg = true;
item[221].buy = 0;
item[222] = new Object();
item[222].iName = "Alphamite";
item[222].comment = " Key item. \nThe dynamite which the Shitroen produced. \nIt absorb the energy of an animal nearby and add it to explosive power. ";
item[222].useFlg = true;
item[222].buy = 0;
item[224] = new Object();
item[224].iName = "Crystal ball of the witch";
item[224].comment = "\nA sealed witch teaches the level of the player. ";
item[224].useFlg = true;
item[224].buy = 666;
item[225] = new Object();
item[225].iName = "Hourglass of time";
item[225].comment = "\nThe clock which can return to a past. \nThe clock disappears when use it and can't return to the future. \n(The item in the rucksack and the item in the luggage locker return to the past.) ";
item[225].useFlg = true;
item[225].buy = 25700;
item[225].sell = 128500 /* 0x01F5F4 */;
}
function enemyIntelSet(no) {
if ((no == undefined) || (no == 10)) {
enemy[10] = new Object();
enemy[10].name = "\u0410\u0439\u044F";
enemy[10].partsFlg0 = false;
enemy[10].partsFlg1 = false;
enemy[10].partsFlg2 = true;
enemy[10].partsFlg3 = true;
enemy[10].partsFlg4 = true;
enemy[10].partsFlg5 = true;
enemy[10].partsFlg6 = false;
enemy[10].partsFlg7 = true;
enemy[10].partsFlg8 = true;
enemy[10].partsFlg9 = false;
enemy[10].partsFlg10 = true;
enemy[10].ectP = 0;
enemy[10].ectPmax = 100;
enemy[10].atk = 8;
enemy[10].def = 1;
enemy[10].co = 1;
enemy[10].TKflg = false;
enemy[10].TKect = 0;
}
if ((no == undefined) || (no == 11)) {
enemy[11] = new Object();
enemy[11].name = "\u041B\u043E\u043B\u0438\u0433\u043E\u0442 \u0434\u044C\u044F\u0432\u043E\u043B";
enemy[11].partsFlg0 = false;
enemy[11].partsFlg1 = false;
enemy[11].partsFlg2 = true;
enemy[11].partsFlg3 = false;
enemy[11].partsFlg4 = true;
enemy[11].partsFlg5 = true;
enemy[11].partsFlg6 = false;
enemy[11].partsFlg7 = true;
enemy[11].partsFlg8 = true;
enemy[11].partsFlg9 = false;
enemy[11].partsFlg10 = true;
enemy[11].ectP = 0;
enemy[11].ectPmax = 100;
enemy[11].atk = 11;
enemy[11].def = 1;
enemy[11].co = 1;
enemy[11].TKflg = false;
enemy[11].TKect = 0;
}
if ((no == undefined) || (no == 12)) {
enemy[12] = new Object();
enemy[12].name = "\u0411\u043B\u0443\u043C\u044D\u0440\u0438\u043B\u0438\u043D";
enemy[12].partsFlg0 = true;
enemy[12].partsFlg1 = false;
enemy[12].partsFlg2 = false;
enemy[12].partsFlg3 = true;
enemy[12].partsFlg4 = true;
enemy[12].partsFlg5 = true;
enemy[12].partsFlg6 = true;
enemy[12].partsFlg7 = true;
enemy[12].partsFlg8 = false;
enemy[12].partsFlg9 = false;
enemy[12].partsFlg10 = true;
enemy[12].ectP = 0;
enemy[12].ectPmax = 100;
enemy[12].atk = 13;
enemy[12].def = 1;
enemy[12].co = 1;
enemy[12].TKflg = false;
enemy[12].TKect = 0;
}
if ((no == undefined) || (no == 18)) {
enemy[18] = new Object();
enemy[18].name = "\u0414\u0435\u0432\u0443\u0448\u043A\u0430 \u0441\u0443\u043A\u043A\u0443\u0431";
enemy[18].partsFlg0 = false;
enemy[18].partsFlg1 = false;
enemy[18].partsFlg2 = true;
enemy[18].partsFlg3 = false;
enemy[18].partsFlg4 = true;
enemy[18].partsFlg5 = true;
enemy[18].partsFlg6 = false;
enemy[18].partsFlg7 = true;
enemy[18].partsFlg8 = true;
enemy[18].partsFlg9 = false;
enemy[18].partsFlg10 = true;
enemy[18].ectP = 0;
enemy[18].ectPmax = 100;
enemy[18].atk = 15;
enemy[18].def = 0.95;
enemy[18].co = 1;
enemy[18].TKflg = false;
enemy[18].TKect = 0;
}
if ((no == undefined) || (no == 20)) {
enemy[20] = new Object();
enemy[20].name = "\u0420\u0443\u0441\u0430\u043B\u043A\u0430 \u0432 \u043C\u0430\u0442\u0440\u043E\u0441\u043A\u0435";
enemy[20].partsFlg0 = false;
enemy[20].partsFlg1 = false;
enemy[20].partsFlg2 = true;
enemy[20].partsFlg3 = true;
enemy[20].partsFlg4 = true;
enemy[20].partsFlg5 = true;
enemy[20].partsFlg6 = false;
enemy[20].partsFlg7 = true;
enemy[20].partsFlg8 = false;
enemy[20].partsFlg9 = true;
enemy[20].partsFlg10 = true;
enemy[20].ectP = 0;
enemy[20].ectPmax = 120;
enemy[20].atk = 10;
enemy[20].def = 0.8;
enemy[20].co = 1;
enemy[20].TKflg = false;
enemy[20].TKect = 0;
}
if ((no == undefined) || (no == 21)) {
enemy[21] = new Object();
enemy[21].name = "\u041A\u043E\u0448\u043A\u0430 \u0441 \u043A\u043B\u044E\u0448\u043A\u043E\u0439";
enemy[21].partsFlg0 = true;
enemy[21].partsFlg1 = false;
enemy[21].partsFlg2 = false;
enemy[21].partsFlg3 = true;
enemy[21].partsFlg4 = true;
enemy[21].partsFlg5 = false;
enemy[21].partsFlg6 = false;
enemy[21].partsFlg7 = true;
enemy[21].partsFlg8 = false;
enemy[21].partsFlg9 = true;
enemy[21].partsFlg10 = true;
enemy[21].ectP = 0;
enemy[21].ectPmax = 100;
enemy[21].atk = 21;
enemy[21].def = 0.95;
enemy[21].co = 1;
enemy[21].TKflg = false;
enemy[21].TKect = 0;
}
if ((no == undefined) || (no == 24)) {
enemy[24] = new Object();
enemy[24].name = "\u041F\u0438\u0440\u0430\u0442\u043A\u0430";
enemy[24].partsFlg0 = true;
enemy[24].partsFlg1 = true;
enemy[24].partsFlg2 = true;
enemy[24].partsFlg3 = true;
enemy[24].partsFlg4 = true;
enemy[24].partsFlg5 = true;
enemy[24].partsFlg6 = false;
enemy[24].partsFlg7 = true;
enemy[24].partsFlg8 = false;
enemy[24].partsFlg9 = false;
enemy[24].partsFlg10 = true;
enemy[24].ectP = 0;
enemy[24].ectPmax = 100;
enemy[24].atk = 24;
enemy[24].def = 0.95;
enemy[24].co = 1;
enemy[24].TKflg = false;
enemy[24].TKect = 0;
}
if ((no == undefined) || (no == 27)) {
enemy[27] = new Object();
enemy[27].name = "\u041F\u0438\u0440\u0430\u0442\u0441\u043A\u0430\u044F \u0434\u0438\u0432\u0430";
enemy[27].partsFlg0 = true;
enemy[27].partsFlg1 = true;
enemy[27].partsFlg2 = false;
enemy[27].partsFlg3 = true;
enemy[27].partsFlg4 = true;
enemy[27].partsFlg5 = true;
enemy[27].partsFlg6 = false;
enemy[27].partsFlg7 = true;
enemy[27].partsFlg8 = false;
enemy[27].partsFlg9 = true;
enemy[27].partsFlg10 = true;
enemy[27].ectP = 0;
enemy[27].ectPmax = 100;
enemy[27].atk = 27;
enemy[27].def = 0.9;
enemy[27].co = 1;
enemy[27].TKflg = false;
enemy[27].TKect = 0;
}
if ((no == undefined) || (no == 30)) {
enemy[30] = new Object();
enemy[30].name = "\u041A\u0440\u0430\u0441\u043E\u0442\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440";
enemy[30].partsFlg0 = true;
enemy[30].partsFlg1 = false;
enemy[30].partsFlg2 = true;
enemy[30].partsFlg3 = true;
enemy[30].partsFlg4 = true;
enemy[30].partsFlg5 = true;
enemy[30].partsFlg6 = false;
enemy[30].partsFlg7 = true;
enemy[30].partsFlg8 = true;
enemy[30].partsFlg9 = false;
enemy[30].partsFlg10 = true;
enemy[30].ectP = 0;
enemy[30].ectPmax = 130;
enemy[30].atk = 15;
enemy[30].def = 0.7;
enemy[30].co = 1;
enemy[30].TKflg = false;
enemy[30].TKect = 0;
}
if ((no == undefined) || (no == 31)) {
enemy[31] = new Object();
enemy[31].name = "\u041B\u0430\u043B\u0430\u043F\u043E\u0432\u0430";
enemy[31].partsFlg0 = true;
enemy[31].partsFlg1 = true;
enemy[31].partsFlg2 = false;
enemy[31].partsFlg3 = true;
enemy[31].partsFlg4 = true;
enemy[31].partsFlg5 = true;
enemy[31].partsFlg6 = true;
enemy[31].partsFlg7 = true;
enemy[31].partsFlg8 = false;
enemy[31].partsFlg9 = false;
enemy[31].partsFlg10 = true;
enemy[31].ectP = 0;
enemy[31].ectPmax = 100;
enemy[31].atk = 31;
enemy[31].def = 0.95;
enemy[31].co = 1;
enemy[31].TKflg = false;
enemy[31].TKect = 0;
}
if ((no == undefined) || (no == 33)) {
enemy[33] = new Object();
enemy[33].name = "\u041C\u0438\u043C\u0438\u043A";
enemy[33].partsFlg0 = false;
enemy[33].partsFlg1 = true;
enemy[33].partsFlg2 = true;
enemy[33].partsFlg3 = false;
enemy[33].partsFlg4 = true;
enemy[33].partsFlg5 = true;
enemy[33].partsFlg6 = false;
enemy[33].partsFlg7 = true;
enemy[33].partsFlg8 = true;
enemy[33].partsFlg9 = true;
enemy[33].partsFlg10 = true;
enemy[33].ectP = 0;
enemy[33].ectPmax = 100;
enemy[33].atk = 33;
enemy[33].def = 0.85;
enemy[33].co = 1;
enemy[33].TKflg = false;
enemy[33].TKect = 0;
}
if ((no == undefined) || (no == 35)) {
enemy[35] = new Object();
enemy[35].name = "\u0410\u043A\u0432\u0430 \u041C\u0438\u043D\u0435\u0440\u0430\u043B\u0435";
enemy[35].partsFlg0 = false;
enemy[35].partsFlg1 = true;
enemy[35].partsFlg2 = false;
enemy[35].partsFlg3 = false;
enemy[35].partsFlg4 = false;
enemy[35].partsFlg5 = true;
enemy[35].partsFlg6 = false;
enemy[35].partsFlg7 = true;
enemy[35].partsFlg8 = false;
enemy[35].partsFlg9 = false;
enemy[35].partsFlg10 = true;
enemy[35].ectP = 0;
enemy[35].ectPmax = 100;
enemy[35].atk = 35;
enemy[35].def = 0.95;
enemy[35].co = 1;
enemy[35].TKflg = false;
enemy[35].TKect = 0;
}
if ((no == undefined) || (no == 38)) {
enemy[38] = new Object();
enemy[38].name = "\u0421\u043F\u0440\u0438\u0442\u0430\u043D";
enemy[38].partsFlg0 = true;
enemy[38].partsFlg1 = true;
enemy[38].partsFlg2 = false;
enemy[38].partsFlg3 = true;
enemy[38].partsFlg4 = true;
enemy[38].partsFlg5 = true;
enemy[38].partsFlg6 = true;
enemy[38].partsFlg7 = false;
enemy[38].partsFlg8 = false;
enemy[38].partsFlg9 = true;
enemy[38].partsFlg10 = true;
enemy[38].ectP = 0;
enemy[38].ectPmax = 100;
enemy[38].atk = 38;
enemy[38].def = 0.9;
enemy[38].co = 1;
enemy[38].TKflg = false;
enemy[38].TKect = 0;
}
if ((no == undefined) || (no == 40)) {
enemy[40] = new Object();
enemy[40].name = "\u0413\u0430\u043D\u0433\u043E\u043B";
enemy[40].partsFlg0 = false;
enemy[40].partsFlg1 = true;
enemy[40].partsFlg2 = true;
enemy[40].partsFlg3 = true;
enemy[40].partsFlg4 = true;
enemy[40].partsFlg5 = true;
enemy[40].partsFlg6 = true;
enemy[40].partsFlg7 = true;
enemy[40].partsFlg8 = false;
enemy[40].partsFlg9 = false;
enemy[40].partsFlg10 = true;
enemy[40].ectP = 0;
enemy[40].ectPmax = 140;
enemy[40].atk = 20;
enemy[40].def = 0.7;
enemy[40].co = 1;
enemy[40].TKflg = false;
enemy[40].TKect = 0;
}
if ((no == undefined) || (no == 43)) {
enemy[43] = new Object();
enemy[43].name = "\u0421\u043E\u043B\u043E\u0432\u0435\u0439";
enemy[43].partsFlg0 = false;
enemy[43].partsFlg1 = true;
enemy[43].partsFlg2 = true;
enemy[43].partsFlg3 = false;
enemy[43].partsFlg4 = true;
enemy[43].partsFlg5 = true;
enemy[43].partsFlg6 = false;
enemy[43].partsFlg7 = true;
enemy[43].partsFlg8 = true;
enemy[43].partsFlg9 = false;
enemy[43].partsFlg10 = true;
enemy[43].ectP = 0;
enemy[43].ectPmax = 100;
enemy[43].atk = 43;
enemy[43].def = 0.9;
enemy[43].co = 1;
enemy[43].TKflg = false;
enemy[43].TKect = 0;
}
if ((no == undefined) || (no == 45)) {
enemy[45] = new Object();
enemy[45].name = "\u041B\u0435\u0434\u0438 \u0413\u0440\u044D\u043C";
enemy[45].partsFlg0 = false;
enemy[45].partsFlg1 = false;
enemy[45].partsFlg2 = true;
enemy[45].partsFlg3 = true;
enemy[45].partsFlg4 = true;
enemy[45].partsFlg5 = true;
enemy[45].partsFlg6 = false;
enemy[45].partsFlg7 = true;
enemy[45].partsFlg8 = false;
enemy[45].partsFlg9 = true;
enemy[45].partsFlg10 = true;
enemy[45].ectP = 0;
enemy[45].ectPmax = 100;
enemy[45].atk = 45;
enemy[45].def = 0.7;
enemy[45].co = 1;
enemy[45].TKflg = false;
enemy[45].TKect = 0;
}
if ((no == undefined) || (no == 47)) {
enemy[47] = new Object();
enemy[47].name = "\u041A\u043E\u0448\u043A\u0430 \u043C\u044D\u0439\u0434\u0430";
enemy[47].partsFlg0 = true;
enemy[47].partsFlg1 = true;
enemy[47].partsFlg2 = true;
enemy[47].partsFlg3 = true;
enemy[47].partsFlg4 = true;
enemy[47].partsFlg5 = true;
enemy[47].partsFlg6 = false;
enemy[47].partsFlg7 = true;
enemy[47].partsFlg8 = true;
enemy[47].partsFlg9 = true;
enemy[47].partsFlg10 = true;
enemy[47].ectP = 0;
enemy[47].ectPmax = 100;
enemy[47].atk = 47;
enemy[47].def = 0.8;
enemy[47].co = 1;
enemy[47].TKflg = false;
enemy[47].TKect = 0;
}
if ((no == undefined) || (no == 50)) {
enemy[50] = new Object();
enemy[50].name = "\u041A\u043E\u0440\u043E\u043B\u0435\u0432\u0430";
enemy[50].partsFlg0 = true;
enemy[50].partsFlg1 = true;
enemy[50].partsFlg2 = true;
enemy[50].partsFlg3 = true;
enemy[50].partsFlg4 = true;
enemy[50].partsFlg5 = true;
enemy[50].partsFlg6 = false;
enemy[50].partsFlg7 = true;
enemy[50].partsFlg8 = true;
enemy[50].partsFlg9 = true;
enemy[50].partsFlg10 = true;
enemy[50].ectP = 0;
enemy[50].ectPmax = 100;
enemy[50].atk = 25;
enemy[50].def = 0.7;
enemy[50].co = 1;
enemy[50].TKflg = false;
enemy[50].TKect = 0;
}
if ((no == undefined) || (no == 51)) {
enemy[51] = new Object();
enemy[51].name = "\u0421\u043D\u0435\u0436\u043D\u0430\u044F \u0432\u0435\u0434\u044C\u043C\u0430";
enemy[51].partsFlg0 = false;
enemy[51].partsFlg1 = true;
enemy[51].partsFlg2 = false;
enemy[51].partsFlg3 = false;
enemy[51].partsFlg4 = true;
enemy[51].partsFlg5 = true;
enemy[51].partsFlg6 = false;
enemy[51].partsFlg7 = true;
enemy[51].partsFlg8 = false;
enemy[51].partsFlg9 = true;
enemy[51].partsFlg10 = true;
enemy[51].ectP = 0;
enemy[51].ectPmax = 100;
enemy[51].atk = 51;
enemy[51].def = 0.85;
enemy[51].co = 1;
enemy[51].TKflg = false;
enemy[51].TKect = 0;
}
if ((no == undefined) || (no == 54)) {
enemy[54] = new Object();
enemy[54].name = "\u041F\u043E\u0441\u043B\u0443\u0448\u043D\u0438\u0446\u0430";
enemy[54].partsFlg0 = false;
enemy[54].partsFlg1 = true;
enemy[54].partsFlg2 = false;
enemy[54].partsFlg3 = true;
enemy[54].partsFlg4 = true;
enemy[54].partsFlg5 = true;
enemy[54].partsFlg6 = false;
enemy[54].partsFlg7 = true;
enemy[54].partsFlg8 = false;
enemy[54].partsFlg9 = true;
enemy[54].partsFlg10 = true;
enemy[54].ectP = 0;
enemy[54].ectPmax = 100;
enemy[54].atk = 54;
enemy[54].def = 0.95;
enemy[54].co = 1;
enemy[54].TKflg = false;
enemy[54].TKect = 0;
}
if ((no == undefined) || (no == 57)) {
enemy[57] = new Object();
enemy[57].name = "\u0410\u0440\u043A\u0438";
enemy[57].partsFlg0 = true;
enemy[57].partsFlg1 = true;
enemy[57].partsFlg2 = true;
enemy[57].partsFlg3 = true;
enemy[57].partsFlg4 = true;
enemy[57].partsFlg5 = true;
enemy[57].partsFlg6 = false;
enemy[57].partsFlg7 = true;
enemy[57].partsFlg8 = false;
enemy[57].partsFlg9 = false;
enemy[57].partsFlg10 = true;
enemy[57].ectP = 0;
enemy[57].ectPmax = 100;
enemy[57].atk = 57;
enemy[57].def = 0.85;
enemy[57].co = 1;
enemy[57].TKflg = false;
enemy[57].TKect = 0;
}
if ((no == undefined) || (no == 60)) {
enemy[60] = new Object();
enemy[60].name = "\u0414\u044C\u044F\u0432\u043E\u043B \u0426\u0443\u043D\u0434\u0435\u043B\u0435";
enemy[60].partsFlg0 = true;
enemy[60].partsFlg1 = true;
enemy[60].partsFlg2 = true;
enemy[60].partsFlg3 = true;
enemy[60].partsFlg4 = true;
enemy[60].partsFlg5 = true;
enemy[60].partsFlg6 = true;
enemy[60].partsFlg7 = true;
enemy[60].partsFlg8 = true;
enemy[60].partsFlg9 = true;
enemy[60].partsFlg10 = true;
enemy[60].ectP = 0;
enemy[60].ectPmax = 160;
enemy[60].atk = 40;
enemy[60].def = 0.6;
enemy[60].co = 1;
enemy[60].TKflg = false;
enemy[60].TKect = 0;
}
if ((no == undefined) || (no == 70)) {
enemy[70] = new Object();
enemy[70].name = "\u041C\u041E\u042D \u0441\u0435\u0441\u0442\u0440\u0451\u043D\u043A\u0438";
enemy[70].partsFlg0 = false;
enemy[70].partsFlg1 = false;
enemy[70].partsFlg2 = true;
enemy[70].partsFlg3 = true;
enemy[70].partsFlg4 = false;
enemy[70].partsFlg5 = true;
enemy[70].partsFlg6 = false;
enemy[70].partsFlg7 = false;
enemy[70].partsFlg8 = true;
enemy[70].partsFlg9 = true;
enemy[70].partsFlg10 = true;
enemy[70].ectP = 0;
enemy[70].ectPmax = 180;
enemy[70].atk = 70;
enemy[70].def = 0.85;
enemy[70].co = 1;
enemy[70].TKflg = false;
enemy[70].TKect = 0;
}
if ((no == undefined) || (no == 90)) {
enemy[90] = new Object();
enemy[90].name = "\u042D\u0440\u043E\u0442\u0438\u043A\u0430";
enemy[90].partsFlg0 = true;
enemy[90].partsFlg1 = true;
enemy[90].partsFlg2 = true;
enemy[90].partsFlg3 = true;
enemy[90].partsFlg4 = true;
enemy[90].partsFlg5 = true;
enemy[90].partsFlg6 = true;
enemy[90].partsFlg7 = true;
enemy[90].partsFlg8 = true;
enemy[90].partsFlg9 = true;
enemy[90].partsFlg10 = true;
enemy[90].ectP = 0;
enemy[90].ectPmax = 200;
enemy[90].atk = 60;
enemy[90].def = 0.5;
enemy[90].co = 2;
enemy[90].TKflg = false;
enemy[90].TKect = 0;
}
if ((no == undefined) || (no == 95)) {
enemy[95] = new Object();
enemy[95].name = "\u041B\u043E\u043B\u0438\u0442\u0438\u044F";
enemy[95].partsFlg0 = true;
enemy[95].partsFlg1 = true;
enemy[95].partsFlg2 = false;
enemy[95].partsFlg3 = false;
enemy[95].partsFlg4 = true;
enemy[95].partsFlg5 = false;
enemy[95].partsFlg6 = true;
enemy[95].partsFlg7 = true;
enemy[95].partsFlg8 = false;
enemy[95].partsFlg9 = false;
enemy[95].partsFlg10 = true;
enemy[95].ectP = 0;
enemy[95].ectPmax = 100;
enemy[95].atk = 28;
enemy[95].def = 0.25;
enemy[95].co = 1;
enemy[95].TKflg = false;
enemy[95].TKect = 0;
}
if (_root.cName == "Erotica@") {
var _local4 = 0;
while (_local4 <= 10) {
var _local2 = "partsFlg" + _local4;
enemy[10][_local2] = (enemy[11][_local2] = (enemy[12][_local2] = (enemy[18][_local2] = false)));
enemy[20][_local2] = (enemy[21][_local2] = (enemy[24][_local2] = (enemy[27][_local2] = false)));
enemy[30][_local2] = (enemy[31][_local2] = (enemy[33][_local2] = (enemy[35][_local2] = (enemy[38][_local2] = false))));
enemy[40][_local2] = (enemy[43][_local2] = (enemy[45][_local2] = (enemy[47][_local2] = (enemy[50][_local2] = false))));
enemy[51][_local2] = (enemy[54][_local2] = (enemy[57][_local2] = (enemy[60][_local2] = false)));
enemy[70][_local2] = (enemy[90][_local2] = (enemy[95][_local2] = false));
_local4++;
}
}
}
Frame 24
function TOcheck(no, fg) {
var _local1 = new Array();
_local1[0] = true;
_local1[1] = (_local1[5] = !pf[0]);
_local1[2] = (!pf[0]) && (!pf[1]);
_local1[3] = ((!pf[0]) && (!pf[1])) && (!pf[2]);
_local1[4] = (((!pf[0]) && (!pf[1])) && (!pf[2])) && (!pf[3]);
_local1[6] = (_local1[7] = (!pf[0]) && (!pf[5]));
_local1[8] = (_local1[9] = ((!pf[0]) && (!pf[5])) && (!pf[7]));
_local1[10] = (((!pf[0]) && (!pf[5])) && (!pf[7])) && (!pf[9]);
_local1[11] = (!pf[4]) && (_local1[4]);
_local1[12] = (!pf[10]) && (_local1[9]);
if (fg) {
if (_local1[no] && (pf[no])) {
return(true);
}
return(false);
}
if (_local1[no]) {
return(true);
}
return(false);
}
function aCompletionPro(fg, no) {
if (fg) {
if (no != undefined) {
var _local2 = "partsFlg" + no;
enemy[eneNo][_local2] = false;
}
BFatkNo = 0;
}
if (BFattackSort != 0) {
attackSortPro();
BFattackSort = 0;
}
tgTr.gotoAndPlay(2);
AstartFlg = false;
bfAS = false;
tejoh = false;
BFbuf3 = false;
normalIn = false;
BFbufCo = 0;
BFco = 0;
BFcoE = 0;
cCo++;
transP1 = 0;
transP2 = 0;
_root.SVMC.S_vibMC3.gotoAndStop(1);
}
function BGMchange() {
if ((!Key.isDown(82)) && (!Key.isDown(84))) {
return(undefined);
}
if (Key.isDown(82) && (keyWait(1))) {
BGMno--;
if (BGMno <= -1) {
BGMno = 7;
}
BGMstartPro();
} else if (Key.isDown(84) && (keyWait(1))) {
BGMno++;
if (BGMno >= 8) {
BGMno = 0;
}
BGMstartPro();
}
}
function BGMstartPro(no) {
if (no != undefined) {
BGMno = no;
}
if (BGMno == 7) {
var _local1 = 0;
while (_local1 <= 6) {
bgm[_local1].stop();
_local1++;
}
} else {
var _local1 = 0;
while (_local1 <= 6) {
bgm[_local1].stop();
_local1++;
}
bgm[BGMno].setVolume(20);
bgm[BGMno].start(0, 99999);
}
}
function musicFO() {
if ((!BFbuf3) || ((BFbuf3 && (!BFpriFinish)) && (!BFeneFinish))) {
return(undefined);
}
if (sVolco >= 0) {
sVolco--;
}
var _local3 = Math.round(sVolco);
if (mVolco >= 0) {
mVolco = mVolco - 0.2;
}
var _local2 = Math.round(mVolco);
var _local1 = 0;
while (_local1 <= 6) {
bgm[_local1].setVolume(_local2);
_local1++;
}
}
function backChange() {
if (KF(13) && (keyWait(3))) {
SBback--;
if (SBback <= -1) {
SBback = SBBno.length - 1;
}
} else if (KF(14) && (keyWait(3))) {
SBback++;
if (SBback >= SBBno.length) {
SBback = 0;
}
}
tgS.backMC.gotoAndStop(SBBno[SBback]);
_root.backMC.gotoAndStop(SBBno[SBback]);
}
function eneLoadPro(e) {
if (!BFstartFlg) {
BFstartFlg = true;
EloadFlg = true;
enemySet(e);
textWindowClose();
enemyTaget();
tgS._x = 750;
tgFio.loadingMC._visible = true;
var _local2 = myMC.loadClip(Sname, _root.stageMC.stageBMC);
}
if (EloadFlg) {
tgFio.stop();
} else {
enemyTaget();
_root.gotoAndStop(40);
}
}
Frame 25
function BFsysProcessing() {
enemyTaget();
if (timerPro()) {
if ((BFturn % 2) == 0) {
if (BFeneRunaway) {
BFstartFlg = false;
_root.feedInOutMC.play();
} else {
battleEnePro();
}
} else if (panelFlg) {
panelProcessing(2);
} else {
battlePriPro();
}
}
musicFO();
}
function completionPro(fg, no) {
if (ANIMETICA == true) {
aCompletionPro(fg, no);
return(undefined);
}
animeFlg = false;
BFco = 0;
BFcoE = 0;
BFbufCo = 0;
if (fg) {
if (no != undefined) {
var _local5 = "partsFlg" + no;
enemy[eNo][_local5] = false;
}
if (watt <= 0) {
BFweponLv = 1;
BFsetBN = 28;
BFbufSou = false;
if (tgS.weponLv == 3) {
tgS.weponLv = 1;
}
damageCalculate(0, 0, 0);
tgC4._x = 140;
tgC4._y = 0;
}
BFitemUse[6] = (BFitemUse[7] = (BFitemUse[8] = false));
BFitemTxt = "";
var _local2 = 13;
while (_local2 <= 34) {
if (BFitemUse[_local2]) {
BFitemSus[_local2]++;
if (item[_local2].sustinMax < BFitemSus[_local2]) {
BFitemUse[_local2] = false;
BFitemSus[_local2] = 0;
var _local3 = ("\nThe effect of " + item[_local2].iName) + " was lost. ";
BFitemTxt = BFitemTxt + _local3;
if ((_local2 == 31) || (_local2 == 32)) {
if ((!BFitemUse[31]) && (!BFitemUse[32])) {
tgS.okouFlg = false;
tgS.stateSet("\u304A\u9999\u306E\u51E6\u7406");
}
}
}
}
_local2++;
}
if (BFitemTxt != "") {
BFitemTxt = BFitemTxt + "\u25BC ";
}
BFatkNo = 0;
damageCalculate(0, 0, 0);
turnProcessing();
} else {
if (!tgS.pantsFlg) {
pantsTakeOff();
}
var _local2 = 0;
while (_local2 <= 15) {
BFcomFlg[_local2] = false;
_local2++;
}
BFbougyoFlg = false;
turnProcessing();
}
_root.SVMC.S_vibMC3.gotoAndStop(1);
_root.vibVol3.stop();
}
function turnProcessing() {
if ((BFturn % 2) == 1) {
if (!BFcommandWait) {
BFcommandWait = true;
attackSortPro();
} else if (BFpriFinish || (BFeneFinish)) {
BFstartFlg = false;
_root.feedInOutMC.play();
} else {
BFcommandWait = false;
if (enemyRunawayPro()) {
BFeneRunaway = true;
_root.timerMC.gotoAndPlay(2);
textWindowOpen(41, 28);
} else {
_root.timerMC.gotoAndPlay(2);
textWindowOpen(40, 51);
}
}
} else if (BFpriFinish || (BFeneFinish)) {
if (!BFcommandWait) {
BFcommandWait = true;
attackSortPro();
} else {
BFstartFlg = false;
_root.feedInOutMC.play();
}
} else {
attackSortPro();
}
cursoleClear();
if (!BFcommandWait) {
BFturn++;
if ((BFturn % 2) == 0) {
}
if ((BFturn % 2) == 1) {
}
}
}
function battlePriPro() {
if (animeFlg) {
if (BFinsertFlg) {
insertProcessing(BFcy);
}
return(undefined);
}
var _local5 = _root.BFpMC;
var _local4 = _local5._currentframe;
var _local2 = _local5.panelMC;
var _local3 = _local2._currentframe;
if (KF(5) && (keyWait(0))) {
if (BFcommandWait) {
turnProcessing();
} else if (_local4 == 1) {
BFbuf4 = true;
_local5.play();
textWindowOpen(40, 12);
} else if (_local4 == 6) {
if (_local3 == 1) {
if ((BFcy == 0) && (!BFcomFlg[BFcy])) {
cursoleClear();
BFinsertFlg = false;
BFweponLv = 1;
capaCalculate(0, 10);
damageCalculate(0, 0, 0);
tgS.gotoAndStop(10);
_local2.gotoAndStop(2);
commandSet(2);
textWindowOpen(40, 13);
} else if ((BFcy == 1) && (!BFcomFlg[BFcy])) {
cursoleClear();
BFinsertFlg = false;
BFweponLv = 1;
capaCalculate(0, 10);
damageCalculate(0, 0, 0);
tgS.gotoAndStop(30);
_local2.gotoAndStop(3);
BFbuf2 = false;
commandSet(3);
textWindowOpen(40, 20);
} else if ((BFcy == 2) && (!BFcomFlg[BFcy])) {
cursoleClear();
BFinsertFlg = false;
BFweponLv = 1;
capaCalculate(0, 10);
damageCalculate(0, 0, 0);
tgS.gotoAndStop(30);
_local2.gotoAndStop(4);
commandSet(4);
textWindowOpen(40, 20);
} else if ((BFcy == 3) && (!BFcomFlg[BFcy])) {
cursoleClear();
BFinsertFlg = true;
if (BFweponLv >= 51) {
BFweponLv = 1;
}
capaCalculate(0, 30);
damageCalculate(0, 0, 0);
if (((!BTEflg[5]) && (eNo == 50)) && (SBflg == 0)) {
SBflg = 2;
BFstartFlg = false;
BFeneFinish = true;
tgFio.play();
textWindowClose();
return(undefined);
}
if ((!BFitemUse[45]) && (!BFitemUse[46])) {
tgS.weponLv = 1;
tgS.gotoAndStop(35);
tgE.gotoAndPlay(1);
tgS.stateSet("\u30A4\u30F3\u30B5\u30FC\u30C8\u653B\u6483");
} else {
tgS.gotoAndStop(35);
tgE.gotoAndPlay(1);
}
_local2.gotoAndStop(5);
textWindowOpen(40, 19);
} else if ((BFcy == 4) && (!BFcomFlg[BFcy])) {
cursoleClear();
BFinsertFlg = false;
if ((BFweponLv == 45) || (BFweponLv == 46)) {
BFweponLv = 1;
capaCalculate(0, 10);
damageCalculate(0, 0, 0);
}
tgS.gotoAndStop(30);
_local2.gotoAndStop(3);
BFbuf2 = true;
commandSet(3);
textWindowOpen(40, 20);
} else if ((BFcy == 5) && (!BFcomFlg[BFcy])) {
tgS.gotoAndStop(30);
textWindowOpen(40, 22);
panelFlg = true;
panelBfore();
tgIP.gotoAndStop("\u30D0\u30C8\u30EB\u6642");
} else if ((BFcy == 6) && (!BFcomFlg[BFcy])) {
tgS.gotoAndStop(10);
BFbougyoFlg = true;
BFattackSort = 12;
winClose(true);
completionPro(true);
} else if ((BFcy == 7) && (!BFcomFlg[BFcy])) {
BFweponLv = 1;
damageCalculate(0, 0, 0);
BFstartFlg = false;
_root.feedInOutMC.play();
} else {
if ((BFcy >= 0) && (BFcy <= 2)) {
textWindowOpen(40, 23);
}
if (BFcy == 3) {
textWindowOpen(40, 24);
}
if (BFcy == 4) {
textWindowOpen(40, 25);
}
if (BFcy == 7) {
textWindowOpen(40, 10);
}
}
} else if (_local3 == 2) {
var _local8 = takeOffCheck(true, BFcy);
if (_local8) {
winClose();
BFattackSort = 11;
enemyTakeOff(BFcy);
} else {
var _local6 = "partsFlg" + BFcy;
var _local7 = tgS["partsName" + BFcy];
if (!enemy[eNo][_local6]) {
if (_local7 == "nothing") {
textWindowOpen(40, 15);
} else {
textWindowOpen(40, 16);
}
} else {
textWindowOpen(40, 14);
}
}
BFcyBuf = BFcy;
} else if (_local3 == 3) {
if (!BFbuf2) {
if (BFcy == 0) {
winClose();
princeAttack(5);
} else if (BFcy == 1) {
winClose();
princeAttack(4);
} else if (BFcy == 2) {
if (takeOffCheck(false, 4)) {
winClose();
princeAttack(6);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 3) {
if (takeOffCheck(false, 10)) {
winClose();
princeAttack(7);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 4) {
textWindowOpen(40, 17);
}
BFattackSort = 15;
} else {
if ((BFcy >= 0) && (BFcy <= 1)) {
textWindowOpen(40, 17);
} else if (BFcy == 2) {
if ((((BFweponLv >= 51) && (BFweponLv <= 54)) && (!enemy[eNo].partsFlg1)) && (!enemy[eNo].partsFlg2)) {
winClose();
princeAttack(8);
} else {
textWindowOpen(40, 17);
}
} else if (BFcy == 3) {
if (((BFweponLv == 52) && (!enemy[eNo].partsFlg10)) || ((BFweponLv >= 57) && (BFweponLv <= 71))) {
winClose();
princeAttack(20);
} else if ((((BFweponLv == 51) || (BFweponLv == 52)) || (BFweponLv == 54)) && (!enemy[eNo].partsFlg7)) {
winClose();
princeAttack(14);
} else {
textWindowOpen(40, 17);
}
} else if (BFcy == 4) {
if ((BFweponLv >= 75) && (BFweponLv <= 77)) {
winClose();
princeAttack(25);
} else {
textWindowOpen(40, 17);
}
}
BFattackSort = 15;
}
} else if (_local3 == 4) {
if (BFcy == 0) {
if (takeOffCheck(false, 1)) {
winClose();
princeAttack(3);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 2) {
if (takeOffCheck(false, 2)) {
winClose();
princeAttack(1);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 3) {
if (takeOffCheck(false, 11)) {
winClose();
princeAttack(2);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 4) {
if (takeOffCheck(false, 8)) {
winClose();
princeAttack(11);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 6) {
if (takeOffCheck(false, 8)) {
winClose();
princeAttack(12);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 7) {
if (takeOffCheck(false, 12)) {
winClose();
princeAttack(13);
} else {
textWindowOpen(40, 14);
}
} else if (BFcy == 8) {
if (takeOffCheck(false, 12)) {
winClose();
princeAttack(23);
} else {
textWindowOpen(40, 14);
}
}
BFattackSort = 15;
} else if (_local3 == 5) {
animeFlg = true;
BFattackSort = 16;
BFatkNo = 30;
if (tgS.pantsFlg) {
pantsTakeOff();
}
if ((BFweponLv == 46) && (watt > 0)) {
_root.SVMC.S_vibMC3.play();
_root.vibVol3.setVolume(100);
}
winClose();
}
}
} else if (KF(3) && (keyWait(3))) {
if (_local4 == 6) {
BFcy++;
if (BFcy >= (BFy[_local3] + 1)) {
BFcy = 0;
}
_local2.cursoleMC._y = (BFcy * 20) + 25;
}
} else if (KF(1) && (keyWait(3))) {
if (_local4 == 6) {
BFcy--;
if (BFcy <= -1) {
BFcy = BFy[_local3];
}
_local2.cursoleMC._y = (BFcy * 20) + 25;
}
} else if (((KF(0) || (KF(6))) && (keyWait(3))) && (_local4 != 1)) {
if (_local3 >= 2) {
cursoleClear();
BFinsertFlg = false;
capaCalculate(0, 10);
damageCalculate(0, 0, 0);
_local2.gotoAndStop(1);
commandSet(1);
}
} else if (((KF(6) && (keyWait(3))) && (_local4 == 1)) && (!BFbuf4)) {
if (BFpriRunaway) {
textWindowOpen(40, 10);
} else {
BFweponLv = 1;
damageCalculate(0, 0, 0);
BFstartFlg = false;
_root.feedInOutMC.play();
}
}
if (SBflg == 1) {
if (KF(13) && (keyWait(3))) {
SBback--;
if (SBback <= -1) {
SBback = SBBno.length - 1;
}
} else if (KF(14) && (keyWait(3))) {
SBback++;
if (SBback >= SBBno.length) {
SBback = 0;
}
}
tgS.backMC.gotoAndStop(SBBno[SBback]);
}
}
function commandSet(n, val) {
var _local2 = _root.BFpMC.panelMC;
switch (n) {
case 1 :
if (!enemy[eNo].partsFlg10) {
BFcomFlg[3] = false;
_local2.pointMC3._alpha = 100;
} else {
BFcomFlg[3] = true;
_local2.pointMC3._alpha = 50;
}
if ((BFweponLv >= 51) && (BFweponLv <= 79)) {
BFcomFlg[4] = false;
_local2.pointMC4._alpha = 100;
} else {
BFcomFlg[4] = true;
_local2.pointMC4._alpha = 50;
}
if (BFpriRunaway) {
BFcomFlg[7] = true;
_local2.pointMC7._alpha = 50;
} else {
BFcomFlg[7] = false;
_local2.pointMC7._alpha = 100;
}
if (BFcomFlg[13]) {
_local2.pointMC0._alpha = 50;
BFcomFlg[0] = true;
}
if (BFcomFlg[11]) {
_local2.pointMC0._alpha = 50;
BFcomFlg[0] = true;
}
break;
case 2 :
var _local4 = 0;
while (_local4 <= 10) {
var _local5 = "txt" + _local4;
var _local7 = "partsName" + _local4;
_root.BFpMC.panelMC[_local5].text = tgS[_local7];
var _local3 = takeOffCheck(true, _local4);
if (!_local3) {
_root.BFpMC.panelMC[_local5].textColor = 10066329 /* 0x999999 */;
}
_local4++;
}
break;
case 3 :
if (!BFbuf2) {
var _local3 = takeOffCheck(false, 4);
if (!_local3) {
_local2.pointMC2._alpha = 50;
}
_local3 = takeOffCheck(false, 10);
if (!_local3) {
_local2.pointMC3._alpha = 50;
}
_local2.pointMC4._alpha = 50;
} else {
_local4 = 0;
while (_local4 <= 1) {
var _local6 = "pointMC" + _local4;
_local2[_local6]._alpha = 50;
_local4++;
}
if ((BFweponLv >= 57) && (BFweponLv <= 71)) {
_local2.pointMC2._alpha = 50;
_local2.pointMC4._alpha = 50;
} else if ((BFweponLv >= 75) && (BFweponLv <= 77)) {
_local2.pointMC2._alpha = 50;
_local2.pointMC3._alpha = 50;
} else if ((BFweponLv >= 51) && (BFweponLv <= 54)) {
_local2.pointMC4._alpha = 50;
if (enemy[eNo].partsFlg1 || (enemy[eNo].partsFlg2)) {
_local2.pointMC2._alpha = 50;
}
if (enemy[eNo].partsFlg7) {
_local2.pointMC3._alpha = 50;
}
}
}
break;
case 4 :
var _local3 = takeOffCheck(false, 1);
if (!_local3) {
_local2.pointMC0._alpha = 50;
}
_local3 = takeOffCheck(false, 2);
if (!_local3) {
_local2.pointMC2._alpha = 50;
}
_local3 = takeOffCheck(false, 11);
if (!_local3) {
_local2.pointMC3._alpha = 50;
}
_local3 = takeOffCheck(false, 8);
if (!_local3) {
_local2.pointMC4._alpha = 50;
_local2.pointMC6._alpha = 50;
}
_local3 = takeOffCheck(false, 12);
if (_local3) {
break;
}
_local2.pointMC7._alpha = 50;
_local2.pointMC8._alpha = 50;
}
}
function princeAttack(n) {
animeFlg = true;
BFatkNo = n;
zengiP[n] = 1.6;
var _local1 = "A" + n;
tgP.gotoAndStop(_local1);
tgPA1.gotoAndStop(_local1);
tgPA2.gotoAndStop(_local1);
tgE.bodyLMCu.priAMC.gotoAndStop(_local1);
if (n == 5) {
tgHd1.gotoAndPlay("K1");
tgHd2.gotoAndPlay("K1");
}
}
function battleEnePro() {
if (animeFlg) {
enemyAttackPro();
return(undefined);
}
if ((KF(5) && (keyWait(0))) && (BFcommandWait)) {
turnProcessing();
}
if (BFpriFinish || (BFeneFinish)) {
return(undefined);
}
_root.messageMC.gotoAndStop(1);
var _local2;
if (tgS.farFlg) {
_local2 = 6;
} else if (BFturn == 2) {
_local2 = 0;
} else if (BFturn >= 4) {
if (tgS.pantsFlg) {
_local2 = 2;
} else {
_local2 = Math.floor(Math.random() * 4) + 3;
if (_local2 == 6) {
if (((eNo == 30) || (eNo == 45)) || (eNo == 51)) {
var _local3 = Math.floor(Math.random() * 2);
if (_local3 == 0) {
enemy[eNo].partsFlg0 = (enemy[eNo].partsFlg5 = (enemy[eNo].partsFlg6 = (enemy[eNo].partsFlg7 = false)));
enemy[eNo].partsFlg8 = (enemy[eNo].partsFlg9 = (enemy[eNo].partsFlg10 = false));
_local2 = 7;
} else {
_local2 = 1;
}
} else {
_local2 = 1;
}
}
if ((_local2 >= 3) && (_local2 <= 5)) {
enemy[eNo].partsFlg0 = false;
}
if (_local2 == 4) {
if (tgS.paiZuriFlg) {
enemy[eNo].partsFlg0 = (enemy[eNo].partsFlg1 = false);
enemy[eNo].partsFlg2 = (enemy[eNo].partsFlg3 = (enemy[eNo].partsFlg4 = false));
}
}
}
} else {
_local2 = 1;
}
if (_local2 == 0) {
BFattackSort = 112;
tgS.gotoAndStop(15);
tgE.gotoAndPlay("L2");
} else if (_local2 == 1) {
BFattackSort = 111;
tgS.gotoAndStop(15);
tgE.gotoAndPlay("L1");
} else if (_local2 == 2) {
BFattackSort = 113;
tgS.gotoAndStop(20);
tgE.gotoAndPlay("L1");
} else if (_local2 == 3) {
BFattackSort = 115;
tgS.gotoAndStop(25);
tgE.gotoAndPlay("L1");
} else if (_local2 == 4) {
BFattackSort = 116;
tgS.gotoAndStop(25);
tgE.gotoAndPlay("L2");
} else if (_local2 == 5) {
BFattackSort = 117;
tgS.gotoAndStop(25);
tgE.gotoAndPlay("L3");
} else if (_local2 == 6) {
BFattackSort = 118;
tgS.gotoAndStop(30);
tgE.gotoAndPlay("L3");
} else if (_local2 == 7) {
BFattackSort = 119;
tgS.gotoAndStop(35);
BFcy = Math.floor(Math.random() * 3);
tgE.gotoAndPlay(1);
}
animeFlg = true;
}
function enemyAttackPro() {
BFcoE = BFcoE + 1;
switch (cfS) {
case 15 :
if (BFattackSort == 112) {
if (((BFcoE % 8) == 0) && (BFcoE > 29)) {
damageCalculate(2, 1, 0);
}
} else if (BFattackSort == 111) {
if (((BFcoE % 5) == 0) && (BFcoE < 10)) {
damageCalculate(3, 1, 0);
}
}
break;
case 20 :
if (((BFcoE % 5) == 0) && (BFcoE > 10)) {
var _local4 = damageCalculate(1, 2, 0)[1];
var _local1 = tgE._currentframe;
if (_local4 && (_local1 <= 37)) {
BFattackSort = 114;
tgE.gotoAndPlay("L2");
}
}
break;
case 25 :
var _local1 = tgE._currentframe;
var _local2 = tgHd2._currentframe;
if (BFattackSort == 115) {
if (!BFpriFinish) {
if ((BFcoE % 20) == 0) {
damageCalculate(3, 1, 0);
}
if (tgE.labelF == 1) {
kisekiCheck();
BFpriFinish = damageCalculate(0, 0, 0)[0];
if ((tgE.co <= 3) || (BFpriFinish)) {
tgE.gotoAndPlay("L1loop");
} else {
tgE.gotoAndPlay("L4");
tgHd2.gotoAndPlay("L1");
}
}
} else {
BFbuf3 = true;
if (tgHd2.labelF == 1) {
tgE.play();
} else if (tgE.labelF == 2) {
tgE.stop();
if (!tgHd2.flg) {
tgHd2.gotoAndPlay("F1");
}
} else if (tgE.labelF == 1) {
tgE.gotoAndPlay("L4");
BFattackSort = 130;
}
}
} else if (BFattackSort == 116) {
if (!BFpriFinish) {
if ((BFcoE % 25) == 0) {
damageCalculate(4, 1, 0);
}
if (tgE.labelF == 1) {
kisekiCheck();
BFpriFinish = damageCalculate(0, 0, 0)[0];
if ((tgE.co <= 2) || (BFpriFinish)) {
tgE.gotoAndPlay("L2loop");
} else {
tgE.gotoAndPlay("L5");
tgHd2.gotoAndPlay("L1");
}
}
} else {
BFbuf3 = true;
if (tgHd2.labelF == 1) {
tgE.play();
} else if (tgE.labelF == 2) {
tgE.stop();
if (!tgHd2.flg) {
if (tgS.paiZuriFlg) {
tgHd2.gotoAndPlay("F3");
} else {
tgHd2.gotoAndPlay("F1");
}
}
} else if (tgE.labelF == 1) {
tgE.gotoAndPlay("L5");
BFattackSort = 130;
}
}
} else if (BFattackSort == 117) {
if (!BFpriFinish) {
if ((BFcoE % 20) == 0) {
damageCalculate(4.5, 1, 0);
}
if (tgE.labelF == 1) {
kisekiCheck();
BFpriFinish = damageCalculate(0, 0, 0)[0];
if ((tgE.co <= 3) || (BFpriFinish)) {
tgE.gotoAndPlay("L3loop");
} else {
tgE.gotoAndPlay("L6");
tgHd2.gotoAndPlay("L1");
}
}
} else {
BFbuf3 = true;
if (tgHd2.labelF == 2) {
tgE.play();
} else if (tgE.labelF == 2) {
tgE.stop();
if (!tgHd2.flg) {
tgHd2.gotoAndPlay("F2");
}
} else if (tgE.labelF == 1) {
tgE.gotoAndPlay("L6");
BFattackSort = 131;
}
}
}
break;
case 30 :
_local1 = tgE._currentframe;
_local2 = tgHd2._currentframe;
if ((_local1 == 2) && (BFcoE < 20)) {
tgE.gotoAndPlay("L3");
tgE.bodyUMC.gotoAndPlay("L3");
tgE.bodyLMC.gotoAndPlay("L3");
tgHd1.gotoAndPlay("L3");
} else if (BFcoE > 20) {
tgHd1.gotoAndPlay("L1");
var _local3 = tejohTaget(eNo);
_local3.gotoAndStop(1);
tgAR1.gotoAndStop(1);
tgAL1.gotoAndStop(1);
tgBL.armLMC.gotoAndStop(1);
completionPro(false);
tgS.farFlg = false;
BFitemUse[43] = false;
}
if ((SBflg != 1) && (fukuLv != 152)) {
watt = watt - 1.25;
}
if (watt <= 0) {
watt = 0;
}
break;
case 35 :
insertProcessing(BFcy, false);
}
}
function insertProcessing(p, fg) {
var _local7 = tgE._currentframe;
kisekiCheck();
var _local5 = damageCalculate(0, 0, 0)[0];
var _local4 = enemyDamCal(0, fg);
if (fg || (fg == undefined)) {
fg = true;
}
BFbufCo++;
if (BFbufCo > 50) {
if (!BFbuf3) {
if (_local5 && (tgE.labelF <= 99)) {
BFeneFinish = false;
BFpriFinish = true;
BFbuf3 = true;
}
if (_local4) {
BFeneFinish = true;
BFpriFinish = false;
BFbuf3 = true;
}
}
if (BFpriFinish) {
p = 11;
} else if (BFeneFinish) {
p = 12;
}
}
switch (p) {
case 0 :
if (tgE.labelF == 1) {
tgE.play();
tgE.princeMC.play();
} else if (tgE.labelF == 11) {
BFco++;
if (BFco <= 7) {
tgE.gotoAndPlay("L1");
tgE.bodyUMC.gotoAndPlay("L1");
tgE.bodyLMC.gotoAndPlay("L1");
tgHd1.gotoAndPlay("L1");
tgE.princeMC.gotoAndPlay("L1");
if (eNo == 70) {
voiceOn(1, undefined, 2);
} else {
voiceOn(2);
}
damageCalculate(2, 0, 0);
enemyDamCal(atkP / 14, fg);
}
} else if (tgE.labelF == 12) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(fg);
}
break;
case 1 :
if (tgE.labelF == 1) {
tgE.gotoAndPlay("L2");
tgE.princeMC.gotoAndPlay("L2");
} else if (tgE.labelF == 20) {
tgE.bodyUMC.gotoAndPlay("L2");
tgE.bodyLMC.gotoAndPlay("L2");
tgHd1.gotoAndPlay("L2");
if (eNo == 70) {
voiceOn(1, undefined, 0);
} else {
voiceOn(2);
}
damageCalculate(3, 0, 0);
enemyDamCal(atkP / 10, fg);
} else if (tgE.labelF == 121) {
BFco++;
if (BFco <= 4) {
tgE.gotoAndPlay("L2");
tgE.princeMC.gotoAndPlay("L2");
}
} else if (tgE.labelF == 141) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(fg);
}
break;
case 2 :
if (tgE.labelF == 1) {
tgE.gotoAndPlay("L3");
tgE.princeMC.gotoAndPlay("L3");
} else if (tgE.labelF == 30) {
if (eNo == 70) {
voiceOn(1, undefined, 1);
}
} else if (tgE.labelF == 20) {
tgE.bodyUMC.gotoAndPlay("L3");
tgE.bodyLMC.gotoAndPlay("L2");
tgHd1.gotoAndPlay("L3");
if (eNo == 70) {
voiceOn(1, undefined, 0);
} else {
voiceOn(3);
}
damageCalculate(4, 0, 0);
enemyDamCal(atkP / 5.5, fg);
} else if (tgE.labelF == 131) {
BFco++;
if (BFco <= 2) {
tgE.gotoAndPlay("L3");
tgE.princeMC.gotoAndPlay("L3");
}
} else if (tgE.labelF == 141) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(fg);
}
break;
case 3 :
if (tgE.labelF == 1) {
tgE.play();
tgE.princeMC.play();
} else if ((tgE.labelF == 100) && (BFco == 0)) {
tgE.stop();
tgE.princeMC.stop();
BFco++;
} else if (tgE.labelF == 100) {
BFco++;
if ((BFco % 11) == 0) {
tgE.bodyUMC.gotoAndPlay("L1");
tgE.bodyLMC.gotoAndPlay("L2");
tgHd1.gotoAndPlay("L3");
if (eNo == 70) {
voiceOn(1, undefined, 0);
} else {
voiceOn(3);
}
damageCalculate(4, 0, 0)[0];
kisekiCheck();
if (damageCalculate(0, 0, 0)[0]) {
BFpriFinish = true;
}
enemyDamCal(atkP / 6, fg);
}
if (BFco >= 40) {
tgE.play();
tgE.princeMC.gotoAndPlay("L1");
tgE.bodyUMC.gotoAndPlay("L3");
tgE.bodyLMC.gotoAndPlay("L1");
tgHd1.gotoAndPlay("L3");
}
} else if (tgE.labelF == 141) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(fg);
}
break;
case 11 :
var _local3 = tgHd1._currentframe;
if (tgHd1.labelF == 2) {
completionPro(fg);
}
if (tgE.labelF == 100) {
tgE.stop();
tgE.princeMC.stop();
if (tgHd1.labelF == 0) {
tgHd1.gotoAndPlay("F1");
}
BFpriFinish = true;
BFattackSort = 132;
}
break;
case 12 :
_local3 = tgHd1._currentframe;
var _local6 = tgHd1._totalframes;
if (tgE.labelF == 141) {
tgE.gotoAndPlay("L1");
tgE.princeMC.gotoAndPlay("L1");
} else if (tgE.labelF == 100) {
tgE.stop();
tgE.princeMC.stop();
}
if (tgHd1.labelF <= 2) {
tgHd1.gotoAndPlay("S1");
}
if (tgHd1.labelF != 4) {
break;
}
BFeneFinish = true;
completionPro(fg);
}
}
function enemyReaction(fg, v, head, mm) {
if (!fg) {
v = Math.floor(Math.random() * 3) + 1;
}
var _local1 = "L" + v;
tgE.gotoAndPlay(_local1);
if (mm == undefined) {
if (head == undefined) {
tgE.bodyUMC.gotoAndPlay(_local1);
tgE.bodyLMC.gotoAndPlay(_local1);
tgHd1.gotoAndPlay(_local1);
}
tgHd2.gotoAndPlay(_local1);
} else if (mm == 0) {
if (head == undefined) {
tgBU.gotoAndPlay(_local1);
tgBL.gotoAndPlay(_local1);
tgHd1.gotoAndPlay(_local1);
tgHd2.gotoAndPlay(_local1);
}
} else if (mm == 1) {
tgE.bodyUMCu.gotoAndPlay(_local1);
tgE.bodyLMCu.gotoAndPlay(_local1);
tgE.bodyUMCu.headMC.gotoAndPlay(_local1);
}
if (head == 0) {
var _local5 = 14;
}
voiceOn(v, _local5, mm);
damageCalculate(1, 0, 0);
enemyDamCal(atkP / 10);
}
function voiceOn(lv, no, mm) {
if (!voiceFlg) {
if (no == undefined) {
if (mm != undefined) {
no = mimikoPro(mm);
} else {
var _local2 = Math.round((enemy[eNo].ectP / enemy[eNo].ectPmax) * 100);
if (_local2 > 67) {
no = Math.floor(Math.random() * 10) + 20;
} else if (_local2 > 34) {
no = Math.floor(Math.random() * 10) + 10;
} else {
no = Math.floor(Math.random() * 10);
}
}
}
voiceFlg = true;
var _local3 = "voiceMC" + no;
tgS[_local3].play();
}
}
function soundOn(s, no) {
if (!soundFlg) {
if (no == undefined) {
if (s == 1) {
no = Math.floor(Math.random() * 9) + 1;
} else if (s == 2) {
no = Math.floor(Math.random() * 7) + 11;
} else if (s == 3) {
no = Math.floor(Math.random() * 19) + 21;
}
}
var _local4 = "soundMC" + no;
_root.SVMC[_local4].play();
}
}
function mimikoPro(mm) {
r0 = Math.floor(Math.random() * 14);
r1 = Math.floor(Math.random() * 15) + 15;
r2 = Math.floor(Math.random() * 30);
var _local2 = tgS._currentframe;
if ((_local2 == 35) && ((mm == 1) || ((r2 >= 15) && (r2 <= 29)))) {
mimiUsaPro();
}
if (mm == 0) {
return(r0);
}
if (mm == 1) {
return(r1);
}
return(r2);
}
function mimiUsaPro() {
var _local2 = Math.floor(Math.random() * 3) + 1;
var _local1 = "L" + _local2;
tgE.bodyUMCu.gotoAndPlay(_local1);
tgE.bodyUMCu.headMC.gotoAndPlay(_local1);
}
function tejohTaget(no) {
var _local2;
var _local3 = tgS._currentframe;
if (((((((((no == 10) || (no == 11)) || (no == 12)) || (no == 18)) || (no == 20)) || (no == 27)) || (no == 38)) || (no == 57)) || (no == 60)) {
_local2 = tgAL1;
} else if (no == 30) {
if (_local3 == 30) {
_local2 = tgBL.armLMC;
} else if (_local3 == 35) {
_local2 = tgE.momoLMC;
}
} else if (((no == 35) || (no == 51)) || (no == 95)) {
if (_local3 == 30) {
_local2 = tgAR1;
} else if (_local3 == 35) {
_local2 = tgE.armRMC;
}
} else if (((((((((((no == 21) || (no == 24)) || (no == 31)) || (no == 33)) || (no == 40)) || (no == 43)) || (no == 45)) || (no == 47)) || (no == 50)) || (no == 54)) || (no == 70)) {
_local2 = tgAR1;
} else if (no == 90) {
if (_local3 == 30) {
_local2 = tgAR1;
} else if (_local3 == 35) {
_local2 = tgE.handDMC;
}
}
return(_local2);
}
function enemyAppearProcessing() {
var _local4 = map[mapNo][mapY][mapX];
var _local3 = trg[mapY][mapX];
if (mapNo == 0) {
if ((_local3 >= 0) && (_local3 <= 6)) {
}
}
if (testENappear) {
return(undefined);
}
var _local2 = trg[mapY][mapX];
if ((((_local2 >= 1) && (_local2 <= 6)) && (mapNo == 0)) || (mapNo != 0)) {
eneCo++;
}
if (!BTEflg[7]) {
if (((((mapNo == 0) && (_local2 != 0)) || ((mapNo >= 1) && (mapNo <= 9))) || ((mapNo >= 31) && (mapNo <= 34))) || ((mapNo >= 36) && (mapNo <= 37))) {
_root.hosiMarkMC._visible = true;
stepsCalculate();
} else {
_root.hosiMarkMC._visible = false;
}
} else if (((mapNo >= 31) && (mapNo <= 34)) || ((mapNo >= 36) && (mapNo <= 37))) {
_root.hosiMarkMC._visible = true;
stepsCalculate();
} else {
_root.hosiMarkMC._visible = false;
}
}
function stepsCalculate() {
if (fukuLv == 154) {
var _local2 = 1;
} else {
var _local2 = Math.floor(Math.random() * 20);
}
if (eneCo >= 40) {
var _local2 = 0;
}
if ((eneCo >= 15) && (_local2 == 0)) {
eneCo = 0;
_root.miniEV.no = 3;
_root.miniEV.flg = true;
var _local3 = enemySelectionPro();
miniEV.enemyNo = _local3;
}
}
function enemySelectionPro() {
var _local3 = map[mapNo][mapY][mapX];
var _local5 = trg[mapY][mapX];
var _local1 = 0;
var _local4 = Math.floor(Math.random() * 2);
var _local2 = Math.floor(Math.random() * 3);
switch (mapNo) {
case 0 :
if (_local3 == 1) {
if (TAIKEN) {
if (_local4 == 0) {
_local1 = 12;
} else {
_local1 = 11;
}
} else if (tTime > 1800) {
_local1 = 35;
} else if (_local4 == 0) {
_local1 = 12;
} else {
_local1 = 11;
}
} else if (_local5 == 1) {
if (_local4 == 0) {
_local1 = 12;
} else {
_local1 = 11;
}
} else if (_local5 == 2) {
if (_local4 == 0) {
_local1 = 12;
} else {
_local1 = 21;
}
} else if (_local5 == 3) {
if (_local2 == 0) {
_local1 = 31;
} else if (_local2 == 1) {
_local1 = 33;
} else if (_local2 == 2) {
_local1 = 38;
}
} else if (_local5 == 4) {
if (_local2 == 0) {
_local1 = 43;
} else if (_local2 == 1) {
_local1 = 45;
} else if (_local2 == 2) {
_local1 = 47;
}
} else if ((_local5 == 5) || (_local5 == 6)) {
if (_local3 == 12) {
_local1 = 51;
} else {
_local1 = 57;
}
} else {
_local1 = 0;
}
break;
case 1 :
if (_local3 == 1) {
if (TAIKEN) {
if (_local4 == 0) {
_local1 = 12;
} else {
_local1 = 11;
}
} else {
_local1 = 35;
}
} else if (_local4 == 0) {
_local1 = 12;
} else {
_local1 = 18;
}
break;
case 2 :
if (_local3 == 1) {
_local1 = 35;
} else if (_local4 == 0) {
_local1 = 24;
} else {
_local1 = 21;
}
break;
case 3 :
if (_local3 == 1) {
_local1 = 35;
} else if (_local2 == 0) {
_local1 = 31;
} else if (_local2 == 1) {
_local1 = 33;
} else if (_local2 == 2) {
_local1 = 38;
}
break;
case 4 :
if (_local3 == 1) {
_local1 = 35;
} else if (_local2 == 0) {
_local1 = 43;
} else if (_local2 == 1) {
_local1 = 45;
} else if (_local2 == 2) {
_local1 = 47;
}
break;
case 5 :
if (_local3 == 1) {
_local1 = 35;
} else if (_local2 == 0) {
_local1 = 43;
} else if (_local2 == 1) {
_local1 = 45;
} else if (_local2 == 2) {
_local1 = 47;
}
break;
case 6 :
if (_local3 == 1) {
_local1 = 35;
} else {
_local1 = 57;
}
break;
case 31 :
if (_local3 == 1) {
_local1 = 35;
} else {
_local1 = 54;
}
break;
case 32 :
if (_local3 == 1) {
_local1 = 35;
} else {
_local1 = 54;
}
break;
case 33 :
if (_local3 == 1) {
_local1 = 35;
} else {
_local1 = 54;
}
break;
case 34 :
if (_local3 == 1) {
_local1 = 35;
} else {
_local1 = 54;
}
break;
case 36 :
if (_local3 == 1) {
_local1 = 35;
} else if (_local2 == 0) {
_local1 = 51;
} else if (_local2 == 1) {
_local1 = 54;
} else if (_local2 == 2) {
_local1 = 57;
}
break;
case 37 :
var _local6 = Math.floor(Math.random() * 12);
_local1 = eneKind[_local6];
}
return(_local1);
}
function enemySet(e) {
BFstartFlg = true;
if ((e == 0) || (e == undefined)) {
var _local9 = Math.floor(Math.random() * 2);
if (_local9 == 0) {
eNo = 11;
}
if (_local9 == 1) {
eNo = 12;
}
} else {
eNo = e;
}
if (SBflg != 1) {
tBattleCo++;
if (eNo == 95) {
TEflg[338] = false;
}
}
var _local8 = false;
var _local4 = BCtimes(36);
if ((_local4 != -1) && (fukuLv == 156)) {
_local8 = true;
itemTimes[36]--;
if (itemTimes[36] <= 0) {
itemBN[_local4] = 1;
panelSet();
}
var _local2 = 0;
while (_local2 <= 10) {
var _local3 = "partsFlg" + _local2;
enemy[eNo][_local3] = false;
_local2++;
}
_root.SVMC.kamaMC.play();
}
_local4 = BCtimes(44);
if (enemy[eNo].TKflg && (_local4 != -1)) {
enemy[eNo].ectP = enemy[eNo].TKect;
enemyTKdamage();
BFTKflg = true;
}
enemy[eNo].TKflg = false;
Sname = ("dataE" + eNo) + ".swf";
EloadFlg = true;
BattleTextDataSet();
var _local5 = 0;
var _local7 = "";
var _local6 = "";
if (enemy[eNo].co == 1) {
_local5 = 5;
} else {
_local5 = 6;
}
if (_local8) {
_local6 = BTD[2];
} else {
_local6 = "";
}
if (BFTKflg) {
_local7 = BTD[3];
} else {
_local7 = "";
}
BTD[7] = ((BTD[1] + _local6) + _local7) + BTD[_local5];
}
function enemyRunawayPro() {
if ((SBflg == 1) || (SBflg == 2)) {
return(undefined);
}
if ((((((((eNo == 10) || (eNo == 20)) || (eNo == 30)) || (eNo == 40)) || (eNo == 50)) || (eNo == 60)) || (eNo == 70)) || (eNo == 90)) {
return(undefined);
}
if (BFpriRunaway) {
return(undefined);
}
if (BFitemUse[17] == true) {
return(undefined);
}
var _local1 = (enemy[eNo].ectP / enemy[eNo].ectPmax) * 100;
if ((_local1 > 80) && (tgS.farFlg)) {
return(true);
}
if (BFturn == 3) {
if (fukuLv == 133) {
return(true);
}
} else {
if (BFturn >= 13) {
return(true);
}
if (BFturn >= 5) {
var _local2 = (ectP / ectPmax) * 100;
if ((_local1 > 60) && (tgS.pantsFlg)) {
return(true);
}
if (_local1 > 90) {
return(true);
}
if (_local2 < 40) {
return(true);
}
}
}
return(false);
}
function goldGetPro() {
var _local6 = Math.round(eNo * 3);
var _local4 = "";
var _local3 = 0;
var _local2 = Math.floor(Math.random() * _local6) + (100 + (Math.round(eNo / 10) * 20));
if (BFeneFinish) {
_local3 = 53;
_local2 = _local2 * 5;
if (((((((eNo == 20) || (eNo == 30)) || (eNo == 40)) || (eNo == 50)) || (eNo == 60)) || (eNo == 70)) || (eNo == 90)) {
_local2 = _local2 * 2;
} else if (eNo == 10) {
_local2 = 1;
}
} else if (BFeneRunaway) {
_local3 = 52;
}
gold = gold + _local2;
var _local7 = eNo;
var _local5 = Math.floor(Math.random() * 200) + 1;
if (BFtensi) {
_local5 = 0;
}
if (_local5 < _local7) {
var _local1 = 6;
do {
_local1 = Math.floor(Math.random() * 29) + 6;
} while (item[_local1].iName == undefined);
if (item[_local1].iName != undefined) {
if (beltCheck(true, _local1)) {
_local4 = ((((BTD[_local3] + "\nMoney ") + _local2) + "ero and ") + item[_local1].iName) + " were found. \nYou got money and item! ";
} else {
_local4 = ((((BTD[_local3] + "\nMoney ") + _local2) + "ero and ") + item[_local1].iName) + " were found. \n...But because you was not able to have the item any further, \nonly money was gotten. ";
}
} else {
_local4 = ((BTD[_local3] + "\nMoney ") + _local2) + "ero was found. \nYou got a money! ";
}
} else {
_local4 = ((BTD[_local3] + "\nMoney ") + _local2) + "ero was found. \nYou got a money! ";
}
return(_local4);
}
function attackSortPro() {
switch (BFattackSort) {
case 11 :
var _local3 = _root.stageMC.stageBMC["partsName" + BFcy];
var _local4 = (_local3 + " \u0441\u043D\u044F\u0442\u043E! \n") + BTD[31];
textWindowOpen(42, 0, 0, 0, 0, 0, _local4);
break;
case 12 :
textWindowOpen(40, 21);
break;
case 15 :
textWindowOpen(40, 30);
break;
case 16 :
textWindowOpen(40, 32);
break;
default :
var _local2 = BFattackSort - 100;
if ((_local2 == 35) && (mapNo == 38)) {
if ((((((eNo == 20) || (eNo == 30)) || (eNo == 33)) || (eNo == 40)) || (eNo == 60)) || (eNo == 70)) {
_local2 = 37;
}
}
textWindowOpen(41, _local2);
}
}
function enemyTakeOff(no) {
animeFlg = true;
if (takeOffCheck(true, no)) {
tgP.gotoAndPlay("D" + no);
var _local1 = "partsMC" + no;
tgE[_local1].play();
tgHd1[_local1].play();
tgBU[_local1].play();
tgBL[_local1].play();
tgLR1[_local1].play();
tgLL1[_local1].play();
tgAR1[_local1].play();
tgAL1[_local1].play();
tgAR2[_local1].play();
tgAR3[_local1].play();
tgAL2[_local1].play();
tgE.armRMC[_local1].play();
}
}
function takeOffCheck(fg, no) {
var _local1 = new Array();
_local1[0] = enemy[eNo].partsFlg0;
_local1[1] = enemy[eNo].partsFlg1;
_local1[2] = enemy[eNo].partsFlg2;
_local1[3] = enemy[eNo].partsFlg3;
_local1[4] = enemy[eNo].partsFlg4;
_local1[5] = enemy[eNo].partsFlg5;
_local1[6] = enemy[eNo].partsFlg6;
_local1[7] = enemy[eNo].partsFlg7;
_local1[8] = enemy[eNo].partsFlg8;
_local1[9] = enemy[eNo].partsFlg9;
_local1[10] = enemy[eNo].partsFlg10;
var _local2 = new Array();
_local2[0] = true;
_local2[1] = (_local2[5] = !_local1[0]);
_local2[2] = (!_local1[0]) && (!_local1[1]);
_local2[3] = ((!_local1[0]) && (!_local1[1])) && (!_local1[2]);
_local2[4] = (((!_local1[0]) && (!_local1[1])) && (!_local1[2])) && (!_local1[3]);
_local2[6] = (_local2[7] = (!_local1[0]) && (!_local1[5]));
_local2[8] = (_local2[9] = ((!_local1[0]) && (!_local1[5])) && (!_local1[7]));
_local2[10] = (((!_local1[0]) && (!_local1[5])) && (!_local1[7])) && (!_local1[9]);
_local2[11] = (!_local1[4]) && (_local2[4]);
_local2[12] = (!_local1[10]) && (_local2[9]);
if (fg) {
if (_local2[no] && (_local1[no])) {
return(true);
}
return(false);
}
if (_local2[no]) {
return(true);
}
return(false);
}
function kisekiCheck() {
if (!BFkiseki) {
return(undefined);
}
if (ectP >= ectPmax) {
BFkiseki = false;
ectP = Math.round(ectP / 4);
_root.SVMC.kiranMC.play();
textWindowOpen(40, 27);
}
}
function pantsTakeOff() {
if ((fukuLv == 134) && (SBflg != 1)) {
var _local1 = BCtimes(134);
itemBN[_local1] = 1;
} else if (fukuLv == 147) {
BFtensi = false;
}
if (SBflg == 1) {
fukuLv = 101;
} else {
fukuLv = (SBfukuBf = 101);
}
setBeltNo = (bufC2 = 28);
tgC3._x = 140;
tgC3._y = 0;
capaInitialSet();
damageCalculate(0, 0, 0);
tgS.pantsFlg = false;
}
function enemyHealing() {
var _local1 = false;
var _local2 = (enemy[eNo].ectP / enemy[eNo].ectPmax) * 100;
if (_local2 >= 80) {
enemy[eNo].ectP = enemy[eNo].ectP - (enemy[eNo].ectP / 2);
_local1 = true;
} else if (_local2 >= 50) {
enemy[eNo].ectP = enemy[eNo].ectP - (enemy[eNo].ectP / 3);
_local1 = true;
}
return(_local1);
}
function enemyTKdamage() {
var _local1 = (enemy[eNo].ectP / enemy[eNo].ectPmax) * 100;
if ((_local1 >= 30) && (_local1 <= 40)) {
enemy[eNo].ectP = enemy[eNo].ectP + (enemy[eNo].ectPmax / 5);
} else if (_local1 < 30) {
enemy[eNo].ectP = enemy[eNo].ectP + (enemy[eNo].ectPmax / 3);
}
}
function winClose(fg) {
if (!fg) {
_root.messageMC.gotoAndStop(1);
_root.BFpMC.gotoAndStop(1);
} else {
_root.BFpMC.gotoAndStop(1);
}
}
function cursoleClear() {
BFcy = 0;
_root.BFpMC.panelMC.cursoleMC._y = (BFcy * 20) + 25;
}
function timerPro() {
var _local2 = _root.timerMC._currentframe;
if (_local2 == 1) {
return(true);
}
return(false);
}
Frame 26
function TPsurvey() {
var _local1 = 0;
var _local2 = 0;
var _local3 = 0;
_local1 = Math.round(volumeValP[vol[4]] / 3);
_local2 = Math.round((2 * volumeValP[vol[4]]) / 3);
_local3 = volumeValP[vol[4]];
if (_local3 <= BFco) {
return(true);
}
if (_local2 <= BFco) {
transP1 = 2;
} else if (_local1 <= BFco) {
transP1 = 1;
} else {
transP1 = 0;
}
if (transP1 == transP2) {
return(false);
}
transP2 = transP1;
return(true);
}
function transitionPatturnPro() {
bfO = false;
rtCo = 0;
var _local1 = 0;
var _local2 = 0;
_local1 = Math.round(volumeValP[vol[4]] / 3);
_local2 = Math.round((2 * volumeValP[vol[4]]) / 3);
if ((ITno >= 1) && (ITno <= 3)) {
if (_local2 <= BFco) {
TPno = transitionVal[ITno][2];
} else if (_local1 <= BFco) {
TPno = transitionVal[ITno][1];
} else {
TPno = transitionVal[ITno][0];
}
} else if (ITno == 4) {
do {
bfR1 = Math.floor(Math.random() * 4);
} while (bfR1 == bfR2);
TPno = (bfR2 = bfR1);
}
if (TPno == 0) {
} else if (TPno == 1) {
} else if (TPno == 2) {
} else if (TPno == 3) {
}
}
function patternCheck() {
var _local13 = _root.initSetMC;
var _local12 = false;
var _local10 = false;
var _local2 = "";
var _local11 = _local13.myPattern.text;
if (((((((_local11 == "") || (_local11 == " ")) || (_local11 == " ")) || (_local11 == " ")) || (_local11 == "\u3000")) || (_local11 == "\u3000\u3000")) || (_local11 == "\u3000\u3000\u3000")) {
_local13.myPattern.text = simpleP[patNo];
}
var _local7 = 0;
while (_local7 <= 10) {
pf[_local7] = false;
if (copyFlg[_local7]) {
pf[_local7] = pFlg[_local7];
}
_local7++;
}
_local11 = (myPattern = _local13.myPattern.text);
if (fukuLv != 101) {
var _local8 = true;
} else {
var _local8 = false;
}
var _local9 = 0;
while (_local9 <= (_local11.length - 1)) {
var _local4 = _local11.slice(_local9, _local9 + 1);
var _local3 = _local4.charCodeAt(0);
if (((((((((_local3 >= 97) && (_local3 <= 122)) || (_local3 == 85)) || (_local3 == 76)) || (_local3 == 73)) || (_local3 == 72)) || (_local3 == 69)) || (_local3 == 65)) || (_local3 == 82)) {
if (((((_local3 == 97) || (_local3 == 98)) || (_local3 == 104)) || (_local3 == 105)) || (_local3 == 108)) {
_local2 = _local2 + _local4;
} else if (_local3 == 99) {
if (_local8) {
var _local8 = false;
_local2 = _local2 + _local4;
}
} else if ((((_local3 == 100) || (_local3 == 102)) || (_local3 == 117)) || (_local3 == 119)) {
if (_local8) {
var _local8 = false;
_local2 = _local2 + ("c" + _local4);
} else {
_local2 = _local2 + _local4;
}
} else if ((_local3 == 101) || (_local3 == 118)) {
if (_local8) {
var _local8 = false;
_local2 = _local2 + "c";
}
if (tgS.paiZuriFlg) {
if (pf[4]) {
_local2 = _local2 + ("@" + _local4);
_local7 = 0;
while (_local7 <= 4) {
pf[_local7] = false;
_local7++;
}
} else {
_local2 = _local2 + _local4;
}
} else {
_local2 = _local2 + _local4;
}
} else if (_local3 == 103) {
_local7 = 0;
while (_local7 <= 10) {
var _local5 = TOcheck(pOrderO[_local7], true);
if (_local5) {
_local2 = _local2 + _local4;
pf[pOrderO[_local7]] = false;
break;
}
_local7++;
}
} else if ((_local3 == 85) || (_local3 == 76)) {
_local7 = 0;
while (_local7 <= 4) {
if (_local3 == 85) {
var _local5 = TOcheck(pOrderU[_local7], true);
if (_local5) {
_local2 = _local2 + _local4;
pf[pOrderU[_local7]] = false;
break;
}
} else if (_local3 == 76) {
var _local5 = TOcheck(pOrderL[_local7], true);
if (_local5) {
_local2 = _local2 + _local4;
pf[pOrderL[_local7]] = false;
break;
}
}
_local7++;
}
} else if (_local3 == 106) {
var _local5 = TOcheck(4, false);
if (_local5) {
_local2 = _local2 + _local4;
} else {
_local7 = 0;
while (_local7 <= 3) {
var _local6 = TOcheck(pOrderU[_local7], true);
if (_local6) {
_local2 = _local2 + "U";
pf[pOrderU[_local7]] = false;
}
_local7++;
}
_local2 = _local2 + _local4;
}
} else if (_local3 == 82) {
var _local5 = TOcheck(3, false);
if (_local5) {
if (itemInvestigate(1)) {
_local2 = _local2 + _local4;
}
} else {
_local7 = 0;
while (_local7 <= 2) {
var _local6 = TOcheck(pOrderU[_local7], true);
if (_local6) {
_local2 = _local2 + "U";
pf[pOrderU[_local7]] = false;
}
_local7++;
}
if (itemInvestigate(1)) {
_local2 = _local2 + _local4;
}
}
} else if (_local3 == 107) {
var _local5 = TOcheck(10, false);
if (_local5) {
_local2 = _local2 + _local4;
} else {
_local7 = 0;
while (_local7 <= 3) {
var _local6 = TOcheck(pOrderL[_local7], true);
if (_local6) {
_local2 = _local2 + "L";
pf[pOrderL[_local7]] = false;
}
_local7++;
}
_local2 = _local2 + _local4;
}
} else if (_local3 == 109) {
var _local5 = TOcheck(2, false);
if (_local5) {
_local2 = _local2 + _local4;
} else {
_local7 = 0;
while (_local7 <= 1) {
var _local6 = TOcheck(pOrderU[_local7], true);
if (_local6) {
_local2 = _local2 + "U";
pf[pOrderU[_local7]] = false;
}
_local7++;
}
_local2 = _local2 + _local4;
}
} else if (_local3 == 110) {
var _local5 = TOcheck(11, false);
if (_local5) {
_local2 = _local2 + _local4;
} else {
_local7 = 0;
while (_local7 <= 4) {
var _local6 = TOcheck(pOrderU[_local7], true);
if (_local6) {
_local2 = _local2 + "U";
pf[pOrderU[_local7]] = false;
}
_local7++;
}
_local2 = _local2 + _local4;
}
} else if (((_local3 == 111) || (_local3 == 112)) || (_local3 == 114)) {
var _local5 = TOcheck(8, false);
if (_local5) {
if (_local3 == 114) {
if (itemInvestigate(1)) {
_local2 = _local2 + _local4;
}
} else {
_local2 = _local2 + _local4;
}
} else {
_local7 = 0;
while (_local7 <= 2) {
var _local6 = TOcheck(pOrderL[_local7], true);
if (_local6) {
_local2 = _local2 + "L";
pf[pOrderL[_local7]] = false;
}
_local7++;
}
if (_local3 == 114) {
if (itemInvestigate(1)) {
_local2 = _local2 + _local4;
}
} else {
_local2 = _local2 + _local4;
}
}
} else if ((((((_local3 == 113) || (_local3 == 65)) || (_local3 == 115)) || (_local3 == 116)) || (_local3 == 73)) || ((_local3 >= 120) && (_local3 <= 122))) {
if (_local3 == 73) {
var _local8 = false;
}
var _local5 = TOcheck(12, false) && TOcheck(10, false);
if (_local5) {
if (_local3 == 115) {
if (itemInvestigate(2)) {
_local2 = _local2 + _local4;
}
} else if (_local3 == 116) {
if (itemInvestigate(3)) {
_local2 = _local2 + _local4;
}
} else {
_local2 = _local2 + _local4;
}
} else {
_local7 = 0;
while (_local7 <= 4) {
var _local6 = TOcheck(pOrderL[_local7], true);
if (_local6) {
_local2 = _local2 + "L";
pf[pOrderL[_local7]] = false;
}
_local7++;
}
if (_local3 == 115) {
if (itemInvestigate(2)) {
_local2 = _local2 + _local4;
}
} else if (_local3 == 116) {
if (itemInvestigate(3)) {
_local2 = _local2 + _local4;
}
} else {
_local2 = _local2 + _local4;
}
}
} else if ((_local3 == 72) || (_local3 == 69)) {
var _local5 = TOcheck(1, false);
if (!_local5) {
_local2 = _local2 + "g";
pf[pOrderO[0]] = false;
}
if ((_local3 == 72) && (!_local10)) {
_local10 = true;
_local2 = _local2 + _local4;
} else if ((_local3 == 69) && _local10) {
_local10 = false;
_local2 = _local2 + _local4;
}
}
}
if ((_local3 >= 117) && (_local3 <= 122)) {
_local12 = true;
finishP = _local3;
break;
}
_local9++;
}
myPattern = _local2 + "!";
return(_local12);
}
function MCinitSet() {
var _local3 = _root.initSetMC;
var _local5 = _local3.lv;
var _local7 = _local3._currentframe;
var _local8 = _local3._totalframes;
if (((KF(0) || (KF(1))) || (KF(2))) || (KF(3))) {
winClose();
}
if (KF(1) && (keyWait(3))) {
if (_local7 == 1) {
_local3.gotoAndStop(_local8);
} else {
_local3.prevFrame();
}
} else if (KF(3) && (keyWait(3))) {
if (_local7 == _local8) {
_local3.gotoAndStop(1);
} else {
_local3.nextFrame();
}
} else if (KF(2) && (keyWait(3))) {
if (_local7 == 1) {
_local3.gotoAndStop(13);
} else if (_local7 == 2) {
_local3.gotoAndStop(16);
} else if ((_local7 >= 3) && (_local7 <= 6)) {
_local3.gotoAndStop(17);
} else if ((_local7 >= 7) && (_local7 <= 9)) {
_local3.gotoAndStop(18);
} else if ((_local7 >= 10) && (_local7 <= 12)) {
_local3.gotoAndStop(19);
}
} else if (KF(0) && (keyWait(3))) {
if ((_local7 >= 13) && (_local7 <= 15)) {
_local3.gotoAndStop(1);
} else if (_local7 == 16) {
_local3.gotoAndStop(2);
} else if (_local7 == 17) {
_local3.gotoAndStop(5);
} else if (_local7 == 18) {
_local3.gotoAndStop(8);
}
}
var _local9 = Selection.getEndIndex();
if ((_local5 == "patternSet") && (_local9 == -1)) {
Selection.setFocus(_local3.myPattern);
} else if (_local5 != "patternSet") {
Selection.setFocus(null);
}
if (_local7 == 1) {
_local3.startTextMC.play();
} else {
_local3.startTextMC.gotoAndStop(1);
}
if (KF(5) && (keyWait(2))) {
if (_local5 == "start") {
if (patternCheck()) {
AstartFlg = true;
var _local2 = 0;
while (_local2 <= 10) {
var _local6 = "partsFlg" + _local2;
if (copyFlg[_local2]) {
enemy[eneNo][_local6] = pFlg[_local2];
}
_local2++;
}
tgS.stateSet();
} else {
_local3.gotoAndStop(_local8);
Selection.setFocus(_local3.myPattern);
_local3.errorTextMC.gotoAndStop(2);
}
} else if (_local5 == "iTransition") {
ITno++;
if (ITno >= 5) {
ITno = 1;
}
_local3.insertTransitionMC.gotoAndStop(ITno);
} else if (_local5 == "patternSelect") {
patNo++;
if (patNo >= 5) {
patNo = 1;
}
_local3.patternMC.gotoAndStop(patNo);
_local3.myPattern.text = "";
} else if (_local5 == "patternSet") {
}
var _local2 = 0;
while (_local2 <= 10) {
var _local4 = "parts" + _local2;
if ((_local5 == _local4) && (copyFlg[_local2])) {
if (pFlg[_local2]) {
pFlg[_local2] = false;
_local3["onoffMC" + _local2].gotoAndStop(2);
} else {
pFlg[_local2] = true;
_local3["onoffMC" + _local2].gotoAndStop(1);
}
}
_local2++;
}
_local2 = 1;
while (_local2 <= 4) {
var _local4 = "volume" + _local2;
if (_local5 == _local4) {
vol[_local2]++;
if (vol[_local2] >= 6) {
vol[_local2] = 1;
}
_local3["volumeMC" + _local2].gotoAndStop(vol[_local2]);
}
_local2++;
}
winClose();
}
}
function BTNset() {
var _local4 = _root.initSetMC;
_local4.txtName.text = enemy[eneNo].name + " \uFF1A";
var _local3 = 0;
while (_local3 <= 10) {
var _local2 = "onoffMC" + _local3;
var _local5 = "txt" + _local3;
if (!copyFlg[_local3]) {
_local4[_local2].gotoAndStop(3);
} else if (!pFlg[_local3]) {
_local4[_local2].gotoAndStop(2);
}
_local4[_local5].text = tgS["partsName" + _local3];
_local3++;
}
_local3 = 1;
while (_local3 <= 4) {
var _local2 = "volumeMC" + _local3;
_local4[_local2].gotoAndStop(vol[_local3]);
_local3++;
}
_local4.insertTransitionMC.gotoAndStop(ITno);
_local4.patternMC.gotoAndStop(patNo);
_local4.myPattern.text = myPattern;
}
function itemInvestigate(n) {
if (n == 1) {
var _local2 = new Array(54, 52, 51);
} else if (n == 2) {
var _local2 = new Array(71, 70, 68, 66, 64, 62, 60, 59, 57, 52);
} else if (n == 3) {
var _local2 = new Array(77, 76, 75);
}
var _local1 = 0;
while (_local1 <= _local2.length) {
var _local3 = BCtimes(_local2[_local1]);
if (_local3 != -1) {
BFweponLv = _local2[_local1];
return(true);
}
_local1++;
}
return(false);
}
function BCtimes(no) {
var _local1 = 0;
while (_local1 <= 23) {
if (itemBN[_local1] == no) {
return(_local1);
}
_local1++;
}
return(-1);
}
Frame 27
function nextCode(c) {
var _local3 = myPattern.slice(c, c + 1);
CC = _local3.charCodeAt(0);
if (((CC == 103) || (CC == 85)) || (CC == 76)) {
tgS.gotoAndStop(10);
} else if (CC == 64) {
var _local2 = 0;
while (_local2 <= 4) {
enemy[eneNo]["partsFlg" + _local2] = false;
_local2++;
}
tgS.gotoAndStop(10);
} else if ((((CC >= 104) && (CC <= 116)) || (CC == 65)) || (CC == 82)) {
tgS.gotoAndStop(30);
} else if ((CC == 72) || (CC == 69)) {
tgS.gotoAndStop(30);
} else if (((CC >= 120) && (CC <= 122)) || (CC == 73)) {
tgS.gotoAndStop(35);
tgE.gotoAndPlay(1);
} else if (CC == 33) {
return(false);
}
_root.miniTimerMC.gotoAndPlay(2);
return(true);
}
function animeStartPro() {
if ((CC == 97) || (CC == 98)) {
tgS.gotoAndStop(15);
if (CC == 97) {
BFattackSort = 112;
tgE.gotoAndPlay("L2");
} else {
BFattackSort = 111;
tgE.gotoAndPlay("L1");
}
} else if (CC == 99) {
BFattackSort = 113;
tgS.gotoAndStop(20);
tgE.gotoAndPlay("L1");
} else if (((CC >= 100) && (CC <= 102)) || ((CC >= 117) && (CC <= 119))) {
tgS.gotoAndStop(25);
if ((CC == 100) || (CC == 117)) {
BFattackSort = 115;
tgE.gotoAndPlay("L1");
} else if ((CC == 101) || (CC == 118)) {
BFattackSort = 116;
tgE.gotoAndPlay("L2");
} else if ((CC == 102) || (CC == 119)) {
BFattackSort = 117;
tgE.gotoAndPlay("L3");
}
} else if (((CC == 103) || (CC == 85)) || (CC == 76)) {
if (CC == 103) {
var _local1 = 0;
while (_local1 <= 10) {
var _local2 = takeOffCheck(true, pOrderO[_local1]);
if (_local2) {
BFcy = pOrderO[_local1];
break;
}
_local1++;
}
} else if ((CC == 85) || (CC == 76)) {
var _local1 = 0;
while (_local1 <= 4) {
if (CC == 85) {
var _local2 = takeOffCheck(true, pOrderU[_local1]);
if (_local2) {
BFcy = pOrderU[_local1];
break;
}
} else if (CC == 76) {
var _local2 = takeOffCheck(true, pOrderL[_local1]);
if (_local2) {
BFcy = pOrderL[_local1];
break;
}
}
_local1++;
}
}
BFattackSort = 11;
enemyTakeOff(BFcy);
} else if (CC == 64) {
var _local3 = enemy[eneNo].name + "\u3000\u306F\u8863\u670D\u3092\u8131\u304E\u6368\u3066\u305F\uFF01\u3000";
textWindowOpen(42, 0, 0, 0, 0, 0, _local3);
BFattackSort = 0;
aCompletionPro(false);
} else if (CC == 104) {
princeAttack(5);
} else if (CC == 105) {
princeAttack(4);
} else if (CC == 106) {
princeAttack(6);
} else if (CC == 107) {
princeAttack(7);
} else if (CC == 108) {
princeAttack(3);
} else if (CC == 109) {
princeAttack(1);
} else if (CC == 110) {
princeAttack(2);
} else if (CC == 111) {
princeAttack(11);
} else if (CC == 112) {
princeAttack(12);
} else if (CC == 113) {
princeAttack(13);
} else if (CC == 114) {
itemInvestigate(1);
princeAttack(14);
} else if (CC == 82) {
itemInvestigate(1);
princeAttack(8);
} else if (CC == 115) {
itemInvestigate(2);
princeAttack(20);
} else if (CC == 65) {
princeAttack(23);
} else if (CC == 116) {
itemInvestigate(3);
princeAttack(25);
} else if (CC == 72) {
tejoh = true;
enemyTaget();
var _local4 = tejohTaget(eneNo)._currentframe;
var _local5 = tejohTaget(eneNo)._totalframes;
if (_local4 == 1) {
tejohTaget(eneNo).play();
}
tgS.farFlg = true;
} else if (CC == 69) {
BFattackSort = 118;
tgE.gotoAndPlay("L3");
} else if (CC == 73) {
BFattackSort = 16;
iFini = false;
transitionPatturnPro();
} else if ((CC >= 120) && (CC <= 122)) {
iFini = true;
transitionPatturnPro();
}
if ((CC >= 104) && (CC <= 116)) {
BFattackSort = 15;
}
return(true);
}
function animeticaPro() {
if (CC == 33) {
return(undefined);
}
switch (cfS) {
case 15 :
break;
case 20 :
var _local4 = tgE._currentframe;
if (_local4 == 36) {
BFattackSort = 114;
tgE.gotoAndPlay("L2");
}
break;
case 25 :
_local4 = tgE._currentframe;
var _local5 = tgHd2._currentframe;
if (BFattackSort == 115) {
if (!BFpriFinish) {
if (tgE.labelF == 1) {
if ((tgE.co >= (volumeValE[vol[1]] - 1)) && (CC == 117)) {
BFpriFinish = true;
}
if (tgE.co <= volumeValE[vol[1]]) {
tgE.gotoAndPlay("L1loop");
} else {
tgE.gotoAndPlay("L4");
tgHd2.gotoAndPlay("L1");
}
}
} else {
BFbuf3 = true;
if (tgHd2.labelF == 1) {
tgE.play();
} else if (tgE.labelF == 2) {
tgE.stop();
if (!tgHd2.flg) {
tgHd2.gotoAndPlay("F1");
}
} else if (tgE.labelF == 1) {
tgE.gotoAndPlay("L4");
BFattackSort = 130;
}
}
} else if (BFattackSort == 116) {
if (!BFpriFinish) {
if (tgE.labelF == 1) {
if ((tgE.co >= (volumeValE[vol[2]] - 1)) && (CC == 118)) {
BFpriFinish = true;
}
if (tgE.co <= volumeValE[vol[2]]) {
tgE.gotoAndPlay("L2loop");
} else {
tgE.gotoAndPlay("L5");
tgHd2.gotoAndPlay("L1");
}
}
} else {
BFbuf3 = true;
if (tgHd2.labelF == 1) {
tgE.play();
} else if (tgE.labelF == 2) {
tgE.stop();
if (!tgHd2.flg) {
if (tgS.paiZuriFlg) {
tgHd2.gotoAndPlay("F3");
} else {
tgHd2.gotoAndPlay("F1");
}
}
} else if (tgE.labelF == 1) {
tgE.gotoAndPlay("L5");
BFattackSort = 130;
}
}
} else if (BFattackSort == 117) {
if (!BFpriFinish) {
if (tgE.labelF == 1) {
if ((tgE.co >= (volumeValE[vol[3]] - 1)) && (CC == 119)) {
BFpriFinish = true;
}
if (tgE.co <= volumeValE[vol[3]]) {
tgE.gotoAndPlay("L3loop");
} else {
tgE.gotoAndPlay("L6");
tgHd2.gotoAndPlay("L1");
}
}
} else {
BFbuf3 = true;
if (tgHd2.labelF == 2) {
tgE.play();
} else if (tgE.labelF == 2) {
tgE.stop();
if (!tgHd2.flg) {
tgHd2.gotoAndPlay("F2");
}
} else if (tgE.labelF == 1) {
tgE.gotoAndPlay("L6");
BFattackSort = 131;
}
}
}
break;
case 30 :
if (tejoh) {
var _local8 = tejohTaget(eneNo)._currentframe;
var _local11 = tejohTaget(eneNo)._totalframes;
if (_local8 == _local11) {
completionPro(false);
}
}
if (BFattackSort == 118) {
_local4 = tgE._currentframe;
_local5 = tgHd2._currentframe;
BFcoE = BFcoE + 1;
if ((_local4 == 2) && (BFcoE < 20)) {
tgE.gotoAndPlay("L3");
tgE.bodyUMC.gotoAndPlay("L3");
tgE.bodyLMC.gotoAndPlay("L3");
tgHd1.gotoAndPlay("L3");
} else if (BFcoE > 20) {
tgHd1.gotoAndPlay("L1");
var _local9 = tejohTaget(eneNo);
_local9.gotoAndStop(1);
tgAR1.gotoAndStop(1);
tgAL1.gotoAndStop(1);
completionPro(false);
tgS.farFlg = false;
}
}
break;
case 35 :
_local4 = tgE._currentframe;
var _local3 = false;
var _local1 = tgE.labelF;
if (TPno == 2) {
var _local7 = (volumeValP[vol[4]] + 1) <= BFco;
} else {
var _local7 = volumeValP[vol[4]] <= BFco;
}
BFbufCo++;
if (BFbufCo > 50) {
if (!BFbuf3) {
if (_local7 && (_local1 <= 99)) {
BFbuf3 = true;
if (iFini) {
ectP = 0;
if (finishP == 120) {
BFpriFinish = true;
} else if (finishP == 121) {
BFeneFinish = true;
} else if (finishP == 122) {
ectP = (ectPmax = 100);
BFeneFinish = true;
}
} else {
normalIn = true;
}
}
}
if (normalIn) {
TPno = 13;
} else if (BFeneFinish) {
TPno = 12;
} else if (BFpriFinish) {
TPno = 11;
}
}
switch (TPno) {
case 0 :
if (_local1 == 1) {
tgE.play();
tgE.princeMC.play();
} else if (((_local1 == 11) || (_local1 == 121)) || (_local1 == 131)) {
BFco = BFco + 0.33;
tgE.gotoAndPlay("L1");
tgE.bodyUMC.gotoAndPlay("L1");
tgE.bodyLMC.gotoAndPlay("L1");
tgHd1.gotoAndPlay("L1");
tgE.princeMC.gotoAndPlay("L1");
voiceOn(2);
var _local2 = TPsurvey();
if (_local2) {
transitionPatturnPro();
}
} else if (_local1 == 12) {
}
break;
case 1 :
if (_local1 == 1) {
tgE.gotoAndPlay("L2");
tgE.princeMC.gotoAndPlay("L2");
} else if (_local1 == 20) {
tgE.bodyUMC.gotoAndPlay("L2");
tgE.bodyLMC.gotoAndPlay("L2");
tgHd1.gotoAndPlay("L2");
voiceOn(2);
} else if ((_local1 == 121) || (_local1 == 131)) {
BFco = BFco + 0.67;
tgE.gotoAndPlay("L2");
tgE.princeMC.gotoAndPlay("L2");
var _local2 = TPsurvey();
if (_local2) {
transitionPatturnPro();
}
} else if (_local1 == 141) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(_local3);
}
break;
case 2 :
if (_local1 == 1) {
tgE.gotoAndPlay("L3");
tgE.princeMC.gotoAndPlay("L3");
} else if (_local1 == 20) {
tgE.bodyUMC.gotoAndPlay("L3");
tgE.bodyLMC.gotoAndPlay("L2");
tgHd1.gotoAndPlay("L3");
voiceOn(3);
} else if (_local1 == 131) {
BFco++;
tgE.gotoAndPlay("L3");
tgE.princeMC.gotoAndPlay("L3");
var _local2 = TPsurvey();
if (_local2) {
transitionPatturnPro();
}
} else if (_local1 == 141) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(_local3);
}
break;
case 3 :
var _local6 = 0.05;
if (_local1 == 1) {
tgE.play();
tgE.princeMC.play();
} else if ((_local1 == 100) && (rtCo == 0)) {
tgE.stop();
tgE.princeMC.stop();
BFco = BFco + _local6;
rtCo = rtCo + _local6;
} else if (_local1 == 100) {
if (_local1 <= 100) {
BFco = BFco + _local6;
}
var _local10 = Math.floor(Math.random() * 40);
if (_local10 == 0) {
tgE.bodyUMC.gotoAndPlay("L1");
tgE.bodyLMC.gotoAndPlay("L2");
tgHd1.gotoAndPlay("L3");
voiceOn(3);
}
var _local2 = TPsurvey();
if (_local2 && (!bfO)) {
bfO = true;
tgE.labelF = 101;
tgE.play();
tgE.princeMC.gotoAndPlay("L1");
tgE.bodyUMC.gotoAndPlay("L3");
tgE.bodyLMC.gotoAndPlay("L1");
tgHd1.gotoAndPlay("L3");
transitionPatturnPro();
}
} else if (_local1 == 131) {
tgE.gotoAndPlay("L1");
tgE.bodyUMC.gotoAndPlay("L1");
tgE.bodyLMC.gotoAndPlay("L1");
tgHd1.gotoAndPlay("L1");
tgE.princeMC.gotoAndPlay("L1");
} else if (_local1 == 141) {
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(_local3);
}
break;
case 11 :
_local5 = tgHd1._currentframe;
if (tgHd1.labelF == 2) {
completionPro(_local3);
}
if (_local1 == 100) {
tgE.stop();
tgE.princeMC.stop();
if (tgHd1.labelF == 0) {
tgHd1.gotoAndPlay("F1");
}
BFpriFinish = true;
BFattackSort = 132;
}
break;
case 12 :
_local5 = tgHd1._currentframe;
var _local12 = tgHd1._totalframes;
if (_local1 == 141) {
tgE.gotoAndPlay("L1");
tgE.princeMC.gotoAndPlay("L1");
} else if (_local1 == 100) {
tgE.stop();
tgE.princeMC.stop();
}
if (tgHd1.labelF <= 2) {
tgHd1.gotoAndPlay("S1");
BFattackSort = 135;
}
if (tgHd1.labelF == 4) {
BFeneFinish = true;
completionPro(_local3);
}
break;
case 13 :
if (_local1 != 141) {
break;
}
tgE.stop();
tgE.princeMC.stop();
tgHd1.gotoAndPlay(1);
completionPro(_local3);
}
}
}
function initialSet(val) {
if (val == 0) {
ngStartFlg = 0;
sentakuNo = 0;
gameLevelPro();
moveFlg = false;
mBuf0 = 0;
mCo = 0;
eneCo = 0;
animeFlg = false;
animeVal = new Object();
animeVal.no = 0;
animeVal.x = 0;
animeVal.y = 0;
maraPflg = false;
maraC = 0;
panelFlg = false;
talkCo = 0;
storeState = 0;
stoC = (bufS1 = 0);
storeFlg = false;
bufS = (bufL = false);
lockC = (lockCbf = 1);
worpFlg = false;
bufW = 0;
elvesFlg = false;
bufSL = false;
Sname = "";
EloadFlg = false;
ELbf1 = false;
MsysBf = 0;
voiceFlg = false;
soundFlg = false;
BFturn = 1;
BFbuf1 = false;
BFbuf2 = false;
BFbuf3 = false;
BFbuf4 = false;
BFbufCo = 0;
BFcommandWait = false;
BFbougyoFlg = false;
BFeneFinish = false;
BFeneRunaway = false;
BFinsertFlg = false;
BFweponLv = 1;
BFsetBN = 28;
BFatkBase = 10;
BFattackSort = 0;
BFatkNo = 0;
BFbufSou = false;
BFcy = 0;
BFcyBuf = 0;
BFTKflg = false;
BFcomFlg = new Array();
var _local1 = 0;
while (_local1 <= 15) {
BFcomFlg[_local1] = false;
_local1++;
}
BFitemUse = new Array();
_local1 = 10;
while (_local1 <= 79) {
BFitemUse[_local1] = false;
_local1++;
}
BFitemSus = new Array();
_local1 = 13;
while (_local1 <= 34) {
BFitemSus[_local1] = 0;
_local1++;
}
BFitemTxt = "";
BFco = 0;
BFcoE = 0;
ectPmax = 100;
defPmax = 0;
atkPmax = 100;
ectBuf = 0;
defBuf = 0;
atkBuf = 0;
atkP = 0;
defP = 0;
ATK = 0;
DEF = 0;
zengiP = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
mVolco = 20;
sVolco = 100;
musicPro();
soundPro();
capaInitialSet();
} else if (val == 1) {
mapX = 49;
mapY = 52;
mapNo = 0;
gold = 0;
watt = 100;
ectP = 0;
TEflg = new Array();
var _local1 = 0;
while (_local1 <= 1000) {
TEflg[_local1] = true;
_local1++;
}
TElv = new Array();
_local1 = 0;
while (_local1 <= 10) {
TElv[_local1] = 0;
_local1++;
}
BTEflg = new Array();
_local1 = 0;
while (_local1 <= 20) {
BTEflg[_local1] = false;
_local1++;
}
itemBN = new Array(3, 4, 6, 1, 106, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
itemTimes = new Array();
_local1 = 6;
while (_local1 <= 200) {
itemTimes[_local1] = 0;
_local1++;
}
itemTimes[6] = 3;
setBeltNo = 4;
fukuLv = 106;
capaInitialSet();
mararaFlg = new Array(false, false, false, false, false, false, false, false, false, false);
SBCflg = new Array();
SBCflg[10] = false;
SBCflg[11] = false;
SBCflg[12] = false;
SBCflg[18] = false;
SBCflg[20] = false;
SBCflg[21] = false;
SBCflg[24] = false;
SBCflg[27] = false;
SBCflg[30] = false;
SBCflg[31] = false;
SBCflg[33] = false;
SBCflg[35] = false;
SBCflg[38] = false;
SBCflg[40] = false;
SBCflg[43] = false;
SBCflg[45] = false;
SBCflg[47] = false;
SBCflg[50] = false;
SBCflg[51] = false;
SBCflg[54] = false;
SBCflg[57] = false;
SBCflg[60] = false;
SBCflg[70] = false;
SBCflg[90] = false;
SBCflg[95] = false;
loadingTest = true;
} else if (val == 2) {
keyWaitFlg = false;
gameLv = 0;
speed = 1;
pHo = 0;
pValx = new Array(-1, 0, 1, 0);
pValy = new Array(0, -1, 0, 1);
miniEV = new Object();
miniEV.flg = false;
miniEV.mapNo = 0;
miniEV.mx = 0;
miniEV.my = 0;
miniEV.mvx = 0;
miniEV.mvy = 0;
miniEV.no = 0;
miniEV.ho = -1;
miniEV.enemyNo = 0;
messBuf = "";
messageFlg = false;
beltC = 0;
bufC1 = 0;
bufC2 = 0;
bufC3 = 0;
bufSou = false;
bufP = false;
modeRflg = false;
SBcursole = 1;
SBBno = new Array(1, 2, 3, 6, 8, 12, 15, 26, 40, 43, 53, 54, 55);
SBback = 2;
SBflg = 0;
SBfukuBf = 101;
SBsetBeltNoBf = 28;
storeNo = 0;
storeTalk = new Array(0, 0, 120, 128, 135, 128, 300, 135, 135, 128, 300, 300);
worpX = new Array(0, 47, 11, 14, 96, 56, 58, 88, 50, 64);
worpY = new Array(0, 48, 6, 72, 95, 75, 32, 29, 94, 3);
monoC1 = new Array(390, 396, 401, 406, 411, 415, 419, 423, 423);
monoC2 = new Array(441, 441, 441, 441, 445, 448, 455, 457, 457);
battery = new Array(100, 120, 140, 160, 180, 200, 200, 200, 200);
BufLv = 0;
eNo = 0;
eneKind = new Array(11, 12, 21, 31, 35, 38, 43, 45, 47, 51, 54, 57);
BFstartFlg = false;
BFpriFinish = false;
BFpriRunaway = false;
BFy = new Array(0, 7, 10, 4, 8, 3);
BFtensi = false;
BFkiseki = false;
ERRORflg = false;
enemy = new Array();
ttCo = 0;
movieNo = 0;
banerClickFlg = false;
verT = "ver.0.9.51";
verS = "ver.1.5.21";
winAlpha = true;
}
}
function storeSet() {
store = new Array();
store[2] = new Object();
store[2].sName = "Grocery store of Spring village ";
store[2].article = new Array();
store[2].article[0] = new Array(6, 16, 14, 13, 27, 51, 103, 104, 105);
store[2].article[1] = new Array(6, 16, 13, 62, 51, 46, 121, 122, 120);
store[2].article[2] = new Array(7, 16, 13, 76, 51, 46, 123, 124, 129);
store[2].article[3] = new Array(7, 16, 13, 64, 51, 46, 128, 131, 132);
store[2].article[4] = new Array(7, 16, 13, 11, 66, 51, 133, 135, 136);
store[2].article[5] = new Array(7, 16, 13, 11, 68, 77, 141, 142, 143);
store[2].article[6] = new Array(7, 16, 13, 11, 68, 77, 141, 142, 143);
store[2].article[7] = new Array(7, 16, 13, 11, 68, 77, 141, 142, 143);
store[2].article[8] = new Array(206, 206, 206, 206, 206, 206, 1, 1, 17);
store[3] = new Object();
store[3].sName = "Tool shop of street ";
store[3].article = new Array(6, 57, 45, 41, 43, 31, 106, 107, 109);
store[4] = new Object();
store[4].sName = "Grocery store of Northwest fishing village ";
store[4].article = new Array(6, 19, 25, 75, 80, 81, 110, 118, 119);
store[5] = new Object();
store[5].sName = "Pants shop of desert ";
store[5].article = new Array(108, 111, 112, 114, 115, 117, 80, 81, 6);
store[7] = new Object();
store[7].sName = "Grocery store of Volcano village ";
store[7].article = new Array(6, 15, 10, 28, 23, 62, 121, 122, 120);
store[8] = new Object();
store[8].sName = "Grocery store of Southeastern port ";
store[8].article = new Array(7, 21, 32, 29, 24, 76, 123, 124, 129);
store[9] = new Object();
store[9].sName = "Grocery store of castle town ";
store[9].article = new Array();
store[9].article[0] = new Array(102, 102, 102, 6, 6, 6, 7, 7, 7);
store[9].article[1] = new Array(7, 68, 77, 84, 83, 32, 141, 142, 143);
store[6] = new Object();
store[6].sName = "Tool shop of secret ";
store[6].article = new Array();
store[6].article[0] = new Array(201, 1, 1, 1, 1, 1, 130, 1, 1);
store[6].article[1] = new Array(201, 1, 1, 1, 1, 1, 130, 1, 1);
store[6].article[2] = new Array(201, 1, 33, 1, 1, 1, 130, 137, 1);
store[6].article[3] = new Array(201, 17, 33, 1, 134, 1, 130, 137, 138);
store[6].article[4] = new Array(201, 17, 33, 59, 134, 130, 137, 138, 139);
store[6].article[5] = new Array(201, 17, 33, 34, 60, 134, 138, 139, 140);
store[6].article[6] = new Array(201, 17, 33, 34, 60, 134, 138, 139, 140);
store[6].article[7] = new Array(201, 17, 33, 34, 60, 134, 138, 139, 140);
store[10] = new Object();
store[10].sName = "Grocery store of Satan's world ";
store[10].article = new Array(211, 212, 213, 214, 215, 51, 8, 12, 46);
store[11] = new Object();
store[11].sName = "Main grocery store of Satan's world ";
store[11].article = new Array(6, 7, 8, 10, 11, 12, 20, 36, 52);
}
function keyF() {
if (cfFio != 1) {
return(undefined);
}
var _local2 = (((!KF(1)) && (!KF(3))) && (!KF(0))) && (!KF(2));
if (qualType) {
if (_local2 && (_root._quality != "HIGH")) {
_root._quality = "HIGH";
}
}
if (KF(5) && (keyWait(0))) {
dataCheck();
textWindowClose();
}
if ((KF(6) && (_local2)) && (_root.keyWait(0))) {
panelFlg = true;
panelBfore();
miniEV.flg = false;
tgIP.gotoAndStop("\u30DE\u30C3\u30D7\u6642");
}
if (!KF(5)) {
if (keyType == 3) {
if (KF(1) && (!KF(5))) {
advancePro();
} else if (KF(3) && (keyWait(4))) {
pHo = pHo + 2;
} else if (KF(2) && (keyWait(4))) {
pHo++;
_root.Dtxt = "";
} else if (KF(0) && (keyWait(4))) {
pHo--;
_root.Dtxt = "";
}
if (pHo == 4) {
pHo = 0;
} else if (pHo == 5) {
pHo = 1;
} else if (pHo <= -1) {
pHo = 3;
}
} else if (keyType == 2) {
if (KF(0)) {
if (pHo == 0) {
advancePro();
} else {
pHo = 0;
}
} else if (KF(1)) {
if (pHo == 1) {
advancePro();
} else {
pHo = 1;
}
} else if (KF(2)) {
if (pHo == 2) {
advancePro();
} else {
pHo = 2;
}
} else if (KF(3)) {
if (pHo == 3) {
advancePro();
} else {
pHo = 3;
}
}
}
}
}
function KF(no) {
if (keyWaitFlg) {
return(false);
}
var _local4 = _root.startGamenMC._currentframe == 3;
var _local3 = _root.initSetMC.lv == "patternSet";
if (Key.isDown(37) && (no == 0)) {
return(true);
}
if (Key.isDown(38) && (no == 1)) {
return(true);
}
if (Key.isDown(39) && (no == 2)) {
return(true);
}
if (Key.isDown(40) && (no == 3)) {
return(true);
}
if ((((Key.isDown(32) && (!_local3)) && (!_local4)) || ((Key.isDown(90) && (!_local3)) && (!_local4))) && (no == 5)) {
return(true);
}
if ((((Key.isDown(16) && (!_local3)) && (!_local4)) || ((Key.isDown(88) && (!_local3)) && (!_local4))) && (no == 6)) {
return(true);
}
if (Key.isDown(67) && (no == 8)) {
return(true);
}
if (Key.isDown(69) && (no == 15)) {
return(true);
}
if (Key.isDown(46) && (no == 9)) {
return(true);
}
if (Key.isDown(81) && (no == 13)) {
return(true);
}
if (Key.isDown(87) && (no == 14)) {
return(true);
}
return(false);
}
function advancePro() {
if (messageFlg) {
textWindowClose();
}
var _local2 = map[mapNo][mapY + pValy[pHo]][mapX + pValx[pHo]];
if ((((((((((((((_local2 == 1) || (_local2 == 2)) || (_local2 == 3)) || (_local2 == 4)) || (_local2 == 6)) || (_local2 == 8)) || (_local2 == 12)) || (_local2 == 15)) || (_local2 == 26)) || (_local2 == 40)) || (_local2 == 43)) || (_local2 == 53)) || (_local2 == 54)) || (_local2 == -2)) {
priCorrect();
mapY = mapY + pValy[pHo];
mapX = mapX + pValx[pHo];
mapPreparation();
if (qualType) {
_root._quality = "LOW";
}
}
}
function princeMove() {
if (!moveFlg) {
keyF();
}
var _local1 = ((KF(1) || (KF(3))) || (KF(0))) || (KF(2));
switch (pHo) {
case 0 :
if (_local1 || (moveFlg)) {
tgPri.gotoAndStop(9);
} else {
tgPri.gotoAndStop(1);
}
break;
case 1 :
if (_local1 || (moveFlg)) {
tgPri.gotoAndStop(11);
} else {
tgPri.gotoAndStop(3);
}
break;
case 2 :
if (_local1 || (moveFlg)) {
tgPri.gotoAndStop(13);
} else {
tgPri.gotoAndStop(5);
}
break;
case 3 :
if (_local1 || (moveFlg)) {
tgPri.gotoAndStop(15);
} else {
tgPri.gotoAndStop(7);
}
}
}
function priCorrect(fg) {
if (fg) {
targetCheck();
var _local1 = map[mapNo][mapY][mapX];
if (_local1 == 1) {
tgPri._y = 185;
}
} else {
var _local1 = map[mapNo][mapY + pValy[pHo]][mapX + pValx[pHo]];
if (_local1 == 1) {
mBuf0 = 185;
} else {
mBuf0 = 170;
tgPri._y = mBuf0;
}
}
}
function princeSet() {
_root.stageMC.mapMC.attachMovie("priMC", "priMC", 155);
_root.stageMC.mapMC.priMC._x = 240;
_root.stageMC.mapMC.priMC._y = 170;
}
function lockerPro() {
if (KF(0) && (keyWait(3))) {
if (lockC == 1) {
lockC = 36;
} else {
lockC--;
}
}
if (KF(2) && (keyWait(3))) {
if (lockC == 36) {
lockC = 1;
} else {
lockC++;
}
}
if (KF(1) && (keyWait(3))) {
if (lockC <= 6) {
lockC = lockC + 30;
} else {
lockC = lockC - 6;
}
}
if (KF(3) && (keyWait(3))) {
if (lockC >= 31) {
lockC = lockC - 30;
} else {
lockC = lockC + 6;
}
}
if (KF(6) && (_root.keyWait(0))) {
if (bufL) {
bufL = false;
tgSC3._y = -100;
textWindowOpen(33, i);
}
}
var i = itemBN[lockC + 100];
var _local2 = BCspace();
var _local4 = BCtimes(i);
if (KF(5) && (keyWait(0))) {
if (!bufL) {
if ((itemBN[lockC + 100] >= 6) && (itemBN[lockC + 100] != undefined)) {
if ((_local2 != -1) || (((_local2 == -1) && (_local4 != -1)) && (((i >= 6) && (i <= 39)) || ((i >= 211) && (i <= 215))))) {
textWindowOpen(21, 0, 0);
} else {
textWindowOpen(6, 0, 2);
}
bufL = true;
lockCbf = lockC;
var _local5 = (lockC - 1) % 6;
var _local6 = Math.floor((lockC - 1) / 6);
tgSC3._x = _local5 * 35;
tgSC3._y = _local6 * 35;
}
} else {
if (lockCbf == lockC) {
if ((i >= 6) && (i <= 39)) {
if (_local4 != -1) {
itemTimes[i] = itemTimes[i] + itemTimes[i + 100];
itemTimes[i + 100] = 0;
itemBN[lockC + 100] = 1;
textWindowOpen(27, i, 1);
} else if (_local2 != -1) {
itemTimes[i] = itemTimes[i + 100];
itemTimes[i + 100] = 0;
itemBN[_local2] = itemBN[lockC + 100];
itemBN[lockC + 100] = 1;
textWindowOpen(27, i, 1);
} else {
textWindowOpen(33, i);
}
} else if ((i >= 211) && (i <= 215)) {
var _local3 = i - 160;
if (_local4 != -1) {
itemTimes[_local3] = itemTimes[_local3] + itemTimes[_local3 + 100];
itemTimes[_local3 + 100] = 0;
itemBN[lockC + 100] = 1;
textWindowOpen(27, i, 1);
} else if (_local2 != -1) {
itemTimes[_local3] = itemTimes[_local3 + 100];
itemTimes[_local3 + 100] = 0;
itemBN[_local2] = itemBN[lockC + 100];
itemBN[lockC + 100] = 1;
textWindowOpen(27, i, 1);
} else {
textWindowOpen(33, i);
}
} else if (_local2 != -1) {
itemBN[_local2] = itemBN[lockC + 100];
itemBN[lockC + 100] = 1;
textWindowOpen(27, i, 1);
} else {
textWindowOpen(33, i);
}
} else if ((i != 1) && (i != undefined)) {
itemChangeL(lockC, 0);
} else if ((i == 1) || (i == undefined)) {
itemChangeL(lockC, 1);
}
bufL = false;
tgSC3._y = -100;
panelSet();
lockerSet();
}
}
if (bufC3 != lockC) {
bufC3 = lockC;
tgSL.gotoAndStop(lockC);
textWindowOpen(33, i);
}
}
function itemChangeL(bn, v) {
var _local2 = itemBN[bn + 100];
var _local1 = itemBN[lockCbf + 100];
itemBN[bn + 100] = _local1;
if (v == 0) {
itemBN[lockCbf + 100] = _local2;
} else if (v == 1) {
itemBN[lockCbf + 100] = 1;
}
var _local3 = (lockC - 1) % 6;
var _local4 = Math.floor((lockC - 1) / 6);
tgSC3._x = _local3 * 35;
tgSC3._y = _local4 * 35;
textWindowOpen(33, _local1);
lockerSet();
bufL = false;
}
function itemMoveing(bn, i) {
var _local4 = LCspace();
if ((i >= 6) && (i <= 39)) {
if (LCtimes(i) != -1) {
itemTimes[i + 100] = itemTimes[i + 100] + itemTimes[i];
itemTimes[i] = 0;
itemBN[bn] = 1;
} else {
itemTimes[i + 100] = itemTimes[i];
itemTimes[i] = 0;
itemBN[_local4] = itemBN[bn];
itemBN[bn] = 1;
}
} else if ((i >= 102) && (i <= 159)) {
if (fukuLv == i) {
if ((tgC3._x == tgC1._x) && (tgC3._y == tgC1._y)) {
bufSou = false;
pantsTakeOff();
}
}
itemBN[_local4] = itemBN[bn];
itemBN[bn] = 1;
} else if ((i >= 211) && (i <= 215)) {
var _local3 = i - 160;
if (LCtimes(i) != -1) {
itemTimes[_local3 + 100] = itemTimes[_local3 + 100] + itemTimes[_local3];
itemTimes[_local3] = 0;
itemBN[bn] = 1;
} else {
itemTimes[_local3 + 100] = itemTimes[_local3];
itemTimes[_local3] = 0;
itemBN[_local4] = itemBN[bn];
itemBN[bn] = 1;
}
} else {
itemBN[_local4] = itemBN[bn];
itemBN[bn] = 1;
}
damageCalculate(0, 0, 0);
lockerSet();
}
function lockerSet() {
var _local2 = 1;
while (_local2 <= 36) {
var _local3 = itemBN[_local2 + 100];
_root.storeMC.beltMC["no" + _local2].gotoAndStop(_local3);
_local2++;
}
}
function LCspace() {
var _local1 = 1;
while (_local1 <= 36) {
if ((itemBN[_local1 + 100] == 1) || (itemBN[_local1 + 100] == undefined)) {
return(_local1 + 100);
}
_local1++;
}
return(-1);
}
function LCtimes(no) {
var _local1 = 1;
while (_local1 <= 36) {
if (itemBN[_local1 + 100] == no) {
return(_local1 + 100);
}
_local1++;
}
return(-1);
}
function witchesTextPro() {
var _local14 = witchesPro();
var _local11 = Math.floor(tTime / 60);
var _local8 = tTime % 60;
var _local5 = _local11 % 60;
var _local10 = Math.floor(_local11 / 60);
var _local9 = "";
var _local7 = "";
var _local6 = "";
if (_local8 <= 9) {
_local9 = ":0" + _local8;
} else {
_local9 = ":" + _local8;
}
if (_local5 <= 9) {
_local7 = ":0" + _local5;
} else {
_local7 = ":" + _local5;
}
if (_local10 <= 9) {
_local6 = "0" + _local10;
} else {
_local6 = _local10;
}
var _local15 = (("\n\n Total play time: " + _local6) + _local7) + _local9;
var _local4 = 0;
var _local3 = 0;
while (_local3 <= 23) {
var _local1 = itemBN[_local3];
if (item[_local1].buy != undefined) {
var _local2 = sellCalculate(_local1, true);
_local4 = _local4 + _local2;
}
_local3++;
}
_local3 = 1;
while (_local3 <= 36) {
var _local1 = itemBN[_local3 + 100];
if (item[_local1].buy != undefined) {
var _local2 = sellCalculateW(_local1, true);
_local4 = _local4 + _local2;
}
_local3++;
}
var _local16 = ("\n Total assets: " + (gold + _local4)) + "ero ";
var _local12 = "\n Number of encounter with enemy: " + tBattleCo;
var _local13 = "\n Number of fight with enemy: " + (tBattleCo - tRunawayCo);
TD[881] = (((((TD[883] + TD[_local14]) + " \u25BC ") + _local15) + _local16) + _local12) + _local13;
}
function witchesPro() {
var _local3 = tBattleCo;
var _local4 = tRunawayCo;
var _local2 = Math.round(((_local3 - _local4) / _local3) * 100);
var _local1;
if (_local2 >= 96) {
_local1 = 900;
} else if (_local2 >= 92) {
_local1 = 901;
} else if (_local2 >= 88) {
_local1 = 902;
} else if (_local2 >= 84) {
_local1 = 903;
} else if (_local2 >= 80) {
_local1 = 904;
} else if (_local2 >= 76) {
_local1 = 905;
} else if (_local2 >= 72) {
_local1 = 906;
} else if (_local2 >= 68) {
_local1 = 907;
} else if (_local2 >= 64) {
_local1 = 908;
} else if (_local2 >= 60) {
_local1 = 909;
} else if (_local2 >= 56) {
_local1 = 910;
} else if (_local2 >= 52) {
_local1 = 911;
} else if (_local2 >= 48) {
_local1 = 912;
} else if (_local2 >= 44) {
_local1 = 913;
} else if (_local2 >= 40) {
_local1 = 914;
} else if (_local2 >= 36) {
_local1 = 915;
} else if (_local2 >= 32) {
_local1 = 916;
} else if (_local2 >= 28) {
_local1 = 917;
} else if (_local2 >= 24) {
_local1 = 918;
} else if (_local2 >= 20) {
_local1 = 919;
} else if (_local2 >= 16) {
_local1 = 920;
} else if (_local2 >= 12) {
_local1 = 921;
} else if (_local2 >= 8) {
_local1 = 922;
} else if (_local2 >= 4) {
_local1 = 923;
} else {
_local1 = 924;
}
return(_local1);
}
function sellCalculateW(i, fg) {
var _local2 = 0;
if (fg) {
if (item[i].sell != undefined) {
var _local5 = item[i].sell;
} else {
var _local5 = Math.round(item[i].buy / 3);
}
var _local3 = 1;
if ((i >= 6) && (i <= 39)) {
if (itemTimes[i + 100] == undefined) {
_local3 = 1;
} else {
_local3 = itemTimes[i + 100];
}
} else if ((i >= 211) && (i <= 215)) {
var _local6 = i - 160;
if (itemTimes[_local6 + 100] == undefined) {
_local3 = 1;
} else {
_local3 = itemTimes[_local6 + 100];
}
} else {
_local3 = 1;
}
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + _local5;
_local1++;
}
} else if (item[i].sell != undefined) {
_local2 = item[i].sell;
} else {
_local2 = Math.round(item[i].buy / 3);
}
return(_local2);
}
function itemClockResetPro() {
var _local4 = new Array();
var _local3 = new Array();
var _local1 = 0;
while (_local1 <= 200) {
_local4[_local1] = itemBN[_local1];
_local3[_local1] = itemTimes[_local1];
_local1++;
}
var _local2 = new Array();
_local1 = 10;
while (_local1 <= 95) {
_local2[_local1] = SBCflg[_local1];
_local1++;
}
var _local5 = gold;
var _local6 = setBeltNo;
var _local7 = fukuLv;
initialSet(1);
initialSet(2);
initialSet(3);
_local1 = 0;
while (_local1 <= 200) {
itemBN[_local1] = _local4[_local1];
itemTimes[_local1] = _local3[_local1];
_local1++;
}
_local1 = 10;
while (_local1 <= 95) {
SBCflg[_local1] = _local2[_local1];
_local1++;
}
gold = _local5;
setBeltNo = _local6;
fukuLv = _local7;
capaInitialSet();
enemyIntelSet();
mapResetPro();
textDataSet();
bigEventCheck(1);
movieNo = 1;
SBflg = 2;
textWindowClose();
}
function miniEvent(n, e) {
var _local6 = _root.messageMC;
var _local2 = _local6._currentframe;
switch (n) {
case 0 :
if ((KF(5) && (keyWait(0))) && (_local2 == 7)) {
talkCo++;
if (TD[talkCo] != undefined) {
textWindowOpen(10, talkCo);
} else if (miniEV.enemyNo != 0) {
eneCo = 0;
_root.miniEV.no = 3;
} else {
miniEV.flg = false;
textWindowClose();
bigEventCheck(1);
}
}
break;
case 1 :
if ((KF(5) && (keyWait(0))) && (_local2 == 7)) {
miniEV.flg = false;
mapNo = miniEV.mapNo;
mapX = miniEV.mvx;
mapY = miniEV.mvy;
if (miniEV.ho != -1) {
pHo = miniEV.ho;
miniEV.ho = -1;
}
priCorrect();
tgPri._y = mBuf0;
mapDisplay();
musicPro();
if ((mapNo >= 31) && (mapNo <= 37)) {
textWindowOpen(29);
} else {
textWindowClose();
}
bigEventCheck(1);
}
break;
case 2 :
if (((KF(5) && (keyWait(0))) && (_local2 == 7)) && (cfFio == 1)) {
tgFio.play();
textWindowClose();
}
if (cfFio == 11) {
miniEV.flg = false;
if (pHo == 0) {
pHo = 2;
} else if (pHo == 1) {
pHo = 3;
}
var _local5 = storeTalk[storeNo];
textWindowOpen(10, _local5);
_root.gotoAndStop(45);
}
break;
case 3 :
if (!BFstartFlg) {
BFstartFlg = true;
EloadFlg = true;
enemySet(e);
tgFio.play();
textWindowClose();
if (qualType) {
_root._quality = "LOW";
}
enemyTaget();
tgS._x = 610;
tgFio.loadingMC._visible = true;
var _local4 = myMC.loadClip(Sname, _root.stageMC.stageBMC);
}
if (cfFio == 11) {
if (EloadFlg) {
tgFio.stop();
} else {
unloadMovie ("_root.stageMC.stageMMC");
tgFio.play();
enemyTaget();
tgS._x = 0;
tgS.play();
textWindowOpen(40, 7);
enemy[eNo].co++;
_root.gotoAndStop(40);
}
}
break;
case 4 :
if (((KF(5) && (keyWait(0))) && (_local2 == 7)) && (cfFio == 1)) {
tgFio.play();
textWindowClose();
}
if (cfFio == 11) {
miniEV.flg = false;
if (banerClickFlg) {
textWindowOpen(10, 60);
} else {
textWindowOpen(10, 59);
}
watt = battery[gameLv];
_root.gotoAndStop(50);
}
break;
case 5 :
enemyTaget();
if (!ELbf1) {
ELbf1 = true;
EloadFlg = true;
var _local3 = ("movie" + movieNo) + ".swf";
var _local4 = myMC.loadClip(_local3, _root.stageMC.stageMMC);
tgM._x = 610;
tgFio.loadingMC._visible = true;
}
if (cfFio == 11) {
if (EloadFlg) {
tgFio.stop();
} else {
tgFio.play();
enemyTaget();
tgM._x = 0;
tgM.play();
if (qualType) {
_root._quality = "HIGH";
}
if (_root._currentframe != 60) {
_root.gotoAndStop(60);
}
}
}
break;
case 6 :
if (!ELbf1) {
ELbf1 = true;
EloadFlg = true;
var _local3 = "movie1.swf";
var _local4 = myMC.loadClip(_local3, _root.stageMC.stageMMC);
tgM._x = 610;
tgFio.loadingMC._visible = true;
}
if (cfFio == 10) {
if (EloadFlg) {
tgFio.stop();
} else {
tgFio.play();
enemyTaget();
tgM._x = 0;
tgM.play();
if (qualType) {
_root._quality = "HIGH";
}
}
itemClockResetPro();
_root.gotoAndStop(60);
}
break;
case 9 :
if (cfFio == 11) {
miniEV.flg = false;
unloadMovie ("_root.stageMC.stageMMC");
_root.gotoAndStop(35);
}
break;
case 10 :
if (cfFio != 11) {
break;
}
miniEV.flg = false;
textWindowClose();
_root.gotoAndStop(30);
}
if ((KF(0) || (KF(2))) || (KF(1))) {
if (!BFstartFlg) {
miniEV.flg = false;
}
textWindowClose();
}
}
function worpProcessing() {
var _local1 = tgPri._currentframe;
var _local5 = tgPri.lightBallMC;
var _local4 = _local5._currentframe;
if (!elvesFlg) {
var _local2 = worpX[bufW];
var _local3 = worpY[bufW];
if ((_local4 == 10) && (_local1 < 17)) {
tgPri.gotoAndPlay(17);
}
if (_local1 == 25) {
if (_local2 > mapX) {
mapX++;
} else if (_local2 < mapX) {
mapX--;
} else if (_local3 > mapY) {
mapY++;
} else if (_local3 < mapY) {
mapY--;
}
if ((_local2 == mapX) && (_local3 == mapY)) {
tgPri.play();
}
mapDisplay();
}
} else {
if ((_local4 == 10) && (_local1 < 17)) {
tgPri.gotoAndPlay(17);
tgFio.play();
}
if (cfFio == 11) {
tgPri.play();
if (mapNo == 1) {
mapX = 18;
mapY = 40;
} else if (mapNo == 2) {
mapX = 37;
mapY = 81;
} else if (mapNo == 3) {
mapX = 93;
mapY = 49;
} else if (mapNo == 5) {
mapX = 53;
mapY = 26;
} else if (mapNo == 6) {
mapX = 66;
mapY = 5;
} else if ((mapNo >= 31) && (mapNo <= 37)) {
mapX = 50;
mapY = 91;
}
mapNo = 0;
priCorrect(true);
mapDisplay();
musicPro();
}
}
if (_local1 == 32) {
_local5.play();
worpFlg = false;
elvesFlg = false;
}
}
function mararaProcessing() {
if ((KF(1) && (cfFio == 1)) && (keyWait(3))) {
maraC--;
if (maraC <= -1) {
maraC = 12;
}
bufSL = false;
}
if ((KF(3) && (cfFio == 1)) && (keyWait(3))) {
maraC++;
if (maraC >= 13) {
maraC = 0;
}
bufSL = false;
}
if ((KF(6) && (cfFio == 1)) && (keyWait(0))) {
bufSL = false;
_root.mararaPMC.play();
textWindowOpen(10, 89);
}
var _local2 = _root.mararaPMC.panelMC.cursoleMC;
_local2._x = 5;
_local2._y = (maraC * 20) + 5;
if ((KF(5) && (cfFio == 1)) && (keyWait(0))) {
if (maraC == 10) {
if (!bufSL) {
bufSL = true;
textWindowOpen(10, 82);
} else {
bufSL = false;
saveProcessing();
textWindowOpen(10, 84);
}
} else if (maraC == 11) {
if (!bufSL) {
bufSL = true;
textWindowOpen(10, 81);
} else {
bufSL = false;
if (loadProcessing()) {
enemyIntelSet();
textWindowOpen(10, 83);
_root.mararaPMC.play();
tgFio.gotoAndPlay(11);
_root.gotoAndPlay(34);
} else {
textWindowOpen(10, 4);
}
}
} else if ((maraC >= 1) && (maraC <= 9)) {
if (mararaFlg[maraC]) {
var _local4 = tgPri.lightBallMC;
var _local3 = _local4._currentframe;
if (_local3 == 1) {
bufW = maraC;
worpFlg = true;
_root.mararaPMC.play();
tgPri.lightBallMC.play();
textWindowClose();
}
} else {
textWindowOpen(10, 85);
}
} else if (maraC == 12) {
enemyIntelSet();
saveProcessing();
maraPflg = false;
_root.miniEV.no = 10;
_root.miniEV.flg = true;
tgFio.play();
}
}
}
function kujiPro() {
var _local1 = 0;
var _local5 = "Congratulations! It's the first prize! ";
var _local6 = "You won in a lottery! It's the second prize. ";
var _local3 = Math.floor(Math.random() * 100);
var _local2 = 0;
var _local7 = 0;
var _local4 = "";
if (_local3 == 0) {
_local4 = "Wow!! It's the special prize! Congratulations!! ";
_local1 = 193;
} else if ((_local3 == 1) || (_local3 == 2)) {
_local4 = _local5;
_local1 = Math.floor(Math.random() * 16) + 169;
if (_local1 == 169) {
_local1 = 192;
}
} else if ((_local3 == 3) || (_local3 == 4)) {
_local4 = _local5;
_local2 = Math.floor(Math.random() * 19) + 50;
if (item[_local2].iName != undefined) {
_local1 = _local2;
} else {
_local1 = Math.floor(Math.random() * 3) + 75;
}
} else if ((_local3 == 5) || (_local3 == 6)) {
_local4 = _local5;
_local2 = Math.floor(Math.random() * 19) + 127;
if (item[_local2].iName != undefined) {
_local1 = _local2;
} else {
_local1 = 190;
}
} else if ((_local3 >= 7) && (_local3 <= 9)) {
_local4 = _local6;
_local2 = Math.floor(Math.random() * 22) + 103;
if (item[_local2].iName != undefined) {
_local1 = _local2;
} else {
_local1 = 190;
}
} else if ((_local3 >= 10) && (_local3 <= 12)) {
_local4 = _local6;
_local2 = Math.floor(Math.random() * 6) + 41;
if (item[_local2].iName != undefined) {
_local1 = _local2;
} else {
_local1 = 190;
}
} else if ((_local3 >= 13) && (_local3 <= 15)) {
_local4 = _local6;
_local2 = Math.floor(Math.random() * 5) + 80;
if (item[_local2].iName != undefined) {
_local1 = _local2;
} else {
_local1 = 190;
}
} else if ((_local3 >= 16) && (_local3 <= 70)) {
_local4 = "You won in a lottery. It's the third prize. ";
_local2 = Math.floor(Math.random() * 26) + 6;
if (item[_local2].iName != undefined) {
_local1 = _local2;
} else {
_local7 = Math.floor(Math.random() * 3);
if (_local7 == 0) {
_local1 = 191;
} else {
_local1 = 195;
}
}
} else {
_local4 = "Unfortunately it's the fourth prize. ";
_local1 = 102;
}
if (item[_local1].iName == undefined) {
_local1 = 102;
}
if (beltCheck(true, _local1)) {
textWindowOpen(22, _local1, 0, 0, 0, 0, _local4);
} else {
textWindowOpen(23, _local1, 0, 0, 0, 0, _local4);
}
}
function gameLevelPro() {
gameLv = 0;
var _local1 = 1;
while (_local1 <= 10) {
if (BTEflg[_local1]) {
gameLv++;
}
_local1++;
}
}
function bigEventCheck(no, v1) {
switch (no) {
case 0 :
if (fukuLv == 153) {
speed = 2;
} else if (fukuLv == 154) {
speed = 5;
} else {
speed = 1;
}
if (mapNo == 0) {
if ((TEflg[13] && (mapX <= 42)) && (mapNo == 0)) {
TEflg[13] = false;
}
if (map[0][38][52] == 67) {
if (((((((mapX == 53) && (mapY == 39)) || ((mapX == 54) && (mapY == 39))) || ((mapX == 53) && (mapY == 37))) || ((mapX == 54) && (mapY == 37))) || ((mapX == 54) && (mapY == 38))) || ((mapX == 53) && (mapY == 38))) {
} else {
map[0][38][53] = 67;
map[0][38][54] = 67;
map[0][38][52] = 3;
map[0][38][55] = 3;
}
}
} else if (mapNo == 38) {
if ((TEflg[345] && (mapX == 10)) && (mapY == 4)) {
TEflg[345] = false;
map[38][4][9] = -5;
mapDisplay();
keyWait(2);
}
}
break;
case 1 :
gameLevelPro();
if (animeFlg) {
map[animeVal.no][animeVal.y][animeVal.x] = v1;
mapDisplay();
animeFlg = false;
}
if (!TEflg[28]) {
map[0][57][46] = 1;
}
if (BTEflg[1]) {
map[0][19][36] = 74;
map[0][19][35] = 3;
map[0][9][20] = 72;
map[0][10][21] = 3;
map[0][8][25] = 74;
map[0][4][24] = 8;
map[0][4][7] = 71;
map[0][11][26] = 3;
map[0][8][22] = 72;
map[0][14][17] = 3;
map[0][10][23] = 64;
map[0][10][25] = 64;
map[0][8][23] = 64;
map[1][8][18] = 40;
map[1][8][20] = 40;
map[1][4][19] = 43;
}
if (!TEflg[37]) {
map[1][12][19] = 40;
}
if (!TEflg[51]) {
map[1][22][23] = 46;
}
if (!TEflg[52]) {
map[1][3][17] = 46;
}
if (!TEflg[53]) {
map[1][3][21] = 46;
}
if (!TEflg[54]) {
map[1][3][19] = 46;
}
if (!TEflg[72]) {
map[0][73][12] = 71;
map[0][73][11] = 3;
}
if (BTEflg[1]) {
map[1][12][19] = 6;
map[1][8][18] = 40;
map[1][8][20] = 40;
}
if (BTEflg[2]) {
map[2][4][13] = 40;
map[0][80][19] = 72;
map[0][80][24] = 3;
map[0][78][16] = 74;
map[0][72][19] = 8;
map[0][73][12] = 71;
map[0][73][11] = 3;
map[0][81][14] = 64;
map[0][81][16] = 64;
map[0][77][19] = 40;
map[0][76][20] = 40;
map[0][76][21] = 40;
map[0][75][22] = 40;
map[0][74][22] = 40;
map[0][74][23] = 40;
map[0][74][24] = 40;
map[0][74][25] = 40;
map[0][73][25] = 40;
map[0][73][26] = 40;
map[0][73][27] = 40;
map[0][72][27] = 40;
map[0][71][32] = 14;
map[0][71][33] = 14;
map[0][71][34] = 14;
map[0][71][35] = 14;
map[0][72][35] = 14;
map[0][73][35] = 14;
map[0][74][35] = 14;
map[0][75][35] = 40;
map[0][76][35] = 40;
var _local2 = 6;
while (_local2 <= 7) {
var _local1 = 0;
while (_local1 <= 2) {
map[2][_local2][_local1] = 9;
_local1++;
}
_local2++;
}
_local2 = 6;
while (_local2 <= 7) {
var _local1 = 3;
while (_local1 <= 8) {
map[2][_local2][_local1] = 40;
_local1++;
}
_local2++;
}
map[2][7][4] = 18;
_local2 = 3;
while (_local2 <= 7) {
var _local1 = 18;
while (_local1 <= 26) {
map[2][_local2][_local1] = 14;
_local1++;
}
_local2++;
}
map[2][7][18] = 6;
map[2][19][23] = 6;
map[2][17][23] = 40;
map[2][20][9] = 40;
map[2][7][13] = 40;
map[2][6][13] = 40;
}
if (!TEflg[80]) {
map[0][88][12] = 3;
}
if (!TEflg[81]) {
map[0][91][25] = 3;
}
if (!TEflg[82]) {
map[0][94][37] = 3;
}
if (!TEflg[74]) {
map[0][81][37] = 6;
}
if (!TEflg[88]) {
map[2][8][13] = 6;
}
if (map[2][17][23] == 40) {
TEflg[95] = false;
}
if (map[2][20][9] == 40) {
TEflg[96] = false;
}
if (map[2][7][13] == 40) {
TEflg[97] = false;
}
if (map[2][6][13] == 40) {
TEflg[98] = false;
}
if (!TEflg[95]) {
map[2][17][23] = 40;
}
if (!TEflg[96]) {
map[2][20][9] = 40;
}
if (!TEflg[97]) {
map[2][7][13] = 40;
}
if (!TEflg[98]) {
map[2][6][13] = 40;
}
if (!TEflg[90]) {
map[2][3][4] = 46;
}
if (!TEflg[91]) {
map[2][5][8] = 48;
}
if (!TEflg[92]) {
map[2][5][6] = 46;
}
if (!TEflg[155]) {
map[0][83][49] = 26;
}
if (BTEflg[3]) {
map[3][6][18] = 8;
map[3][3][19] = 6;
map[3][14][3] = 6;
map[3][11][23] = 6;
map[3][5][4] = 6;
map[3][5][7] = 6;
map[0][91][66] = 73;
map[0][90][82] = 73;
map[0][92][79] = 73;
map[0][91][70] = 73;
map[0][91][67] = 65;
map[10][3][4] = 43;
}
if (map[3][21][22] == 40) {
TEflg[100] = false;
}
if (map[3][6][13] == 40) {
TEflg[101] = false;
}
if (!TEflg[100]) {
map[3][21][22] = 40;
}
if (!TEflg[101]) {
map[3][6][13] = 40;
}
if (!TEflg[103]) {
map[3][19][22] = 46;
}
if (!TEflg[104]) {
map[3][16][23] = 46;
}
if (!TEflg[105]) {
map[3][14][22] = 46;
}
if (!TEflg[106]) {
map[3][9][20] = 48;
}
if (!TEflg[107]) {
map[3][3][12] = 46;
}
if (!TEflg[120]) {
map[3][8][21] = 48;
}
if (map[0][79][96] == 40) {
TEflg[150] = false;
}
if (map[0][80][96] == 40) {
TEflg[151] = false;
}
if (map[0][81][96] == 40) {
TEflg[152] = false;
}
if (!TEflg[150]) {
map[0][79][96] = 40;
}
if (!TEflg[151]) {
map[0][80][96] = 40;
}
if (!TEflg[152]) {
map[0][81][96] = 40;
}
if (!TEflg[160]) {
map[0][62][48] = 1;
}
if (BTEflg[4]) {
map[0][73][63] = 3;
map[0][73][64] = 71;
map[11][4][3] = 43;
map[16][4][3] = 62;
}
if ((!TEflg[190]) || (BTEflg[5])) {
map[0][38][46] = 3;
map[0][38][47] = 71;
}
if (!TEflg[225]) {
map[4][12][16] = 46;
}
if (!TEflg[226]) {
map[4][12][17] = 46;
}
if (!TEflg[227]) {
map[4][12][18] = 46;
}
if (!TEflg[228]) {
map[4][12][19] = 46;
}
if (!TEflg[229]) {
map[4][12][20] = 46;
}
if (!TEflg[230]) {
map[4][12][21] = 46;
}
if (!TEflg[231]) {
map[4][14][20] = 48;
}
if (!TEflg[232]) {
map[4][16][16] = 48;
}
if (map[0][22][57] == 40) {
TEflg[238] = false;
}
if (map[0][23][57] == 40) {
TEflg[239] = false;
}
if (!TEflg[238]) {
map[0][22][57] = 40;
}
if (!TEflg[239]) {
map[0][23][57] = 40;
}
if (map[5][4][20] == 40) {
TEflg[240] = false;
}
if (map[5][11][5] == 40) {
TEflg[241] = false;
}
if (!TEflg[240]) {
map[5][4][20] = 40;
}
if (!TEflg[241]) {
map[5][11][5] = 40;
}
if (!TEflg[210]) {
map[0][20][55] = 46;
}
if (!TEflg[211]) {
map[0][20][53] = 46;
}
if (!TEflg[212]) {
map[0][21][49] = 48;
}
if (!TEflg[213]) {
map[0][20][52] = 46;
}
if (!TEflg[214]) {
map[0][20][50] = 48;
}
if (!TEflg[215]) {
map[0][19][54] = 46;
}
if (!TEflg[216]) {
map[0][19][53] = 46;
}
if (!TEflg[217]) {
map[0][9][53] = 46;
}
if (!TEflg[218]) {
map[0][10][53] = 46;
}
if (!TEflg[219]) {
map[0][8][51] = 48;
}
if (BTEflg[5]) {
map[4][5][5] = 77;
map[16][4][3] = 43;
map[4][3][6] = 62;
map[4][8][21] = 53;
map[0][38][53] = 3;
map[0][38][54] = 3;
map[0][29][52] = 6;
map[0][29][55] = 6;
map[0][45][66] = 3;
map[0][38][58] = 74;
map[0][42][66] = 3;
map[0][38][60] = 72;
map[0][32][40] = 3;
map[0][38][56] = 67;
var _local2 = 23;
while (_local2 <= 36) {
var _local1 = 46;
while (_local1 <= 65) {
if ((map[0][_local2][_local1] == 31) || (map[0][_local2][_local1] == 32)) {
map[0][_local2][_local1] = 33;
}
if (map[0][_local2][_local1] == 34) {
map[0][_local2][_local1] = 35;
}
if (map[0][_local2][_local1] == 36) {
map[0][_local2][_local1] = 37;
}
if ((map[0][_local2][_local1] == 22) || (map[0][_local2][_local1] == 23)) {
map[0][_local2][_local1] = 38;
}
_local1++;
}
_local2++;
}
map[0][31][61] = 6;
map[0][24][55] = 6;
if (TEflg[224]) {
map[4][5][3] = 47;
} else {
map[4][5][3] = 48;
}
TEflg[0] = (TEflg[1] = (TEflg[2] = false));
}
if (!TEflg[282]) {
map[0][23][96] = 46;
}
if (!TEflg[283]) {
map[0][13][66] = 48;
}
if (!TEflg[284]) {
map[0][15][68] = 46;
}
if (!TEflg[274]) {
map[0][12][66] = 48;
}
if (map[0][9][69] == 40) {
TEflg[246] = false;
}
if (!TEflg[246]) {
map[0][9][69] = 40;
}
if (map[6][6][7] == 40) {
TEflg[245] = false;
}
if (!TEflg[245]) {
map[6][6][7] = 40;
}
if (map[33][13][16] == 40) {
TEflg[243] = false;
}
if (!TEflg[243]) {
map[33][13][16] = 40;
}
if (!TEflg[290]) {
map[35][11][4] = 46;
}
if (!TEflg[291]) {
map[35][11][11] = 46;
}
if (map[36][16][6] == 40) {
TEflg[295] = false;
}
if (!TEflg[295]) {
map[36][16][6] = 40;
}
if (!TEflg[300]) {
map[36][20][3] = 53;
}
if (!TEflg[301]) {
map[36][21][22] = 43;
}
if (!TEflg[264]) {
map[31][19][19] = 48;
}
if (!TEflg[265]) {
map[31][5][5] = 48;
}
if (!TEflg[266]) {
map[31][19][5] = 48;
}
if (!TEflg[267]) {
map[31][5][19] = 48;
}
if (!TEflg[263]) {
map[32][13][18] = 48;
}
if (!TEflg[262]) {
map[33][13][23] = 48;
}
if (!TEflg[261]) {
map[34][4][17] = 46;
}
if (!TEflg[192]) {
map[15][4][3] = 43;
map[14][4][3] = 74;
}
if (!TEflg[194]) {
map[0][49][66] = 46;
}
if ((BufLv != gameLv) && (!TEflg[191])) {
TEflg[195] = false;
}
if (!TEflg[195]) {
map[0][52][67] = 40;
var _local2 = 49;
while (_local2 <= 52) {
var _local1 = 63;
while (_local1 <= 70) {
if ((map[0][_local2][_local1] >= 3) && (map[0][_local2][_local1] <= 5)) {
map[0][_local2][_local1] = 40;
}
_local1++;
}
_local2++;
}
map[0][49][65] = 4;
map[0][49][70] = 4;
map[0][49][67] = 74;
map[15][4][3] = 43;
if (TEflg[194]) {
map[0][49][66] = 45;
} else {
map[0][49][66] = 46;
}
}
if (BTEflg[6]) {
map[6][10][5] = 40;
map[0][71][73] = 4;
map[0][48][57] = 73;
map[0][6][22] = 3;
map[0][91][67] = 3;
map[17][3][3] = 3;
map[17][4][4] = 3;
map[17][5][3] = 3;
map[34][12][6] = 53;
}
if (BTEflg[7]) {
map[6][3][3] = 54;
map[0][73][64] = 3;
map[0][73][63] = 3;
map[6][5][6] = 71;
map[0][88][12] = 2;
map[0][91][25] = 2;
map[0][94][37] = 2;
map[12][4][3] = 43;
}
if (!TEflg[8]) {
map[22][3][3] = 48;
}
if (!TEflg[9]) {
map[22][5][3] = 48;
}
if (!TEflg[184]) {
map[20][3][3] = 48;
}
if (!TEflg[185]) {
map[20][4][3] = 48;
}
if (!TEflg[186]) {
map[21][5][3] = 48;
}
if (!TEflg[2]) {
map[0][37][92] = 3;
TEflg[0] = (TEflg[1] = false);
}
if (!TEflg[1]) {
map[0][48][18] = 3;
TEflg[0] = false;
}
if (!TEflg[0]) {
map[0][51][50] = 3;
}
if (!TEflg[299]) {
if (mapNo != 36) {
TEflg[300] = false;
}
}
if ((!TEflg[314]) && (TEflg[315])) {
if ((mapNo != 37) && (mapNo != 24)) {
TEflg[315] = false;
}
}
if (!TEflg[315]) {
map[24][4][3] = 47;
}
if (!TEflg[320]) {
map[24][4][3] = 48;
}
if (!TEflg[323]) {
map[37][22][4] = 46;
}
if (!TEflg[305]) {
map[37][13][13] = (map[37][13][12] = 40);
map[37][15][11] = (map[37][10][14] = (map[37][9][8] = 40));
map[37][2][13] = (map[37][1][13] = (map[37][0][13] = 9));
map[37][3][13] = 40;
map[37][20][3] = 40;
}
if (!TEflg[306]) {
map[27][4][4] = (map[27][4][5] = 40);
}
if (!TEflg[327]) {
map[35][3][3] = 48;
}
if (!TEflg[328]) {
map[35][3][10] = 48;
}
if (!TEflg[330]) {
map[38][19][11] = 46;
}
if (!TEflg[331]) {
map[38][21][9] = 48;
}
if (!TEflg[332]) {
map[38][18][18] = 46;
}
if ((!TEflg[334]) && (!TEflg[335])) {
map[38][21][20] = 40;
}
if (!TEflg[340]) {
map[38][6][13] = 6;
}
if (!TEflg[341]) {
map[38][14][14] = 6;
}
if (!TEflg[342]) {
map[38][8][18] = 6;
}
if (!TEflg[343]) {
map[38][3][21] = 6;
map[38][3][22] = 6;
}
if (!TEflg[344]) {
map[38][17][22] = 6;
}
if (TEflg[337]) {
break;
}
map[38][21][11] = 54;
map[37][3][12] = 75;
map[37][15][20] = 6;
map[24][3][3] = 48;
map[24][4][3] = 53;
map[37][2][13] = -1;
map[38][23][6] = (map[38][23][7] = (map[38][23][8] = 40));
map[0][38][56] = 3;
map[0][34][52] = 67;
map[6][5][6] = 53;
map[0][33][52] = 71;
map[0][49][67] = 3;
map[0][32][52] = 74;
map[4][3][6] = 53;
map[0][30][52] = 62;
map[4][5][5] = 54;
map[0][29][53] = 77;
if (!TEflg[354]) {
break;
}
if (!(((((!TEflg[348]) && (!TEflg[349])) && (!TEflg[350])) && (!TEflg[351])) && (!TEflg[352]))) {
break;
}
TEflg[354] = false;
movieNo = 6;
MsysBf = 0;
tgFio.play();
textWindowClose();
miniEV.flg = true;
miniEV.no = 5;
}
}
function hellInit() {
TEflg[345] = true;
map[38][4][9] = 6;
TEflg[340] = (TEflg[341] = (TEflg[342] = (TEflg[343] = (TEflg[344] = true))));
map[38][6][13] = (map[38][14][14] = (map[38][8][18] = 76));
map[38][3][21] = (map[38][3][22] = (map[38][17][22] = 76));
}
function targetCheck() {
tgSm = _root.stageMC.mapMC;
tgIP = _root.panelMC;
tgIB = tgIP.beltMC;
tgC1 = tgIB.cursoleMC1;
tgC2 = tgIB.cursoleMC2;
tgC3 = tgIB.cursoleMC3;
tgC4 = tgIB.cursoleMC4;
tgSC1 = _root.storeMC.panelMC.cursoleMC1;
tgSC2 = _root.storeMC.panelMC.cursoleMC2;
tgSL = _root.storeMC.beltMC;
tgSC3 = tgSL.cursoleMC2;
tgPri = tgSm.priMC;
tgFuku = tgPri.bodyMC.fukuMC;
tgFio = _root.feedInOutMC;
cfFio = tgFio._currentframe;
tgM = _root.stageMC.stageMMC;
}
function enemyTaget() {
tgS = _root.stageMC.stageBMC;
cfS = tgS._currentframe;
tgE = tgS.enemyMC;
tgHd1 = tgE.bodyUMC.headMC;
tgHd2 = tgE.headMC;
tgAR1 = tgE.bodyUMC.armRMC;
tgAL1 = tgE.bodyUMC.armLMC;
tgAR2 = tgE.armRMC;
tgAR3 = tgE.armRMC2;
tgAL2 = tgE.armLMC;
tgLR1 = tgE.bodyLMC.legRMC;
tgLL1 = tgE.bodyLMC.legLMC;
tgBU = tgE.bodyUMC;
tgBL = tgE.bodyLMC;
tgBH = tgE.bodyHMC;
tgP = tgS.priMC;
tgPpn = tgE.pantsMC;
tgPwpn = tgE.weponMC;
tgPA1 = tgE.bodyUMC.priAMC;
tgPA2 = tgE.bodyLMC.priAMC;
}
function stateCheckPro() {
var _local2 = map[mapNo][mapY][mapX];
var _local3 = trg[mapY][mapX];
BFpriRunaway = false;
miniEV.enemyNo = 0;
SBflg = 0;
ectP = ectP - 0.1;
if (ectP <= 0) {
ectP = 0;
}
if (((((_local3 != 6) && (_local2 != 15)) && (_local2 != 12)) && (mapNo != 6)) && (mapNo != 38)) {
panelSet();
return(undefined);
}
var _local1 = 0;
if (((_local3 == 6) || (mapNo == 6)) || ((_local2 == 15) && (_local3 == 2))) {
_local1 = 1;
if (BCtimes(80) != -1) {
_local1 = _local1 - item[80].val;
}
if (BCtimes(81) != -1) {
_local1 = _local1 - item[81].val;
}
} else if ((_local2 == 12) || (mapNo == 38)) {
_local1 = 2;
if (BCtimes(83) != -1) {
_local1 = _local1 - item[83].val;
}
if (BCtimes(84) != -1) {
_local1 = _local1 - item[84].val;
}
if ((fukuLv == 130) || ((fukuLv >= 137) && (fukuLv <= 140))) {
_local1 = _local1 - item[fukuLv].val;
if (item[fukuLv].val == undefined) {
}
}
}
ectP = ectP + _local1;
if (ectP >= 100) {
ectP = 100;
}
panelSet();
}
function enemyDamCal(v, fg) {
if ((BFweponLv >= 46) && (BFweponLv <= 79)) {
if (BFweponLv == 46) {
if (BCtimes(54) != -1) {
var _local3 = item[54].atk / 300;
} else if (BCtimes(51) != -1) {
var _local3 = item[51].atk / 200;
}
} else {
var _local3 = item[BFweponLv].atk / 10;
}
if (SBflg != 1) {
if ((fg == true) || (fg == undefined)) {
if (fukuLv != 152) {
watt = watt - _local3;
}
}
}
if (watt <= 0) {
watt = 0;
}
}
var _local2 = false;
if (tgS.wPoint == true) {
if (BFatkNo == 1) {
v = v * 2.5;
_local2 = true;
} else if (BFatkNo == 8) {
v = v * 1.5;
_local2 = true;
} else if ((BFatkNo == 2) || (BFatkNo == 6)) {
v = v * 4.5;
_local2 = true;
} else if ((((((BFatkNo == 7) || (BFatkNo == 12)) || (BFatkNo == 13)) || (BFatkNo == 14)) || (BFatkNo == 20)) || (BFatkNo == 30)) {
v = v / 3;
}
}
if (BFatkNo == 25) {
if (!tgS.MASOflg) {
v = v / 6;
} else {
_local2 = true;
}
} else if (BFatkNo == 23) {
if (tgS.MASOflg) {
v = v * 2.5;
_local2 = true;
}
}
if (fukuLv == 152) {
v = v * 2;
_local2 = true;
}
if (_local2) {
tgS.WPeffectMC.play();
}
var _local4 = false;
enemy[eNo].ectP = enemy[eNo].ectP + (v * enemy[eNo].def);
if (enemy[eNo].ectP >= enemy[eNo].ectPmax) {
enemy[eNo].ectP = enemy[eNo].ectPmax;
_local4 = true;
}
var _local5 = Math.round(enemy[eNo].ectP);
tgS.gaugeMC2.ectTXT1.text = _local5;
tgS.gaugeMC2.ectTXT2.text = enemy[eNo].ectPmax;
var _local6 = Math.round((enemy[eNo].ectP / enemy[eNo].ectPmax) * 100);
tgS.gaugeMC.gotoAndStop(_local6);
return(_local4);
}
function damageCalculate(vE, vD, vA) {
if (enemy[eNo].atk == undefined) {
var _local3 = 10;
} else {
var _local3 = enemy[eNo].atk / 10;
}
if (((((((eNo == 20) || (eNo == 30)) || (eNo == 40)) || (eNo == 50)) || (eNo == 60)) || (eNo == 90)) || (eNo == 95)) {
var _local2 = 1;
for (var _local5 in enemy[eNo]) {
var _local1 = enemy[eNo][_local5];
if (_local1 == false) {
_local2 = _local2 * (1 + ((eNo * 1.5) / 1000));
}
}
var _local3 = _local3 + _local2;
}
if (eNo == 60) {
if ((BFattackSort == 115) && (enemy[60].partsFlg4)) {
var _local3 = _local3 * 1.6;
}
if (((BFattackSort == 115) || (BFattackSort == 116)) || (BFattackSort == 117)) {
if (!enemy[60].partsFlg6) {
var _local3 = _local3 * 0.7;
}
}
} else if (eNo == 90) {
if (((BFattackSort == 115) || (BFattackSort == 116)) || (BFattackSort == 117)) {
if (!enemy[90].partsFlg6) {
var _local3 = _local3 * 0.8;
}
if (!enemy[90].partsFlg8) {
var _local3 = _local3 * 0.85;
}
}
}
if (fukuLv == 148) {
vE = vE * 0.8;
}
if (BFbougyoFlg) {
var _local6 = 4;
} else {
var _local6 = 1;
}
ectP = ectP + ((vE * _local3) / _local6);
DEF = DEF + (vD * _local3);
ATK = ATK + vA;
capaCalculate(0);
panelSet();
var _local4 = new Array(false, false, false);
if (ectP >= ectPmax) {
_local4[0] = true;
}
if (defP <= 0) {
_local4[1] = true;
}
if (atkP <= 0) {
_local4[2] = true;
}
if ((SBflg == 2) && (eNo == 10)) {
_local4[0] = false;
}
return(_local4);
}
function capaCalculate(iNo, val) {
if ((BFitemUse[iNo] && (iNo >= 10)) && (iNo <= 79)) {
return(undefined);
}
if (val != undefined) {
BFatkBase = val;
}
if (!BFstartFlg) {
} else {
defP = defP - defBuf;
atkP = atkP - atkBuf;
ectPmax = ectPmax - ectBuf;
ectBuf = 0;
defBuf = 0;
atkBuf = 0;
if (BFweponLv == 1) {
BFbuf2 = false;
var _local5 = 45;
while (_local5 <= 79) {
BFitemUse[_local5] = false;
_local5++;
}
tgC4._x = 140;
tgC4._y = 0;
}
if ((iNo >= 45) && (iNo <= 79)) {
var _local5 = 45;
while (_local5 <= 79) {
BFitemUse[_local5] = false;
_local5++;
}
BFitemUse[iNo] = true;
} else {
BFitemUse[iNo] = true;
}
var _local5 = 10;
while (_local5 <= 79) {
if (BFitemUse[_local5]) {
if (item[_local5].ectPmax != undefined) {
ectBuf = ectBuf + Math.round(ectPmax * item[_local5].ectPmax);
}
var _local1 = 0;
if (item[_local5].atk != undefined) {
if (_local5 == 46) {
if (BCtimes(54) != -1) {
_local1 = item[54].atk;
} else if (BCtimes(51) != -1) {
_local1 = item[51].atk;
}
} else {
_local1 = item[_local5].atk;
}
} else {
_local1 = 0;
}
if (((_local5 >= 46) && (_local5 <= 79)) && (watt <= 0)) {
_local1 = 0;
}
atkBuf = atkBuf + _local1;
if (tgS.pantsFlg == true) {
if (item[_local5].def != undefined) {
defBuf = defBuf + item[_local5].def;
}
}
}
_local5++;
}
ectPmax = ectPmax + ectBuf;
if (ectP >= ectPmax) {
ectP = ectPmax;
}
defP = (defP + defBuf) - DEF;
if (defP >= defPmax) {
defPmax = defP;
}
if (tgS.pantsFlg == false) {
defP = 0;
defPmax = 0;
}
var _local4 = 0;
if ((BFitemUse[45] || (BFitemUse[46])) || (BFatkBase == 30)) {
_local4 = 0;
} else {
_local4 = item[fukuLv].atk;
}
if ((SBflg == 1) && (tgS.pantsFlg == false)) {
_local4 = 0;
}
var _local2 = 0;
for (_local5 in zengiP) {
_local2 = _local2 + zengiP[_local5];
}
atkP = (((_local4 + BFatkBase) + atkBuf) + _local2) - ATK;
DEF = 0;
ATK = 0;
}
}
function capaInitialSet() {
if (BFatkNo == 30) {
} else {
BFatkBase = 10;
}
if (ectP >= ectPmax) {
ectP = ectPmax;
}
atkP = 0;
defP = 0;
if ((SBflg == 1) && (tgS.pantsFlg == false)) {
atkP = BFatkBase;
} else {
defP = defP + item[fukuLv].def;
atkP = item[fukuLv].atk + BFatkBase;
}
defPmax = defP;
}
function panelSet() {
var _local8 = Math.round((ectP / ectPmax) * 100);
if (_local8 <= 0) {
_local8 = 1;
}
tgIP.gaugeMC1.gotoAndStop(_local8);
tgIP.ectTXT1.text = Math.round(ectP);
tgIP.ectTXT2.text = Math.round(ectPmax);
var _local3 = Math.round((defP / defPmax) * 100);
if ((_local3 <= 0) || (defP <= 0)) {
_local3 = 1;
}
if (_local3 >= 100) {
_local3 = 100;
}
tgIP.gaugeMC2.gotoAndStop(_local3);
var _local5 = 0;
if (defP >= 0) {
if (defP >= defPmax) {
_local5 = defPmax;
} else {
_local5 = defP;
}
} else {
_local5 = defP;
}
tgIP.defTXT1.text = Math.round(_local5);
tgIP.defTXT2.text = Math.round(defPmax);
var _local4 = Math.round((atkP / atkPmax) * 100);
if (_local4 <= 0) {
_local4 = 1;
} else if (_local4 >= 100) {
_local4 = 100;
}
tgIP.gaugeMC3.gotoAndStop(_local4);
atkP = Math.round(atkP);
tgIP.atkTXT1.text = Math.round(atkP);
tgIP.atkTXT2.text = Math.round(atkPmax);
var _local1 = 0;
while (_local1 <= 23) {
var _local2 = "no" + _local1;
tgIB[_local2].gotoAndStop(itemBN[_local1]);
_local1++;
}
var _local6 = beltC % 4;
var _local7 = Math.floor(beltC / 4);
tgC1._x = _local6 * 30;
tgC1._y = _local7 * 30;
_local6 = setBeltNo % 4;
_local7 = Math.floor(setBeltNo / 4);
tgC3._x = _local6 * 30;
tgC3._y = _local7 * 30;
tgFuku.gotoAndStop(fukuLv - 100);
tgIP.princeMC.bodyMCF.fukuMC.gotoAndStop(fukuLv - 100);
tgIP.princeMC.bodyMCB.fukuMC.gotoAndStop(fukuLv - 100);
}
function animeProcessing(bn, i) {
var _local7 = map[mapNo][mapY + pValy[pHo]][mapX + pValx[pHo]];
var _local3 = i - 200;
switch (_local3) {
case 1 :
if (_local7 == 51) {
animePractise();
_root.tgIP.gotoAndStop(1);
panelFlg = false;
itemBN[bn] = 1;
textWindowOpen(7, i);
} else {
textWindowOpen(10, 25);
}
break;
case 2 :
_root.tgIP.gotoAndStop(1);
panelFlg = false;
textWindowOpen(11, 372);
break;
case 3 :
_root.SVMC.bellMC.play();
if ((((_local7 == 7) && (pHo == 1)) && (mapX == 96)) && (((mapY == 80) || (mapY == 81)) || (mapY == 82))) {
animePractise();
_root.tgIP.gotoAndStop(1);
panelFlg = false;
TElv[1] = 6;
textWindowOpen(7, i);
} else {
textWindowOpen(10, 25);
}
break;
case 4 :
if ((((_local7 == 0) && (pHo == 3)) && (mapX == 49)) && (mapY == 82)) {
animePractise();
TEflg[155] = false;
_root.tgIP.gotoAndStop(1);
panelFlg = false;
textWindowOpen(7, i);
} else {
textWindowOpen(10, 25);
}
break;
case 5 :
if ((map[0][38][54] == 67) && (((((mapX == 53) && (mapY == 39)) || ((mapX == 54) && (mapY == 39))) || ((mapX == 53) && (mapY == 37))) || ((mapX == 54) && (mapY == 37)))) {
map[0][38][53] = 3;
map[0][38][54] = 3;
map[0][38][52] = 67;
map[0][38][55] = 67;
mapDisplay();
_root.tgIP.gotoAndStop(1);
textWindowOpen(10, 41);
} else {
textWindowOpen(10, 25);
}
break;
case 6 :
textWindowOpen(10, 25);
break;
case 7 :
if ((((mapX == 53) && (mapY == 26)) || ((mapX == 54) && (mapY == 26))) && (pHo == 1)) {
textWindowOpen(10, 42);
_root.tgIP.gotoAndStop(1);
miniEV.no = 1;
miniEV.flg = true;
miniEV.mapNo = 4;
miniEV.mvx = 13;
miniEV.mvy = 23;
} else {
textWindowOpen(10, 25);
}
break;
case 8 :
_root.tgIP.gotoAndStop(1);
panelFlg = false;
TEflg[271] = false;
textWindowOpen(11, 665);
break;
case 9 :
_root.tgIP.gotoAndStop(1);
textWindowOpen(10, 75);
_root.gotoAndStop(65);
break;
case 10 :
if (((((mapX == 4) && (mapY == 20)) && (pHo == 0)) || (((mapX == 3) && (mapY == 21)) && (pHo == 1))) && (mapNo == 36)) {
map[36][20][3] = 78;
TEflg[298] = false;
mapDisplay();
_root.tgIP.gotoAndStop(1);
keyWait(2);
textWindowOpen(7, i);
} else {
textWindowOpen(10, 25);
}
break;
case 18 :
if ((_local3 >= 11) && (_local3 <= 16)) {
var _local2 = 11;
var _local8 = Math.floor(Math.random() * 2);
var _local4 = Math.floor(Math.random() * 3);
r3 = Math.floor(Math.random() * 4);
if (_local3 == 11) {
if (_local8 == 0) {
_local2 = 12;
} else {
_local2 = 11;
}
} else if (_local3 == 12) {
if (_local8 == 0) {
_local2 = 12;
} else {
_local2 = 21;
}
} else if (_local3 == 13) {
if (r3 == 0) {
_local2 = 31;
} else if (r3 == 1) {
_local2 = 33;
} else if (r3 == 2) {
_local2 = 35;
} else if (r3 == 3) {
_local2 = 38;
}
} else if (_local3 == 14) {
if (_local4 == 0) {
_local2 = 43;
} else if (_local4 == 1) {
_local2 = 45;
} else if (_local4 == 2) {
_local2 = 47;
}
} else if (_local3 == 15) {
if (_local4 == 0) {
_local2 = 51;
} else if (_local4 == 1) {
_local2 = 54;
} else if (_local4 == 2) {
_local2 = 57;
}
}
_root.tgIP.gotoAndStop(1);
panelFlg = false;
itemTimes[_local3 + 40]--;
if (itemTimes[_local3 + 40] <= 0) {
itemBN[bn] = 1;
}
miniEV.flg = true;
_root.miniEV.no = 3;
miniEV.enemyNo = _local2;
}
break;
case 20 :
if ((((mapNo >= 1) && (mapNo <= 3)) || ((mapNo >= 5) && (mapNo <= 6))) || ((mapNo >= 31) && (mapNo <= 37))) {
worpFlg = true;
elvesFlg = true;
tgPri.lightBallMC.play();
_root.tgIP.gotoAndStop(1);
textWindowOpen(7, i);
} else if (mapNo == 38) {
textWindowOpen(10, 71);
} else {
textWindowOpen(10, 25);
}
break;
case 21 :
if ((((mapX == 23) && (mapY == 23)) && (pHo == 3)) && (mapNo == 37)) {
TEflg[318] = false;
textWindowOpen(10, 70);
_root.tgIP.gotoAndStop(1);
miniEV.no = 1;
miniEV.flg = true;
miniEV.mapNo = 24;
miniEV.ho = 0;
miniEV.mvx = 5;
miniEV.mvy = 5;
} else {
textWindowOpen(10, 25);
}
break;
case 22 :
textWindowOpen(10, 25);
break;
case 24 :
if (((mapX == 14) && (mapY == 3)) && (mapNo == 37)) {
bn = BCtimes(222);
itemBN[bn] = 1;
panelSet();
animePractise(1);
_root.tgIP.gotoAndStop(1);
panelFlg = false;
TEflg[305] = false;
textWindowOpen(7, i);
} else {
textWindowOpen(10, 26);
}
break;
case 25 :
_root.tgIP.gotoAndStop(1);
panelFlg = false;
witchesTextPro();
textWindowOpen(11, 880);
break;
default :
_root.tgIP.gotoAndStop(1);
panelFlg = false;
if (!TEflg[279]) {
itemBN[bn] = 1;
tgFio.play();
miniEV.flg = true;
miniEV.no = 6;
} else {
TEflg[279] = false;
textWindowOpen(11, 940);
}
}
}
function animePractise(no) {
var _local2 = new Array("152", "138", "156", "170");
animeFlg = true;
animeVal.no = mapNo;
if (no == 1) {
animeVal.x = 13;
animeVal.y = 2;
_root.stageMC.mapMC[136].play();
} else {
animeVal.x = mapX + pValx[pHo];
animeVal.y = mapY + pValy[pHo];
_root.stageMC.mapMC[_local2[pHo]].play();
}
}
function datavisible() {
if (_root.winAlpha) {
_root.winAlpha = false;
_root.messageMC._alpha = 1;
_root.panelMC._alpha = 1;
_root.tgS.gaugeMC._alpha = (_root.tgS.gaugeMC2._alpha = 1);
} else {
_root.winAlpha = true;
_root.messageMC._alpha = 100;
_root.panelMC._alpha = 100;
_root.tgS.gaugeMC._alpha = (_root.tgS.gaugeMC2._alpha = 100);
}
}
function textWindowOpen(no, i, g, x, y, h, t) {
var _local9 = _root.messageMC;
var _local12 = _local9._currentframe;
if (_local12 == 1) {
_local9.play();
} else if (_local12 == 7) {
_local9.gotoAndPlay(6);
}
var _local7 = sellCalculate(i);
switch (no) {
case 0 :
messBuf = item[i].iName + " was found! \n\n...But you aren't able to have the item any further. ";
break;
case 1 :
if (g != undefined) {
messBuf = ((" " + g) + "ero ") + TD[1];
} else {
messBuf = (" " + item[i].iName) + TD[1];
}
break;
case 2 :
messBuf = (("Do you wear " + item[i].iName) + "? \n\n") + TD[77];
break;
case 3 :
if ((i == 6) || (i == 8)) {
messBuf = ((" Do you drink " + item[i].iName) + "? \n\n") + TD[77];
} else if ((i == 202) || (i == 208)) {
messBuf = ((" Do you read " + item[i].iName) + "? \n\n") + TD[77];
} else {
messBuf = ((" Do you use " + item[i].iName) + "? \n\n") + TD[77];
}
break;
case 5 :
var _local8 = itemTextRenewP(i);
if (panelFlg || (g == 0)) {
messBuf = (item[i].iName + ": ") + _local8;
} else if (storeFlg) {
messBuf = (((item[i].iName + ": Price: ") + item[i].buy) + "ero ") + item[i].comment;
}
break;
case 6 :
if (g == undefined) {
messBuf = "This item can't be sold. \n\n" + TD[76];
} else if (g == 0) {
messBuf = "This item can't be put in the luggage locker. \n\n" + TD[76];
} else if (g == 1) {
messBuf = "The luggage locker is full and doesn't enter any further. \n\n" + TD[76];
} else if (g == 2) {
messBuf = "Your rucksack is full and can't return an item. \n\n" + TD[76];
}
break;
case 7 :
if (item[i].attachFlg) {
messBuf = ("You wore " + item[i].iName) + ". ";
} else if (item[i].useFlg) {
if (i == 6) {
messBuf = ("You drank " + item[i].iName) + ". \n\nYour excitement level decreased a little. ";
} else if (i == 7) {
messBuf = ("You used " + item[i].iName) + ". \n\nYour excitement level decreased. ";
} else {
messBuf = ("You used " + item[i].iName) + ". ";
}
} else if (item[i].BUflg) {
if ((i >= 10) && (i <= 43)) {
messBuf = ("You used " + item[i].iName) + ". ";
} else {
messBuf = ("You wore " + item[i].iName) + ". ";
}
} else if ((i == 0) || (i == 1)) {
messBuf = "";
} else if (i == 3) {
messBuf = "Money is usable in the shop. ";
} else {
messBuf = item[i].iName + " isn't usable. ";
}
break;
case 8 :
if (g == 1) {
var _local11 = sellCalculate(i, true);
var _local4 = gold + _local11;
var _local6 = 1;
if ((i >= 6) && (i <= 39)) {
if (itemTimes[i] == undefined) {
_local6 = 1;
} else {
_local6 = itemTimes[i];
}
} else if ((i >= 211) && (i <= 215)) {
if (itemTimes[i - 160] == undefined) {
_local6 = 1;
} else {
_local6 = itemTimes[i - 160];
}
} else {
_local6 = 1;
}
messBuf = (((((((((" You sold " + item[i].iName) + ". \nPrincipal: ") + gold) + " + ") + _local7) + " x ") + _local6) + " =Total: ") + _local4) + "ero ";
gold = gold + _local11;
} else {
var _local4 = gold + _local7;
messBuf = ((((((("\u3000You sold " + item[i].iName) + ". \nPrincipal: ") + gold) + " + ") + _local7) + " =Total: ") + _local4) + "ero ";
gold = gold + _local7;
}
break;
case 9 :
if (g == 1) {
var _local4 = gold - (item[i].buy * 10);
messBuf = ((((((("\u3000You bought " + item[i].iName) + ". \nPrincipal: ") + gold) + " - ") + item[i].buy) + " x 10 =Total: ") + _local4) + "ero ";
gold = gold - (item[i].buy * 10);
} else {
var _local4 = gold - item[i].buy;
messBuf = ((((((("\u3000You bought " + item[i].iName) + ". \nPrincipal: ") + gold) + " - ") + item[i].buy) + " =Total: ") + _local4) + "ero ";
gold = gold - item[i].buy;
}
break;
case 10 :
messBuf = TD[i];
break;
case 11 :
messBuf = TD[i];
talkCo = i;
miniEV.no = 0;
miniEV.flg = true;
break;
case 12 :
if (((i >= 6) && (i <= 39)) || ((i >= 211) && (i <= 215))) {
messBuf = ((((" Sale price: " + _local7) + "ero \n Do you sell ") + item[i].iName) + "? \n\n") + TD[78];
} else {
messBuf = ((((" Sale price: " + _local7) + "ero \n Do you sell ") + item[i].iName) + "? \n\n") + TD[77];
}
break;
case 13 :
if ((gold - item[i].buy) < 0) {
messBuf = "Because your money is insufficient, you can't buy it. ";
} else {
messBuf = (("Do you buy " + item[i].iName) + "? \n\n") + TD[74];
}
break;
case 14 :
messBuf = "Because your money is insufficient, you can't buy it. ";
break;
case 15 :
messBuf = "You can't have an item any further... ";
break;
case 16 :
if ((i >= 102) && (i <= 159)) {
messBuf = "You can't wear the pants during a fight... \n\n" + TD[76];
} else if (i == 36) {
messBuf = "This item isn't usable. \nIf you wear Whirlwind pants and possess it, there is an effect. \n\n" + TD[76];
} else if (i == 44) {
messBuf = "This item isn't usable. \nThere is an effect if you possess it after having used Vivi rotor. \n\n" + TD[76];
} else if ((i == 46) && (BFstartFlg)) {
messBuf = "If you have the rotor, it can be used. \n\n" + TD[76];
} else if (((i == 43) || (i == 23)) || (i == 24)) {
messBuf = "This item can be used when the insert attack is possible. \n\n" + TD[76];
} else if ((i >= 10) && (i <= 79)) {
messBuf = "This item can be used while fighting. \n\n" + TD[73];
} else if ((i >= 80) && (i <= 99)) {
messBuf = "This item isn't usable. It's effective by having. \n\n" + TD[73];
} else if ((i == 3) || (i == 4)) {
messBuf = "This item isn't usable. \n\n" + TD[76];
} else {
messBuf = "This item isn't usable now. \n\n" + TD[76];
}
break;
case 17 :
if ((i == 6) || (i == 7)) {
messBuf = (item[i].iName + " was used. \nIt's not usable unless become the next turn... \n\n") + TD[76];
} else {
messBuf = (item[i].iName + " was used. \nIt's not usable till it becomes ineffective... \n\n") + TD[76];
}
break;
case 18 :
messBuf = "You can't use this item because there isn't electric power... \n\n" + TD[76];
break;
case 19 :
messBuf = "Because this item doesn't suit use conditions, \nyou can't use this item. \n(It's after the clothes-parts of the attack point are taken off.) \n\n" + TD[76];
break;
case 20 :
messBuf = ((TD[90 + i] + TD[86]) + "\n\n") + TD[87];
break;
case 21 :
if (g == undefined) {
messBuf = "Do you put this item in the luggage locker? \n\n" + TD[77];
} else if (g == 0) {
messBuf = "Do you return this item to your rucksack? \n\n" + TD[77];
}
break;
case 22 :
messBuf = ((t + "\nThe premium is ") + item[i].iName) + ". \n\nIt go out: Down key. ";
break;
case 23 :
messBuf = ((t + "\nThe premium is ") + item[i].iName) + ". \nBut you didn't get it because you were not able to have an item any further. \nIt go out: Down key. ";
break;
case 25 :
messBuf = ("You threw away " + item[i].iName) + "! ";
break;
case 26 :
if (g == 1) {
messBuf = item[i].iName + " can't be thrown away. ";
} else if (g == 2) {
messBuf = "It's foolish to throw it away! ";
} else if (g == 3) {
messBuf = item[i].iName + " can't be sold yet. ";
}
break;
case 27 :
if (g == 0) {
messBuf = ("You put " + item[i].iName) + " in the luggage locker. ";
} else if (g == 1) {
messBuf = ("You returned " + item[i].iName) + " in a rucksack. ";
}
break;
case 29 :
messBuf = ("It's the " + (mapNo - 30)) + "floor under the ground. ";
break;
case 30 :
messBuf = TD[i];
miniEV.flg = true;
miniEV.no = 1;
miniEV.mapNo = g;
miniEV.mvx = x;
miniEV.mvy = y;
if (h != undefined) {
miniEV.ho = h;
} else {
miniEV.ho = -1;
}
break;
case 33 :
_local8 = itemTextRenewP(i, true);
if (i == undefined) {
var _local10 = "";
} else {
var _local10 = item[i].iName;
}
messBuf = (_local10 + "\uFF1A ") + _local8;
break;
case 40 :
if (BFitemTxt != "") {
var _local5 = "";
} else if ((((i >= 30) && (i <= 42)) || (i == 21)) && (BFitemTxt == "")) {
var _local5 = "\u25BC ";
} else {
var _local5 = "";
}
messBuf = (BTD[i] + BFitemTxt) + _local5;
break;
case 41 :
messBuf = _root.stageMC.stageBMC.BTD[i];
break;
case 42 :
if (BFitemTxt == "") {
var _local5 = "\u25BC ";
} else {
var _local5 = "";
}
messBuf = (t + BFitemTxt) + _local5;
}
BFitemTxt = "";
}
function textWindowClose() {
var _local2 = _root.messageMC;
var _local3 = _local2._currentframe;
if (_local3 == 7) {
_local2.play();
}
}
Frame 29
function AinitSet(no) {
switch (no) {
case 0 :
AstartFlg = false;
bfL = false;
bfAS = false;
bfO = false;
bfR1 = 0;
bfR2 = 0;
transP1 = 0;
transP2 = 0;
iFini = false;
normalIn = false;
tejoh = false;
TPno = 0;
cCo = 0;
CC = 0;
rtCo = 0;
SBflg = 1;
ectP = 0;
ectPmax = 100;
break;
case 1 :
eneNo = 10;
pOrderO = new Array(0, 5, 1, 6, 2, 7, 3, 8, 9, 4, 10);
pOrderU = new Array(0, 1, 2, 3, 4);
pOrderL = new Array(0, 5, 7, 9, 10);
copyFlg = new Array();
pFlg = new Array();
pf = new Array();
var _local1 = 0;
while (_local1 <= 10) {
copyFlg[_local1] = (pFlg[_local1] = (pf[_local1] = true));
_local1++;
}
volumeValP = new Array(0, 4, 8, 12, 20, 32);
volumeValE = new Array(0, 3, 6, 9, 13, 18);
vol = new Array();
_local1 = 1;
while (_local1 <= 4) {
vol[_local1] = 3;
_local1++;
}
transitionVal = new Array();
transitionVal[1] = new Array(0, 1, 2);
transitionVal[2] = new Array(2, 0, 1);
transitionVal[3] = new Array(1, 2, 0);
transitionVal[4] = new Array(0, 1, 3);
simpleP = new Array();
simpleP[1] = "bhcdmoejpfkz";
simpleP[2] = "HloRrkqEgHsy";
simpleP[3] = "acdbmUjIfnIv";
simpleP[4] = "cfpkqIAItIw";
ITno = 1;
patNo = 1;
myPattern = "";
finishP = 0;
BGMno = 0;
}
}
initialSet(1);
loadProcessing();
eroSound();
textDataSet();
itemSet();
initialSet(2);
AinitSet(1);
enemyIntelSet();
Frame 30
this.stop();
initialSet(0);
AinitSet(0);
_root.sBattleMC.gotoAndStop(SBcursole);
var i = 0;
while (i <= 100) {
if (SBCflg[i]) {
var ins = ("SBMC" + i);
_root.sBattleMC[ins].gotoAndStop(2);
}
i++;
}
_root.onEnterFrame = function () {
if (!keyFlg3) {
return(undefined);
}
targetCheck();
enemyTaget();
(tgTr = _root.timerMC);
(cfTr = tgTr._currentframe);
(tfTr = tgTr._totalframes);
(tgTrm = _root.miniTimerMC);
(cfTrm = tgTrm._currentframe);
cfMain = _root._currentframe - 20;
switch (cfMain) {
case 10 :
var _local4 = _root.sBattleMC;
var _local6 = _local4._currentframe;
if (KF(6) && (keyWait(0))) {
} else if (KF(0) && (keyWait(3))) {
if (SBcursole == 1) {
SBcursole = 25;
} else {
SBcursole--;
}
textWindowClose();
} else if (KF(2) && (keyWait(3))) {
if (SBcursole == 25) {
SBcursole = 1;
} else {
SBcursole++;
}
textWindowClose();
} else if (KF(1) && (keyWait(3))) {
if (SBcursole <= 5) {
SBcursole = SBcursole + 20;
} else {
SBcursole = SBcursole - 5;
}
textWindowClose();
} else if (KF(3) && (keyWait(3))) {
if (SBcursole >= 21) {
SBcursole = SBcursole - 20;
} else {
SBcursole = SBcursole + 5;
}
textWindowClose();
} else if (KF(5) && (keyWait(2))) {
if (SBCflg[_local4.charNo] && (!_root.BFstartFlg)) {
eneNo = (eNo = _local4.charNo);
var _local2 = 0;
while (_local2 <= 10) {
var _local3 = "partsFlg" + _local2;
copyFlg[_local2] = enemy[eneNo][_local3];
_local2++;
}
if (tgE == undefined) {
eneLoadPro(eneNo);
}
_root.gotoAndStop(35);
}
}
_local4.gotoAndStop(SBcursole);
break;
case 15 :
if (AstartFlg) {
tgFio.play();
if (cfFio == 11) {
tgTr.play();
tgS._x = 0;
tgS.gotoAndPlay(2);
tgS.flashMC.gotoAndStop(2);
tgS.gaugeMC._visible = (tgS.gaugeMC2._visible = false);
_root.gotoAndStop(40);
}
} else {
if (!bfL) {
if (tgS.farFlg != undefined) {
BTNset();
tgS.gotoAndStop(15);
bfL = true;
}
}
if (KF(6) && (keyWait(0))) {
BFstartFlg = false;
unloadMovie ("_root.stageMC.stageBMC");
_root.gotoAndStop(30);
}
MCinitSet();
if (_root.initSetMC.lv != "patternSet") {
backChange();
BGMchange();
}
}
break;
case 20 :
if (cfTr == 1) {
if (!AstartFlg) {
AstartFlg = true;
var _local5 = nextCode(cCo);
if (_local5) {
winClose();
}
} else {
if ((cfTrm == 1) && (!bfAS)) {
bfAS = true;
animeStartPro();
}
if (cfTrm == 1) {
animeticaPro();
}
}
}
if (KF(6) && (keyWait(0))) {
tgS._x = 750;
tgS.gotoAndStop(1);
enemyIntelSet(eneNo);
if (fukuLv != 101) {
tgS.pantsFlg = true;
} else {
tgS.pantsFlg = false;
}
BFpriFinish = false;
_root.gotoAndStop(35);
}
backChange();
BGMchange();
musicFO();
}
frameCo++;
};
Frame 35
initialSet(0);
AinitSet(0);
BTNset();
textWindowClose();
BGMstartPro();
Frame 40
AinitSet(0);
tgS.backMC.gotoAndStop(SBBno[SBback]);
Symbol 10 MovieClip [loader] Frame 1
this.stop();
Symbol 92 Button
on (release) {
getURL ("http://www.e-ohkoku.jp/", "_blank");
}
Symbol 101 MovieClip Frame 1
this.stop();
Symbol 118 MovieClip Frame 1
this.stop();
this.loadingMC._visible = _root.EloadFlg;
_root.keyWaitFlg = false;
Symbol 118 MovieClip Frame 2
_root.keyWaitFlg = true;
Symbol 120 MovieClip Frame 1
this.stop();
Symbol 128 MovieClip Frame 1
this.stop();
Symbol 134 MovieClip Frame 1
this.stop();
Symbol 137 MovieClip Frame 1
this.stop();
Symbol 137 MovieClip Frame 7
this.stop();
this.txt.text = _root.messBuf;
_root.messageFlg = true;
Symbol 137 MovieClip Frame 8
_root.messageFlg = false;
Symbol 139 MovieClip Frame 1
this.stop();
Symbol 155 MovieClip Frame 1
this.stop();
Symbol 164 MovieClip Frame 1
this.stop();
Symbol 173 MovieClip Frame 1
this.stop();
Symbol 179 MovieClip Frame 1
this.stop();
Symbol 184 MovieClip Frame 1
this.stop();
Symbol 188 MovieClip Frame 1
this.stop();
Symbol 192 MovieClip Frame 1
this.stop();
Symbol 196 MovieClip Frame 1
this.stop();
Symbol 200 MovieClip Frame 1
this.stop();
Symbol 204 MovieClip Frame 1
this.stop();
Symbol 207 MovieClip Frame 1
this.stop();
Symbol 211 MovieClip Frame 1
this.stop();
Symbol 215 MovieClip Frame 1
this.stop();
Symbol 219 MovieClip Frame 1
this.stop();
Symbol 222 MovieClip Frame 1
this.stop();
Symbol 227 MovieClip Frame 1
this.stop();
Symbol 231 MovieClip Frame 1
this.stop();
Symbol 234 MovieClip Frame 1
this.stop();
Symbol 238 MovieClip Frame 1
this.stop();
Symbol 242 MovieClip Frame 1
this.stop();
Symbol 245 MovieClip Frame 1
this.stop();
Symbol 248 MovieClip Frame 1
this.stop();
Symbol 251 MovieClip Frame 1
this.stop();
Symbol 256 MovieClip Frame 1
this.stop();
Symbol 259 MovieClip Frame 1
this.stop();
Symbol 282 MovieClip Frame 1
this.stop();
charNo = 10;
Instance of Symbol 281 MovieClip in Symbol 282 MovieClip Frame 1
on (release) {
getURL ("http://www.e-ohkoku.jp", "_blank ");
}
Symbol 282 MovieClip Frame 2
charNo = 11;
Symbol 282 MovieClip Frame 3
charNo = 12;
Symbol 282 MovieClip Frame 4
charNo = 18;
Symbol 282 MovieClip Frame 5
charNo = 20;
Symbol 282 MovieClip Frame 6
charNo = 21;
Symbol 282 MovieClip Frame 7
charNo = 24;
Symbol 282 MovieClip Frame 8
charNo = 27;
Symbol 282 MovieClip Frame 9
charNo = 30;
Symbol 282 MovieClip Frame 10
charNo = 31;
Symbol 282 MovieClip Frame 11
charNo = 33;
Symbol 282 MovieClip Frame 12
charNo = 35;
Symbol 282 MovieClip Frame 13
charNo = 38;
Symbol 282 MovieClip Frame 14
charNo = 40;
Symbol 282 MovieClip Frame 15
charNo = 43;
Symbol 282 MovieClip Frame 16
charNo = 45;
Symbol 282 MovieClip Frame 17
charNo = 47;
Symbol 282 MovieClip Frame 18
charNo = 50;
Symbol 282 MovieClip Frame 19
charNo = 51;
Symbol 282 MovieClip Frame 20
charNo = 54;
Symbol 282 MovieClip Frame 21
charNo = 57;
Symbol 282 MovieClip Frame 22
charNo = 60;
Symbol 282 MovieClip Frame 23
charNo = 70;
Symbol 282 MovieClip Frame 24
charNo = 90;
Symbol 282 MovieClip Frame 25
charNo = 95;
Symbol 303 MovieClip Frame 1
this.stop();
Symbol 316 MovieClip Frame 1
this.stop();
Symbol 340 MovieClip Frame 1
this.stop();
Symbol 345 MovieClip Frame 1
this.stop();
Symbol 347 MovieClip Frame 1
this.stop();
Symbol 370 MovieClip Frame 1
this.stop();
Symbol 451 MovieClip Frame 1
this.stop();
lv = "start";
Symbol 451 MovieClip Frame 2
lv = "parts0";
Symbol 451 MovieClip Frame 3
lv = "parts1";
Symbol 451 MovieClip Frame 4
lv = "parts2";
Symbol 451 MovieClip Frame 5
lv = "parts3";
Symbol 451 MovieClip Frame 6
lv = "parts4";
Symbol 451 MovieClip Frame 7
lv = "parts5";
Symbol 451 MovieClip Frame 8
lv = "parts6";
Symbol 451 MovieClip Frame 9
lv = "parts7";
Symbol 451 MovieClip Frame 10
lv = "parts8";
Symbol 451 MovieClip Frame 11
lv = "parts9";
Symbol 451 MovieClip Frame 12
lv = "parts10";
Symbol 451 MovieClip Frame 13
lv = "volume1";
Symbol 451 MovieClip Frame 14
lv = "volume2";
Symbol 451 MovieClip Frame 15
lv = "volume3";
Symbol 451 MovieClip Frame 16
lv = "volume4";
Symbol 451 MovieClip Frame 17
lv = "iTransition";
Symbol 451 MovieClip Frame 18
lv = "patternSelect";
Symbol 451 MovieClip Frame 19
lv = "patternSet";