<ActorFrame
	InitCommand="%function(self)
	ColorToMimic = {math.random(140,255)/255,math.random(140,255)/255,math.random(140,255)/255}
	end"
	><children>
	<Layer
        File="SongBackground"
        OnCommand="%function(self)
        self:cmd('x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoom,1.5;diffusealpha,0;fadetop,0.3;fadebottom,0.3;decelerate,1;zoomto,SCREEN_WIDTH+3,SCREEN_HEIGHT;')
        if GAMESTATE:GetCurrentSong():GetBackgroundPath() == nil then
        		self:diffusealpha(0)
        	else
        		self:diffusealpha(1)
        	end
        self:fadetop(0);
        self:fadebottom(0);
        end"
        OffCommand="linear,0.3;diffusealpha,0"
    />

	<Layer File="@ThemeFile('blur')" OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoom,3;diffusealpha,0;decelerate,1;diffusealpha,1" />

	<Layer File="@ThemeFile('ClearedRibbon/ClearedTextBG')"
	OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+500;bounceend,0.4;y,SCREEN_CENTER_Y;"
	InitCommand="%function(self) self:diffuse( ColorToMimic[1],ColorToMimic[2],ColorToMimic[3],1 ) end" />

	<!-- Note to self:
	REMAKE TEXT CLASS AS ITS NOT RESIZING FOR SOME FUCKING REASON.
	-->
	<Layer Font="Splat2" Text="@GAMESTATE:GetCurrentSong():GetDisplayMainTitle()"
	OnCommand="maxwidth,SCREEN_WIDTH/0.8;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+500;bounceend,0.4;y,SCREEN_CENTER_Y-45;shadowlength,2"
			/>

	<Layer Font="Splat2" Text="@SPCommand:GetDisplaySubtitle()"
	OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+500;zoom,0.6;bounceend,0.4;y,SCREEN_CENTER_Y;shadowlength,2"
			/>

	<Layer Font="Splat2" Text="@GAMESTATE:GetCurrentSong():GetDisplayArtist()"
	OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+500;zoom,0.6;bounceend,0.4;y,SCREEN_CENTER_Y+30;shadowlength,2"
			/>

	<!-- Player One Info -->
	<Layer Font="Splat2" Text="Player 1"
	Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and GAMESTATE:IsHumanPlayer(PLAYER_1)"
	OnCommand="horizalign,left;x,SCREEN_LEFT+20;y,SCREEN_CENTER_Y+500;diffusealpha,0.5;zoom,0.4;bounceend,0.4;y,SCREEN_CENTER_Y-60;shadowlength,2"
			/>
	<Layer
		Font="Splat2Stroke"
		Text=" "
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and GAMESTATE:IsHumanPlayer(PLAYER_1)"
		OnCommand="%function(self)
		
		self:x(SCREEN_LEFT+20)
		self:horizalign('left')
		self:shadowlength(1)
		self:rotationy(-7)
		self:queuecommand('SetNow')
		end"
		SetNowCommand="%function(self)
		if GAMESTATE:GetCurrentSong() then

			if GAMESTATE:GetPlayMode() == 4 then
				GAMESTATE:ApplyGameCommand('mod, no left, no right, no mirror, no shuffle, no randomshuffle')
			end

			self:settext( GAMESTATE:GetCurrentSteps(PLAYER_1):GetMeter() )
			local Diff = GAMESTATE:GetCurrentSteps(PLAYER_1):GetDifficulty()+1
			for i=1,table.getn(DiffColorTable) do
				if Diff == i then
					self:diffuse( DiffColorTable[i][2][1],DiffColorTable[i][2][2],DiffColorTable[i][2][3],DiffColorTable[i][2][4] )
				end
			end
		end

		self:y(SCREEN_CENTER_Y+500);
		self:zoom(0.6);
		self:bounceend(0.4);
		self:y(SCREEN_CENTER_Y-50);
		self:shadowlength(2);
		end"
		/>

		<Layer
		Font="Splat2"
		Text=" "
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and GAMESTATE:IsHumanPlayer(PLAYER_1)"
		OnCommand="%function(self)
		
		self:x(SCREEN_LEFT+60)
		self:y(SCREEN_CENTER_Y+70)
		self:horizalign('left')
		self:shadowlength(1)
		self:zoom(0.5)
		self:maxwidth(200)
		self:rotationy(-5)
		self:queuecommand('SetNow')
		end"
		SetNowCommand="%function(self)
		if GAMESTATE:GetCurrentSong() then

			local Diff = GAMESTATE:GetCurrentSteps(PLAYER_1):GetDifficulty()+1
			for i=1,table.getn(DiffColorTable) do
				if Diff == i then
					self:diffuse( DiffColorTable[i][2][1],DiffColorTable[i][2][2],DiffColorTable[i][2][3],DiffColorTable[i][2][4] )
					self:settext( DiffColorTable[i][1] )
				end
			end
			self:y(SCREEN_CENTER_Y+500);
			self:zoom(0.6);
			self:bounceend(0.4);
			self:y(SCREEN_CENTER_Y-35);
			if Diff-1 == 5 then
				self:zoom(0.4)
				self:y(SCREEN_CENTER_Y-40)
			end
		end
		
		self:shadowlength(2);
		end"
		/>

		<Layer
		Font="Splat2"
		Text=" "
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and GAMESTATE:IsHumanPlayer(PLAYER_1)"
		OnCommand="%function(self)
		
		self:x(SCREEN_LEFT+60)
		self:y(SCREEN_CENTER_Y+70)
		self:horizalign('left')
		self:shadowlength(1)
		self:zoom(0.5)
		self:maxwidth(130)
		self:rotationy(-5)
		self:queuecommand('SetNow')
		end"
		SetNowCommand="%function(self)
		if GAMESTATE:GetCurrentSong() then

			local Diff = GAMESTATE:GetCurrentSteps(PLAYER_1):GetDifficulty()

			if Diff == 5 then
				self:diffuse(1,1,1,0.5)
				if GetStepsDescriptionText(PLAYER_1) == '' then
					self:settext( 'By: Not Set!' )
					self:diffuse(1,0,0,0.5)
				else
					self:settext( 'By: '..GetStepsDescriptionText(PLAYER_1) )
				end
				self:zoom(0.4)
				self:y(SCREEN_CENTER_Y+500);
				self:bounceend(0.4);
				self:y(SCREEN_CENTER_Y-25);
			else
				self:zoom(0)
			end
		end
		
		self:shadowlength(2);
		end"
		/>


	<!-- Player Two Info -->
	<Layer Font="Splat2" Text="Player 2"
	Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and GAMESTATE:IsHumanPlayer(PLAYER_2)"
	OnCommand="horizalign,right;x,SCREEN_RIGHT-10;y,SCREEN_CENTER_Y+500;diffusealpha,0.5;zoom,0.4;bounceend,0.4;y,SCREEN_CENTER_Y-60;shadowlength,2"
			/>
	<Layer
		Font="Splat2Stroke"
		Text=" "
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and GAMESTATE:IsHumanPlayer(PLAYER_2)"
		OnCommand="%function(self)
		
		self:x(SCREEN_RIGHT)
		self:horizalign('right')
		self:shadowlength(1)
		self:rotationy(-7)
		self:queuecommand('SetNow')
		end"
		SetNowCommand="%function(self)
		if GAMESTATE:GetCurrentSong() then

			self:settext( GAMESTATE:GetCurrentSteps(PLAYER_2):GetMeter() )
			local Diff = GAMESTATE:GetCurrentSteps(PLAYER_2):GetDifficulty()+1
			for i=1,table.getn(DiffColorTable) do
				if Diff == i then
					self:diffuse( DiffColorTable[i][2][1],DiffColorTable[i][2][2],DiffColorTable[i][2][3],DiffColorTable[i][2][4] )
				end
			end
		end

		self:y(SCREEN_CENTER_Y+500);
		self:zoom(0.6);
		self:bounceend(0.4);
		self:y(SCREEN_CENTER_Y-50);
		self:shadowlength(2);
		end"
		/>

		<Layer
		Font="Splat2"
		Text=" "
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and GAMESTATE:IsHumanPlayer(PLAYER_2)"
		OnCommand="%function(self)
		
		self:x(SCREEN_RIGHT-50)
		self:y(SCREEN_CENTER_Y+50)
		self:horizalign('right')
		self:shadowlength(1)
		self:zoom(0.5)
		self:maxwidth(130)
		self:rotationy(-5)
		self:queuecommand('SetNow')
		end"
		SetNowCommand="%function(self)
		if GAMESTATE:GetCurrentSong() then

			local Diff = GAMESTATE:GetCurrentSteps(PLAYER_2):GetDifficulty()+1
			for i=1,table.getn(DiffColorTable) do
				if Diff == i then
					self:diffuse( DiffColorTable[i][2][1],DiffColorTable[i][2][2],DiffColorTable[i][2][3],DiffColorTable[i][2][4] )
					self:settext( DiffColorTable[i][1] )
				end
			end
			self:y(SCREEN_CENTER_Y+500);
			self:zoom(0.6);
			self:bounceend(0.4);
			self:y(SCREEN_CENTER_Y-35);
			if Diff-1 == 5 then
				self:zoom(0.4)
				self:y(SCREEN_CENTER_Y-40)
			end
		end
		self:shadowlength(2);
		end"
		/>

		<Layer
		Font="Splat2"
		Text=" "
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and GAMESTATE:IsHumanPlayer(PLAYER_2)"
		OnCommand="%function(self)
		
		self:x(SCREEN_RIGHT-50)
		self:y(SCREEN_CENTER_Y+70)
		self:horizalign('left')
		self:shadowlength(1)
		self:zoom(0.5)
		self:maxwidth(130)
		self:rotationy(-5)
		self:queuecommand('SetNow')
		end"
		SetNowCommand="%function(self)
		if GAMESTATE:GetCurrentSong() then

			local Diff = GAMESTATE:GetCurrentSteps(PLAYER_2):GetDifficulty()

			if Diff == 5 then
				self:diffuse(1,1,1,0.5)
				if GetStepsDescriptionText(PLAYER_2) == '' then
					self:settext( 'By: Not Set!' )
					self:diffuse(1,0,0,0.5)
				else
					self:settext( 'By: '..GetStepsDescriptionText(PLAYER_2) )
				end
				self:zoom(0.4)
				self:y(SCREEN_CENTER_Y+500);
				self:bounceend(0.4);
				self:y(SCREEN_CENTER_Y-25);
			else
				self:zoom(0)
			end
		end
		
		self:shadowlength(2);
		end"
		/>

</children></ActorFrame>