#==============================================================================
#  ^Cg
#------------------------------------------------------------------------------
# @g@\p̃^CgʂłB
#==============================================================================
#------------------------------------------------------------------------------
#  l̒`
#------------------------------------------------------------------------------
value
	# ^Cg̍W
	TY = 120

	# ^Cgj[̍W
	MENU_X = 186
	MENU_Y = 260

	# VXe̒l
	SYSINFO = %sample_info

	# vV[
	SCENE = :scene
end
#------------------------------------------------------------------------------
#  IuWFNg̒`
#------------------------------------------------------------------------------
object
	# rbg}bv
	bitmap BMP_PRESENTS
		path = "Graphics/Movies/Title/Presents"
		cache = 1
	end
	bitmap BMP_SYSINFO3
		path = "Graphics/Movies/Title/SystemInfoEq3"
		cache = 0
	end
	bitmap BMP_SCRIPTTITLE
		path = "Graphics/Movies/Title/ScriptTitle"
		cache = 1
	end
	bitmap BMP_TITLE
		path = "Graphics/System/Title"
		cache = 1
	end
	bitmap BMP_TITLETEXT
		path = "Graphics/Movies/Title/TitleText"
		cache = 1
	end

	# XvCg
	picture PCT_PRESENTS
		bitmap = BMP_PRESENTS
		src_width = 256
		src_height = 128
	end
	animation ANM_SYSINFO3
		bitmap = BMP_SYSINFO3
		column_count = 1
		column_width = 256
		row_count = 5
		row_height = 24
		frame = 12
		loop = turn
	end
	picture PCT_SCRIPTTITLE
		bitmap = BMP_SCRIPTTITLE
		src_width = 512
		src_height = 32
	end
	picture PCT_TITLE
		bitmap = BMP_TITLE
		src_width = 544
		src_height = 416
	end
	picture PCT_TEXT1
		bitmap = BMP_TITLETEXT
		ox = 48
		oy = 48
		src_x = 0
		src_width = 96
		src_height = 96
	end
	picture PCT_TEXT2
		bitmap = BMP_TITLETEXT
		ox = 48
		oy = 48
		src_x = 96
		src_width = 96
		src_height = 96
	end
	picture PCT_TEXT3
		bitmap = BMP_TITLETEXT
		ox = 48
		oy = 48
		src_x = 192
		src_width = 96
		src_height = 96
	end
	picture PCT_TEXT4
		bitmap = BMP_TITLETEXT
		ox = 48
		oy = 48
		src_x = 288
		src_width = 96
		src_height = 96
	end
	picture PCT_SNAPSHOT
		bitmap = *snapshot
		src_width = 544
		src_height = 416
	end

	# BGM
	sound SND_BGM
		type = bgm
		name = "TOWN5"
		volume = 100
		pitch = 100
	end
end
#------------------------------------------------------------------------------
#  ^CC
#------------------------------------------------------------------------------
timeline
	# 
	sound   play     SND_BGM
	jump    if SCENE == 1 FOR_BACK_FROM_LOAD

	# PRESENTS\
	action  visible  PCT_PRESENTS 1
	action  set      PCT_PRESENTS 144 144 10 100 0 0
	action  move     PCT_PRESENTS 144 144 10 100 0 255 60
	wait    key      any 240
	action  clear    PCT_PRESENTS
	action  move     PCT_PRESENTS 144 144 10 100 0 0 20
	wait    time     30

	# ^Cg\
	action  visible  PCT_TITLE 1
	action  set      PCT_TITLE 0 0 1 100 0 0
	action  move     PCT_TITLE 0 0 1 100 0 255 20
	wait    time     20
	action  visible  PCT_TEXT1 1
	action  visible  PCT_TEXT2 1
	action  visible  PCT_TEXT3 1
	action  visible  PCT_TEXT4 1
	action  set      PCT_TEXT1 128 TY 10 300 45 0
	action  set      PCT_TEXT2 224 TY 10 300 45 0
	action  set      PCT_TEXT3 320 TY 10 300 45 0
	action  set      PCT_TEXT4 416 TY 10 300 45 0
	action  wait     PCT_TEXT1 0
	action  wait     PCT_TEXT2 15
	action  wait     PCT_TEXT3 30
	action  wait     PCT_TEXT4 45
	action  move     PCT_TEXT1 128 TY 10 100 0 255 60
	action  move     PCT_TEXT2 224 TY 10 100 0 255 60
	action  move     PCT_TEXT3 320 TY 10 100 0 255 60
	action  move     PCT_TEXT4 416 TY 10 100 0 255 60
	jump    goto     CHOOSE_ITEM

	# [hʂ߂ėꍇ̏
	label FOR_BACK_FROM_LOAD
	action  visible  PCT_SNAPSHOT 1
	action  set      PCT_SNAPSHOT 0 0 0 100 0 255
	action  move     PCT_SNAPSHOT 0 0 0 100 0 255 1
	action  visible  PCT_TITLE 1
	action  set      PCT_TITLE 0 0 1 100 0 0
	action  move     PCT_TITLE 0 0 1 100 0 255 20
	action  visible  PCT_TEXT1 1
	action  visible  PCT_TEXT2 1
	action  visible  PCT_TEXT3 1
	action  visible  PCT_TEXT4 1
	action  set      PCT_TEXT1 128 TY 10 100 0 0
	action  set      PCT_TEXT2 224 TY 10 100 0 0
	action  set      PCT_TEXT3 320 TY 10 100 0 0
	action  set      PCT_TEXT4 416 TY 10 100 0 0
	action  move     PCT_TEXT1 128 TY 10 100 0 255 20
	action  move     PCT_TEXT2 224 TY 10 100 0 255 20
	action  move     PCT_TEXT3 320 TY 10 100 0 255 20
	action  move     PCT_TEXT4 416 TY 10 100 0 255 20
	wait    time     20
	jump    goto     CHOOSE_ITEM

	# ڑI
	label CHOOSE_ITEM
	action  visible  PCT_SCRIPTTITLE 1
	action  set      PCT_SCRIPTTITLE 0 386 10 100 0 0
	action  move     PCT_SCRIPTTITLE 0 386 10 100 0 255 30
	jump    if SYSINFO != 3 START_CHOOSE
	action  visible  ANM_SYSINFO3 1
	action  set      ANM_SYSINFO3 288 0 10 100 0 255
	anime   start    ANM_SYSINFO3
	label START_CHOOSE
	menu    set      MENU_X MENU_Y 255
	menu    open
	wait    menu     selected
	menu    close
	wait    menu     closed
	result  menu
end
