<ActorFrame><children>
	<Layer
		Type="BitmapText"
		Font="_serpentine small"
		Input="Player"
		SetCommand="%
		function(self)
			local iIndex = SCREENMAN:GetTopScreen():GetMachineHighScoreIndex(self.Player)
			if( iIndex == -1 ) then
				self:hidden(1)
			else
				if IsHomeMode() then
					self:settext( 'HIGH SCORE!' )
				else
					self:settext( 'MACHINE RECORD #' .. iIndex+1 )
				end
			end
		end"

		InitCommand="diffusebottomedge,#1060FF"
		OnCommand="PlayCommand,Set;addx,50*InvertP2(self.Player);diffusealpha,0;sleep,1.5;linear,.3;addx,-50*InvertP2(self.Player);diffusealpha,1"
		OffCommand="linear,.3;addx,50*InvertP2(self.Player);diffusealpha,0"
	/>
	<!--
	<Layer
		Type="BitmapText"
		Font="_serpentine small"
		Input="Player"
		Condition="not IsHomeMode()"
		SetCommand="%
		function(self)
			-- Only show a personal high score if we didn't
			-- get a machine high score.
			local iMachineIndex = SCREENMAN:GetTopScreen():GetMachineHighScoreIndex(self.Player)
			local iIndex = SCREENMAN:GetTopScreen():GetPersonalHighScoreIndex(self.Player)
			if( iMachineIndex ~= -1 or iIndex == -1 ) then
				self:hidden(1)
			else
				if IsHomeMode() then
					self:settext( 'PERSONAL BEST!' )
				else
					self:settext( 'PERSONAL RECORD #' .. iIndex+1 )
				end
			end
		end"
		OnCommand="PlayCommand,Set;addx,-50;diffusealpha,0;sleep,1.5;linear,.3;addx,50;diffusealpha,1"
		OffCommand="linear,.3;addx,-50;diffusealpha,0"
	/>
	-->
</children></ActorFrame>
