LoadingMSG DF37_カスタムLoad1.png;
INI seen;
CALL DF37_map_set.txt,DF37-ホームA1;

Music STOP;
//Music LOAD,bid.mid;
Music LOAD,kyouki_xg.mid;
Music PLAY,true;
SetViewLimit ALL;


//SetPar_ADDcs P01;//着せ替えアイテムフラグを追加する


//▼ｾﾚｸﾀﾌﾞﾙﾛｰﾄﾞ
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01;
CALL DF37_char_set.txt,SET_MEGA-CS;//●2:メガネ
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_Layer4_CS;//●服
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛





* 服装MENU;
Load_BG_SiriteFile 着せ替え画面2.jpg;
IconDELL ;
XFile4_ID 0,true;

Set_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View 4.265,0.533,1.219,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View MoveTime,30;//視点移動時間指定
Motion_Load DF37_seen2_ホーム_A01立ち.txt,true,,;
Motion_SetSpeed 0.3;
Motion_KeyType 1;
CALL DF37_char_set.txt,カメラ目線OFF;
CALL DF37_char_set.txt,表情-可動;

GOSUB 設定更新;

Load_FG_SiriteFile DF37_カスタムFG1.png;
//1:Type,処理タイプ
//2:TotalTime,表示時間
//3:InOutTime,入りと出の時間(合計で２倍)
//4:ListNo,分割数
//5:OffsetTime,分割時の遅延時間
//6:Move,移動量
Set_FG_SiritePar 4,60,30,1,1,-300;//エフェクト指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

//ロード待ち撮影用
//Set_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
//Set_FG_SiritePar -1;//常に非表示

//GOSUB CAS_MENU;//2007/05/26 ディレクトリメニューのテスト

//Move_View -0.0575,0.9042,-1.6259,0.0219,-0.0485,0.9985;
Menu_CLS ;
Menu_Titol メニュー;
Menu_ADD 編集終了;
Menu_ADD 下着・水着変更;
Menu_ADD メガネ変更;
Menu_ADD 髪型変更;
Menu_ADD 瞳カラー;
Menu_ADD 陰毛設定;
Menu_ADD ボディTYPE;
Menu_ADD 顔TYPE;
Menu_ADD カラーカスタム;
Menu_ADD オッパイ;
Menu_ADD 確認表示;
Menu_ADD 追加カスタム;
Menu_ADD CAS-BACKUP;
Loop_4_menu false;

//Select_GOTO ,,,,,,,,,,保存終了;
Goto@ @RetMenu,0,保存終了;

Mov_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View MoveTime,30;//視点移動時間指定
Set_FG_SiritePar 4,60,30,1,1,300;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;

//Select_GOSUB 下水着変更,メガネ変更,髪型変更,瞳変更
// ,陰毛,BODYTYPE,顔C,カラーC,確認表示;
Gosub@ @RetMenu,1,下水着変更;
Gosub@ @RetMenu,2,メガネ変更;
Gosub@ @RetMenu,3,髪型変更;
Gosub@ @RetMenu,4,瞳変更;
Gosub@ @RetMenu,5,陰毛;
Gosub@ @RetMenu,6,BODYTYPE;
Gosub@ @RetMenu,7,顔C;
Gosub@ @RetMenu,8,カラーC;
Gosub@ @RetMenu,9,胸C;
Gosub@ @RetMenu,10,確認表示;
Gosub@ @RetMenu,11,CAS_MENU;
Gosub@ @RetMenu,12,BACKUP_MENU;

GOTO 服装MENU;

* 破棄終了;
DataLoad3 G_save0.txt;
RETURN ;

* 保存終了;
DataSave3 G_save0.txt;
Motion_Load DF37_seen2_ホーム_A01立ち_バイバイ.txt,true,,;
Mov_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View MoveTime,30;//視点移動時間指定
Set_FG_SiritePar 4,60,30,1,1,300;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;

Load_FG_SiriteFile DF37_カスタムFG2.png;
Set_FG_SiritePar 5,120,30,1,1,480;//エフェクト指定
Loop_4_ft -,30,1.0;
Set_FG_SiritePar -1;//常に非表示

RETURN ;

* 確認表示;
//Set_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Motion_Load DF37_seen2_ホーム_A01立ち.txt,true,,;
Motion_SetSpeed 0.3;
Motion_KeyType 1;

//CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-困1;//表情-困1;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01c;//カメラ目線・口閉じ
IconDELL ;
IconADD 録画;
IconADD オプション;
IconADD 隠蔽スイッチ;
IconADD カメラ;
IconADD 速度;
IconADD OPB;

* 確認表示_2;
Menu_CLS ;
Menu_Titol メニュー;
Menu_ADD 戻る;
Menu_ADD 服on;
Menu_ADD 服off;
Menu_ADD 下着on;
Menu_ADD 下着off;
Menu_ADD 動き1;
Menu_ADD 動き2;
Loop_4_menu true;
//Select_GOTO ,ani01,ani02;
Goto@ @RetMenu,1,確認表示_服on;
Goto@ @RetMenu,2,確認表示_服off;
Goto@ @RetMenu,3,確認表示_下着on;
Goto@ @RetMenu,4,確認表示_下着off;
Goto@ @RetMenu,5,ani01;
Goto@ @RetMenu,6,ani02;
RETURN ;

* 確認表示_服on;
CALL DF37_char_set.txt,SET_Layer4_CS;//●服
XFile4_ID 0,true;
Motion_SP1Reset ;//慣性リセット
GOTO 確認表示_2;

* 確認表示_服off;
XFile4_ID 4,false;
XFile4_ID 0,true;
GOTO 確認表示_2;

* 確認表示_下着on;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
XFile4_ID 0,true;
Motion_SP1Reset ;//慣性リセット
GOTO 確認表示_2;

* 確認表示_下着off;
XFile4_ID 3,false;
XFile4_ID 0,true;
GOTO 確認表示_2;

* ani01;
Motion_Load DF37_seen1_車内3_A01抵抗.txt;
Motion_KeyType 2;
Set_View 0.283,-1.182,1.183,-0.4317,0.6586,-0.6162,0.220,0.739,0.635,0.256;
GOTO 確認表示_2;

* ani02;
Motion_Load h4_S08_t4-服装ポーズ(1-2.txt,ture;
Motion_KeyType 2;
Motion_SetSpeed 0.08;
Set_View -0.042,1.190,-4.860,0.0071,-0.1116,0.9937,0.000,0.993,0.111,0.256;
GOTO 確認表示_2;



* RET;
RETURN ;

* 設定更新;
XFile4_ID 0,true;
Motion_SP1Reset ;//慣性リセット
SetLoop SpecialBone,b頭2,0;//カメラ目線解除
RETURN ;


* 下水着変更;
Motion_Load DF37_seen2_ホーム_A01立ち_回転.txt,true,,;
Motion_SetSpeed 0.05;
Motion_KeyType 0;
Move_View 4.199,0.654,1.588,-0.9975,0.0504,-0.0490,0.050,0.998,0.002,0.256;
CALL DF37_char_set.txt,カメラ目線ON;

Load_FG_SiriteFile DF37_カスタム_下着FG.png;
Set_FG_SiritePar 4,60,30,1,1,400;//エフェクト指定
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,60,2.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.05;
Motion_SP1Reset ;//慣性リセット

XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;
MenuGB_MenuSetID -1;
IconDELL ;
IconADDcs menu_icon_mmDF37CS-ret.png,戻る,,420,80;
IconADDcs menu_icon_mmDF37CS-00.png,なし,,420,120;
// 480 520 560 600
IconADDcs menu_icon_mmDF37CS-Shorts_0000.png,ワンピー,,480, 80;
IconADDcs menu_icon_mmDF37CS-Shorts_0001.png,ビキニ　,,480,120;
IconADDcs menu_icon_mmDF37CS-Shorts_0034.png,スク水小,,480,160;
IconADDcs menu_icon_mmDF37CS-Shorts_0008.png,スク水旧,,480,200;
IconADDcs menu_icon_mmDF37CS-Shorts_0024.png,スク水新,,480,240;
IconADDcs menu_icon_mmDF37CS-Shorts_0031.png,スク新Ｈ,,480,280;
IconADDcs menu_icon_mmDF37CS-Shorts_0021.png,スク競泳,,480,320;
IconADDcs menu_icon_mmDF37CS-Shorts_0022.png,競泳ＲＸ,,480,360;
IconADDcs menu_icon_mmDF37CS-Shorts_0025.png,競泳ＶＸ,,480,400;
IconADDcs menu_icon_mmDF37CS-Shorts_0026.png,スポブラ,,480,440;

IconADDcs menu_icon_mmDF37CS-Shorts_0007.png,ワンピー,,600, 80;
IconADDcs menu_icon_mmDF37CS-Shorts_0009.png,ビキニ　,,600,120;
IconADDcs menu_icon_mmDF37CS-Shorts_0010.png,スク水小,,600,160;
IconADDcs menu_icon_mmDF37CS-Shorts_0011.png,スク水旧,,600,200;
IconADDcs menu_icon_mmDF37CS-Shorts_0013.png,スク水新,,600,240;
IconADDcs menu_icon_mmDF37CS-Shorts_0014.png,スク新Ｈ,,600,280;
IconADDcs menu_icon_mmDF37CS-Shorts_0017.png,スク競泳,,600,320;
IconADDcs menu_icon_mmDF37CS-Shorts_0018.png,競泳ＲＸ,,600,360;
IconADDcs menu_icon_mmDF37CS-Shorts_0020.png,競泳ＶＸ,,600,400;
IconADDcs menu_icon_mmDF37CS-Shorts_0019.png,スポブラ,,600,440;

IconADDcs menu_icon_mmDF37CS-Shorts_0027.png,ワンピー,,520, 80;
IconADDcs menu_icon_mmDF37CS-Shorts_0004.png,ビキニ　,,520,120;
IconADDcs menu_icon_mmDF37CS-Shorts_0016.png,スク水小,,520,160;
IconADDcs menu_icon_mmDF37CS-Shorts_0028.png,スク水旧,,520,200;
IconADDcs menu_icon_mmDF37CS-Shorts_0029.png,スク水新,,520,240;
IconADDcs menu_icon_mmDF37CS-Shorts_0030.png,スク新Ｈ,,520,280;
IconADDcs menu_icon_mmDF37CS-Shorts_0032.png,スク競泳,,520,320;
IconADDcs menu_icon_mmDF37CS-Shorts_0003.png,競泳ＲＸ,,520,360;
IconADDcs menu_icon_mmDF37CS-Shorts_0033.png,競泳ＶＸ,,520,400;
IconADDcs menu_icon_mmDF37CS-Shorts_0012.png,スポブラ,,520,440;

IconADDcs menu_icon_mmDF37CS-Shorts_0023.png,ワンピー,,560, 80;
IconADDcs menu_icon_mmDF37CS-Shorts_0035.png,ビキニ　,,560,120;
IconADDcs menu_icon_mmDF37CS-Shorts_0036.png,スク水小,,560,160;
IconADDcs menu_icon_mmDF37CS-Shorts_0037.png,スク水旧,,560,200;
IconADDcs menu_icon_mmDF37CS-Shorts_0038.png,スク水新,,560,240;
IconADDcs menu_icon_mmDF37CS-Shorts_0039.png,スク新Ｈ,,560,280;
IconADDcs menu_icon_mmDF37CS-Shorts_0002.png,スク競泳,,560,320;
IconADDcs menu_icon_mmDF37CS-Shorts_0005.png,競泳ＲＸ,,560,360;
IconADDcs menu_icon_mmDF37CS-Shorts_0015.png,競泳ＶＸ,,560,400;
IconADDcs menu_icon_mmDF37CS-Shorts_0006.png,スポブラ,,560,440;


* 下水着変更-Loop;
Loop_GBmenu ;
Select@ @RetMenu,GOTO,下水着変更-RET;
SetCS p3,@RetMenu;
MatColorCHANGE_OFF 水着の色1;//マテリアルカラー変更設定を破棄
MatColorCHANGE_OFF 水着の色2;//読み込む前にリセット
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
GOSUB 設定更新;
GOTO 下水着変更-Loop;


* 下水着変更-RET;
Set_FG_SiritePar 4,60,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
RETURN ;





* 髪型変更;
Mov_View 2.492,0.878,1.422,-0.9927,0.0804,-0.0888,0.078,0.996,0.028,0.256;

Load_FG_SiriteFile DF37_カスタム_髪FG.png;
Set_FG_SiritePar 4,60,30,1,1,400;//エフェクト指定
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

MenuGB_MenuSetID -1;
IconDELL ;
IconADDcs menu_icon_mmDF37CS-ret.png,戻る,,420,80;
IconADDcs menu_icon_mmDF37CS-Hair01a.png,髪型１,,480, 80;
IconADDcs menu_icon_mmDF37CS-Hair01c.png,髪型１,,520, 80;
IconADDcs menu_icon_mmDF37CS-Hair01b.png,髪型１,,560, 80;
IconADDcs menu_icon_mmDF37CS-Hair01d.png,髪型１,,600, 80;

IconADDcs menu_icon_mmDF37CS-Hair02a.png,髪型２,,480,120;
IconADDcs menu_icon_mmDF37CS-Hair02b.png,髪型２,,520,120;
IconADDcs menu_icon_mmDF37CS-Hair02c.png,髪型２,,560,120;
IconADDcs menu_icon_mmDF37CS-Hair02d.png,髪型２,,600,120;

IconADDcs menu_icon_mmDF37CS-Hair03a.png,髪型３,,480,160;
IconADDcs menu_icon_mmDF37CS-Hair03b.png,髪型３,,520,160;
IconADDcs menu_icon_mmDF37CS-Hair03c.png,髪型３,,560,160;
IconADDcs menu_icon_mmDF37CS-Hair03d.png,髪型３,,600,160;

IconADDcs menu_icon_mmDF37CS-Hair04a.png,髪型４,,480,200;
IconADDcs menu_icon_mmDF37CS-Hair04b.png,髪型４,,520,200;
IconADDcs menu_icon_mmDF37CS-Hair04c.png,髪型４,,560,200;
IconADDcs menu_icon_mmDF37CS-Hair04d.png,髪型４,,600,200;

IconADDcs menu_icon_mmDF37CS-Hair05.png,髪型５,,480,240;
IconADDcs menu_icon_mmDF37CS-Hair05b.png,髪型５,,520,240;
IconADDcs menu_icon_mmDF37CS-Hair05c.png,髪型５,,560,240;
IconADDcs menu_icon_mmDF37CS-Hair05d.png,髪型５,,600,240;



* 髪型変更-Loop;
Loop_GBmenu ;
Select@ @RetMenu,GOTO,髪型変更-RET;
SetCS p5,@RetMenu;
//モデルを読み込む前にカラーリセット！
MatColorCHANGE_OFF 髪の毛の色;//マテリアルカラー変更設定を破棄
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛
GOSUB 設定更新;
GOTO 髪型変更-Loop;

* 髪型変更-RET;
Set_FG_SiritePar 4,60,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
RETURN ;




* メガネ変更;
Mov_View 2.492,0.878,1.422,-0.9927,0.0804,-0.0888,0.078,0.996,0.028,0.256;
Load_FG_SiriteFile DF37_カスタム_メガネFG.png;
Set_FG_SiritePar 4,60,30,1,1,400;//エフェクト指定
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

MenuGB_MenuSetID -1;
IconDELL ;
IconADDcs menu_icon_mmDF37CS-ret.png,戻る,,420,80;
IconADDcs menu_icon_mmDF37CS-00.png,なし,,420,120;
IconADDcs menu_icon_mmDF37CS-MEGA_0000.png,メガネ１,,480, 80;
IconADDcs menu_icon_mmDF37CS-MEGA_0001.png,メガネ１,,520, 80;
IconADDcs menu_icon_mmDF37CS-MEGA_0002.png,メガネ１,,560, 80;

IconADDcs menu_icon_mmDF37CS-MEGA_0003.png,四角,,480,120;
IconADDcs menu_icon_mmDF37CS-MEGA_0004.png,四角,,520,120;
IconADDcs menu_icon_mmDF37CS-MEGA_0005.png,四角,,560,120;

IconADDcs menu_icon_mmDF37CS-MEGA_0006.png,ツリ目,,480,160;
IconADDcs menu_icon_mmDF37CS-MEGA_0007.png,ツリ目,,520,160;
IconADDcs menu_icon_mmDF37CS-MEGA_0008.png,ツリ目,,560,160;

IconADDcs menu_icon_mmDF37CS-MEGA_0009.png,丸レンズ,,480,200;
IconADDcs menu_icon_mmDF37CS-MEGA_0010.png,丸レンズ,,520,200;
IconADDcs menu_icon_mmDF37CS-MEGA_0011.png,丸レンズ,,560,200;

IconADDcs menu_icon_mmDF37CS-MEGA_0012.png,リムレス,,480,240;
IconADDcs menu_icon_mmDF37CS-MEGA_0013.png,リムレス,,520,240;
IconADDcs menu_icon_mmDF37CS-MEGA_0014.png,リムレス,,560,240;

* メガネ変更-Loop;
Loop_GBmenu ;
Select@ @RetMenu,GOTO,メガネ変更-RET;
SetCS p2,@RetMenu;
CALL DF37_char_set.txt,SET_MEGA-CS;//●2:メガネ
GOSUB 設定更新;
GOTO メガネ変更-Loop;

* メガネ変更-RET;
Set_FG_SiritePar 4,60,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
RETURN ;




* 瞳変更;
Mov_View 2.492,0.878,1.422,-0.9927,0.0804,-0.0888,0.078,0.996,0.028,0.256;

Mov_View MoveTime,30;//視点移動時間指定
Load_FG_SiriteFile DF37_カスタム_目FG.png;
//1:Type,処理タイプ
//2:TotalTime,表示時間
//3:InOutTime,入りと出の時間(合計で２倍)
//4:ListNo,分割数
//5:OffsetTime,分割時の遅延時間
//6:Move,移動量
Set_FG_SiritePar 4,60,30,1,1,400;//エフェクト指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

MenuGB_MenuSetID -1;
IconDELL ;
IconADDcs menu_icon_mmDF37CS-ret.png,戻る,,420,80;
IconADDcs menu_icon_mmDF37CS-eye01.png,標準　　,,480, 80;
IconADDcs menu_icon_mmDF37CS-eye02.png,イエロー,,520, 80;
IconADDcs menu_icon_mmDF37CS-eye03.png,エメラル,,560, 80;
IconADDcs menu_icon_mmDF37CS-eye04.png,クリアブ,,600, 80;

IconADDcs menu_icon_mmDF37CS-eye05.png,グレー　,,480,120;
IconADDcs menu_icon_mmDF37CS-eye06.png,ゴールド,,520,120;
IconADDcs menu_icon_mmDF37CS-eye07.png,ブラッド,,560,120;
IconADDcs menu_icon_mmDF37CS-eye08.png,ブルー　,,600,120;

IconADDcs menu_icon_mmDF37CS-eye09.png,マゼンダ,,480,160;
IconADDcs menu_icon_mmDF37CS-eye10.png,ライトブ,,520,160;
IconADDcs menu_icon_mmDF37CS-eye11.png,黄色,,560,160;
IconADDcs menu_icon_mmDF37CS-eye12.png,黒,,600,160;

IconADDcs menu_icon_mmDF37CS-eye13.png,青,,480,200;
IconADDcs menu_icon_mmDF37CS-eye14.png,赤,,520,200;
IconADDcs menu_icon_mmDF37CS-eye15.png,緑,,560,200;
//IconADDcs menu_icon_mmDF37CS-HAIR_0003.png,髪型４,,600,200;

* 瞳変更-Loop;
Loop_GBmenu ;
Goto@ @RetMenu,0,瞳-RET;
Gosub@ @RetMenu,1,瞳-デフォルト;
Gosub@ @RetMenu,2,瞳-イエロー;
Gosub@ @RetMenu,3,瞳-エメラルド;
Gosub@ @RetMenu,4,瞳-クリアブルー;
Gosub@ @RetMenu,5,瞳-グレー;
Gosub@ @RetMenu,6,瞳-ゴールド;
Gosub@ @RetMenu,7,瞳-ブラッド;
Gosub@ @RetMenu,8,瞳-ブルー;
Gosub@ @RetMenu,9,瞳-マゼンダ;
Gosub@ @RetMenu,10,瞳-ライトブルー;
Gosub@ @RetMenu,11,瞳-黄色;
Gosub@ @RetMenu,12,瞳-黒;
Gosub@ @RetMenu,13,瞳-青;
Gosub@ @RetMenu,14,瞳-赤;
Gosub@ @RetMenu,15,瞳-緑;

XFile4_ID 0,true;//一度ダミーを読み込んでメッシュ情報をクリアにする
XFile4_Load DF37_Dummy.x,DF37_Dummy-Rmat.txt;
XFile4_ID 1,true;
XFile4_Load DF37_Dummy.x,DF37_Dummy-Rmat.txt;
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01;
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛//陰毛の色を再設定する為。

GOSUB 設定更新;
GOTO 瞳変更-Loop;

* 瞳-RET;
Mov_View MoveTime,30;//視点移動時間指定
Set_FG_SiritePar 4,60,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
RETURN ;

* 瞳-デフォルト;
FileCopy mdl\CPFT-01_tex01_デフォルト.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-イエロー;
FileCopy mdl\CPFT-01_tex01_イエロー.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-エメラルド;
FileCopy mdl\CPFT-01_tex01_エメラルド.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-クリアブルー;
FileCopy mdl\CPFT-01_tex01_クリアブルー.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-グレー;
FileCopy mdl\CPFT-01_tex01_グレー.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-ゴールド;
FileCopy mdl\CPFT-01_tex01_ゴールド.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-ブラッド;
FileCopy mdl\CPFT-01_tex01_ブラッド.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-ブルー;
FileCopy mdl\CPFT-01_tex01_ブルー.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-マゼンダ;
FileCopy mdl\CPFT-01_tex01_マゼンダ.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-ライトブルー;
FileCopy mdl\CPFT-01_tex01_ライトブルー.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-黄色;
FileCopy mdl\CPFT-01_tex01_黄色.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-黒;
FileCopy mdl\CPFT-01_tex01_黒.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-青;
FileCopy mdl\CPFT-01_tex01_青.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-赤;
FileCopy mdl\CPFT-01_tex01_赤.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-緑;
FileCopy mdl\CPFT-01_tex01_緑.png,mdl\CPFT-01_tex01.png;
RETURN ;

* 瞳-;
FileCopy mdl\CPFT-01_tex01_.png,mdl\CPFT-01_tex01.png;
RETURN ;




* 陰毛;
Mov_View 2.157,0.514,1.346,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Load_FG_SiriteFile DF37_カスタム_陰毛FG.png;
Set_FG_SiritePar 5,60,30,1,1,-300;//エフェクト指定
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

XFile4_ID 3,false;//下着を消す
XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;
MenuGB_MenuSetID -1;
IconDELL ;
IconADDcs menu_icon_mmDF37CS-ret.png,戻る,,420,80;
IconADDcs menu_icon_mmDF37CS-UnderHair01.png,無毛　　,,480, 80;
IconADDcs menu_icon_mmDF37CS-UnderHair02.png,陰毛−小,,520, 80;
IconADDcs menu_icon_mmDF37CS-UnderHair03.png,陰毛−中,,560, 80;
IconADDcs menu_icon_mmDF37CS-UnderHair04.png,陰毛−大,,600, 80;

* 陰毛-Loop;
Loop_GBmenu ;
Goto@ @RetMenu,0,陰毛-RET;
Gosub@ @RetMenu,1,陰毛-無;
Gosub@ @RetMenu,2,陰毛-小;
Gosub@ @RetMenu,3,陰毛-中;
Gosub@ @RetMenu,4,陰毛-大;

XFile4_ID 0,true;//一度ダミーを読み込んでメッシュ情報をクリアにする
XFile4_Load DF37_Dummy.x,DF37_Dummy-Rmat.txt;
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
MatColorCopy 5,髪1,0,陰毛;

GOSUB 設定更新;
GOTO 陰毛-Loop;


* 陰毛-RET;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着//脱がしたので、もう一度着せる
CALL DF37_char_set.txt,SET_Layer4_CS;//●服

Set_FG_SiritePar 5,60,30,1,1,300;//エフェクト指定
Set_FG_SiritePar after;
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
RETURN ;


* 陰毛-無;
FileCopy mdl\CPFT-01_tex17_0.png,mdl\CPFT-01_tex17.png;
RETURN ;

* 陰毛-小;
FileCopy mdl\CPFT-01_tex17_1.png,mdl\CPFT-01_tex17.png;
RETURN ;

* 陰毛-中;;
FileCopy mdl\CPFT-01_tex17_2.png,mdl\CPFT-01_tex17.png;
RETURN ;

* 陰毛-大;
FileCopy mdl\CPFT-01_tex17_3.png,mdl\CPFT-01_tex17.png;
RETURN ;




* カラーC;
Load_FG_SiriteFile DF37_カラーアセンBG.png;
//1:Type,処理タイプ
//2:TotalTime,表示時間
//3:InOutTime,入りと出の時間(合計で２倍)
//4:ListNo,分割数
//5:OffsetTime,分割時の遅延時間
//6:Move,移動量
Set_FG_SiritePar 1,120,30,6,5,1200;//エフェクト指定
Loop_4_ft 0,60,1.0;

XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;

Load_BG_SiriteFile DF37_カラーアセンBG.png;
Motion_Load DF37_seen2_ホーム_A01立ち_回転.txt,true,,;
Motion_SetSpeed 0.05;
Motion_KeyType 0;

Loop_4_ft 0,60,1.0;
Motion_SetSpeed 0.05;

Load_FG_SiriteFile DF37_カラーアセン1.png;
Set_FG_SiritePar 0;//常に表示
* カラーC-Loop;
Menu_CLS ;
Menu_Titol カラーカスタマイズ;
Menu_ADD ＯＫ;
Menu_ADD 髪の毛;
Menu_ADD 下着/水着ﾒｲﾝｶﾗｰ;
Menu_ADD 下着/水着ｻﾌﾞｶﾗｰ;
Menu_ADD ｶﾗｰ解除-髪の毛;
Menu_ADD ｶﾗｰ解除-下着;
Loop_4_menu true;
Select_GOTO ,カラーC-1,カラーC-2,カラーC-3,カラーC-解除-髪,カラーC-解除-下着;


Load_FG_SiriteFile DF37_カラーアセン3.png;
Set_FG_SiritePar 4,120,20,6,5,700;//エフェクト指定
Loop_4_ft -,60,1.0;
Set_FG_SiritePar -1;//常に非表示

CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
RETURN ;



* カラーC-解除-髪;
MatColorCHANGE_OFF 髪の毛の色;//マテリアルカラー変更設定を破棄
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛
GOTO カラーC-Loop;

* カラーC-解除-下着;
MatColorCHANGE_OFF 水着の色1;//マテリアルカラー変更設定を破棄
MatColorCHANGE_OFF 水着の色2;//読み込む前にリセット
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
XFile4_ID 0,true;//慣性リセット
Motion_SP1Reset ;//慣性リセット
GOTO カラーC-Loop;


* カラーC-1;
Load_FG_SiriteFile DF37_カラーアセン2.png;
Set_FG_SiritePar 0;//常に表示
//
Loop_MatColorCHANGE 5,髪1,5,髪2,髪の毛の色;
MatColorCHANGE 5,髪1,5,髪2,髪の毛の色;
//
Set_FG_SiritePar -1;//常に非表示
GOTO カラーC-Loop;


* カラーC-2;
Load_FG_SiriteFile DF37_カラーアセン2.png;
Set_FG_SiritePar 0;//常に表示
//
Loop_MatColorCHANGE 3,下着1,,-1,水着の色1;
MatColorCHANGE 3,下着1,,-1,水着の色1;
//
Set_FG_SiritePar -1;//常に非表示
GOTO カラーC-Loop;


* カラーC-3;
Load_FG_SiriteFile DF37_カラーアセン2.png;
Set_FG_SiritePar 0;//常に表示
//
Loop_MatColorCHANGE 3,下着2,,-1,水着の色2;
MatColorCHANGE 3,下着2,,-1,水着の色2;
//
Set_FG_SiritePar -1;//常に非表示
GOTO カラーC-Loop;




* BODYTYPE;
XFile4_ID 3,false;//下着を消す
XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;

Menu_CLS ;
Menu_Titol ボディー設定;
Menu_ADD 戻る;
Menu_ADD ノーマル;
Menu_ADD ハイポリゴン;
Loop_4_menu false;
Select_GOTO ,BODYTYPE-1,BODYTYPE-2;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
RETURN ;

* BODYTYPE-1;
SetCS p4,0;
CALL DF37_char_set.txt,SET_BODY-CS;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
RETURN ;


* BODYTYPE-2;
SetCS p4,1;
CALL DF37_char_set.txt,SET_BODY-CS;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
RETURN ;




* 顔C;
Mov_View 2.492,0.878,1.422,-0.9927,0.0804,-0.0888,0.078,0.996,0.028,0.256;

Mov_View MoveTime,30;//視点移動時間指定
Load_FG_SiriteFile DF37_カスタム_顔FG.png;
Set_FG_SiritePar 4,60,30,1,1,400;//エフェクト指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

MenuGB_MenuSetID -1;
IconDELL ;
IconADDcs menu_icon_mmDF37CS-Face01.png,標準　　,,520,140;
IconADDcs menu_icon_mmDF37CS-Face02.png,吊り眼　,,520,300;

* 顔C-Loop;
Loop_GBmenu ;
Gosub@ @RetMenu,0,顔C-1;
Gosub@ @RetMenu,1,顔C-2;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01;
GOSUB 設定更新;

Mov_View MoveTime,30;//視点移動時間指定
Set_FG_SiritePar 4,60,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
RETURN ;


* 顔C-1;
SetCS p1,1;
RETURN ;

* 顔C-2;
SetCS p1,3;
RETURN ;







* 胸C;
Load_FG_SiriteFile DF37_パイカス_FG1.png;
Set_FG_SiritePar 1,120,30,6,5,1200;//エフェクト指定
Loop_4_ft 0,60,1.0;

XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;

Load_BG_SiriteFile DF37_パイカス_BG.png;
Motion_Load DF37_seen2_ホーム_A01立ち_回転.txt,true,,;
Motion_SetSpeed 0.05;
Motion_SetSpeed 0.0;
Motion_KeyType 0;
Set_View 1.899,0.908,1.716,-0.8532,-0.0687,-0.5169,-0.065,0.997,-0.024,0.256;

Loop_4_ft 0,60,1.0;
Motion_SetSpeed 0.05;
Motion_SetSpeed 0.0;

Load_FG_SiriteFile DF37_パイカス_FG.png;
Set_FG_SiritePar 0;//常に表示
* 胸C-Loop;
Loop_OpaiCNV ;//バストサイズのカスタマイズ

Load_FG_SiriteFile DF37_パイカス_FG1.png;
Set_FG_SiritePar 4,120,20,6,5,700;//エフェクト指定
Loop_4_ft -,60,1.0;
Set_FG_SiritePar -1;//常に非表示

//モデル変形時の精度の問題の為、再度読み込む
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛　//陰毛色の為
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
RETURN ;







* CAS_MENU;
Load_BG_SiriteFile 着せ替え画面2.jpg;
IconDELL ;
XFile4_ID 0,true;

Set_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View 4.265,0.533,1.219,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View MoveTime,30;//視点移動時間指定
Motion_Load DF37_seen2_ホーム_A01立ち.txt,true,,;
Motion_SetSpeed 0.3;
Motion_KeyType 1;
CALL DF37_char_set.txt,カメラ目線OFF;
CALL DF37_char_set.txt,表情-可動;

GOSUB 設定更新;

Load_FG_SiriteFile DF37_追加カスタム_MenuFG.png;
Set_FG_SiritePar 4,60,30,1,1,-300;//エフェクト指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;

Menu_CLS ;
Menu_Titol 追加カスタム;
Menu_ADD 追加カスタム終了;
Menu_ADD レイヤー０体;
Menu_ADD レイヤー１顔;//(顔!;
Menu_ADD レイヤー２眼鏡;
Menu_ADD レイヤー３下着;
Menu_ADD レイヤー４服;//(服!;
Menu_ADD レイヤー５髪;
Menu_ADD レイヤー６男;//(男!;
Menu_ADD レイヤー７(ｱｲﾃﾑ!;
Loop_4_menu false;

//(は本編では適応されない。

Mov_View 4.242,0.530,1.478,-0.9927,0.0804,-0.0888,0.079,0.996,0.019,0.256;
Mov_View MoveTime,30;//視点移動時間指定
Set_FG_SiritePar 4,60,30,1,1,300;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;

Goto@ @RetMenu,0,RET;
Gosub@ @RetMenu,1,CAS_0;
Gosub@ @RetMenu,2,CAS_1;
Gosub@ @RetMenu,3,CAS_2;
Gosub@ @RetMenu,4,CAS_3;
Gosub@ @RetMenu,5,CAS_4;
Gosub@ @RetMenu,6,CAS_5;
Gosub@ @RetMenu,7,CAS_6;
Gosub@ @RetMenu,8,CAS_7;
GOTO CAS_MENU;


//フ７ﾌ7


//------------------------------------------------------------------------------
* CAS_0;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
XFile4_ID 3,false;//下着を消す
XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;
GOSUB CAS_画面移行汎用_前;
//DirMenuはカスタム以外で使用しないと考え、
//パラメーターの変更も全て同時に内部処理する

* CAS_0_MENU;
Loop_4_DirMenu 0;
Goto@ @RetMenu,0,CAS_0_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
XFile4_ID 0,true;//慣性リセット
Motion_SP1Reset ;//慣性リセット
GOTO CAS_0_MENU;

* CAS_0_RET;
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
XFile4_ID 0,true;//慣性リセット
Motion_SP1Reset ;//慣性リセット
GOSUB CAS_画面移行汎用_後;
RETURN ;

//------------------------------------------------------------------------------
* CAS_1;
//Move_View 4.199,0.654,1.588,-0.9975,0.0504,-0.0490,0.050,0.998,0.002,0.256;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
GOSUB CAS_画面移行汎用_前;

* CAS_1_MENU;
Loop_4_DirMenu 1;
Goto@ @RetMenu,0,CAS_1_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
//CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01;
CALL DF37_char_set.txt,SET_Layer1_CS;
GOTO CAS_1_MENU;

* CAS_1_RET;
GOSUB CAS_画面移行汎用_後;
RETURN ;


//------------------------------------------------------------------------------
* CAS_2;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
GOSUB CAS_画面移行汎用_前;

* CAS_2_MENU;
Loop_4_DirMenu 2;
Goto@ @RetMenu,0,CAS_2_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
CALL DF37_char_set.txt,SET_MEGA-CS;//●2:メガネ
GOTO CAS_2_MENU;

* CAS_2_RET;
GOSUB CAS_画面移行汎用_後;
RETURN ;


//------------------------------------------------------------------------------
* CAS_3;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
XFile4_ID 4,false;//服を消す
XFile4_ID 0,true;
GOSUB CAS_画面移行汎用_前;

* CAS_3_MENU;
Loop_4_DirMenu 3;
Goto@ @RetMenu,0,CAS_3_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
MatColorCHANGE_OFF 水着の色1;//マテリアルカラー変更設定を破棄
MatColorCHANGE_OFF 水着の色2;//読み込む前にリセット
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
XFile4_ID 0,true;//慣性リセット
Motion_SP1Reset ;//慣性リセット
GOTO CAS_3_MENU;

* CAS_3_RET;
CALL DF37_char_set.txt,SET_Layer4_CS;//●服//脱がしたので、もう一度着せる
XFile4_ID 0,true;//慣性リセット
Motion_SP1Reset ;//慣性リセット
GOSUB CAS_画面移行汎用_後;
RETURN ;


//------------------------------------------------------------------------------
* CAS_4;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
GOSUB CAS_画面移行汎用_前;

* CAS_4_MENU;
Loop_4_DirMenu 4;
Goto@ @RetMenu,0,CAS_4_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
CALL DF37_char_set.txt,SET_Layer4_CS;
XFile4_ID 0,true;//慣性リセット
Motion_SP1Reset ;//慣性リセット
GOTO CAS_4_MENU;

* CAS_4_RET;
GOSUB CAS_画面移行汎用_後;
RETURN ;


//------------------------------------------------------------------------------
* CAS_5;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
GOSUB CAS_画面移行汎用_前;

* CAS_5_MENU;
Loop_4_DirMenu 5;
Goto@ @RetMenu,0,CAS_5_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
MatColorCHANGE_OFF 髪の毛の色;//マテリアルカラー変更設定を破棄
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛
GOTO CAS_5_MENU;

* CAS_5_RET;
GOSUB CAS_画面移行汎用_後;
RETURN ;


//------------------------------------------------------------------------------
* CAS_6;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
GOSUB CAS_画面移行汎用_前;

* CAS_6_MENU;
Loop_4_DirMenu 6;
Goto@ @RetMenu,0,CAS_6_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
CALL DF37_char_set.txt,SET_Layer6_CS;
GOTO CAS_6_MENU;

* CAS_6_RET;
GOSUB CAS_画面移行汎用_後;
RETURN ;


//------------------------------------------------------------------------------
//7追加アイテム
* CAS_7;
Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
GOSUB CAS_画面移行汎用_前;

* CAS_7_MENU;
Loop_4_DirMenu 7;
Goto@ @RetMenu,0,CAS_7_RET;
GOSUB CAS_画面移行汎用_着替え汎用;
CALL DF37_char_set.txt,SET_Layer7_CS;
GOTO CAS_7_MENU;

* CAS_7_RET;
GOSUB CAS_画面移行汎用_後;
RETURN ;




//------------------------------------------------------------------------------

* CAS_画面移行汎用_前;
Load_FG_SiriteFile DF37_追加カスタム_DirFG.png;
Set_FG_SiritePar 4,60,30,1,1,400;//エフェクト指定
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,60,2.0;
Set_FG_SiritePar 0;//常に表示
Motion_SetSpeed 0.3;
RETURN ;


* CAS_画面移行汎用_後;
Set_FG_SiritePar 4,60,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Mov_View MoveTime,30;//視点移動時間指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
Motion_SetSpeed 0.3;
RETURN ;


* CAS_画面移行汎用_着替え汎用;
Motion_Load DF37_seen2_ホーム_A01立ち_回転.txt,true,,;
Motion_KeyType 0;
Mov_View 4.425,0.760,0.717,-0.9999,0.0026,-0.0019,0.002,0.999,0.000,0.256;
Mov_View MoveTime,15;//視点移動時間指定

EF FeedColor,b;
EF Feed,IN;
Loop_4_ft 0,50,4.0;
EF Feed,OFF;
//MSG_Cls ;
//MSG_Print 視点調整;
//Loop_MSG true;

Mov_View 4.430,0.769,1.468,-1.0000,0.0000,0.0010,0.000,1.000,0.000,0.256;
Mov_View MoveTime,10;//視点移動時間指定
Motion_Load DF37_seen2_ホーム_A01立ち.txt,true,,;
Motion_SetSpeed 0.3;
Motion_KeyType 1;
RETURN ;



//------------------------------------------------------------------------------
//キャラ設定ファイルを退避・復元するｿﾙｼﾞｭ
//------------------------------------------------------------------------------
* BACKUP_MENU;
Motion_Load DF37_seen2_ホーム_A01立ち.txt,true,,;
Motion_SetSpeed 0.3;
Motion_KeyType 1;

Menu_CLS ;
Menu_Titol バックアップ;
Menu_ADD 戻る;
Menu_ADD 保存する;
Menu_ADD 復元する;
Loop_4_menu false;

Goto@ @RetMenu,0,BACKUP_MENU_RET;
Gosub@ @RetMenu,1,BACKUP_MENU_保存;
Gosub@ @RetMenu,2,BACKUP_MENU_復元;
GOTO BACKUP_MENU;


//------------------------------------------------------------------------------
* BACKUP_MENU_RET;
RETURN ;


//------------------------------------------------------------------------------
* BACKUP_MENU_保存;
Load_FG_SiriteFile DF37_CAS_BACKUP_FG01.png;
Set_FG_SiritePar 4,600,30,1,1,400;//エフェクト指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示

DataSave3_BackupMenu ;

Set_FG_SiritePar 4,600,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示
RETURN ;


//------------------------------------------------------------------------------
* BACKUP_MENU_復元;
Load_FG_SiriteFile DF37_CAS_BACKUP_FG02.png;
Set_FG_SiritePar 4,600,30,1,1,400;//エフェクト指定
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar 0;//常に表示

DataLoad3_BackupMenu ;

Set_FG_SiritePar 4,600,30,1,1,-400;//エフェクト指定
Set_FG_SiritePar after;
Loop_4_ft 0,30,1.0;
Set_FG_SiritePar -1;//常に非表示

Goto@ @RetMenu,0,BACKUP_MENU_復元_2;

//再読み込み
* BACKUP_MENU_復元_1;
LoadingMSG DF37_カスタムLoad1.png;
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01;
CALL DF37_char_set.txt,SET_MEGA-CS;//●2:メガネ
CALL DF37_char_set.txt,SET_SHORTS-CS;//●3:下着・水着
CALL DF37_char_set.txt,SET_Layer4_CS;//●服
CALL DF37_char_set.txt,SET_HAIR-CS;//●5:髪の毛
XFile4_ID 6,false;
XFile4_ID 7,false;

XFile4_ID 0,true;
Motion_SP1Reset ;//慣性リセット
RETURN ;

//読み込み無し・キャンセル時
* BACKUP_MENU_復元_2;
RETURN ;

//------------------------------------------------------------------------------


