
label	title_top
advmenuoff

//////////////////////////////////////////////////////////////////////////////////////
// `
//////////////////////////////////////////////////////////////////////////////////////
// C
otokogi=0
m_akino=0

GLOBAL(1)=0
//////////////////////////////////////////////////////////////////////////////////////
// SƂ
//////////////////////////////////////////////////////////////////////////////////////
@bg_white
cg	"parts\title\makerlogo.png"
kwait	120
cg	"parts\title\attention.png"
kwait	120
//cg	"parts\title\attention_taiken.png"
//kwait	120
@bg_white
//movie	"movie\op.ogv"
whiteout	1
wait	90
@bg_white

//////////////////////////////////////////////////////////////////////////////////////
// ^Cg
//////////////////////////////////////////////////////////////////////////////////////

label	title
SceneTitle	""
advmenuoff
	// }hil`FbN
	num=0
	GETMEDALNUMBER num
	if num=21 then GLOBAL(2)=1
label	title_loop
blackin	1
whitein	1
@bgm01

layerLoad			0,"parts\title\title_back.png"
//layerLoad	1,"parts\effects\h-1(L).ogv",0,0
//layerMode	1,1
if global(2)=0 then layerLoad			2,"parts\title\title.atlas"
if global(2)=1 then layerLoad			2,"parts\title\mara\title.atlas"
layerAnimation		2,"start"
layerAddAnimation	2,"normal"

//layerMove	1,120,0,400
layerLoad	3,"parts\title\logo_dc.png",8,8
layerLoad	4,"parts\title\copyright.png",1000,8
whitein		1

voice		"title"
wait		140
//layerLoad	6,"parts\title\Ver_Trial.png",1280+400,500
//layerMove	6,120,880,500
layerLoad	5,"parts\title\undergra.ssf",0,600

//voice		"MARA001247"

label	title_loop2


addButton			0,20,640,"parts\title\button01.png","parts\title\button01_over.png"
addButton			1,20+190*1,640,"parts\title\button02.png","parts\title\button02_over.png"
addButton			2,20+190*2,640,"parts\title\button03.png","parts\title\button03_over.png"
addButton			3,20+190*3,640,"parts\title\button04.png","parts\title\button04_over.png"
addButton			4,20+190*4,640,"parts\title\button05.png","parts\title\button05_over.png"
addButton			5,20+190*5,640,"parts\title\button06.png","parts\title\button06_over.png"
addButton			6,40+190*6,630,"parts\title\button07.png","parts\title\button07_over.png"

getButton	sel
if sel=1 then goto title_continue
if sel=2 then goto title_load
if sel=3 then goto title_quickload
if sel=4 then goto extra				// GLXg
if sel=5 then goto title_config
if sel=6 then goto title_exit
goto title_start

// ReBj[ -----------------------
label title_continue
	blackout
	wait	60
	autoLoadSystem
	goto	title_loop
// [h -------------------------------
label title_load
	wait	15
	loadsystem
	goto	title_loop2
// ݒ ---------------------------------
label title_config
	wait	15
	configSystem
	goto	title_loop2
// NCbN[h -----------------------
label title_quickload
	blackout
	wait	60
	qLoadSystem
	goto	title_loop
// I ---------------------------------
label title_exit
	blackout
	wait	60
	quit
// X^[g -----------------------------
label title_start
@bgm_
blackout
wait	120
layerRelease 1
layerRelease 2
layerRelease 3
layerRelease 4
layerRelease 5
layerRelease 6
@bg_black
advmenuon

blackin


if GLOBAL(5)=1 {

v[O܂H

		windowclose
		addTextSelect 0,"v[O"
    	addTextSelect 1,"v[OȂ"
    	getSelect  sel
    	if sel=1 {
			goto	system
    	}
}








