<?xml version="1.0" encoding="UTF-8"?>
<RESOURCE version="1.1" xmlns="http://www.scei.co.jp/bn/2002/">

<!--#######################################################
#                                                         #
#           メインスクリプト                              #
#                                                         #
########################################################-->
<SCRIPT id="main" src="konami" type="binary/small" /> 

<!-- コンポネントシステム -->

<COMPONENT id="main" show="off">
	<PARTS tagname="BG"	partsid="BG" />
	<PARTS tagname="MODULE" partsid="filmdemo" />
</COMPONENT>

<COMPONENT id="filmdemo">
	<PARTS tagname="SPRITE" partsid="film1_shadow" />
	<PARTS tagname="SPRITE" partsid="film1_base" />
	<PARTS tagname="SPRITE" partsid="film1" />
	<PARTS tagname="SPRITE" partsid="film2_shadow" />
	<PARTS tagname="SPRITE" partsid="film2_base" />
	<PARTS tagname="SPRITE" partsid="film2" />
	<PARTS tagname="SPRITE" partsid="film3_shadow" />
	<PARTS tagname="SPRITE" partsid="film3_base" />
	<PARTS tagname="SPRITE" partsid="film3" />
	<PARTS tagname="SPRITE" partsid="film4_shadow" />
	<PARTS tagname="SPRITE" partsid="film4_base" />
	<PARTS tagname="SPRITE" partsid="film4" />
	<PARTS tagname="SPRITE" partsid="film5_shadow" />
	<PARTS tagname="SPRITE" partsid="film5_base" />
	<PARTS tagname="SPRITE" partsid="film5" />
	<PARTS tagname="SPRITE" partsid="konami" />
	<PARTS tagname="SPRITE" partsid="logo" />
	<PARTS tagname="SPRITE" partsid="topix" />
<!--	<PARTS tagname="SPRITE" partsid="toptext" />	-->
	<PARTS tagname="TEXT" partsid="toptext_t" />
	<PARTS tagname="SPRITE" partsid="toptext_b" />
	<PARTS tagname="SPRITE" partsid="line" />
</COMPONENT>

<!-- Text component Nene To -->
<TEXT id="toptext_t" fontsize="16" x="302" y="316" w="320" ls="3" show="off">
in 2012 from December 26 channel resumes
</TEXT>


<!-- To sprite component Nene -->
<SPRITE id="konami"		tex="konami"	x="570" y="80"  show="off" />
<SPRITE id="logo"		tex="logo"		x="506" y="220" show="off" />
<SPRITE id="topix"		tex="topix"		x="486" y="156" show="off" />
<SPRITE id="toptext"	tex="toptext"	x="506" y="328" show="off" />
<SPRITE id="line" x="320" y="276" localw="640" localh="2" r="0.2" g="0.2" b="0.2" a="0.8" zofs="0.1" show="off" />
<SPRITE id="filmtest"	tex="filmtest" 	x="320" y="200" />

<SPRITE id="toptext_b"	x="446" y="328" localw="328" localh="68" r="0.2" g="0.2" b="0.2" a="0.8" show="off" />



<!-- Sprite animation -->
<ANIME id="film1_anim" mspeed="300" x="86" y="224" z="50" />
<ANIME id="film2_anim" mspeed="300" x="120" y="174" z="10"/>
<ANIME id="film3_anim" mspeed="300" x="116" y="340" />
<ANIME id="film4_anim" mspeed="300" x="300" y="86" />
<ANIME id="film5_anim" mspeed="300" x="150" y="224" />



<SPRITE id="film1" tex="film1" 
		x="-219" y="875" z="20" 
		rx="0.2" ry="6.0" rz="4.3" zofs="1.10" />

<SPRITE id="film2" tex="film2" 
		x="-500" y="427" z="10" 
		rx="0.3" ry="6.0" rz="0.35" zofs="0.75"/>

<SPRITE id="film3" tex="film3" 
		x="-400" y="-50" z="0" 
		rx="5.8" ry="0.0" rz="5.5" zofs="0.6"/>

<SPRITE id="film4" tex="film4" 
		x="-400" y="242" z="-10"
		rx="0.0" ry="0.1" rz="0.2" zofs="0.4"/>

<SPRITE id="film5" tex="film5" 
		x="-188" y="654" z="-20" 
		rx="0.3" ry="0.1" rz="0.87" zofs="0.2"/>

<SPRITE id="film1_base" tex="film_base" 
		x="-219" y="875" z="20" 
		rx="0.2" ry="6.0" rz="4.3" zofs="1.0" />

<SPRITE id="film2_base" tex="film_base" 
		x="-500" y="427" z="10" 
		rx="0.3" ry="6.0" rz="0.35" zofs="0.7" />

<SPRITE id="film3_base" tex="film_base" 
		x="-400" y="-50" z="0" 
		rx="5.8" ry="0.0" rz="5.5" zofs="0.6" />

<SPRITE id="film4_base" tex="film_base" 
		x="-400" y="242" z="-10"
		rx="0.0" ry="0.1" rz="0.2" zofs="0.4" />

<SPRITE id="film5_base" tex="film_base" 
		x="-188" y="654" z="-20" 
		rx="0.3" ry="0.1" rz="0.87" zofs="0.15" />

<SPRITE id="film1_shadow" tex="film_shadow" 
		x="-219" y="875" z="20" 
		rx="0.2" ry="6.0" rz="4.3" zofs="0.95" />

<SPRITE id="film2_shadow" tex="film_shadow" 
		x="-500" y="427" z="10" 
		rx="0.3" ry="6.0" rz="0.35" zofs="0.65" />

<SPRITE id="film3_shadow" tex="film_shadow" 
		x="-400" y="-50" z="0" 
		rx="5.8" ry="0.0" rz="5.5" zofs="0.55" />

<SPRITE id="film4_shadow" tex="film_shadow" 
		x="-400" y="242" z="-10"
		rx="0.0" ry="0.1" rz="0.2" zofs="0.35" />

<SPRITE id="film5_shadow" tex="film_shadow" 
		x="-188" y="654" z="-20" 
		rx="0.3" ry="0.1" rz="0.87" zofs="0.10" />




<!-- Texture -->
<TEXTURE id="konami"		src="./image/konami.png" />
<TEXTURE id="logo"			src="./image/logo.png" />
<TEXTURE id="topix"			src="./image/topix.png" />
<TEXTURE id="toptext"		src="./image/top_text.png" />
<TEXTURE id="filmtest"		src="./image/film/film1.png" />


<TEXTURE id="film1" src="image/film/film1.png" keep="off"/>
<TEXTURE id="film2" src="image/film/film2.png" keep="off"/>
<TEXTURE id="film3" src="image/film/film3.png" keep="off"/>
<TEXTURE id="film4" src="image/film/film4.png" keep="off"/>
<TEXTURE id="film5" src="image/film/film5.png" keep="off"/>
<TEXTURE id="film_base" src="image/film/film_base.png" keep="off"/>
<TEXTURE id="film_shadow" src="image/film/film_shadow.png" keep="off"/>




<!-- Background Component -->
<BG id="BG" 	href="whiteBG.xml" />
<BG id="demoBG" href="demoBG.xml" />
<BG id="konamiBG" href="konamiBG.xml" />

<!-- Sound -->
<BGM id="konami_bgm" bd="sound/psbb.bde" hd="sound/psbb.hde" sq="sound/gra.sqe" />
<SE id="konami_se" bd="sound/se" hd="sound/se">
	<NOTE id="disable" num="62" vol="60" />
	<NOTE id="decide" num="64" vol="100" />
	<NOTE id="select" num="65" vol="90" />
	<NOTE id="cancel" num="60" vol="80" />
</SE>

<BGM id="konami2_bgm" bd="sound/BGM02" hd="sound/BGM02" sq="sound/BGM02_SQ" />
<SE id="konami2_se" bd="sound/SE_BANK" hd="sound/SE_BANK">
	<NOTE id="open"   num="60" vol="127" />
	<NOTE id="decide" num="61" vol="127" />
	<NOTE id="select" num="62" vol="127" />
	<NOTE id="cancel" num="63" vol="127" />
</SE>



<!-- Link -->
<LINK id="to_top"	href="konami.xml" />
<LINK id="to_menu"	href="menu.xml" />
<LINK id="to_exit"	href="konami.xml" />




<!-- Animation module related -->
<ANIME id="film1_anim" mspeed="10000" x="86" y="224" z="50" />
<ANIME id="film2_anim" mspeed="10000" x="120" y="174" z="10"/>
<ANIME id="film3_anim" mspeed="10000" x="116" y="340" />
<ANIME id="film4_anim" mspeed="10000" x="300" y="86" />
<ANIME id="film5_anim" mspeed="10000" x="150" y="224" />



<!-- Program -->
<SCRIPT id="filmdemo" src="opendemo" type="binary/small" />
<MODULE id="filmdemo" src="filmdemo" />
<PROGRAM id="filmdemo">
	<SCENE id="0" endtype="timer" val="5">
		<attach func="FUNC_Anim" arg="moduleID=film5_anim" partsid="film5" />
		<attach func="FUNC_Anim" arg="moduleID=film5_anim" partsid="film5_base" />
		<attach func="FUNC_Anim" arg="moduleID=film5_anim" partsid="film5_shadow" />
	</SCENE>
	<SCENE id="1" endtype="timer" val="10">
		<attach func="FUNC_Anim" arg="moduleID=film4_anim" partsid="film4" />
		<attach func="FUNC_Anim" arg="moduleID=film4_anim" partsid="film4_base" />
		<attach func="FUNC_Anim" arg="moduleID=film4_anim" partsid="film4_shadow" />
	</SCENE>
	<SCENE id="2" endtype="timer" val="15">
		<attach func="FUNC_Anim" arg="moduleID=film3_anim" partsid="film3" />
		<attach func="FUNC_Anim" arg="moduleID=film3_anim" partsid="film3_base" />
		<attach func="FUNC_Anim" arg="moduleID=film3_anim" partsid="film3_shadow" />
	</SCENE>
	<SCENE id="3" endtype="timer" val="20">
		<attach func="FUNC_Anim" arg="moduleID=film2_anim" partsid="film2" />
		<attach func="FUNC_Anim" arg="moduleID=film2_anim" partsid="film2_base" />
		<attach func="FUNC_Anim" arg="moduleID=film2_anim" partsid="film2_shadow" />
	</SCENE>
	<SCENE id="4" endtype="timer" val="30">
		<attach func="FUNC_Anim" arg="moduleID=film1_anim" partsid="film1" />
		<attach func="FUNC_Anim" arg="moduleID=film1_anim" partsid="film1_base" />
		<attach func="FUNC_Anim" arg="moduleID=film1_anim" partsid="film1_shadow" />
	</SCENE>
	<SCENE id="5" endtype="timer" val="31">
		<show type="on" partsid="konami" />
		<show type="on" partsid="logo" />
		<show type="on" partsid="topix" />
<!--		<show type="on" partsid="toptext" />	-->
		<show type="on" partsid="toptext_b" />
		<show type="on" partsid="toptext_t" />
		<show type="on" partsid="line" />
	</SCENE>
	<SCENE id="6" >
		<abort />
	</SCENE>

</PROGRAM>


</RESOURCE>
