<ActorFrame><children>
<Layer		
Font="_v 26px bold black"
Text="???"
OnCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-16;horizalign,center;shadowlength,0;zoom,.5;PlayCommand,Refresh"
RefreshCommand="%
			function(self)
				if GAMESTATE:IsEventMode() then self:settext('EVENT MODE') return end
				if GAMESTATE:GetCoinMode()==COIN_MODE_FREE then self:settext('FREE PLAY') return end
				if GAMESTATE:GetCoinMode()==COIN_MODE_HOME then self:settext('') return end
				local coins=GAMESTATE:GetCoins()
				local coinsPerCredit=PREFSMAN:GetPreference('CoinsPerCredit')
				local credits=math.floor(coins/coinsPerCredit)
				local remainder=math.mod(coins,coinsPerCredit)
				local s='CREDIT(S) :  '
				if credits&gt;0 then s=s..credits..'  ' end
				s=s..remainder..'/'..coinsPerCredit
				self:settext(s)
			end"
CoinInsertedMessageCommand="PlayCommand,Refresh"		
CoinModeChangedMessageCommand="PlayCommand,Refresh"
EnableSelectHelpMessageCommand="stoptweening;diffusealpha,0"
SelectMenuOffMessageCommand="stoptweening;sleep,0.3;linear,0.2;diffusealpha,1"
OffCommand=""		
	/>		
	</children>
</ActorFrame>