<ActorFrame> <children>
	<Layer
		Type="ActorFrame"
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
		InitCommand="x,45;y,229"
	><children>

	</children></Layer>
	<Layer
		Type="ActorFrame"
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
		InitCommand="x,276;y,366"
	><children>


	</children></Layer>
	<Layer 
		Type="Quad"
		OnCommand="diffuse,#1E282F;stretchto,SCREEN_CENTER_X-139,41,SCREEN_CENTER_X+139,61;diffusealpha,0.85"
	/>

	<Layer 
		Condition="modRate ~= 1"
		Type="Quad"
		OnCommand="diffuse,#1E282F;stretchto,SCREEN_CENTER_X-139,153,SCREEN_CENTER_X+139,170;diffusealpha,0.85"
	/>	
	<Layer Type="ActorFrame"
		Condition="not (GAMESTATE:GetCurrentSong() == SONGMAN:FindSong('In The Groove/Training1/'))"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+68"
		> <children>

		<Layer
			Type="BitmapText"
			Font="_misobold small"
			OnCommand="shadowlength,1;maxwidth,500;y,-24;zoom,.55;diffuse,#FFFFFF"
			InitCommand="animate,0;queuecommand,Update"
			CurrentSongChangedMessageCommand="queuecommand,Update"
			UpdateCommand="%function(self) self:settext(GetSongName()) end"
		/>
		<Layer 
			Type="BitmapText"
			Font="_misobold small"
			OnCommand="y,87;zoom,.5;shadowlength,1;diffuse,#FFFFFF"
			InitCommand="animate,0;playcommand,Update"
			UpdateCommand="%function(self) RateBPMlabel(self) end"
		/>
	</children> </Layer>

	<Layer Type="ActorFrame"
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
		OnCommand="x,SCREEN_CENTER_X-295;y,SCREEN_CENTER_Y-76"
	> <children>
		<Actor
			File="@THEME:GetPath(EC_GRAPHICS,'','_difficulty icons')"
			InitCommand="%function(self) self:y(IconY()) IconCrop(self) end"
			OnCommand="animate,0;playcommand,Update"
			UpdateCommand="%function(self,parent) SetDifficultyFrameFromGameState(self, PLAYER_1) end"
		/>
		<Actor
			Class="DifficultyMeter"
			Type="ScreenGameplay DifficultyMeterP1"
			OnCommand="playcommand,Update"
			UpdateCommand="%function(self) 
					if GAMESTATE:GetCurrentTrail(PLAYER_1) then 
						self:SetFromTrail(GAMESTATE:GetCurrentTrail(PLAYER_1)) 
					else
						self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_1))
					end
					P1Difficulty = self:GetChild('Difficulty'):GetText()
				end"
		/>
		<Layer 
			Font="_misobold small"
			Text="???" 
			OnCommand="x,25;y,2;zoom,0.4;shadowlength,0;horizalign,left;maxwidth,240;queuecommand,Set" 
			SetCommand="%function(self) self:settext(P1Difficulty) end" 
		/>		
		<Layer 
			Condition="not GAMESTATE:IsCourseMode()"
			Font="_misobold small"
			Text="???" 
			OnCommand="x,25;y,-12;zoom,0.4;shadowlength,0;horizalign,left;maxwidth,240;queuecommand,Set" 
			SetCommand="%function(self) self:settext(GetStepsDescriptionText(PLAYER_1)) end" 
		/>		
	</children> </Layer>

	<Layer Type="ActorFrame"
		Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
		OnCommand="x,SCREEN_CENTER_X+295;y,SCREEN_CENTER_Y-76"
	> <children>
		<Actor
			File="@THEME:GetPath(EC_GRAPHICS,'','_difficulty icons')"
			InitCommand="%function(self) self:y(IconY()) IconCrop(self) end"
			OnCommand="animate,0;playcommand,Update"
			UpdateCommand="%function(self,parent) SetDifficultyFrameFromGameState(self, PLAYER_2) end"
		/>
		<Actor
			Class="DifficultyMeter"
			Type="ScreenGameplay DifficultyMeterP2"
			OnCommand="playcommand,Update"
			UpdateCommand="%function(self) 
					if GAMESTATE:GetCurrentTrail(PLAYER_2) then 
						self:SetFromTrail(GAMESTATE:GetCurrentTrail(PLAYER_2)) 
					else
						self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_2))
					end
					P2Difficulty = self:GetChild('Difficulty'):GetText()
				end"
		/>
		<Layer 
			Font="_misobold small"
			Text="???" 
			OnCommand="x,-25;y,2;zoom,0.4;shadowlength,0;horizalign,right;maxwidth,240;queuecommand,Set" 
			SetCommand="%function(self) self:settext(P2Difficulty) end" 
		/>
		<Layer 
			Condition="not GAMESTATE:IsCourseMode()"
			Font="_misobold small"
			Text="???" 
			OnCommand="x,-25;y,-12;zoom,0.4;shadowlength,0;horizalign,right;maxwidth,240;queuecommand,Set" 
			SetCommand="%function(self) self:settext(GetStepsDescriptionText(PLAYER_2)) end" 
		/>
	</children> </Layer>
	
	<Layer File="OffsetPlot" />
	<!--Layer File="Couples" /-->
	
	<Layer Type="ActorFrame" OnCommand="zoom,.45;xy,SCREEN_CENTER_X+109,SCREEN_CENTER_Y-120-50;"><children>
		<Actor File="_metaflip/star" OnCommand="x,-60+22;y,-2;diffuseblink;effectcolor1,1,.2,0,1;effectcolor2,1,.8,0,1;effectperiod,.2;" />
		<Actor File="_metaflip/text" OnCommand="x,60-40;" />
	</children></Layer>
	
</children> </ActorFrame>