<ActorFrame><children>

<Layer Type="ActorFrame" OnCommand="%function(self)
    self:x( SCREEN_CENTER_X-210 );
    self:y( SCREEN_CENTER_Y+155 );
    if Profile().DWIShowProfileInSelectMusic then self:hidden(0) else self:hidden(1) end
    end"><children>
	<Layer
            Type="Quad"
            Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
            InitCommand="zoomto,42,42,0,0;shadowlength,1"
            />
        <Layer
            Type="Quad"
            Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
            InitCommand="zoomto,38,38,0,0;shadowlength,1;diffuse,0,0,0,1"
            />
           <Layer
        File="@ThemeFile('ProfileIcon/userP1')"
        Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
        InitCommand="%function(self)
        self:zoomto(40,40,0,0);
        end"
        />
        <Layer
            Font="_sui generis"
            Text=" "
            Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
            InitCommand="x,30;y,15;zoom,0.4;horizalign,left;diffuse,0.25,0.8125,1,1;shadowlength,1;sleep,0.01;queuecommand,Update"
            UpdateCommand="%function(self) AccumProfileScore(self, PLAYER_1) end" />
        </children></Layer>


            <!-- Player 2 -->
        <Layer Type="ActorFrame" OnCommand="%function(self)
    self:x( SCREEN_CENTER_X+210 );
    self:y( SCREEN_CENTER_Y+155 );
    if Profile().DWIShowProfileInSelectMusic then self:hidden(0) else self:hidden(1) end
    end"><children>
            <Layer
            Type="Quad"
            Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
            OnCommand="zoomto,42,42,0,0;shadowlength,1"
            />
        <Layer
            Type="Quad"
            Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
            OnCommand="zoomto,38,38,0,0;shadowlength,1;diffuse,0,0,0,1"
            />
           <Layer
        File="@ThemeFile('ProfileIcon/userP2')"
        Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
        OnCommand="%function(self)
        self:zoomto(40,40,0,0);
        end"
        />

            <Layer
            Font="_sui generis"
            Text=" "
            Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
            OnCommand="x,-30;y,15;;zoom,0.4;horizalign,right;diffuse,1,0.8125,0.125,1;shadowlength,1;sleep,0.01;queuecommand,Update"
            UpdateCommand="%function(self) AccumProfileScore(self, PLAYER_2) end" />
        </children></Layer>

</children></ActorFrame>