shiny-cuty-excel-chiffon/data/configmenu.ks
2024-10-22 11:38:49 -05:00

3252 lines
212 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.


*start
;メニューバーの「画面」を無効化
[eval exp="kag.displayMenu.enabled = false"]
; メニュー呼び出しボタンを非表示にする
[backlay]
[sysbtopt backvisible=false]
;メッセージレイヤの表示状態を記録
[eval exp="tf.messageLayer0visible = kag.fore.messages[0].visible"]
[eval exp="tf.messageLayer1visible = kag.fore.messages[1].visible"]
[eval exp="tf.messageLayer2visible = kag.fore.messages[2].visible"]
[eval exp="tf.messageLayer3visible = kag.fore.messages[3].visible"]
; メッセージレイヤ 0-3 を非表示にする
[layopt layer="message0" page=back visible=false]
[layopt layer="message1" page=back visible=false]
[layopt layer="message2" page=back visible=false]
[layopt layer="message3" page=back visible=false]
[eval exp="global.pio.resetPos()"]
[iscript]
kag.fore.messages[4].type = ltAlpha;
kag.back.messages[4].type = ltAlpha;
[endscript]
[jump target=*start3]
*start2
; メニュー呼び出しボタンを非表示にする
[backlay]
*start3
[iscript]
function putKeyName(l, t, w, h ,str, c=0xffffff){
var fontobj = kag.back.messages[4].font;
var strWidth = fontobj.getTextWidth(str);
var x = l + w\2 - strWidth\2;
var y = t + h\2 - fontobj.height\2;
kag.back.messages[4].drawText(x, y, str, c, 255, true);
}
var volumeLayers = [];
function addVolmeLayer(elm)
{
var object;
object = new VolumeLayer(kag, kag.current, elm);
volumeLayers.add(object);
}
function clearVolumeLayer()
{
for(var i=0; i<volumeLayers.count; i++){
var l = volumeLayers[i];
kag.current.comp.operateRect(l.left, l.top, l, 0, 0, l.width, l.height, omAlpha, 255);
invalidate volumeLayers[i];
}
volumeLayers = [];
}
[endscript]
[eval exp="tf.fadeControl = 250"]
[eval exp="tf.nowPlayingEventMovieFlag = ((f.nowPlayingEventMovie!='')&&(kag.movies[0].lastStatus=='play'))"]
[eval exp="tf.nowMovieMode = sf.effectMovieMode"]
[eval exp="tf.configPage=0" cond="tf.configPage===void"]
[eval exp="tf.nowNoAheFace = sf.アヘ顔表示無し"]
[eval exp="tf.screenMode = sf.screenMode"]
[eval exp="tf.HScreenMode = sf.HScreenMode"]
[eval exp="tf.language = sf.language"]
[eval exp="tf.adjSinglePlayMode = sf.adjSinglePlayMode"]
[eval exp="tf.selectCharacter = sf.selectCharacter"]
[eval exp="f.enableWheel = 0"]
[eval exp="tf.noSe=1"]
[eval exp="gpp.mode = 1"]
*menu
[eval exp="kag.conductor.debugLevel = tkdlNone"]
[playse buf=9 storage="sys_decide" cond="tf.noSe==0"]
[eval exp="tf.noSe=0"]
*menu2
[eval exp="clearVolumeLayer()"]
[eval exp="global.pio.enabled=false"]
[jump target=*pagemake0 cond="tf.configPage==0"]
[jump target=*pagemake1 cond="tf.configPage==1"]
[jump target=*pagemake2 cond="tf.configPage==2"]
[jump target=*pagemake3 cond="tf.configPage==3"]
[jump target=*pagemake1-2 cond="tf.configPage==4"]
*menu3
; 右クリックで閉じるように
[rclick jump=true storage="" target="*exit" enabled=true]
[trans method=crossfade time=&((tf.fadeControl==0)?100:tf.fadeControl)]
[wt canskip=false]
[eval exp="tf.fadeControl = 0"]
[eval exp="global.pio.enabled=true"]
[eval exp="global.pio.setPosAtCursorPos()" cond="pio.layer.x==-1 || pio.layer.y!=-1"]
[waittrig name="rightClick" canskip=false]
[eval exp="global.pio.enabled=false"]
[jump target=*to_page1 cond="tf.configPage==4"]
*exit
[er]
[eval exp="kag.conductor.debugLevel = tkdlVerbose"]
[eval exp="global.pio.enabled=false"]
[eval exp="gpp.mode = 0"]
[freeimage page=back layer=3]
; メッセージレイヤ 4 を非表示に
[position layer="message4" page=back left=0 top=0 width=1366 height=768 color=0x000000 opacity=0 frame=""]
[layopt layer="message4" page=back visible=false opacity=255]
; メニュー呼び出しボタンを復帰
[sysbtopt backvisible=true cond="f.titleflg==0"]
[eval exp="systembutton_object.backButtons[6].visible=false" cond="f.選択肢表示中==true"]
;絶頂までのカウント表示
[if exp="f.inHScene==1"]
[if exp="sf.showExtasyCount==1"]
[eval exp="kag.foreExtasyCountLayer.show()"]
[eval exp="kag.backExtasyCountLayer.show()"]
[else]
[eval exp="kag.foreExtasyCountLayer.hide()"]
[eval exp="kag.backExtasyCountLayer.hide()"]
[endif]
[endif]
;イベントCGセットし直し
[if exp="f.nowShowingCg != '' && f.nowShowingCg2 == ''"]
[CgSet storage=&(f.nowShowingCg)]
[endif]
[if exp="f.nowShowingCg2 != ''"]
[if exp="sf.showCgInAnimeHScene"]
[eval exp="tf.storage = f.nowShowingCg2"]
[CgSet storage=&f.nowShowingCg2 layer=1]
[eval exp="f.nowShowingCg2 = tf.storage"]
[else]
[freeimage page=back layer=1]
[endif]
[endif]
[iscript]
clearVolumeLayer();
volumeLayers = void;
// 移動キー設定
if(sf.keyMoveCursor){
sf.keyUp[0] = [VK_UP];
sf.keyRight[0] = [VK_RIGHT];
sf.keyDown[0] = [VK_DOWN];
sf.keyLeft[0] = [VK_LEFT];
sf.keyUpRight[0] = [];
sf.keyDownRight[0] = [];
sf.keyDownLeft[0] = [];
sf.keyUpLeft[0] = [];
}
if(sf.keyMoveNumPad){
sf.keyUp[0] = [VK_NUMPAD8];
sf.keyRight[0] = [VK_NUMPAD6];
sf.keyDown[0] = [VK_NUMPAD2];
sf.keyLeft[0] = [VK_NUMPAD4];
sf.keyUpRight[0] = [VK_NUMPAD9];
sf.keyDownRight[0] = [VK_NUMPAD3];
sf.keyDownLeft[0] = [VK_NUMPAD1];
sf.keyUpLeft[0] = [VK_NUMPAD7];
}
if(sf.keyMoveWASD){
sf.keyUp[0] = [VK_W];
sf.keyRight[0] = [VK_D];
sf.keyDown[0] = [VK_S];
sf.keyLeft[0] = [VK_A];
sf.keyUpRight[0] = [];
sf.keyDownRight[0] = [];
sf.keyDownLeft[0] = [];
sf.keyUpLeft[0] = [];
}
// 入力関係設定
inputSetting();
[endscript]
; 解像度変更
[if exp="tf.screenMode!=sf.screenMode"]
[if exp="typeof(global.bao)!='undefined'"]
[eval exp="tf.noRestoreFlag=bao.noRestoreFlag"]
[eval exp="bao.noRestoreFlag = false"]
[eval exp="bao.changeMode(sf.screenMode)"]
[eval exp="bao.noRestoreFlag = true" cond="tf.noRestoreFlag"]
[endif]
[endif]
[if exp="tf.HScreenMode!=sf.HScreenMode"]
[eval exp="dho.changeMode(sf.HScreenMode) " cond="typeof(global.dho)!='undefined' && isvalid global.dho"]
[endif]
; プレイヤーキャラが変更された
[if exp="bao.enabled && f.stage != 5 && (tf.adjSinglePlayMode != sf.adjSinglePlayMode || tf.selectCharacter != sf.selectCharacter)"]
[iscript]
for(var i=0; i<bao.informLayer.playerInformLayers.count; i++){
var l = bao.informLayer.playerInformLayers[i];
if(sf.adjSinglePlayMode){
l.align = 0;
}else{
l.align = bao.players[i].chara;
}
}
bao.informLayer.init();
[endscript]
[endif]
; メッセージレイヤ 0-3 を復帰
[layopt layer="message0" page=back visible=true cond="tf.messageLayer0visible==true"]
[layopt layer="message1" page=back visible=true cond="tf.messageLayer1visible==true"]
[layopt layer="message2" page=back visible=true cond="tf.messageLayer2visible==true"]
[layopt layer="message3" page=back visible=true cond="tf.messageLayer3visible==true"]
[trans method=crossfade time=200 cond="f.titleflg==0"]
[wt canskip=false cond="f.titleflg==0"]
[current layer="message1"]
[eval exp="f.enableWheel = 1"]
[rclick jump=false]
;設定内容の保存
[eval exp="kag.saveSystemVariables()"]
;メニューバーの「画面」を有効化
[eval exp="kag.displayMenu.enabled = true"]
[iscript]
if(System.getKeyState(VK_D) && System.getKeyState(VK_B)){
tf.debugMode = !tf.debugMode;
kag.debugMenu.visible = tf.debugMode;
}
if(tf.language != sf.language){
if(typeof(kag.langMenu)!='undefined'){
switch(sf.language){
case En:
kag.langEngMenuItem.checked = true;
break;
default:
kag.langJpnMenuItem.checked = true;
break;
}
}
if(fontList!==void && typeof(fontList)=='Object'){
kag.chDefaultFace = fontList[sf.language];
kag.setMessageLayerUserFont();
}
switchLanguage();
setLanguage();
}
if(tf.configPage==4) tf.configPage = 1;
[endscript]
[return]
*pagemake0
; メッセージレイヤ 4 を使う
[image page=back layer=3 storage="config_bg0" visible=true opacity=255]
[position layer="message4" page=back left=0 top=0 width=1366 height=768 margint=0 marginl=0 opacity=0 frame=""]
[layopt layer="message4" page=back visible=true opacity=255]
[current layer="message4" page=back]
[er]
[nowait]
[DisableClick]
[eval exp="tf.buttonMatrix = []"]
;フルスクリーン
[if exp="!kag.fullScreened"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=179]
[if exp="kag.smallMode"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=298 dy=205]
[endif]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=483 dy=179]
[if exp="kag.smallMode"]
[pimage storage="config_item_smallscreen_unable1" layer=3 page=back dx=298 dy=205]
[else]
[pimage storage="config_item_smallscreen_unable2" layer=3 page=back dx=298 dy=205]
[endif]
[endif]
[eval exp="tf.w=[138,106,64,104]"][locate x=303 y=175][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_fullscreen1]
[eval exp="tf.w=[172,114,83,104]"][locate x=483 y=175][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_fullscreen2]
[eval exp="tf.buttonMatrix.add(2)"]
[eval exp="tf.w=[138,155,64,104]"][locate x=303 y=205][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_smallscreen]
[eval exp="tf.buttonMatrix.add(1)"]
;難易度
[if exp="f.titleflg"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+100*sf.difficulty) dy=273]
[locate x=303 y=270][button rightclick=*exit width=90 height=22 target=*item_difficulty1]
[locate x=403 y=270][button rightclick=*exit width=70 height=22 target=*item_difficulty2]
[locate x=503 y=270][button rightclick=*exit width=90 height=22 target=*item_difficulty3]
[locate x=603 y=270][button rightclick=*exit width=80 height=22 target=*item_difficulty4]
[locate x=703 y=270][button rightclick=*exit width=90 height=22 target=*item_difficulty5]
[locate x=803 y=270][button rightclick=*exit width=100 height=22 target=*item_difficulty6]
[eval exp="tf.buttonMatrix.add(6)"]
[else]
[pimage storage="config_opt_radiobutton_unabled" layer=3 page=back dx=&(303+100*f.difficulty) dy=273]
[endif]
;スキップ設定
[if exp="sf.skipOnlyAlreadyRead == 1"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=337]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=543 dy=337]
[endif]
[eval exp="tf.w=[210,248,210,115]"][locate x=303 y=334][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_messageskip1]
[eval exp="tf.w=[110,176,150,104]"][locate x=563 y=334][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_messageskip2]
[eval exp="tf.buttonMatrix.add(2)"]
;解像度
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(203+100*sf.screenMode) dy=401]
[locate x=303 y=398][button rightclick=*exit width=70 height=22 target=*item_resolution1]
[locate x=403 y=398][button rightclick=*exit width=90 height=22 target=*item_resolution2]
[locate x=503 y=398][button rightclick=*exit width=110 height=22 target=*item_resolution3]
;[eval exp="tf.buttonMatrix.add(3)"]
;Hシーン解像度
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(613+100*sf.HScreenMode) dy=401]
[locate x=713 y=398][button rightclick=*exit width=70 height=22 target=*item_hresolution1]
[locate x=813 y=398][button rightclick=*exit width=90 height=22 target=*item_hresolution2]
[locate x=913 y=398][button rightclick=*exit width=110 height=22 target=*item_hresolution3]
[eval exp="tf.buttonMatrix.add(6)"]
;敗北時Hシーン
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+140*sf.HSceneMode) dy=465]
[eval exp="tf.w=[ 60, 90, 48, 48]"][locate x=303 y=462][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_hscenemode1]
[if exp="sf.HSceneMode==0"]
[eval exp="tf.w=[ 188,188,188,188]"][locate x=370 y=459][button rightclick=*exit width=&"tf.w[sf.language]" height=23 target=*item_hscenemode2]
[pimage storage="config_item_hscene" layer=3 page=back dx=370 dy=459]
[if exp="sf.showCgInAnimeHScene==1"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=365 dy=460]
[endif]
[eval exp="tf.buttonMatrix.add(3)"]
[else]
[pimage storage="config_item_hscene2" layer=3 page=back dx=370 dy=459]
[if exp="sf.showCgInAnimeHScene==1"]
[pimage storage="config_opt_checkbutton_unabled" layer=3 page=back dx=365 dy=460]
[endif]
[eval exp="tf.buttonMatrix.add(2)"]
[endif]
[eval exp="tf.w=[ 60, 90, 48, 48]"][locate x=583 y=462][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_hscenemode3]
;;言語
;[if exp="sf.language == Ja"]
; [pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=553]
;[else]
; [pimage storage="config_opt_radiobutton" layer=3 page=back dx=563 dy=553]
;[endif]
;[eval exp="tf.w=[ 96,102]"][locate x=303 y=550][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_language1]
;[eval exp="tf.w=[100,102]"][locate x=563 y=550][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_language2]
[if exp="sf.adjEnableChangeAICleverness"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+100*sf.adjAICleverness) dy=529]
[locate x=303 y=526][button rightclick=*exit width=70 height=22 target=*item_AICleverness1]
[locate x=403 y=526][button rightclick=*exit width=90 height=22 target=*item_AICleverness2]
[locate x=503 y=526][button rightclick=*exit width=70 height=22 target=*item_AICleverness3]
[locate x=603 y=526][button rightclick=*exit width=90 height=22 target=*item_AICleverness4]
[locate x=703 y=526][button rightclick=*exit width=70 height=22 target=*item_AICleverness5]
[eval exp="tf.buttonMatrix.add(5)"]
[else]
[eval exp="kag.back.layers[3].fillRect(270, 496, 540, 55, 0xFC005843)"]
[endif]
[if exp="sf.adjButtonStateSinglePlayMode.bought"]
;[if exp="!f.titleflg && sf.adjSinglePlayMode"]
; [locate x=258 y=641][button2 text='プレイキャラクター選択' color=0xffffff onxoffset=2 onyoffset=2 clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_button1 target=*toCharacterSelect]
; [eval exp="tf.buttonMatrix.add(1)"]
[locate x=264 y=630][button rightclick=*exit graphic=&"(!sf.adjSinglePlayMode)?'config_playerselect_futari2':'config_playerselect_futari1'" target=*toFutariPlayMode]
[locate x=512 y=630][button rightclick=*exit graphic=&"(sf.adjSinglePlayMode && sf.selectCharacter==chrChiffon)?'config_playerselect_chiffon2':'config_playerselect_chiffon1'" target=*toCharacterChiffon]
[locate x=702 y=630][button rightclick=*exit graphic=&"(sf.adjSinglePlayMode && sf.selectCharacter==chrChocolat)?'config_playerselect_chocolat2':'config_playerselect_chocolat1'" target=*toCharacterChocolat]
[eval exp="tf.buttonMatrix.add(3)"]
[endif]
;デフォルトに戻す
[locate x=926 y=644][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_item_default target=*to_default0]
[eval exp="tf.buttonMatrix.add(1)"]
;OKボタン
[locate x=926 y=684][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_ok target=*exit]
[eval exp="tf.buttonMatrix.add(1)"]
;タブ部分
[locate x=505 y=92][button rightclick=*exit width=130 height=32 target=*to_page0]
[locate x=660 y=92][button rightclick=*exit width=130 height=32 target=*to_page1]
[locate x=815 y=92][button rightclick=*exit width=130 height=32 target=*to_page2]
[locate x=970 y=92][button rightclick=*exit width=130 height=32 target=*to_page3]
[eval exp="tf.buttonMatrix.add(4)"]
[iscript]
// if(f.titleflg){
// if(sf.adjEnableChangeAICleverness){
// pio.set(kag.back.messages[4], 28, 26);
// pio.setMatrix([2,1,5,2,3,3,2,5,1,1,4]);
// }else{
// pio.set(kag.back.messages[4], 23, 21);
// pio.setMatrix([2,1,5,2,3,3,2,1,1,4]);
// }
// }else{
// if(sf.adjEnableChangeAICleverness){
// pio.set(kag.back.messages[4], 25, 23);
// pio.setMatrix([2,1,2,3,3,2,5,1,1,4]);
// }else{
// pio.set(kag.back.messages[4], 20, 18);
// pio.setMatrix([2,1,2,3,3,2,1,1,4]);
// }
// }
var n = matrixSum(tf.buttonMatrix);
pio.set(kag.back.messages[4], n-1, n-3);
pio.setMatrix(tf.buttonMatrix);
[endscript]
[endnowait]
[EnableClick]
[jump target=*menu3]
*pagemake1
; メッセージレイヤ 4 を使う
[image page=back layer=3 storage="config_bg1" visible=true opacity=255]
[position layer="message4" page=back left=0 top=0 width=1366 height=768 color=0x000000 margint=0 marginl=0 opacity=0 frame=""]
[layopt layer="message4" page=back visible=true opacity=255]
[current layer="message4" page=back]
[er]
[nowait]
[DisableClick]
[iscript]
kag.fore.messages[4].font.face = fontListP[1];
kag.back.messages[4].font.face = fontListP[1];
kag.fore.messages[4].font.height = 22;
kag.back.messages[4].font.height = 22;
tf.h = kag.fore.messages[4].font.getTextHeight("Button") \ 2;
tf.oy = [-10, -2, -10, -6];
putKeyName(422, 180+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keyJump[0][0]));
putKeyName(572, 180+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keyAttack[0][0]));
putKeyName(722, 180+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keySpecial[0][0]));
putKeyName(872, 180+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keyEscAttack[0][0]));
putKeyName(422, 244+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keyOk[0][0]));
putKeyName(572, 244+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keyCancel[0][0]));
putKeyName(722, 244+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keySwitch[0][0]));
putKeyName(872, 244+16-tf.h, 138, 38+tf.oy[sf.language], keyCodeToKeyName(sf.keyBC[0][0]));
tf.mi = ["未設定","Unconfigured","沒有設定","没有设定"];
putKeyName(422, 363+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyJump[0][1]!==void)?"Button"+(sf.keyJump[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(572, 363+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyAttack[0][1]!==void)?"Button"+(sf.keyAttack[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(722, 363+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keySpecial[0][1]!==void)?"Button"+(sf.keySpecial[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(872, 363+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyEscAttack[0][1]!==void)?"Button"+(sf.keyEscAttack[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(422, 427+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyOk[0][1]!==void)?"Button"+(sf.keyOk[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(572, 427+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyCancel[0][1]!==void)?"Button"+(sf.keyCancel[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(722, 427+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyPrev[0][1]!==void)?"Button"+(sf.keyPrev[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(872, 427+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyNext[0][1]!==void)?"Button"+(sf.keyNext[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(422, 491+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyPause[0][1]!==void)?"Button"+(sf.keyPause[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(572, 491+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keySwitch[0][1]!==void)?"Button"+(sf.keySwitch[0][1]-0x1BF):tf.mi[sf.language]);
putKeyName(722, 491+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyBC[0][1]!==void)?"Button"+(sf.keyBC[0][1]-0x1BF):tf.mi[sf.language]);
[endscript]
[locate x=421 y=184][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_jump]
[locate x=571 y=184][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_attack]
[locate x=721 y=184][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_special]
[locate x=871 y=184][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_escattack]
[locate x=421 y=248][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_ok]
[locate x=571 y=248][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_cancel]
[locate x=721 y=248][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_switch]
;[locate x=871 y=248][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_leaveit]
[locate x=871 y=248][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_key_BC]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=400 dy=291 cond="sf.keyMoveCursor"]
[locate x=396 y=288][button rightclick=*exit width=140 height=22 target=*item_keyMoveCursor]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=550 dy=291 cond="sf.keyMoveNumPad"]
[locate x=546 y=288][button rightclick=*exit width=104 height=22 target=*item_keyMoveNumPad]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=700 dy=291 cond="sf.keyMoveWASD"]
[locate x=696 y=288][button rightclick=*exit width=120 height=22 target=*item_keyMoveWASD]
[locate x=421 y=367][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_jump]
[locate x=571 y=367][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_attack]
[locate x=721 y=367][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_special]
[locate x=871 y=367][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_escattack]
[locate x=421 y=431][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_ok]
[locate x=571 y=431][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_cancel]
[locate x=721 y=431][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_prev]
[locate x=871 y=431][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_next]
[locate x=421 y=495][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_pause]
[locate x=571 y=495][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_switch]
;[locate x=721 y=495][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_padleaveit]
[locate x=721 y=495][button rightclick=*exit clickse=sys_decide width=140 height=30 target=*item_pad_BC]
;右クリック
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+260*sf.whenRightClick) dy=578]
[eval exp="tf.w=[210,230]"][locate x=303 y=574][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_rightClick1]
[eval exp="tf.w=[180,176]"][locate x=563 y=574][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_rightClick2]
;マウスホイール
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+260*sf.whenWheelUp) dy=642]
[eval exp="tf.w=[210,210]"][locate x=303 y=638][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_mouseWheel1]
[eval exp="tf.w=[180,210]"][locate x=563 y=638][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_mouseWheel2]
;詳細設定
[locate x=926 y=604][button rightclick=*exit graphic=config_item_advancedSetting target=*to_page1-2]
;デフォルトに戻す
[locate x=926 y=644][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_item_default target=*to_default1]
;OKボタン
[locate x=926 y=684][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_ok target=*exit]
;タブ部分
[locate x=505 y=92][button rightclick=*exit width=130 height=32 target=*to_page0]
[locate x=660 y=92][button rightclick=*exit width=130 height=32 target=*to_page1]
[locate x=815 y=92][button rightclick=*exit width=130 height=32 target=*to_page2]
[locate x=970 y=92][button rightclick=*exit width=130 height=32 target=*to_page3]
[iscript]
pio.set(kag.back.messages[4], 29, 31);
pio.setMatrix([4,4,3,4,4,3,2,2,1,1,1,4]);
[endscript]
[endnowait]
[EnableClick]
[jump target=*menu3]
*pagemake1-2
; メッセージレイヤ 4 を使う
[image page=back layer=3 storage="config_bg1-2" visible=true opacity=255]
[position layer="message4" page=back left=0 top=0 width=1366 height=768 color=0x000000 margint=0 marginl=0 opacity=0 frame=""]
[layopt layer="message4" page=back visible=true opacity=255]
[current layer="message4" page=back]
[er]
[nowait]
[DisableClick]
[iscript]
tf.buttonMatrix = [];
tf.pad2enabled = (gpp.padInputs.count>1 && !sf.inputForBothCharacter && sf.pad1InputForChara1);
tf.c = (tf.pad2enabled)? 0xffffff: 0x444444;
kag.fore.messages[4].font.face = fontListP[1];
kag.back.messages[4].font.face = fontListP[1];
kag.fore.messages[4].font.height = 22;
kag.back.messages[4].font.height = 22;
tf.h = kag.fore.messages[4].font.getTextHeight("Button") \ 2;
tf.oy = [-10, -2, -10, -6];
tf.mi = ["未設定","Unconfigured","沒有設定","没有设定"];
putKeyName(422, 284+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyJump[1][0]!==void)?"Button"+(sf.keyJump[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(572, 284+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyAttack[1][0]!==void)?"Button"+(sf.keyAttack[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(722, 284+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keySpecial[1][0]!==void)?"Button"+(sf.keySpecial[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(872, 284+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyEscAttack[1][0]!==void)?"Button"+(sf.keyEscAttack[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(422, 348+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyOk[1][0]!==void)?"Button"+(sf.keyOk[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(572, 348+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyCancel[1][0]!==void)?"Button"+(sf.keyCancel[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(722, 348+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyPrev[1][0]!==void)?"Button"+(sf.keyPrev[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(872, 348+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyNext[1][0]!==void)?"Button"+(sf.keyNext[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(422, 412+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyPause[1][0]!==void)?"Button"+(sf.keyPause[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(572, 412+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keySwitch[1][0]!==void)?"Button"+(sf.keySwitch[1][0]-0x11BF):tf.mi[sf.language], tf.c);
putKeyName(722, 412+16-tf.h, 138, 38+tf.oy[sf.language], (sf.keyBC[1][0]!==void)?"Button"+(sf.keyBC[1][0]-0x11BF):tf.mi[sf.language], tf.c);
[endscript]
; キーボード・パッドの入力で2Pキャラも同時に操作する
[eval exp="tf.w=[410,410,410,410]"][locate x=300 y=180][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*item_inputForBothCharacter]
[eval exp="tf.buttonMatrix.add(1)"]
[if exp="sf.inputForBothCharacter"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=180]
; パッド1を1Pキャラの操作に使用する → 無効
[pimage storage="config_item_pad1ForChara1b" layer=3 page=back dx=303 dy=209]
[pimage storage="config_item_pad1ForChara2b" layer=3 page=back dx=563 dy=209]
[eval exp="sf.pad1InputForChara1=true"]
[else]
; パッド1を1Pキャラの操作に使用する
[if exp="gpp.padInputs.count>0"]
[if exp="sf.pad1InputForChara1"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=213]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=563 dy=213]
[endif]
[eval exp="tf.w=[250,250,250,250]"][locate x=303 y=209][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*pad1InputForChara1]
[eval exp="tf.w=[250,250,250,250]"][locate x=563 y=209][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*pad1InputForChara2]
[eval exp="tf.buttonMatrix.add(2)"]
[else]
; パッド1を1Pキャラの操作に使用する → 無効
[pimage storage="config_item_pad1ForChara1b" layer=3 page=back dx=303 dy=209]
[pimage storage="config_item_pad1ForChara2b" layer=3 page=back dx=563 dy=209]
[endif]
[endif]
; パッド2
[if exp="tf.pad2enabled"]
[locate x=421 y=288][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_jump2]
[locate x=571 y=288][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_attack2]
[locate x=721 y=288][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_special2]
[locate x=871 y=288][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_escattack2]
[eval exp="tf.buttonMatrix.add(4)"]
[locate x=421 y=352][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_ok2]
[locate x=571 y=352][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_cancel2]
[locate x=721 y=352][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_prev2]
[locate x=871 y=352][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_next2]
[eval exp="tf.buttonMatrix.add(4)"]
[locate x=421 y=416][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_pause2]
[locate x=571 y=416][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_switch2]
; [locate x=721 y=416][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_padleaveit2]
[locate x=721 y=416][button rightclick=*to_page1 clickse=sys_decide width=140 height=30 target=*item_pad_BC2]
[eval exp="tf.buttonMatrix.add(3)"]
[endif]
; 2P側AI操作とショコラが単独行動時
[if exp="(gpp.padInputs.count==0 && !sf.inputForBothCharacter)||(gpp.padInputs.count==1 && !sf.inputForBothCharacter && sf.pad1InputForChara1)"]
; 無効の時
[pimage storage="config_item_enabled" layer=3 page=back dx=303 dy=495]
[pimage storage="config_item_disabled" layer=3 page=back dx=563 dy=495]
[eval exp="sf.AIForChara2Enabled=true"]
[pimage storage="config_item_chocolat1" layer=3 page=back dx=303 dy=559]
[pimage storage="config_item_chocolat2" layer=3 page=back dx=563 dy=559]
[eval exp="sf.inputAtChocolatOnly=0"]
[else]
[eval exp="tf.w=[70,70,70,70]"][locate x=303 y=495][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*AIForChara2Enabled1]
[eval exp="tf.w=[70,70,70,70]"][locate x=563 y=495][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*AIForChara2Enabled2]
[eval exp="tf.buttonMatrix.add(2)"]
[if exp="sf.AIForChara2Enabled"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=499]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=563 dy=499]
[endif]
[if exp="!sf.inputForBothCharacter"]
[eval exp="tf.w=[200,200,200,200]"][locate x=303 y=559][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*inputAtChocolatOnly1]
[eval exp="tf.w=[200,200,200,200]"][locate x=563 y=559][button rightclick=*to_page1 width=&"tf.w[sf.language]" height=22 target=*inputAtChocolatOnly2]
[eval exp="tf.buttonMatrix.add(2)"]
[if exp="!sf.inputAtChocolatOnly"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=563]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=563 dy=563]
[endif]
[else]
[pimage storage="config_item_chocolat1" layer=3 page=back dx=303 dy=559]
[pimage storage="config_item_chocolat2" layer=3 page=back dx=563 dy=559]
[eval exp="sf.inputAtChocolatOnly=0"]
[endif]
[endif]
;デフォルトに戻す
[locate x=926 y=644][button clickse=sys_decide clicksebuf=9 rightclick=*to_page1 graphic=config_item_default target=*to_default1-2]
[eval exp="tf.buttonMatrix.add(1)"]
;OKボタン
[locate x=926 y=684][button clickse=sys_decide clicksebuf=9 rightclick=*to_page1 graphic=config_ok target=*to_page1]
[eval exp="tf.buttonMatrix.add(1)"]
[iscript]
{
kag.back.messages[4].font.height = 18;
var str = "パッド接続数:" + gpp.padInputs.count;
kag.back.messages[4].drawText(290, 682, str, 0xffffff, 255, true);
}
[endscript]
[iscript]
pio.set(kag.back.messages[4], void, void);
pio.setMatrix(tf.buttonMatrix);
[endscript]
[endnowait]
[EnableClick]
[jump target=*menu3]
*pagemake2
; メッセージレイヤ 4 を使う
[image page=back layer=3 storage="config_bg2" visible=true opacity=255]
[position layer="message4" page=back left=0 top=0 width=1366 height=768 margint=0 marginl=0 opacity=0 frame=""]
[layopt layer="message4" page=back visible=true opacity=255]
[current layer="message4" page=back]
[er]
[nowait]
[DisableClick]
;メッセージ速度
[if exp="kag.userChSpeed == kag.chSpeeds['slow']"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=179]
[elsif exp="kag.userChSpeed == kag.chSpeeds['normal']"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=388 dy=179]
[elsif exp="kag.userChSpeed == kag.chSpeeds['fast']"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=473 dy=179]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=558 dy=179]
[endif]
[eval exp="tf.w=[ 64, 60, 62, 46]"][locate x=303 y=175][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_speed1]
[eval exp="tf.w=[ 64, 78, 62, 64]"][locate x=388 y=175][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_speed2]
[eval exp="tf.w=[ 64, 60, 62, 46]"][locate x=473 y=175][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_speed3]
[eval exp="tf.w=[ 96, 88, 88, 64]"][locate x=558 y=175][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_speed4]
;オートプレイの待ち時間
[if exp="kag.autoModeLineWait == kag.autoModeLineWaits.slow"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=303 dy=243]
[elsif exp="kag.autoModeLineWait == kag.autoModeLineWaits.slower"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=383 dy=243]
[elsif exp="kag.autoModeLineWait == kag.autoModeLineWaits.medium"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=463 dy=243]
[elsif exp="kag.autoModeLineWait == kag.autoModeLineWaits.faster"]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=543 dy=243]
[else]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=623 dy=243]
[endif]
[eval exp="tf.w=[ 62, 72, 58, 46]"][locate x=303 y=239][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_waittime1]
[eval exp="tf.w=[ 72, 72, 62, 64]"][locate x=383 y=239][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_waittime2]
[eval exp="tf.w=[ 62, 72, 60, 54]"][locate x=463 y=239][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_waittime3]
[eval exp="tf.w=[ 72, 72, 62, 60]"][locate x=543 y=239][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_waittime4]
[eval exp="tf.w=[ 60, 72, 58, 46]"][locate x=623 y=239][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_waittime5]
;文字のアンチエイリアス
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=304 cond="kag.chDefaultAntialiased == true"]
[eval exp="tf.w=[114,114, 77, 77]"][locate x=303 y=305][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_antialias]
;文字飾り(影)
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=422 dy=304 cond="kag.chrShadow == true"]
[eval exp="tf.w=[114,114,114,114]"][locate x=425 y=305][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_mojikazari_kage]
;文字飾り(袋)
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=544 dy=304 cond="kag.chrEdge == true"]
[eval exp="tf.w=[114,114,114,114]"][locate x=547 y=305][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_mojikazari_fukuro]
;メッセージウィンドウ濃度
[locate x=717 y=307][button graphic=config_item_down target=*item_messageWindowOpacity1 rightclick=*exit cond="sf.messageWindowOpacity > 0"]
[locate x=925 y=307][button graphic=config_item_up target=*item_messageWindowOpacity2 rightclick=*exit cond="sf.messageWindowOpacity< 255"]
[eval exp="kag.back.messages[4].fillRect(753,307,168,22,sf.messageWindowOpacity*0x1000000)"]
[eval exp="tf.w=[764,766,770,768]"][eval exp="tf.y=[295,297,294,296]"][locate x=&"tf.w[sf.language]" y=&"tf.y[sf.language]"][font size=19 color=0xffffff][history output=false]
[if exp="sf.language==Cn||sf.language==Tw"]
ABCDEFGHIJKL
[else]
ABCDEFGHIJKLM
[endif]
[history output=true][defstyle]
;既読メッセージの色を変える
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=333 cond="kag.changeColorAlreadyReadText == 1"]
[eval exp="tf.w=[250,260,198,198]"][locate x=303 y=334][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_kidoku]
;メッセージウィンドウの自動移動
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=631 dy=333 cond="sf.windowAutoMove == 1"]
[eval exp="tf.w=[270,280,168,154]"][locate x=631 y=334][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_messagewindow]
;次のメッセージはボイス付きであることを知らせるか
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=362 cond="sf.showVoiceIndicator == 1"]
[eval exp="tf.w=[320,298,222,225]"][locate x=303 y=363][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_nextIndicator]
;絶頂カウント表示
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=631 dy=362 cond="sf.showExtasyCount == 1"]
[eval exp="tf.w=[250,240,142,162]"][locate x=631 y=363][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_extasyCount]
;画面効果(フェード)
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=431 cond="sf.effectFade == 1"]
[eval exp="tf.w=[ 88, 68, 66, 64]"][locate x=303 y=432][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_effect_fade]
;画面効果(揺れ)
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=396 dy=431 cond="sf.effectQuake == 1"]
[eval exp="tf.w=[ 88, 92, 88, 88]"][locate x=399 y=432][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_effect_quake]
;画面効果(フラッシュ)
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=492 dy=431 cond="sf.effectFlash == 1"]
[eval exp="tf.w=[ 88, 78, 68, 68]"][locate x=495 y=432][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_effect_flash]
;画面効果(アニメ・ムービー)
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=588 dy=431 cond="sf.effectAnime == 1"]
[eval exp="tf.w=[ 88, 76, 60, 60]"][locate x=591 y=432][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_effect_anime]
;画面効果(ムービー)
;[pimage storage="config_opt_checkbutton" layer=3 page=back dx=436 dy=355 cond="sf.effectMovieMode == 1"]
;表情ウィンドウ有無
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+136*sf.faceMode) dy=506]
[eval exp="tf.w=[128,128, 88, 90]"][locate x=303 y=502][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_face1]
[eval exp="tf.w=[128,128,128,132]"][locate x=439 y=502][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_face2]
[eval exp="tf.w=[128,118,118,132]"][locate x=575 y=502][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_face3]
[eval exp="tf.w=[146,118,102, 74]"][locate x=711 y=502][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_face4]
[pimage storage="config_opt_radiobutton" layer=3 page=back dx=&(303+156*sf.faceModeChar) dy=532]
[eval exp="tf.w=[132,142, 92, 94]"][locate x=303 y=528][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_face5]
[eval exp="tf.w=[148,148,148,108]"][locate x=459 y=528][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_face6]
;ポーズ画面
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=567 cond="sf.pauseScreenMode==1"]
[eval exp="tf.w=[264,282,212,180]"][locate x=303 y=568][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_pauseScreenMode]
;操作キャラインジケータ
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=596 cond="sf.showSelectIndicator==2"]
[locate x=303 y=597][button rightclick=*exit width=300 height=22 target=*item_selectIndicator]
;アクションシーンカットイン
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=625 cond="sf.actionSceneCutin==0"]
[eval exp="tf.w=[310,280,214,216]"][locate x=303 y=626][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_actionSceneCutin]
[if exp="sf.actionSceneCutin==1"]
[pimage storage="config_item_cutin" layer=3 page=back dx=635 dy=625]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=631 dy=625 cond="sf.sameCutinDisable"]
[eval exp="tf.w=[262,322,262,262]"][locate x=635 y=625][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_actionSceneCutin2]
[else]
[pimage storage="config_item_cutin2" layer=3 page=back dx=635 dy=625]
[endif]
;アヘ顔表示無し
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=300 dy=654 cond="sf.アヘ顔表示無し==1"]
[eval exp="tf.w=[180,196,130,130]"][locate x=303 y=655][button rightclick=*exit width=&"tf.w[sf.language]" height=22 target=*item_aheFace]
;デフォルトに戻す
[locate x=926 y=644][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_item_default target=*to_default2]
;OKボタン
[locate x=926 y=684][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_ok target=*exit]
;タブ部分
[locate x=505 y=92][button rightclick=*exit width=130 height=32 target=*to_page0]
[locate x=660 y=92][button rightclick=*exit width=130 height=32 target=*to_page1]
[locate x=815 y=92][button rightclick=*exit width=130 height=32 target=*to_page2]
[locate x=970 y=92][button rightclick=*exit width=130 height=32 target=*to_page3]
[iscript]
if(sf.actionSceneCutin){
pio.set(kag.back.messages[4], 36, 38);
pio.setMatrix([4,5,5,2,2,4,4,2,1,1,2,1,1,1,4]);
}else{
pio.set(kag.back.messages[4], 35, 37);
pio.setMatrix([4,5,5,2,2,4,4,2,1,1,1,1,1,1,4]);
}
[endscript]
[endnowait]
[EnableClick]
[jump target=*menu3]
*pagemake3
; メッセージレイヤ 4 を使う
[image page=back layer=3 storage="config_bg3" visible=true opacity=255]
[position layer="message4" page=back left=0 top=0 width=1366 height=768 color=0x000000 margint=0 marginl=0 opacity=0 frame=""]
[layopt layer="message4" page=back visible=true opacity=255]
[current layer="message4" page=back]
[er]
[nowait]
[DisableClick]
;マスター音量
[locate x=488 y=178][button graphic=config_item_mute1 target=*item_master_mute1 rightclick=*exit cond="sf.masterMute != 1"]
[locate x=488 y=178][button graphic=config_item_mute2 target=*item_master_mute2 rightclick=*exit cond="sf.masterMute == 1"]
[locate x=540 y=178]
[button graphic=config_item_down target=*item_masterVolume1 rightclick=*exit cond="sf.masterVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.masterVolume == 0"]
[locate x=742 y=178]
[button graphic=config_item_up target=*item_masterVolume2 rightclick=*exit cond="sf.masterVolume< 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.masterVolume==20"]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.masterVolume],sf.masterMute,0))" layer=3 page=back dx=578 dy=177]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>177, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.masterVolume', 'volume'=>sf.masterVolume, 'mute'=>sf.masterMute, 'target'=>'*call_setVolume'])"]
;BGM音量
[locate x=488 y=202][button graphic=config_item_mute1 target=*item_bgm_mute1 rightclick=*exit cond="sf.bgmMute != 1"]
[locate x=488 y=202][button graphic=config_item_mute2 target=*item_bgm_mute2 rightclick=*exit cond="sf.bgmMute == 1"]
[locate x=540 y=202]
[button graphic=config_item_down target=*item_bgmVolume1 rightclick=*exit cond="sf.bgmVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.bgmVolume == 0"]
[locate x=742 y=202]
[button graphic=config_item_up target=*item_bgmVolume2 rightclick=*exit cond="sf.bgmVolume< 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.bgmVolume==20"]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.bgmVolume],sf.bgmMute||sf.masterMute,0))" layer=3 page=back dx=578 dy=201]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>201, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.bgmVolume', 'volume'=>sf.bgmVolume, 'mute'=>(sf.bgmMute||sf.masterMute), 'target'=>'*call_setVolume'])"]
;ボイス音量
[locate x=488 y=226][button graphic=config_item_mute1 target=*item_voice_mute1 rightclick=*exit cond="sf.voiceMute != 1"]
[locate x=488 y=226][button graphic=config_item_mute2 target=*item_voice_mute2 rightclick=*exit cond="sf.voiceMute == 1"]
[locate x=540 y=226]
[button graphic=config_item_down target=*item_voiceVolume1 rightclick=*exit cond="sf.voiceVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume == 0"]
[locate x=742 y=226]
[button graphic=config_item_up target=*item_voiceVolume2 rightclick=*exit cond="sf.voiceVolume < 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume == 20"]
[locate x=780 y=226][button clicksebuf=2 graphic=config_item_test target=*item_voiceTest]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.voiceVolume],sf.voiceMute||sf.masterMute,0))" layer=3 page=back dx=578 dy=225]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>225, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.voiceVolume', 'volume'=>sf.voiceVolume, 'mute'=>(sf.voiceMute||sf.masterMute), 'target'=>'*call_setVolume'])"]
;BGボイス
[locate x=488 y=250][button graphic=config_item_mute1 target=*item_bgVoice_mute1 rightclick=*exit cond="sf.bgVoiceMute != 1"]
[locate x=488 y=250][button graphic=config_item_mute2 target=*item_bgVoice_mute2 rightclick=*exit cond="sf.bgVoiceMute == 1"]
[locate x=540 y=250]
[button graphic=config_item_down target=*item_bgVoiceVolume1 rightclick=*exit cond="sf.bgVoiceVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.bgVoiceVolume == 0"]
[locate x=742 y=250]
[button graphic=config_item_up target=*item_bgVoiceVolume2 rightclick=*exit cond="sf.bgVoiceVolume < 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.bgVoiceVolume== 20"]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.bgVoiceVolume],sf.bgVoiceMute||sf.masterMute,1))" layer=3 page=back dx=578 dy=249]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>249, 'grp1'=>'config_item_per', 'grp2'=>'config_item_perm', 'parameter'=>'sf.bgVoiceVolume', 'volume'=>sf.bgVoiceVolume, 'mute'=>(sf.bgVoiceMute||sf.masterMute), 'target'=>'*call_setVolume'])"]
;アクション時ボイス
[locate x=488 y=274][button graphic=config_item_mute1 target=*item_actVoice_mute1 rightclick=*exit cond="sf.actVoiceMute != 1"]
[locate x=488 y=274][button graphic=config_item_mute2 target=*item_actVoice_mute2 rightclick=*exit cond="sf.actVoiceMute == 1"]
[locate x=540 y=274]
[button graphic=config_item_down target=*item_actVoiceVolume1 rightclick=*exit cond="sf.actVoiceVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.actVoiceVolume == 0"]
[locate x=742 y=274]
[button graphic=config_item_up target=*item_actVoiceVolume2 rightclick=*exit cond="sf.actVoiceVolume < 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.actVoiceVolume== 20"]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.actVoiceVolume],sf.actVoiceMute||sf.masterMute,1))" layer=3 page=back dx=578 dy=273]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>273, 'grp1'=>'config_item_per', 'grp2'=>'config_item_perm', 'parameter'=>'sf.actVoiceVolume', 'volume'=>sf.actVoiceVolume, 'mute'=>(sf.actVoiceMute||sf.masterMute), 'target'=>'*call_setVolume'])"]
;SE音量
[locate x=488 y=298][button graphic=config_item_mute1 target=*item_se_mute1 rightclick=*exit cond="sf.seMute != 1"]
[locate x=488 y=298][button graphic=config_item_mute2 target=*item_se_mute2 rightclick=*exit cond="sf.seMute == 1"]
[locate x=540 y=298]
[button graphic=config_item_down target=*item_seVolume1 rightclick=*exit cond="+sf.seVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="+sf.seVolume == 0"]
[locate x=742 y=298]
[button graphic=config_item_up target=*item_seVolume2 rightclick=*exit cond="+sf.seVolume < 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="+sf.seVolume == 20"]
[locate x=780 y=298][button graphic=config_item_test target=*item_seTest]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.seVolume],sf.seMute||sf.masterMute,0))" layer=3 page=back dx=578 dy=297]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>297, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.seVolume', 'volume'=>sf.seVolume, 'mute'=>(sf.seMute||sf.masterMute), 'target'=>'*call_setVolume'])"]
;BGSE音量
[locate x=488 y=322][button graphic=config_item_mute1 target=*item_bgSe_mute1 rightclick=*exit cond="sf.bgSeMute != 1"]
[locate x=488 y=322][button graphic=config_item_mute2 target=*item_bgSe_mute2 rightclick=*exit cond="sf.bgSeMute == 1"]
[locate x=540 y=322]
[button graphic=config_item_down target=*item_bgSeVolume1 rightclick=*exit cond="+sf.BgSeVolume > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="+sf.BgSeVolume == 0"]
[locate x=742 y=322]
[button graphic=config_item_up target=*item_bgSeVolume2 rightclick=*exit cond="+sf.BgSeVolume < 20"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="+sf.BgSeVolume == 20"]
;[pimage storage=&"(getVolumeImageFile(f.volumeMatrix[sf.BgSeVolume],sf.bgSeMute||sf.masterMute,0))" layer=3 page=back dx=578 dy=321]
[eval exp="addVolmeLayer(%['x'=>578, 'y'=>321, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.BgSeVolume', 'volume'=>sf.BgSeVolume, 'mute'=>(sf.bgSeMute||sf.masterMute), 'target'=>'*call_setVolume'])"]
;キャラボイス有無 なつき
[if exp="sf.voiceSetting1[0]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=444 dy=394]
[endif]
[if exp="sf.voiceSetting2[0]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=538 dy=394]
[endif]
[if exp="sf.voiceSetting3[0]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=624 dy=394]
[endif]
[locate x=448 y=394][button width=80 height=22 target=*item_charaVoice1 exp="tf.tmp=0" rightclick=*exit]
[locate x=542 y=394][button width=76 height=22 target=*item_charaVoice2 exp="tf.tmp=0" rightclick=*exit]
[locate x=628 y=394][button width=106 height=22 target=*item_charaVoice3 exp="tf.tmp=0" rightclick=*exit]
[locate x=752 y=394]
[button graphic=config_item_down target=*item_voiceVolumeCharaDown exp="tf.tmp=0" rightclick=*exit cond="sf.voiceVolume2[0] > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[0] == 0"]
[locate x=954 y=394]
[button graphic=config_item_up target=*item_voiceVolumeCharaUp exp="tf.tmp=0" rightclick=*exit cond="sf.voiceVolume2[0]< 100"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[0] == 100"]
;[pimage storage=&"(getVolumeImageFile(sf.voiceVolume2[0],!(sf.voiceSetting1[0]|sf.voiceSetting2[0]|sf.voiceSetting3[0]),0))" layer=3 page=back dx=790 dy=393]
[eval exp="addVolmeLayer(%['x'=>790, 'y'=>393, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.voiceVolume2[0]', 'volume'=>sf.voiceVolume2[0]/5, 'rate'=>5, 'mute'=>!(sf.voiceSetting1[0]||sf.voiceSetting2[0]||sf.voiceSetting3[0]), 'target'=>'*call_setVolume'])"]
;キャラボイス有無 みふゆ
[if exp="sf.voiceSetting1[1]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=444 dy=418]
[endif]
[if exp="sf.voiceSetting2[1]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=538 dy=418]
[endif]
[if exp="sf.voiceSetting3[1]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=624 dy=418]
[endif]
[locate x=448 y=418][button width=80 height=22 target=*item_charaVoice1 exp="tf.tmp=1" rightclick=*exit]
[locate x=542 y=418][button width=76 height=22 target=*item_charaVoice2 exp="tf.tmp=1" rightclick=*exit]
[locate x=628 y=418][button width=106 height=22 target=*item_charaVoice3 exp="tf.tmp=1" rightclick=*exit]
[locate x=752 y=418]
[button graphic=config_item_down target=*item_voiceVolumeCharaDown exp="tf.tmp=1" rightclick=*exit cond="sf.voiceVolume2[1] > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[1] == 0"]
[locate x=954 y=418]
[button graphic=config_item_up target=*item_voiceVolumeCharaUp exp="tf.tmp=1" rightclick=*exit cond="sf.voiceVolume2[1]< 100"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[1] == 100"]
;[pimage storage=&"(getVolumeImageFile(sf.voiceVolume2[1],!(sf.voiceSetting1[1]|sf.voiceSetting2[1]|sf.voiceSetting3[1]),0))" layer=3 page=back dx=790 dy=417]
[eval exp="addVolmeLayer(%['x'=>790, 'y'=>417, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.voiceVolume2[1]', 'volume'=>sf.voiceVolume2[1]/5, 'rate'=>5, 'mute'=>!(sf.voiceSetting1[1]||sf.voiceSetting2[1]||sf.voiceSetting3[1]), 'target'=>'*call_setVolume'])"]
;キャラボイス有無 レヴエラ
[if exp="sf.voiceSetting1[2]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=444 dy=442]
[endif]
[if exp="sf.voiceSetting2[2]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=538 dy=442]
[endif]
[if exp="sf.voiceSetting3[2]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=624 dy=442]
[endif]
[locate x=448 y=442][button width=80 height=22 target=*item_charaVoice1 exp="tf.tmp=2" rightclick=*exit]
[locate x=542 y=442][button width=76 height=22 target=*item_charaVoice2 exp="tf.tmp=2" rightclick=*exit]
[locate x=628 y=442][button width=106 height=22 target=*item_charaVoice3 exp="tf.tmp=2" rightclick=*exit]
[locate x=752 y=442]
[button graphic=config_item_down target=*item_voiceVolumeCharaDown exp="tf.tmp=2" rightclick=*exit cond="sf.voiceVolume2[2] > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[2] == 0"]
[locate x=954 y=442]
[button graphic=config_item_up target=*item_voiceVolumeCharaUp exp="tf.tmp=2" rightclick=*exit cond="sf.voiceVolume2[2]< 100"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[2] == 100"]
;[pimage storage=&"(getVolumeImageFile(sf.voiceVolume2[2],!(sf.voiceSetting1[2]|sf.voiceSetting2[2]|sf.voiceSetting3[2]),0))" layer=3 page=back dx=790 dy=441]
[eval exp="addVolmeLayer(%['x'=>790, 'y'=>441, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.voiceVolume2[2]', 'volume'=>sf.voiceVolume2[2]/5, 'rate'=>5, 'mute'=>!(sf.voiceSetting1[2]||sf.voiceSetting2[2]||sf.voiceSetting3[2]), 'target'=>'*call_setVolume'])"]
;キャラボイス有無 その他
[if exp="sf.voiceSetting1[3]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=444 dy=466]
[endif]
[if exp="sf.voiceSetting2[3]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=538 dy=466]
[endif]
[if exp="sf.voiceSetting3[3]"]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=624 dy=466]
[endif]
[locate x=448 y=466][button width=80 height=22 target=*item_charaVoice1 exp="tf.tmp=3" rightclick=*exit]
[locate x=542 y=466][button width=76 height=22 target=*item_charaVoice2 exp="tf.tmp=3" rightclick=*exit]
[locate x=628 y=466][button width=106 height=22 target=*item_charaVoice3 exp="tf.tmp=3" rightclick=*exit]
[locate x=752 y=466]
[button graphic=config_item_down target=*item_voiceVolumeCharaDown exp="tf.tmp=3" rightclick=*exit cond="sf.voiceVolume2[3] > 0"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[3] == 0"]
[locate x=954 y=466]
[button graphic=config_item_up target=*item_voiceVolumeCharaUp exp="tf.tmp=3" rightclick=*exit cond="sf.voiceVolume2[3]< 100"]
[button width=32 height=22 target=*item_dummy rightclick=*exit cond="sf.voiceVolume2[3] == 100"]
;[pimage storage=&"(getVolumeImageFile(sf.voiceVolume2[3],!(sf.voiceSetting1[3]|sf.voiceSetting2[3]|sf.voiceSetting3[3]),0))" layer=3 page=back dx=790 dy=465]
[eval exp="addVolmeLayer(%['x'=>790, 'y'=>465, 'grp1'=>'config_item_vol', 'grp2'=>'config_item_volm', 'parameter'=>'sf.voiceVolume2[3]', 'volume'=>sf.voiceVolume2[3]/5, 'rate'=>5, 'mute'=>!(sf.voiceSetting1[3]||sf.voiceSetting2[3]||sf.voiceSetting3[3]), 'target'=>'*call_setVolume'])"]
;ボイス再生中のクリック
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=279 dy=521 cond="sf.voiceStopAtClick == 0"]
[locate x=283 y=520][button width=276 height=22 target=*item_voiceAtClick rightclick=*exit]
;オートプレイ時のボイス
[if exp="sf.voiceStopAtClick == 1"]
[pimage storage="config_item_autoplay" layer=3 page=back dx=279 dy=544 cond="sf.waitVoiceEndInAutoMode == 1"]
[else]
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=279 dy=545 cond="sf.waitVoiceEndInAutoMode == 1"]
[endif]
[locate x=283 y=544][button width=492 height=22 target=*item_voiceAtAutoplay rightclick=*exit]
;スキップ中にSEを再生しない
[pimage storage="config_opt_checkbutton" layer=3 page=back dx=279 dy=569 cond="sf.noSeInSkip == 1"]
[locate x=283 y=568][button width=250 height=22 target=*item_noSeInSkip rightclick=*exit]
;デフォルトに戻す
[locate x=926 y=644][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_item_default target=*to_default3]
;OKボタン
[locate x=926 y=684][button clickse=sys_decide clicksebuf=9 rightclick=*exit graphic=config_ok target=*exit]
;タブ部分
[locate x=505 y=92][button rightclick=*exit width=130 height=32 target=*to_page0]
[locate x=660 y=92][button rightclick=*exit width=130 height=32 target=*to_page1]
[locate x=815 y=92][button rightclick=*exit width=130 height=32 target=*to_page2]
[locate x=970 y=92][button rightclick=*exit width=130 height=32 target=*to_page3]
[iscript]
pio.set(kag.back.messages[4], 50, 48);
pio.setMatrix([3,3,4,3,3,4,3, 5,5,5,5, 1,1,1,1,1, 4]);
[endscript]
[endnowait]
[EnableClick]
[jump target=*menu3]
;■■■ ページ移動 ■■■
*to_page0
[if exp="tf.configPage==0"]
[eval exp="tf.noSe=1"]
[else]
; [eval exp="pio.resetPos()"]
[endif]
[eval exp="tf.configPage=0"]
[jump target=*menu]
*to_page1
[if exp="tf.configPage==1||tf.configPage==4"]
[eval exp="tf.noSe=1"]
[else]
; [eval exp="pio.resetPos()"]
[endif]
[eval exp="tf.configPage=1"]
[jump target=*menu]
*to_page2
[if exp="tf.configPage==2"]
[eval exp="tf.noSe=1"]
[else]
; [eval exp="pio.resetPos()"]
[endif]
[eval exp="tf.configPage=2"]
[jump target=*menu]
*to_page3
[if exp="tf.configPage==3"]
[eval exp="tf.noSe=1"]
[else]
; [eval exp="pio.resetPos()"]
[endif]
[eval exp="tf.configPage=3"]
[jump target=*menu]
*to_page1-2
[eval exp="tf.configPage=4"]
[jump target=*menu]
*item_dummy
[eval exp="tf.noSe=1"]
[jump target=*menu]
;■■■ 表示設定 ■■■
*item_fullscreen1
[if exp="kag.fullScreened"]
[playse buf=9 storage="sys_decide" cond="tf.noSe==0"]
[eval exp="tf.noSe=1"]
[eval exp="kag.onWindowedMenuItemClick()"]
[endif]
[jump target=*menu]
*item_fullscreen2
[if exp="!kag.fullScreened"]
[playse buf=9 storage="sys_decide" cond="tf.noSe==0"]
[eval exp="tf.noSe=1"]
[eval exp="kag.onFullScreenMenuItemClick()"]
[endif]
[jump target=*menu]
*item_smallscreen
[if exp="!kag.fullScreened"]
[playse buf=9 storage="sys_decide" cond="tf.noSe==0"]
[eval exp="tf.noSe=1"]
[eval exp="kag.onSmallModeMenuClick()"]
[else]
[eval exp="tf.noSe=1"]
[endif]
[jump target=*menu]
*item_fullscreen_method1
[playse buf=9 storage="sys_decide" cond="tf.noSe==0"]
[eval exp="tf.noSe=1"]
[eval exp="kag.onFullScreenModeFixedItemClick()"]
[jump target=*menu]
*item_fullscreen_method2
[playse buf=9 storage="sys_decide" cond="tf.noSe==0"]
[eval exp="tf.noSe=1"]
[eval exp="kag.onFullScreenModeVariableItemClick()"]
[jump target=*menu]
*item_mouseWheel1
[eval exp = "sf.whenWheelUp = 0"]
[jump target=*menu]
*item_mouseWheel2
[eval exp = "sf.whenWheelUp = 1"]
[jump target=*menu]
*item_rightClick1
[eval exp = "sf.whenRightClick = 0"]
[jump target=*menu]
*item_rightClick2
[eval exp = "sf.whenRightClick = 1"]
[jump target=*menu]
;■■■ メッセージ速度設定 ■■■
*item_speed1
[eval exp="kag.userChSpeed = kag.chSpeeds['slow']"]
[eval exp="kag.setUserSpeed()"]
[jump target=*menu]
*item_speed2
[eval exp="kag.userChSpeed = kag.chSpeeds['normal']"]
[eval exp="kag.setUserSpeed()"]
[jump target=*menu]
*item_speed3
[eval exp="kag.userChSpeed = kag.chSpeeds['fast']"]
[eval exp="kag.setUserSpeed()"]
[jump target=*menu]
*item_speed4
[eval exp="kag.userChSpeed = 0"]
[eval exp="kag.setUserSpeed()"]
[jump target=*menu]
;■■■ オートプレイの待ち時間設定 ■■■
*item_waittime1
[eval exp="kag.autoModeLineWait = kag.autoModeLineWaits.slow"]
[jump target=*menu]
*item_waittime2
[eval exp="kag.autoModeLineWait = kag.autoModeLineWaits.slower"]
[jump target=*menu]
*item_waittime3
[eval exp="kag.autoModeLineWait = kag.autoModeLineWaits.medium"]
[jump target=*menu]
*item_waittime4
[eval exp="kag.autoModeLineWait = kag.autoModeLineWaits.faster"]
[jump target=*menu]
*item_waittime5
[eval exp="kag.autoModeLineWait = kag.autoModeLineWaits.fast"]
[jump target=*menu]
;■■■ 文字のアンチエイリアス ■■■
*item_antialias
[jump target="*item_antialias2" cond="kag.chDefaultAntialiased == 1"]
*item_antialias1
[eval exp="kag.chDefaultAntialiased = 1"]
[eval exp="kag.fore.messages[0].antialiased= 1"]
[eval exp="kag.back.messages[0].antialiased= 1"]
[eval exp="kag.setMessageLayerUserFont()"]
[jump target=*menu]
*item_antialias2
[eval exp="kag.chDefaultAntialiased = 0"]
[eval exp="kag.fore.messages[0].antialiased= 0"]
[eval exp="kag.back.messages[0].antialiased= 0"]
[eval exp="kag.setMessageLayerUserFont()"]
[jump target=*menu]
;■■■ 文字飾り(影) ■■■
*item_mojikazari_kage
[eval exp="kag.chrShadow = !kag.chrShadow"]
[jump target=*menu]
;■■■ 文字飾り(袋) ■■■
*item_mojikazari_fukuro
[eval exp="kag.chrEdge = !kag.chrEdge"]
[jump target=*menu]
;■■■ 画面エフェクト(フェード) ■■■
*item_effect_fade
[eval exp="sf.effectFade = !sf.effectFade"]
[jump target=*menu]
;■■■ 画面エフェクト(アニメ) ■■■
*item_effect_anime
[eval exp="sf.effectAnime = !sf.effectAnime"]
[jump target=*menu]
;■■■ 画面エフェクト(揺れ) ■■■
*item_effect_quake
[eval exp="sf.effectQuake =! sf.effectQuake"]
[jump target=*menu]
;■■■ 画面エフェクト(フラッシュ) ■■■
*item_effect_flash
[eval exp="sf.effectFlash = !sf.effectFlash"]
[jump target=*menu]
;■■■ 画面エフェクト(ムービー) ■■■
*item_effect_movie
[eval exp="sf.effectMovieMode = (sf.effectMovieMode==0)? 1 : 0"]
[jump target=*menu]
;■■■ ムービーのモードwmv ■■■
*item_moviemode1
[eval exp="sf.effectMovieMode = 1"]
[jump target=*menu]
;■■■ ムービーのモードmpg ■■■
*item_moviemode2
[eval exp="sf.effectMovieMode = 2"]
[jump target=*menu]
;■■■ ムービーのモード(無し) ■■■
*item_moviemode3
[eval exp="sf.effectMovieMode = 0"]
[jump target=*menu]
;■■■ メッセージウィンドウの移動 ■■■
*item_messagewindow
[eval exp="sf.windowAutoMove = !sf.windowAutoMove"]
[jump target=*menu]
;■■■ メッセージウィンドウ濃度 ■■■
*item_messageWindowOpacity1
[if exp="sf.messageWindowOpacity > 46"]
[eval exp="sf.messageWindowOpacity -= 26"]
[else]
[eval exp="sf.messageWindowOpacity = 0"]
[endif]
[eval exp="kag.fore.messages[0].opacity = sf.messageWindowOpacity"]
[eval exp="kag.back.messages[0].opacity = sf.messageWindowOpacity"]
[jump target=*menu]
*item_messageWindowOpacity2
[if exp="sf.messageWindowOpacity > 20"]
[eval exp="sf.messageWindowOpacity += 26"]
[else]
[eval exp="sf.messageWindowOpacity = 21"]
[endif]
[eval exp="sf.messageWindowOpacity = 255" cond="sf.messageWindowOpacity > 256"]
[eval exp="kag.fore.messages[0].opacity = sf.messageWindowOpacity"]
[eval exp="kag.back.messages[0].opacity = sf.messageWindowOpacity"]
[jump target=*menu]
;■■■ 既読メッセージの色変え ■■■
*item_kidoku
[eval exp="kag.changeColorAlreadyReadText = !kag.changeColorAlreadyReadText"]
[jump target=*menu]
;■■■ メッセージスキップの設定 ■■■
*item_messageskip
[eval exp="sf.skipOnlyAlreadyRead = !sf.skipOnlyAlreadyRead"]
[jump target=*menu]
*item_messageskip1
[eval exp="sf.skipOnlyAlreadyRead = 1"]
[jump target=*menu]
*item_messageskip2
[eval exp="sf.skipOnlyAlreadyRead = 0"]
[jump target=*menu]
;■■■ 次のメッセージにボイスがあるかどうか表示 ■■■
*item_nextIndicator
[eval exp="sf.showVoiceIndicator = !sf.showVoiceIndicator"]
[jump target=*menu]
;■■■ カットインを表示するか ■■■
*item_cutin
[eval exp="sf.showCutin = !sf.showCutin"]
[if exp="kag.nowExistCutin==1"]
[if exp="sf.showCutin==1"]
; [eval exp="kag.fore.layers[3].visible = true"]
; [eval exp="kag.back.layers[3].visible = true"]
[eval exp="systembutton_object.foreButtons[7].loadImages('sysbtn_cutinOff')"]
[eval exp="systembutton_object.backButtons[7].loadImages('sysbtn_cutinOff')"]
[eval exp="kag.nowShowCutin=1"]
[else]
; [eval exp="kag.fore.layers[3].visible = false"]
; [eval exp="kag.back.layers[3].visible = false"]
[eval exp="systembutton_object.foreButtons[7].loadImages('sysbtn_cutinOn')"]
[eval exp="systembutton_object.backButtons[7].loadImages('sysbtn_cutinOn')"]
[eval exp="kag.nowShowCutin=0"]
[endif]
[endif]
[jump target=*menu]
;■■■ 表情表示モード ■■■
;表情表示のモード設定  0:常に表示 1:通常シーンのみ表示 2:Hシーンのみ表示 3:常に表示しない
;表情表示モードの設定2 0:全て表示する 1:男キャラは表示しない
*item_face1
[eval exp="sf.faceMode = 0"]
[eval exp="tf.messageLayer2visible = true"]
[jump target=*menu]
*item_face2
[eval exp="sf.faceMode = 1"]
[eval exp="tf.messageLayer2visible = true" cond="f.inHScene == 0"]
[eval exp="tf.messageLayer2visible = false" cond="f.inHScene == 1"]
[jump target=*menu]
*item_face3
[eval exp="sf.faceMode = 2"]
[eval exp="tf.messageLayer2visible = true" cond="f.inHScene == 1"]
[eval exp="tf.messageLayer2visible = false" cond="f.inHScene == 0"]
[jump target=*menu]
*item_face4
[eval exp="sf.faceMode = 3"]
[eval exp="tf.messageLayer2visible = false"]
[jump target=*menu]
*item_face5
[eval exp="sf.faceModeChar = 0"]
[if exp="sf.faceMode == 0"]
[eval exp="tf.messageLayer2visible = true"]
[elsif exp="sf.faceMode == 1"]
[eval exp="tf.messageLayer2visible = true" cond="f.inHScene == 0"]
[eval exp="tf.messageLayer2visible = false" cond="f.inHScene == 1"]
[elsif exp="sf.faceMode == 2"]
[eval exp="tf.messageLayer2visible = true" cond="f.inHScene == 1"]
[eval exp="tf.messageLayer2visible = false" cond="f.inHScene == 0"]
[else]
[eval exp="tf.messageLayer2visible = false"]
[endif]
[jump target=*menu]
*item_face6
[eval exp="sf.faceModeChar = 1"]
[if exp="f.nowShowingFaceFile!==void && f.nowShowingFaceFile!=''"]
[if exp="checkFaceChara(f.nowShowingFaceFile)==1"]
;現在の表情キャラが女
[if exp="sf.faceMode == 0"]
[eval exp="tf.messageLayer2visible = true"]
[elsif exp="sf.faceMode == 1"]
[eval exp="tf.messageLayer2visible = true" cond="f.inHScene == 0"]
[eval exp="tf.messageLayer2visible = false" cond="f.inHScene == 1"]
[elsif exp="sf.faceMode == 2"]
[eval exp="tf.messageLayer2visible = true" cond="f.inHScene == 1"]
[eval exp="tf.messageLayer2visible = false" cond="f.inHScene == 0"]
[else]
[eval exp="tf.messageLayer2visible = false"]
[endif]
[else]
;現在の表情キャラが男
[eval exp="tf.messageLayer2visible = false"]
[endif]
[endif]
[jump target=*menu]
*item_ex1
[eval exp="sf.翔子眼鏡無し = !sf.翔子眼鏡無し"]
[eval exp="shoukoFaceFile()"]
[jump target=*menu]
*item_ex2
[eval exp="sf.陰毛表示無し = !sf.陰毛表示無し"]
[jump target=*menu]
*item_aheFace
[eval exp="sf.アヘ顔表示無し = !sf.アヘ顔表示無し"]
[jump target=*menu]
*item_extasyCount
[eval exp="sf.showExtasyCount = !sf.showExtasyCount"]
[jump target=*menu]
*item_actionSceneCutin
[eval exp="sf.actionSceneCutin = !sf.actionSceneCutin"]
[jump target=*menu]
*item_actionSceneCutin2
[eval exp="sf.sameCutinDisable = !sf.sameCutinDisable"]
[jump target=*menu]
*item_pauseScreenMode
[eval exp="sf.pauseScreenMode = !sf.pauseScreenMode"]
[jump target=*menu]
*item_selectIndicator
[if exp="sf.showSelectIndicator==2"]
[eval exp="sf.showSelectIndicator = 1"]
[else]
[eval exp="sf.showSelectIndicator = 2"]
[endif]
[jump target=*menu]
*item_difficulty1
[eval exp="sf.difficulty = 0"]
[jump target=*menu]
*item_difficulty2
[eval exp="sf.difficulty = 1"]
[jump target=*menu]
*item_difficulty3
[eval exp="sf.difficulty = 2"]
[jump target=*menu]
*item_difficulty4
[eval exp="sf.difficulty = 3"]
[jump target=*menu]
*item_difficulty5
[eval exp="sf.difficulty = 4"]
[jump target=*menu]
*item_difficulty6
[eval exp="sf.difficulty = 5"]
[jump target=*menu]
*item_hscenemode1
[eval exp="sf.HSceneMode = 0"]
[jump target=*menu]
;
*item_hscenemode2
[eval exp="sf.showCgInAnimeHScene = !sf.showCgInAnimeHScene"]
[jump target=*menu]
*item_hscenemode3
[eval exp="sf.HSceneMode = 2"]
[jump target=*menu]
*item_hscenemode4
[eval exp="sf.gameoverHScene = !sf.gameoverHScene"]
[jump target=*menu]
;*item_ex4
;[if exp="sf.wideScreen==1"]
; [eval exp="kag.innerWidth = 1024"]
; [eval exp="kag.layerLeft = -171"]
;[else]
; [eval exp="kag.innerWidth = 1366"]
; [eval exp="kag.layerLeft = 0"]
;[endif]
;[eval exp="sf.wideScreen = !sf.wideScreen"]
;[jump target=*menu]
;
;*item_ex5
;[eval exp="sf.smallScreen = !sf.smallScreen"]
;[if exp="sf.smallScreen==1"]
; [eval exp="kag.setZoom(600,768)"]
; [if exp="sf.wideScreen==1"]
; [eval exp="kag.innerWidth = 1067"]
; [else]
; [eval exp="kag.innerWidth = 800"]
; [endif]
; [eval exp="kag.innerHeight = 600"]
;[else]
; [eval exp="kag.setZoom(1,1)"]
; [if exp="sf.wideScreen==1"]
; [eval exp="kag.innerWidth = 1366"]
; [else]
; [eval exp="kag.innerWidth = 1024"]
; [endif]
; [eval exp="kag.innerHeight = 768"]
;[endif]
;[jump target=*menu]
*item_AICleverness1
[eval exp="sf.adjAICleverness = 0"]
[eval exp="setMenuItemAboutAI()"]
[jump target=*menu]
*item_AICleverness2
[eval exp="sf.adjAICleverness = 1"]
[eval exp="setMenuItemAboutAI()"]
[jump target=*menu]
*item_AICleverness3
[eval exp="sf.adjAICleverness = 2"]
[eval exp="setMenuItemAboutAI()"]
[jump target=*menu]
*item_AICleverness4
[eval exp="sf.adjAICleverness = 3"]
[eval exp="setMenuItemAboutAI()"]
[jump target=*menu]
*item_AICleverness5
[eval exp="sf.adjAICleverness = 4"]
[eval exp="setMenuItemAboutAI()"]
[jump target=*menu]
;■■■ クリックしてボイスを止めるか ■■■
*item_voiceAtClick
[if exp="sf.voiceStopAtClick == 0"]
[eval exp="sf.voiceStopAtClick = 1"]
[eval exp="sf.waitVoiceEndInAutoMode = 1"]
[else]
[eval exp="sf.voiceStopAtClick = 0"]
[endif]
[jump target=*menu]
;■■■ オートプレイでボイス終了を待つか ■■■
*item_voiceAtAutoplay
[if exp="sf.voiceStopAtClick == 1"]
[eval exp="tf.noSe=1"]
[jump target=*menu]
[endif]
[eval exp="sf.waitVoiceEndInAutoMode = !sf.waitVoiceEndInAutoMode"]
[jump target=*menu]
*call_setVolume
[call target=*setVolume]
[jump target=*menu cond="tf.result"]
[unlocklink]
[s]
;■■■ マスター音量設定 ■■■
*item_masterVolume1
[eval exp="sf.masterVolume -= 1" cond="sf.masterVolume > 0"]
[eval exp="sf.masterMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_masterVolume2
[eval exp="sf.masterVolume += 1" cond="sf.masterVolume < 20"]
[eval exp="sf.masterMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_master_mute1
[eval exp="sf.masterMute=1"]
[call target=*setVolume]
[jump target=*menu]
*item_master_mute2
[eval exp="sf.masterMute=0"]
[call target=*setVolume]
[jump target=*menu]
;■■■ BGM音量設定 ■■■
*item_bgmVolume1
[eval exp="sf.bgmVolume -= 1" cond="sf.bgmVolume > 0"]
;[bgmopt gvolume=&"f.volumeMatrix[sf.bgmVolume]"]
[eval exp="sf.bgmMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_bgmVolume2
[eval exp="sf.bgmVolume += 1" cond="sf.bgmVolume < 20"]
;[bgmopt gvolume=&"f.volumeMatrix[sf.bgmVolume]"]
[eval exp="sf.bgmMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_bgm_mute1
[eval exp="sf.bgmMute=1"]
;[bgmopt gvolume=0]
[call target=*setVolume]
[jump target=*menu]
*item_bgm_mute2
[eval exp="sf.bgmMute=0"]
;[bgmopt gvolume=&"f.volumeMatrix[sf.bgmVolume]"]
[call target=*setVolume]
[jump target=*menu]
,
;■■■ ボイス音量設定 ■■■
*item_voiceVolume1
[eval exp="sf.voiceVolume -= 1" cond="sf.voiceVolume > 0"]
[eval exp="sf.voiceMute=0"]
;[seopt buf=2 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=3 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=5 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=14 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
[call target=*setVolume]
[jump target=*menu]
*item_voiceVolume2
[eval exp="sf.voiceVolume += 1" cond="sf.voiceVolume < 20"]
[eval exp="sf.voiceMute=0"]
;[seopt buf=2 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=3 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=5 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=14 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
[call target=*setVolume]
[jump target=*menu]
*item_voiceTest
[if exp="tf.voiceLessMode==0"]
[playse storage=&tf.voiceTestFile buf=2 cond="sf.voiceMute==0"]
[endif]
[jump target=*menu]
*item_voice_mute1
[eval exp="sf.voiceMute=1"]
;[seopt buf=2 gvolume=0]
;[seopt buf=3 gvolume=0]
;;[seopt buf=4 gvolume=0]
;[seopt buf=5 gvolume=0]
;;[seopt buf=6 gvolume=0]
;[seopt buf=14 gvolume=0]
[call target=*setVolume]
[jump target=*menu]
*item_voice_mute2
[eval exp="sf.voiceMute=0"]
;[seopt buf=2 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=3 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=5 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=14 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
[call target=*setVolume]
[jump target=*menu]
;■■■ アクション時ボイス音量設定 ■■■
*item_actVoiceVolume1
[eval exp="sf.actVoiceVolume -= 1" cond="sf.actVoiceVolume > 0"]
[eval exp="sf.actVoiceMute=0"]
[jump target=*menu]
*item_actVoiceVolume2
[eval exp="sf.actVoiceVolume += 1" cond="sf.actVoiceVolume < 20"]
[eval exp="sf.actVoiceMute=0"]
[jump target=*menu]
*item_actVoice_mute1
[eval exp="sf.actVoiceMute=1"]
[jump target=*menu]
*item_actVoice_mute2
[eval exp="sf.actVoiceMute=0"]
[jump target=*menu]
;■■■ BGボイス音量設定 ■■■
*item_bgVoiceVolume1
[eval exp="sf.bgVoiceVolume -= 1" cond="sf.bgVoiceVolume > 0"]
[eval exp="sf.bgVoiceMute=0"]
;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
[call target=*setVolume]
[jump target=*menu]
*item_bgVoiceVolume2
[eval exp="sf.bgVoiceVolume += 1" cond="sf.bgVoiceVolume < 20"]
[eval exp="sf.bgVoiceMute=0"]
;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
[call target=*setVolume]
[jump target=*menu]
*item_bgVoice_mute1
[eval exp="sf.bgVoiceMute=1"]
;[seopt buf=4 gvolume=0]
;[seopt buf=6 gvolume=0]
[call target=*setVolume]
[jump target=*menu]
*item_bgVoice_mute2
[eval exp="sf.bgVoiceMute=0"]
;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
[call target=*setVolume]
[jump target=*menu]
;■■■ SE音量設定 ■■■
*item_seVolume1
[eval exp="sf.seVolume -= 1" cond="sf.seVolume > 0"]
;[seopt buf=0 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=1 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=9 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=10 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=11 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=12 gvolume=&"f.volumeMatrix[sf.seVolume]"]
[eval exp="sf.seMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_seVolume2
[eval exp="sf.seVolume += 1" cond="sf.seVolume < 20"]
;[seopt buf=0 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=1 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=9 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=10 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=11 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=12 gvolume=&"f.volumeMatrix[sf.seVolume]"]
[eval exp="sf.seMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_seTest
[playse storage="sys_decide" buf=9 cond="sf.seMute==0"]
[jump target=*menu]
*item_se_mute1
[eval exp="sf.seMute=1"]
;[seopt buf=0 gvolume=0]
;[seopt buf=1 gvolume=0]
;[seopt buf=9 gvolume=0]
;[seopt buf=10 gvolume=0]
;[seopt buf=11 gvolume=0]
;[seopt buf=12 gvolume=0]
[call target=*setVolume]
[jump target=*menu]
*item_se_mute2
[eval exp="sf.seMute=0"]
;[seopt buf=0 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=1 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=9 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=10 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=11 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=12 gvolume=&"f.volumeMatrix[sf.seVolume]"]
[call target=*setVolume]
[playse storage="sys_decide2" buf=9 cond="sf.seMute==0"]
[jump target=*menu]
;■■■ BGSE音量設定 ■■■
*item_bgSeVolume1
[eval exp="sf.BgSeVolume -= 1" cond="sf.BgSeVolume > 0"]
;[seopt buf=7 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=8 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=15 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=16 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
[eval exp="sf.bgSeMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_bgSeVolume2
[eval exp="sf.BgSeVolume += 1" cond="sf.BgSeVolume < 20"]
;[seopt buf=7 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=8 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=15 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=16 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
[eval exp="sf.bgSeMute=0"]
[call target=*setVolume]
[jump target=*menu]
*item_bgSeTest
[playse storage="sys_decide" buf=9 cond="sf.bgSeMute==0"]
[jump target=*menu]
*item_bgSe_mute1
[eval exp="sf.bgSeMute=1"]
;[seopt buf=7 gvolume=0]
;[seopt buf=8 gvolume=0]
;[seopt buf=15 gvolume=0]
;[seopt buf=16 gvolume=0]
[call target=*setVolume]
[jump target=*menu]
*item_bgSe_mute2
[eval exp="sf.bgSeMute=0"]
;[seopt buf=7 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=8 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=15 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=16 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
[call target=*setVolume]
[jump target=*menu]
;■■■ キャラ個別ボイス有無 ■■■
*item_charaVoice1
[eval exp="sf.voiceSetting1[tf.tmp]=!sf.voiceSetting1[tf.tmp]"]
[jump target=*menu]
*item_charaVoice2
[eval exp="sf.voiceSetting2[tf.tmp]=!sf.voiceSetting2[tf.tmp]"]
[jump target=*menu]
*item_charaVoice3
[eval exp="sf.voiceSetting3[tf.tmp]=!sf.voiceSetting3[tf.tmp]"]
[jump target=*menu]
*item_voiceVolumeCharaDown
[eval exp="sf.voiceVolume2[tf.tmp] -= 5" cond="sf.voiceVolume2[tf.tmp] > 0"]
[if exp="tf.voiceForConfig!='' && getVoiceIndex(tf.voiceForConfig)==tf.tmp"]
[seopt buf=&tf.bufForConfig volume=&"sf.voiceVolume2[getVoiceIndex(tf.voiceForConfig)]"]
[if exp="tf.bufForConfig==2 && (kag.bgVoice[0][0]==tf.voiceForConfig[0])"]
[seopt buf=4 volume=&"sf.voiceVolume2[getVoiceIndex(tf.voiceForConfig)]"]
[endif]
[if exp="tf.bufForConfig==5 && (kag.bgVoice[1][0]==tf.voiceForConfig[0])"]
[seopt buf=6 volume=&"sf.voiceVolume2[getVoiceIndex(tf.voiceForConfig)]"]
[endif]
[endif]
[eval exp="sf.seMute=0"]
[jump target=*menu]
*item_voiceVolumeCharaUp
[eval exp="sf.voiceVolume2[tf.tmp] += 5" cond="sf.voiceVolume2[tf.tmp] < 100"]
[if exp="tf.voiceForConfig!='' && getVoiceIndex(tf.voiceForConfig)==tf.tmp"]
[seopt buf=&tf.bufForConfig volume=&"sf.voiceVolume2[getVoiceIndex(tf.voiceForConfig)]"]
[if exp="tf.bufForConfig==2 && (kag.bgVoice[0][0]==tf.voiceForConfig[0])"]
[seopt buf=4 volume=&"sf.voiceVolume2[getVoiceIndex(tf.voiceForConfig)]"]
[endif]
[if exp="tf.bufForConfig==5 && (kag.bgVoice[1][0]==tf.voiceForConfig[0])"]
[seopt buf=6 volume=&"sf.voiceVolume2[getVoiceIndex(tf.voiceForConfig)]"]
[endif]
[endif]
[eval exp="sf.seMute=0"]
[jump target=*menu]
*item_noSeInSkip
[eval exp="sf.noSeInSkip = !sf.noSeInSkip"]
[jump target=*menu]
*item_keyMoveCursor
[eval exp="sf.keyMoveCursor = true"]
[eval exp="sf.keyMoveNumPad = false"]
[eval exp="sf.keyMoveWASD = false"]
[jump target=*menu]
*item_keyMoveNumPad
[eval exp="sf.keyMoveCursor = false"]
[eval exp="sf.keyMoveNumPad = true"]
[eval exp="sf.keyMoveWASD = false"]
[jump target=*menu]
*item_keyMoveWASD
[eval exp="sf.keyMoveCursor = false"]
[eval exp="sf.keyMoveNumPad = false"]
[eval exp="sf.keyMoveWASD = true"]
[jump target=*menu]
*item_key_jump
[iscript]
tf.str = [
'ジャンプに使用するキーを入力してください。¥Escキーで戻ります',
'Input key for Jump ¥(Press Esc to cancel)',
'請輸入用於跳躍的按鍵。¥按下Esc返回',
'请输入用来跳跃的键位。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keyJump[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_attack
[iscript]
tf.str = [
'攻撃に使用するキーを入力してください。¥Escキーで戻ります',
'Input key for Attack ¥(Press Esc to cancel)',
'請輸入用於攻擊的按鍵。按下Esc返回',
'请输入用来攻击的键位。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keyAttack[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_special
[iscript]
tf.str = [
'特殊攻撃に使用するキーを入力してください。¥Escキーで戻ります',
'Input key for Special Move ¥(Press Esc to cancel)',
'請輸入用於特殊攻擊的按鍵。按下Esc返回',
'请输入用来特殊攻击的键位。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keySpecial[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_escattack
[iscript]
tf.str = [
'緊急回避攻撃に使用するキーを入力してください。¥Escキーで戻ります',
'Input key for Evac Attack ¥(Press Esc to cancel)',
'請輸入用於緊急迴避攻擊的按鍵。按下Esc返回',
'请输入用来紧急回避攻击的键位。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keyEscAttack[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_ok
[iscript]
tf.str = [
'決定左クリックに相当に使用するキーを入力してください。¥Escキーで戻ります',
'Input key for Confirm ¥(Equivalent to Left Click) (Press Esc to cancel)',
'請輸入用於確定等同滑鼠左鍵的按鍵。按下Esc返回',
'请输入用来确定相当于鼠标左键的键位。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keyOk[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_cancel
[iscript]
tf.str = [
'キャンセル右クリックに相当に使用するキーを入力してください。¥Escキーで戻ります',
'Input key for Cancel ¥(Equivalent to Right Click) (Press Esc to cancel)',
'請輸入用於取消等同滑鼠右鍵的按鍵。按下Esc返回',
'请输入用来取消相当于鼠标右键的键位。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keyCancel[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_switch
[iscript]
tf.str = [
'操作キャラの交代に使用するキーを入力してください。¥Escキーで戻ります',
'Input key for ##_## ¥(Press Esc to cancel)',
'##_##。按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keySwitch[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_leaveit
[iscript]
tf.str = [
'操作していないキャラへの待機指示に使用するキーを入力してください。¥待機指示中は攻撃行動を控えます。¥もう一度押すかダメージを受けると解除されます。¥Escキーで戻ります',
'Input key for ##_## ¥(Press Esc to cancel)',
'##_##。按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key!==void){
sf.keyLeaveIt[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_key_BC
[iscript]
tf.str = [
'設定するとそのキーは攻撃キーとジャンプキーを同時に押したのと同じ効果になります¥Delキーで削除、Escキーで戻ります',
'Input key for ##_## ¥(Press Esc to cancel)',
'##_##。按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '');
tf.str = void;
if(tf.key == VK_DELETE){
sf.keyBC[0][0] = void;
}else if(tf.key!==void){
sf.keyBC[0][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_jump
[iscript]
tf.str = [
'ジャンプに使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Jump ¥(Press Esc to cancel)',
'請輸入用於跳躍的搖桿按鍵。¥按下Esc返回',
'请按下用来跳跃的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyJump[0][1] = void;
}else if(tf.key !== void){
sf.keyJump[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_attack
[iscript]
tf.str = [
'攻撃に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Attack ¥(Press Esc to cancel)',
'請輸入用於攻擊的搖桿按鍵。¥按下Esc返回',
'请按下用来攻击的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyAttack[0][1] = void;
}else if(tf.key !== void){
sf.keyAttack[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_special
[iscript]
tf.str = [
'特殊攻撃に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Special Move ¥(Press Esc to cancel)',
'請輸入用於特殊攻擊的搖桿按鍵。¥按下Esc返回',
'请按下用来特殊攻击的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keySpecial[0][1] = void;
}else if(tf.key !== void){
sf.keySpecial[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_escattack
[iscript]
tf.str = [
'緊急回避攻撃に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Evac Attack ¥(Press Esc to cancel)',
'請輸入用於緊急迴避攻擊的搖桿按鍵。¥按下Esc返回',
'请按下用来紧急回避攻击的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyEscAttack[0][1] = void;
}else if(tf.key !== void){
sf.keyEscAttack[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_pause
[iscript]
tf.str = [
'ポーズに使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Pause ¥(Press Esc to cancel)',
'請輸入用於擺姿勢用的搖桿按鍵。¥按下Esc返回',
'请按下用来暂停的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyPause[0][1] = void;
}else if(tf.key !== void){
sf.keyPause[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_ok
[iscript]
tf.str = [
'決定左クリックに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Confirm (Equivalent to Left Click) ¥(Press Esc to cancel)',
'請輸入用於確定等同滑鼠左鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来确定相当于鼠标左键的按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyOk[0][1] = void;
}else if(tf.key !== void){
sf.keyOk[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_cancel
[iscript]
tf.str = [
'キャンセル右クリックに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Cancel (Equivalent to Right Click) ¥(Press Esc to cancel)',
'請輸入用於取消等同滑鼠右鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来取消相当于鼠标右键的按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyCancel[0][1] = void;
}else if(tf.key !== void){
sf.keyCancel[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_prev
[iscript]
tf.str = [
'前ページ移動PageUpキーに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Previous (Equivalent to PageUp key) ¥(Press Esc to cancel)',
'請輸入用於返回上一頁等同於PageUp鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来翻到上一页相当于PageUp键的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyPrev[0][1] = void;
}else if(tf.key !== void){
sf.keyPrev[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_next
[iscript]
tf.str = [
'次ページ移動PageDownキーに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Next (Equivalent to PageDown key) ¥(Press Esc to cancel)',
'請輸入用於前往下一頁等同於PageDown鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来翻到下一页相当于PageDown键的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyNext[0][1] = void;
}else if(tf.key !== void){
sf.keyNext[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_switch
[iscript]
tf.str = [
'操作キャラの交代に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for ##_## ¥(Press Esc to cancel)',
'##_##。¥按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keySwitch[0][1] = void;
}else if(tf.key !== void){
sf.keySwitch[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_padleaveit
[iscript]
tf.str = [
'操作していないキャラへの待機指示に使用するパッドのボタンを押してください。¥待機指示中は攻撃行動を控えます。¥もう一度押すかダメージを受けると解除されます。¥Escキーで戻ります',
'Input button for ##_## ¥(Press Esc to cancel)',
'##_##。¥按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1){
sf.keyLeaveIt[0][1] = void;
}else if(tf.key !== void){
sf.keyLeaveIt[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_BC
[iscript]
tf.str = [
'設定するとそのボタンは攻撃ボタンとジャンプボタンを同時に押したのと同じ効果になります¥Delキーで削除、Escキーで戻ります',
'Input button for ##_## ¥(Press Esc to cancel)',
'##_##。¥按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '',1);
tf.str = void;
if(tf.key == -1 || tf.key == VK_DELETE){
sf.keyBC[0][1] = void;
}else if(tf.key !== void){
sf.keyBC[0][1] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_jump2
[iscript]
tf.str = [
'ジャンプに使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Jump ¥(Press Esc to cancel)',
'請輸入用於跳躍的搖桿按鍵。¥按下Esc返回',
'请按下用来跳跃的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyJump[1][0] = void;
}else if(tf.key !== void){
sf.keyJump[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_attack2
[iscript]
tf.str = [
'攻撃に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Attack ¥(Press Esc to cancel)',
'請輸入用於攻擊的搖桿按鍵。¥按下Esc返回',
'请按下用来攻击的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyAttack[1][0] = void;
}else if(tf.key !== void){
sf.keyAttack[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_special2
[iscript]
tf.str = [
'特殊攻撃に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Special Move ¥(Press Esc to cancel)',
'請輸入用於特殊攻擊的搖桿按鍵。¥按下Esc返回',
'请按下用来特殊攻击的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keySpecial[1][0] = void;
}else if(tf.key !== void){
sf.keySpecial[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_escattack2
[iscript]
tf.str = [
'緊急回避攻撃に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Evac Attack ¥(Press Esc to cancel)',
'請輸入用於緊急迴避攻擊的搖桿按鍵。¥按下Esc返回',
'请按下用来紧急回避攻击的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyEscAttack[1][0] = void;
}else if(tf.key !== void){
sf.keyEscAttack[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_pause2
[iscript]
tf.str = [
'ポーズに使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for Pause ¥(Press Esc to cancel)',
'請輸入用於擺姿勢用的搖桿按鍵。¥按下Esc返回',
'请按下用来暂停的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyPause[1][0] = void;
}else if(tf.key !== void){
sf.keyPause[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_ok2
[iscript]
tf.str = [
'決定左クリックに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Confirm (Equivalent to Left Click) ¥(Press Esc to cancel)',
'請輸入用於確定等同滑鼠左鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来确定相当于鼠标左键的按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyOk[1][0] = void;
}else if(tf.key !== void){
sf.keyOk[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_cancel2
[iscript]
tf.str = [
'キャンセル右クリックに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Cancel (Equivalent to Right Click) ¥(Press Esc to cancel)',
'請輸入用於取消等同滑鼠右鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来取消相当于鼠标右键的按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyCancel[1][0] = void;
}else if(tf.key !== void){
sf.keyCancel[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_prev2
[iscript]
tf.str = [
'前ページ移動PageUpキーに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Previous (Equivalent to PageUp key) ¥(Press Esc to cancel)',
'請輸入用於返回上一頁等同於PageUp鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来翻到上一页相当于PageUp键的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyPrev[1][0] = void;
}else if(tf.key !== void){
sf.keyPrev[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_next2
[iscript]
tf.str = [
'次ページ移動PageDownキーに相当に使用するパッドのボタンを入力してください。¥Escキーで戻ります',
'Input button for Next (Equivalent to PageDown key) ¥(Press Esc to cancel)',
'請輸入用於前往下一頁等同於PageDown鍵的搖桿按鍵。¥按下Esc返回',
'请输入用来翻到下一页相当于PageDown键的手柄按钮。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyNext[1][0] = void;
}else if(tf.key !== void){
sf.keyNext[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_switch2
[iscript]
tf.str = [
'操作キャラの交代に使用するパッドのボタンを押してください。¥Escキーで戻ります',
'Input button for ##_## ¥(Press Esc to cancel)',
'##_##。¥按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keySwitch[1][0] = void;
}else if(tf.key !== void){
sf.keySwitch[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_pad_BC2
[iscript]
tf.str = [
'設定するとそのボタンは攻撃ボタンとジャンプボタンを同時に押したのと同じ効果になります¥Delキーで削除、Escキーで戻ります',
'Input button for ##_## ¥(Press Esc to cancel)',
'##_##。¥按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1 || tf.key == VK_DELETE){
sf.keyBC[1][0] = void;
}else if(tf.key !== void){
sf.keyBC[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_padleaveit2
[iscript]
tf.str = [
'操作していないキャラへの待機指示に使用するパッドのボタンを押してください。¥待機指示中は攻撃行動を控えます。¥もう一度押すかダメージを受けると解除されます。¥Escキーで戻ります',
'Input button for ##_## ¥(Press Esc to cancel)',
'##_##。¥按下Esc返回',
'##_##。按Esc键返回'
];
tf.key = askKey(tf.str[sf.language], '', 1, 1);
tf.str = void;
if(tf.key == -1){
sf.keyLeaveIt[1][0] = void;
}else if(tf.key !== void){
sf.keyLeaveIt[1][0] = tf.key;
}else{
tf.noSe = true;
}
[endscript]
[jump target=*menu]
*item_language1
[eval exp="sf.language=Ja"]
[eval exp="tf.fadeControl = 200"]
[jump target=*menu]
*item_language2
[eval exp="sf.language=En"]
[eval exp="tf.fadeControl = 200"]
[jump target=*menu]
*item_resolution1
[eval exp="sf.screenMode=1"]
[jump target=*menu]
*item_resolution2
[eval exp="sf.screenMode=2"]
[jump target=*menu]
*item_resolution3
[eval exp="sf.screenMode=3"]
[jump target=*menu]
*item_hresolution1
[eval exp="sf.HScreenMode=1"]
[jump target=*menu]
*item_hresolution2
[eval exp="sf.HScreenMode=2"]
[jump target=*menu]
*item_hresolution3
[eval exp="sf.HScreenMode=3"]
[jump target=*menu]
*item_inputForBothCharacter
[eval exp="sf.inputForBothCharacter = !sf.inputForBothCharacter"]
[jump target=*menu]
*pad1InputForChara1
[eval exp="sf.pad1InputForChara1 = true"]
[jump target=*menu]
*pad1InputForChara2
[eval exp="sf.pad1InputForChara1 = false"]
[jump target=*menu]
*AIForChara2Enabled1
[eval exp="sf.AIForChara2Enabled = true"]
[jump target=*menu]
*AIForChara2Enabled2
[eval exp="sf.AIForChara2Enabled = false"]
[jump target=*menu]
*toCharacterSelect
[freeimage page=back layer=3]
[er]
[call storage=playerSelect.ks]
[jump target=*menu]
*toFutariPlayMode
[eval exp="sf.adjSinglePlayMode = false"]
[eval exp="sf.adjButtonStateSinglePlayMode.selected = false"]
[jump target=*menu]
*toCharacterChiffon
[eval exp="sf.adjSinglePlayMode = true"]
[eval exp="sf.selectCharacter=chrChiffon"]
[eval exp="sf.adjButtonStateSinglePlayMode.selected = true"]
[jump target=*menu]
*toCharacterChocolat
[eval exp="sf.adjSinglePlayMode = true"]
[eval exp="sf.selectCharacter=chrChocolat"]
[eval exp="sf.adjButtonStateSinglePlayMode.selected = true"]
[jump target=*menu]
*inputAtChocolatOnly1
[eval exp="sf.inputAtChocolatOnly = 0"]
[jump target=*menu]
*inputAtChocolatOnly2
[eval exp="sf.inputAtChocolatOnly = 1"]
[jump target=*menu]
;■■■ デフォルトに戻す ■■■
*to_default0
[iscript]
tf.str = [
'このページの設定内容をデフォルトに戻してもよろしいですか?',
'Do you really want to reset the settings on this page?'
];
tf.result=askYesNo(tf.str[sf.language]);
tf.str = void;
[endscript]
[jump target=*menu2 cond="tf.result==false"]
[iscript]
//難易度 0:Very Easy 1:Easy 2:Normal 3:Hard 4:Very Hard
sf.difficulty = 2;
//Hシーン 0:ドットアニメ 1:イベントCG 2:無し
sf.HSceneMode = 0;
sf.showCgInAnimeHScene = 1;
sf.gameoverHScene = 1;
//メッセージスキップモード 0:全てスキップ 1:既読のみ
sf.skipOnlyAlreadyRead=1;
//言語
sf.language = Ja;
//解像度
sf.screenMode = 2;
tf.screenMode = 2;
if(typeof(global.bao)!='undefined' && isvalid bao) bao.changeMode(sf.screenMode);
sf.HScreenMode =2;
tf.HScreenMode =2;
if(typeof(global.dho)!='undefined' && isvalid dho) dho.changeMode(sf.HScreenMode);
// // AIによるアシスト
// sf.adjAIAssist = false;
// AIの強さ
sf.adjAICleverness = 2;
// シングルプレイモード解除
sf.adjSinglePlayMode = false;
[endscript]
[eval exp="sf.noSeInSkip=1"]
[eval exp="kag.saveSystemVariables()"]
[jump target=*menu]
*to_default1
[iscript]
tf.str = [
'このページの設定内容をデフォルトに戻してもよろしいですか?',
'Do you really want to reset the settings on this page?',
'是否重設本頁的內容為預設值?',
'要将本页的设置内容重置为默认吗?'
];
tf.result=askYesNo(tf.str[sf.language]);
tf.str = void;
[endscript]
[jump target=*menu2 cond="tf.result==false"]
[iscript]
//キー設定
sf.keyMoveCursor = true;
sf.keyMoveNumPad = false;
sf.keyMoveWASD = false;
sf.keyUp[0] = [VK_UP];
sf.keyRight[0] = [VK_RIGHT];
sf.keyDown[0] = [VK_DOWN];
sf.keyLeft[0] = [VK_LEFT];
sf.keyUpRight[0] = [];
sf.keyDownRight[0] = [];
sf.keyDownLeft[0] = [];
sf.keyUpLeft[0] = [];
sf.keySpecial[0] = [VK_C, VK_PAD3];
sf.keyEscAttack[0] = [VK_C, VK_PAD3];
sf.keyAttack[0] = [VK_X, VK_PAD1];
sf.keyJump[0] = [VK_Z, VK_PAD2];
sf.keyPause[0] = [VK_ESCAPE, VK_PAD4, VK_PAUSE];
sf.keySwitch[0] = [VK_SPACE, VK_PAD11];
sf.keyLeaveIt[0] = [VK_CONTROL, ];
sf.keyOk[0] = [VK_X, VK_PAD1];
sf.keyCancel[0] = [VK_Z, VK_PAD2];
sf.keyNext[0] = [VK_0, VK_PAD6];
sf.keyPrev[0] = [VK_9, VK_PAD5];
sf.keyBC[0] = [ , ];
//ホイールを逆回転させたときの動作0:履歴画面, 1:巻き戻し)
sf.whenWheelUp=0;
//右クリック時の動作0:メッセージウィンドウ消去, 1:メニュー表示)
sf.whenRightClick=0;
[endscript]
[eval exp="kag.saveSystemVariables()"]
[jump target=*menu]
*to_default1-2
[iscript]
tf.str = [
'このページの設定内容をデフォルトに戻してもよろしいですか?',
'Do you really want to reset the settings on this page?',
'是否重設本頁的內容為預設值?',
'要将本页的设置内容重置为默认吗?'
];
tf.result=askYesNo(tf.str[sf.language]);
tf.str = void;
[endscript]
[jump target=*menu2 cond="tf.result==false"]
[iscript]
// キーボード・パッドの入力で2Pキャラも同時に操作する
sf.inputForBothCharacter = false;
// パッド1を1Pキャラの操作に使用する
sf.pad1InputForChara1 = true;
// 2P側AI操作
sf.AIForChara2Enabled = true;
// ショコラ単独行動時の操作を1Pと2Pのどちらが行うか(0:1P 1:2P)
sf.inputAtChocolatOnly = 0;
sf.keyUp[1] = [VK_UP2];
sf.keyRight[1] = [VK_RIGHT2];
sf.keyDown[1] = [VK_DOWN2];
sf.keyLeft[1] = [VK_LEFT2];
sf.keyUpRight[1] = [];
sf.keyDownRight[1] = [];
sf.keyDownLeft[1] = [];
sf.keyUpLeft[1] = [];
sf.keySpecial[1] = [VK_PAD2_3];
sf.keyEscAttack[1] = [VK_PAD2_3];
sf.keyAttack[1] = [VK_PAD2_1];
sf.keyJump[1] = [VK_PAD2_2];
sf.keyPause[1] = [VK_PAD2_4];
sf.keySwitch[1] = [VK_PAD2_11];
sf.keyLeaveIt[1] = [];
sf.keyOk[1] = [VK_PAD2_1];
sf.keyCancel[1] = [VK_PAD2_2];
sf.keyNext[1] = [VK_PAD2_6];
sf.keyPrev[1] = [VK_PAD2_5];
sf.keyBC[1] = [];
[endscript]
[eval exp="kag.saveSystemVariables()"]
[jump target=*menu]
*to_default2
[iscript]
tf.str = [
'このページの設定内容をデフォルトに戻してもよろしいですか?',
'Do you really want to reset the settings on this page?',
'是否重設本頁的內容為預設值?',
'要将本页的设置内容重置为默认吗?'
];
tf.result=askYesNo(tf.str[sf.language]);
tf.str = void;
[endscript]
[jump target=*menu2 cond="tf.result==false"]
[iscript]
//メッセージ速度
kag.userChSpeed=0;
//オートプレイの待ち時間
kag.autoModeLineWait=kag.autoModeLineWaits.medium;
//文字のアンチエイリアス
kag.chDefaultAntialiased = 1;
kag.fore.messages[0].antialiased= 1;
kag.back.messages[0].antialiased= 1;
kag.setMessageLayerUserFont();
//文字飾り(影)
kag.chrShadow=1;
//文字飾り(袋)
kag.chrEdge=1;
//表情表示のモード設定 0:常に表示 1:通常シーンのみ 2:Hシーンのみ 3:常に表示
sf.faceMode=0;
//表情表示モードの設定2 0:全て表示する 1:男キャラは表示しない
sf.faceModeChar=0;
//メッセージウィンドウの自動移動 0:自動移動しない 1:自動移動する
sf.windowAutoMove=1;
//次のメッセージはボイス付きかを表示するか
sf.showVoiceIndicator=1;
//メッセージウィンドウ濃度
sf.messageWindowOpacity=177;
kag.fore.messages[0].opacity = sf.messageWindowOpacity;
kag.back.messages[0].opacity = sf.messageWindowOpacity;
sf.effectFade=1;
sf.effectQuake=1;
sf.effectAnime=1;
sf.effectFlash=1;
sf.effectMovieMode=1;
//既読メッセージの色
kag.changeColorAlreadyReadText=1;
//メッセージスキップモード 0:全てスキップ 1:既読のみ
sf.skipOnlyAlreadyRead=1;
//アヘ顔表示
sf.アヘ顔表示無し=0;
// ポーズ画面
sf.pauseScreenMode = 1;
//Hシーンに入ったらカウントを表示する
sf.showExtasyCount=1;
//アクションシーンカットイン 0:無し 1:有り
sf.actionSceneCutin = 1;
// 操作キャラインジケータ表示 0:_無し 1:切り替え時のみ 2:常時
sf.showSelectIndicator = 2;
[endscript]
[eval exp="kag.saveSystemVariables()"]
[jump target=*menu]
*to_default3
[iscript]
tf.str = [
'このページの設定内容をデフォルトに戻してもよろしいですか?¥(音量が急に大きくなる場合がありますのでご注意下さい)',
'Do you really want to reset the settings on this page? ¥(Take care of volume becoming louder)',
'是否重設本頁的內容為預設值?¥(音量可能會突然增大,還請注意)',
'要将本页的设置内容重置为默认吗?¥(请注意音量忽然变大的情况)'
];
tf.result=askYesNo(tf.str[sf.language]);
tf.str = void;
[endscript]
[jump target=*menu2 cond="tf.result==false"]
[iscript]
//ボイス再生時にクリックしたときの動作 0:ボイスを止めないまま次のメッセージへ 1:ボイスを止める
sf.voiceStopAtClick=0;
//オートプレイ時の挙動 0:ボイス再生終了を待たない 1:ボイス再生終了を待つ
sf.waitVoiceEndInAutoMode=1;
//スキップ中はSEを再生しない
sf.noSeInSkip=1;
sf.masterMute = 0;
sf.bgmMute=0;
sf.voiceMute=0;
sf.bgVoiceMute=0;
sf.actVoiceMute=0;
sf.seMute=0;
sf.bgSeMute=0;
sf.masterVolume = 10;
sf.bgmVolume=14;
sf.voiceVolume=16;
sf.bgVoiceVolume=14;
sf.actVoiceVolume=20;
sf.seVolume=16;
sf.BgSeVolume=16;
sf.voiceSetting1 = [1,1,1,1];
sf.voiceSetting2 = [1,1,1,1];
sf.voiceSetting3 = [1,1,1,1];
sf.voiceVolume2 = [100,100,100,100];
[endscript]
;[seopt buf=0 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=1 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=2 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=3 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=4 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=5 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
;[seopt buf=6 gvolume=&"f.volumeMatrix[sf.voiceVolume]*f.volumeMatrix[sf.bgVoiceVolume]/100"]
;[seopt buf=7 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=8 gvolume=&"f.volumeMatrix[sf.BgSeVolume]"]
;[seopt buf=9 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=10 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=11 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=12 gvolume=&"f.volumeMatrix[sf.seVolume]"]
;[seopt buf=14 gvolume=&"f.volumeMatrix[sf.voiceVolume]"]
; buf=13は固定
[call target=*setVolume]
[eval exp="kag.saveSystemVariables()"]
[jump target=*menu]
*setVolume
[eval exp="kag.conductor.debugLevel = tkdlNone"]
[if exp="sf.seMute==0 && !sf.masterMute"]
[seopt buf=0 gvolume="&(f.volumeMatrix[sf.seVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=1 gvolume="&(f.volumeMatrix[sf.seVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=9 gvolume="&(f.volumeMatrix[sf.seVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=10 gvolume="&(f.volumeMatrix[sf.seVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=11 gvolume="&(f.volumeMatrix[sf.seVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=12 gvolume="&(f.volumeMatrix[sf.seVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[else]
[seopt buf=0 gvolume=0]
[seopt buf=1 gvolume=0]
[seopt buf=9 gvolume=0]
[seopt buf=10 gvolume=0]
[seopt buf=11 gvolume=0]
[seopt buf=12 gvolume=0]
[endif]
[if exp="sf.bgSeMute==0 && !sf.masterMute"]
[seopt buf=7 gvolume="&(f.volumeMatrix[sf.BgSeVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=8 gvolume="&(f.volumeMatrix[sf.BgSeVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=15 gvolume="&(f.volumeMatrix[sf.BgSeVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=16 gvolume="&(f.volumeMatrix[sf.BgSeVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[else]
[seopt buf=7 gvolume=0]
[seopt buf=8 gvolume=0]
[seopt buf=15 gvolume=0]
[seopt buf=16 gvolume=0]
[endif]
[if exp="sf.voiceMute==0 && !sf.masterMute"]
[seopt buf=2 gvolume="&(f.volumeMatrix[sf.voiceVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=3 gvolume="&(f.volumeMatrix[sf.voiceVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=5 gvolume="&(f.volumeMatrix[sf.voiceVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[seopt buf=14 gvolume="&(f.volumeMatrix[sf.voiceVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[else]
[seopt buf=2 gvolume=0]
[seopt buf=3 gvolume=0]
[seopt buf=5 gvolume=0]
[seopt buf=14 gvolume=0]
[endif]
[if exp="sf.bgVoiceMute==0 && !sf.masterMute"]
[seopt buf=4 gvolume="&(f.volumeMatrix[sf.voiceVolume] * (f.volumeMatrix[sf.bgVoiceVolume]/100) * (f.volumeMatrix[sf.masterVolume])/100)"]
[seopt buf=6 gvolume="&(f.volumeMatrix[sf.voiceVolume] * (f.volumeMatrix[sf.bgVoiceVolume]/100) * (f.volumeMatrix[sf.masterVolume])/100)"]
[else]
[seopt buf=4 gvolume=0]
[seopt buf=6 gvolume=0]
[endif]
[if exp="sf.bgmMute==0 && !sf.masterMute"]
[bgmopt gvolume="&(f.volumeMatrix[sf.bgmVolume] * f.volumeMatrix[sf.masterVolume] / 100)"]
[else]
[bgmopt gvolume=0]
[endif]
[eval exp="kag.conductor.debugLevel = tkdlVerbose"]
[return]