//y[gEꏈ[V
LoadingMSG DF37_tikan_load03.png;
INI seen;

CALL DF37_map_set.txt,DF37-ԓ-l;

Music STOP;
Music LOAD,gs.mid;//edƂ
Music PLAY,true;
SetViewLimit ALL;

Loop_4_Work ;//\Ȃ



//ڸ۰
CALL DF37_char_set.txt,SET_BODY-CS;//SET_CPFT-02_1-BODY3b;
CALL DF37_char_set.txt,SET_MEGA-CS;//2:Kl
CALL DF37_char_set.txt,SET_HAIR-CS;//5:̖
CALL DF37_char_set.txt,SET_SHORTS-CS;//3:E
CALL DF37_char_set.txt,SET_CPFT-M3_2;
XFile4_ID 0,true;



Menu_INI ;//j[̐ݒNA
Menu_SetType 0,110,20,12;
Menu_Sprite menu_12.png;//X110̒Zj[摜
Menu_SetPos 5,15;
4HS_Menu_SetType 3,100,20,12;//NbN|Cgp



//------------------------------------------------------------------------------
* QUICK_START;
SetPar_ADDcs h1_002;//ViĨtOǉ
DataSave3 G_save0.txt;
Music PLAY2,gs.mid;

CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-[3;
XFile4_ID 0,true;
IconDELL ;
IconADD ;

//------------------------------------------------------------------------------
//fƃ[V̊֘Atݒ
//0Ԃ̃f1Ԃ̃[VǉE@\
XFile4_MotionID2 0,CLS;
XFile4_MotionID2 0,ADD,1,0;//,,ӰID,TYPE
XFile4_MotionID2 0,ADD,2,0;//r[V
XFile4_MotionID2 0,ADD,3,0;//r[V
XFile4_MotionID2 0,ADD,4,2;//Sgɍ
//TYPE
//0ZbgEIɈʒu
//1ftHʒu瓮ċ郂[V̂ݓK
//2Z

// 1:E\؂ւׁI
XFile4_MotionID2 1,CLS;
XFile4_MotionID2 1,ADD,1,0;//烂[V
XFile4_MotionID2 1,ADD,2,0;//r[V
XFile4_MotionID2 1,ADD,3,0;//r[V
XFile4_MotionID2 1,ADD,4,2;//Sgɍ
// 2:Kl
XFile4_MotionID2 2,CLS;
XFile4_MotionID2 2,ADD,1,0;
XFile4_MotionID2 2,ADD,2,0;//r[V
XFile4_MotionID2 2,ADD,3,0;//r[V
XFile4_MotionID2 2,ADD,4,2;//Sgɍ
// 3:E
XFile4_MotionID2 3,CLS;
XFile4_MotionID2 3,ADD,1,0;
XFile4_MotionID2 3,ADD,2,0;//r[V
XFile4_MotionID2 3,ADD,3,0;//r[V
XFile4_MotionID2 3,ADD,4,2;//Sgɍ
// 4:
XFile4_MotionID2 4,CLS;
XFile4_MotionID2 4,ADD,1,0;
XFile4_MotionID2 4,ADD,2,0;//r[V
XFile4_MotionID2 4,ADD,3,0;//r[V
XFile4_MotionID2 4,ADD,4,2;//Sgɍ
// 5:̖
XFile4_MotionID2 5,CLS;
XFile4_MotionID2 5,ADD,1,0;
XFile4_MotionID2 5,ADD,2,0;//r[V
XFile4_MotionID2 5,ADD,3,0;//r[V
XFile4_MotionID2 5,ADD,4,2;//Sgɍ


//̏ƁA[VԂ̏
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h1_01{1.txt,true,,;
Set_View 0.129,1.018,0.157,-0.8325,-0.2536,0.4924,-0.218,0.967,0.129,0.523;

//z͐؂ւ׍ŏɈxǂݍ
XFile4_ID 4,true;
Motion_Load DF37_seen1_ԓ1h5_01z.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;



//̏ 071023
GOSUB [VύX;
XFile4_ID 0,true;
Motion_SP1Reset ;//Zbg
Loop_4_ft 0,1,1.0;

//------------------------------------------------------------------------------
* 00_~;
DF37PAR_GOTO ,=,100,03_Ⓒ;
//DF37PAR_GOTO ,>,50,ėp[v_2;
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h1_03Î~.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

GOSUB ύX;
GOSUB ėp[v;
GOSUB [VύX;

DF37PAR_PP2    0,  0,  0;//Ԃɉđl
DF37PAR_PGP    0,  0,  0;//ɉđ

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
GOSUB EOFj[;
GOSUB EOF_;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;

DF37PAR_GOTO ,>,30,04_;
GOTO 00_~;


//------------------------------------------------------------------------------
* 04_;
XFile4_ID 0,true;
switch rand,3;//_ŏ
	Motion_Load DF37_seen1_ԓ1h1_04c.txt,false,,20;
switch case,2;
	Motion_Load DF37_seen1_ԓ1h1_05.txt,false,,20;
switch case,3;
	Motion_Load DF37_seen1_ԓ1h1_06P.txt,false,,20;
switch end;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

* 04__1;
GOSUB ύX;
GOSUB ėp[v;
GOSUB [VύX;

DF37PAR_PP2    0,  0,  0;//Ԃɉđl
DF37PAR_PGP    0,  0,  0;//ɉđ

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
GOSUB EOFj[;
GOSUB EOF_;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;

GOTO 04__1;





//------------------------------------------------------------------------------
* 01_sX;
DF37PAR_GOTO ,=,100,03_Ⓒ;
//DF37PAR_GOTO ,>,50,ėp[v_2;
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h1_01{1.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;


GOSUB ύX;
GOSUB ėp[v;
GOSUB [VύX;

DF37PAR_PP2 0.02,  0,  0;//Ԃɉđl
DF37PAR_PGP    0,  0,  0;//ɉđ

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
GOSUB EOFj[;
GOSUB EOF_;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;

GOTO 01_sX;



//------------------------------------------------------------------------------
* 02_sX;
DF37PAR_GOTO ,=,100,03_Ⓒ;
//DF37PAR_GOTO ,>,50,ėp[v_2;
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h1_02sXg.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;


GOSUB ύX;
GOSUB ėp[v;
GOSUB [VύX;

DF37PAR_PP2 0.05,  0,  0;//Ԃɉđl
DF37PAR_PGP    0,  0,  0;//ɉđ

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
GOSUB EOFj[;
GOSUB EOF_;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;

GOTO 02_sX;




//------------------------------------------------------------------------------
* 03_Ⓒ;
GOSUB [VύX_Ⓒ;

DF37PAR_PP2	   0,  0,  0;//Ԃɉđl
DF37PAR_PGP    0,  0,  0;//ɉđ

Voice CLS;
//Voice LOAD,DF34_M16-180_킽.wav;
//Voice PLAY;
switch rand,2;//_ŏ
	Voice LOAD,DF37_h1_002_v15.wav;
switch case,2;
	Voice LOAD,DF37_h1_002_v16.wav;
switch end;
	Voice PLAYNEXT;//Ȏ䎌IĂ玟̑䎌Đ

XFile4_ID 4,true;
Motion_SetSpeed 1.0;

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
//4HS_EOF_ADD FlameTime,180,;
4HS_EOF_ADD FlameTime,120,;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;


//Voice CLS;
//Voice LOAD,DF34_M16-180__3.wav;
//Voice PLAY;
switch rand,2;//_ŏ
	Voice LOAD,DF37_h1_002_v17.wav;
switch case,2;
	Voice LOAD,DF37_h1_002_v18.wav;
switch end;
	Voice PLAYNEXT;//Ȏ䎌IĂ玟̑䎌Đ


XFile4_ID 4,true;
Motion_SetSpeed 3.0;

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
//4HS_EOF_ADD FlameTime,300,;
4HS_EOF_ADD FlameTime,180,;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;

GOTO 04_S;


//------------------------------------------------------------------------------
* 04_S;
//Voice CLS;
//Voice LOAD,DF37_h1_002_v12.wav;//DF34_M16-050_邵Ă.wav;
//Voice PLAY;

	Voice CLS;
switch rand,2;//_ŏ
	Voice LOAD,DF37_VRef_H_v89.wav;
switch case,2;
	Voice LOAD,DF37_VRef_H_v90.wav;
switch end;
	Voice LOAD_Loop,DF37_VRef_H_v91.wav;
	Voice LOAD_Loop,DF37_VRef_H_v92.wav;
	Voice PLAY2;//PƍĐɁA[vt@CĐ

GOSUB [VύX_S;

DF37PAR_PP2 -0.10,  0,  0;//Ԃɉđl
DF37PAR_PGP     0,  0,  0;//ɉđ

Menu_CLS Menu;
4HS_MenuCLS ;
4HS_EOF_CLS ALL;//EOFSăZbg
GOSUB EOFj[;
4HS_MenuMode 0,,;
Set_SitenType true;
Loop_4_Hscene ;

GOTO 00_~;




//------------------------------------------------------------------------------
* 01;
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h1_02sXg.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

* 02;
XFile4_ID 0,true;
MSG_Cls ;
MSG_Print mF\;
Loop_MSG true;





//------------------------------------------------------------------------------
* EOF_;
switch rand,3;	4HS_EOF_ADD FlameTime,240,;//_ŏ
switch case,2;	4HS_EOF_ADD FlameTime,360,;
switch case,3;	4HS_EOF_ADD FlameTime,480,;
switch end;
RETURN ;


//------------------------------------------------------------------------------
* EOFj[;
Menu_ADD I;
Menu_ADD ~;
Menu_ADD sXg;
Menu_ADD sXg;

4HS_EOF_ADD MENU,0,I;
4HS_EOF_ADD MENU,1,00_~;
4HS_EOF_ADD MENU,2,01_sX;
4HS_EOF_ADD MENU,3,02_sX;

RETURN ;


//------------------------------------------------------------------------------
* ύX;
DF37PAR_GOTO ,>,80,ύX_5;
DF37PAR_GOTO ,>,60,ύX_4;
DF37PAR_GOTO ,>,40,ύX_3;
DF37PAR_GOTO ,>,20,ύX_2;

* ύX_1;
RAND@ 0,4;
Select@ @RAND,GOTO,,ύX_ύXȂ,ύX_ύXȂ,ύX_ύXȂ;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-[3;
//CALL߂ۂɏpoȂ̂switch͎gps
//switch rand,2;	CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-[3;
//switch case,2;	//גጸ̂ߕωȂꍇ
//switch end;
RETURN ;

* ύX_2;
RAND@ 0,4;
Select@ @RAND,GOTO,,ύX_ύXȂ,ύX_ύXȂ,ύX_ύXȂ;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-b2;
RETURN ;

* ύX_3;
RAND@ 0,4;
Select@ @RAND,GOTO,,ύX_ύXȂ,ύX_ύXȂ,ύX_ύXȂ;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-ӂɂ2;
RETURN ;

* ύX_4;
RAND@ 0,4;
Select@ @RAND,GOTO,,ύX_ύXȂ,ύX_ύXȂ,ύX_ύXȂ;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-bB0;
RETURN ;

* ύX_5;
RAND@ 0,4;
Select@ @RAND,GOTO,,ύX_ύXȂ,ύX_ύXȂ,ύX_ύXȂ;
CALL DF37_char_set.txt,SET_CPFT-02_1-FACE01-bB1;
RETURN ;

* ύX_ύXȂ;
RETURN ;

//------------------------------------------------------------------------------
* ėp[v;  //b̔ėp
DF37PAR_GOTO ,>,65,ėp[v_3;
DF37PAR_GOTO ,>,30,ėp[v_2;

* ėp[v_1;
Voice CLS;
Voice LOAD_Loop,DF37_h1_002_v01.wav;//DF34_M16-060_Ƒ1.wav;
Voice LOAD_Loop,DF37_h1_002_v02.wav;//DF34_M16-030_Ƒ2.wav;
Voice LOAD_Loop,DF37_h1_002_v03.wav;//DF34_M16-100_Ƒ3.wav;
Voice PLAY_Loop;
RETURN ;


* ėp[v_2;
Voice CLS;
Voice LOAD_Loop,DF37_h1_002_v13_1.wav;
Voice LOAD_Loop,DF37_h1_002_v14_1.wav;
Voice LOAD_Loop,DF37_h1_002_v07.wav;
Voice LOAD_Loop,DF37_h1_002_v08.wav;//DF34_M16-070_b1.wav;
Voice LOAD_Loop,DF37_h1_002_v09.wav;//DF34_M16-140_b2.wav;
Voice PLAY_Loop;
RETURN ;

* ėp[v_3;
Voice CLS;
switch rand,4;//_ŏ
	Voice LOAD,DF37_h1_002_v10a.wav;
switch case,2;
	Voice LOAD,DF37_h1_002_v10b.wav;
switch case,3;
	Voice LOAD,DF37_h1_002_v11.wav;
switch case,4;
	Voice LOAD,DF37_h1_002_v12.wav;
switch end;
Voice LOAD_Loop,DF37_h1_002_v04.wav;//DF34_M16-190_.wav;
Voice LOAD_Loop,DF37_h1_002_v05.wav;//DF34_M16-190_.wav;
Voice LOAD_Loop,DF37_h1_002_v06.wav;//DF34_M16-190_.wav;
Voice LOAD_Loop,DF37_h1_002_v08.wav;//DF34_M16-070_b1.wav;
Voice LOAD_Loop,DF37_h1_002_v09.wav;//DF34_M16-140_b2.wav;
Voice PLAY2;//PƍĐɁA[vt@CĐ
RETURN ;



//------------------------------------------------------------------------------
* [VύX;

switch rand,5;//_ŏ
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_01ӂ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_02ނ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,3;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_03グ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,4;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_04炷.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,5;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_05炷L.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch end;




switch rand,3;//_ŏ
XFile4_ID 2,true;
Motion_Load DF37_seen1_ԓ1h3_01B.txt,false,,40;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 2,true;
Motion_Load DF37_seen1_ԓ1h3_02L.txt,false,,40;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,3;
XFile4_ID 2,true;
Motion_Load DF37_seen1_ԓ1h3_03.txt,false,,40;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch end;





switch rand,5;//_ŏ
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_01ҊJ1.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_02ҊJ2.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,3;
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_03z[h.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,4;
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_04z[h2.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 0.3;

switch case,5;
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_05s.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 0.2;

switch end;



//zx
switch rand,3;//_ŏ
XFile4_ID 4,true;
Motion_SetSpeed 0.3;

switch case,2;
XFile4_ID 4,true;
Motion_SetSpeed 0.7;

switch case,3;
XFile4_ID 4,true;
Motion_SetSpeed 1.0;

switch end;



RETURN ;



//------------------------------------------------------------------------------
* [VύX_S;
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h0_01Ob^.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

//---------- ---------- ----------
switch rand,3;//_ŏ
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_02ނ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_04炷.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,3;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_05炷L.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch end;

//---------- ---------- ----------
switch rand,2;//_ŏ
XFile4_ID 2,true;
Motion_Load DF37_seen1_ԓ1h3_02L.txt,false,,40;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 2,true;
Motion_Load DF37_seen1_ԓ1h3_03.txt,false,,40;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch end;

//---------- ---------- ----------
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_06Ob^.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

//---------- ---------- ----------
//zx
XFile4_ID 4,true;
Motion_SetSpeed 0.2;

XFile4_ID 0,true;
RETURN ;




//------------------------------------------------------------------------------
* [VύX_Ⓒ;
XFile4_ID 0,true;
Motion_Load DF37_seen1_ԓ1h1_03Ⓒ.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

//---------- ---------- ----------
switch rand,3;//_ŏ
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_01ӂ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_02ނ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,3;
XFile4_ID 1,true;
Motion_Load DF37_seen1_ԓ1h2_03グ.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch end;

//---------- ---------- ----------
XFile4_ID 2,true;
Motion_Load DF37_seen1_ԓ1h3_03.txt,false,,40;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

//---------- ---------- ----------
switch rand,3;//_ŏ
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_03z[h.txt,false,,60;
Motion_KeyType 2;
Motion_SetSpeed 1.0;

switch case,2;
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_04z[h2.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 0.3;

switch case,3;
XFile4_ID 3,true;
Motion_Load DF37_seen1_ԓ1h4_05s.txt,false,,20;
Motion_KeyType 2;
Motion_SetSpeed 0.2;

switch end;

//---------- ---------- ----------
//zx
XFile4_ID 4,true;
Motion_SetSpeed 3.0;

XFile4_ID 0,true;
RETURN ;








//------------------------------------------------------------------------------
//Q[̐isɊւEOFELOCAL1ŏȂ
4HS_EOF_CLS ALL;//EOFSăZbg
4HS_EOF_CLS LOCAL1;//[^[ncA֘Â݃Zbg
4HS_EOF_CLS FLG;//׸ޏEEOFL
4HS_EOF_ADD Gauge_hukai,100,R;
4HS_EOF_ADD Gauge_kaikan,100,;

DF37PAR_SET 0,0,0;//lݒ
//DF37PAR_SET 0,0,0;//lw(,s,x)
//DF37PAR_ADD 0,0,0;//Z
//DF37PAR_PP2 0,0,0;//Ԃɉđl
//DF37PAR_PGP 0,0,0;//ɉđ
//------------------------------------------------------------------------------













//------------------------------------------------------------------------------
* ߂;
RETURN ;


//------------------------------------------------------------------------------
* I;
CALL DF37_set.txt,ÂȂ;
RETURN ;

