<ActorFrame InitCommand="%function(self)
tweenTimeBetweenItems = 0.0725;

previewYOffset = -76; -- was -78
end"><children>

	<Layer Type="ActorFrame" OnCommand="y,previewYOffset;fov,90"><children>

		<Layer File="_shared elements/RoundedCornerBox"
		InitCommand="%function(self)
		self:x( 0 )
		self:y( 0 )
		self:diffuse(0.6,0.6,0.6,1)
		Width = 120;
		Height = 130;
		end"
		GainFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffusealpha,1"
		LoseFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffusealpha,0.5"
		/>
		
		<Layer File="ScreenSelectGameMode scrollchoice/_base"
			OnCommand="y,60"
			GainFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffuse,1,1,1,1"
			LoseFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffuse,0.5,0.5,0.5,0.75"
			/>

		<Layer File="ScreenSelectGameMode scrollchoice/_explain active"
			GainFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffusealpha,1"
			LoseFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffusealpha,0"
			/>

		<Layer File="ScreenSelectGameMode scrollchoice/_text online"
			OnCommand="y,64*2"
			GainFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffusealpha,1"
			LoseFocusCommand="stoptweening;accelerate,tweenTimeBetweenItems;diffusealpha,0.5"
			/>

	<Layer File="ScreenSelectGameMode scrollchoice/_preview shading" OnCommand="zoomy,1.3;y,-0.1" />
	<Layer File="ScreenSelectGameMode scrollchoice/_preview grid" OnCommand="blend,add;diffusealpha,0.2;fadetop,0.5;fadebottom,0.5" />

			<Layer Type="ActorFrame" OnCommand="y,-32"><children>
	
	<Layer Type="Quad"
	OnCommand="%function(self)
	self:zoomto( 120,15 );
	self:diffuse( 1,1,0,0.5 );
	end"
	GainFocusCommand="%function(self)
	self:accelerate( tweenTimeBetweenItems );
	self:diffuse( 1,1,0,0.9 );
	end"
	LoseFocusCommand="%function(self)
	self:accelerate( tweenTimeBetweenItems );
	self:diffuse( 1,1,0,0.5 );
	end" />

	<Layer File="ScreenSelectGameMode scrollchoice/_construction stripe"
			OnCommand="zoomx,1.875;customtexturerect,0,0,2,1"
			GainFocusCommand="texcoordvelocity,0.2,0"
			LoseFocusCommand="stoptweening;texcoordvelocity,0,0"
		/>
			</children></Layer>

			<Layer Type="ActorFrame" OnCommand="y,32"><children>
	
	<Layer Type="Quad"
	OnCommand="%function(self)
	self:zoomto( 120,15 );
	self:diffuse( 1,1,0,0.5 );
	end"
	GainFocusCommand="%function(self)
	self:accelerate( tweenTimeBetweenItems );
	self:diffuse( 1,1,0,0.9 );
	end"
	LoseFocusCommand="%function(self)
	self:accelerate( tweenTimeBetweenItems );
	self:diffuse( 1,1,0,0.5 );
	end" />

	<Layer File="ScreenSelectGameMode scrollchoice/_construction stripe"
			OnCommand="zoomx,1.875;customtexturerect,0,0,2,1"
			GainFocusCommand="texcoordvelocity,0.2,0"
			LoseFocusCommand="stoptweening;texcoordvelocity,0,0"
		/>
			</children></Layer>

	<Layer File="ScreenSelectGameMode scrollchoice/_preview msgline" OnCommand="y,8" />
	<Layer File="ScreenSelectGameMode scrollchoice/_construction shadow" OnCommand="y,-8;blend,add;diffusealpha,0.375"
		GainFocusCommand="stoptweening;pulse;effectmagnitude,0.8,0.975,1;"
		LoseFocusCommand="stoptweening;stopeffect;accelerate,0.1;zoom,1"
		/>

	<Layer File="ScreenSelectGameMode scrollchoice/_construction main" OnCommand="y,-8" />

	</children></Layer>

</children></ActorFrame>