<ActorFrame><children>

<Layer
		File="background"
	/>

<!-- logos -->
<Layer
        File="glow"
        OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-10;additiveblend,1;zoom,0;sleep,0.1;bounceend,0.4;zoom,1;diffuseshift;EffectColor1,#FFFFFF;EffectColor2,#FFFFFF00;Playcommand,set;effectperiod,5;effectoffset,.3"
		OffCommand="hidden,1"   
   />
<Layer
        File="newlogo"
        OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-10;zoom,0;sleep,0.1;bounceend,0.4;zoom,1"
		OffCommand="hidden,1"   
   />
<Layer
        File="light"
        OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-10;zoom,1;additiveblend,1;x,320;y,240;playcommand,Diffuse;"				
        DiffuseCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-10;zoom,1;diffusealpha,0;sleep,2;linear,.3;diffusealpha,1;sleep,.05;linear,.5;diffusealpha,0;queuecommand,Diffuse"
		OffCommand="hidden,1"   
   />
   
  <Layer
		Condition="SONGMAN:FindSong('In The Groove 3 Encore/Chaos Energy')"
		File="encore"
		InitCommand="x,SCREEN_CENTER_X+110;y,SCREEN_CENTER_Y+85"
		OnCommand="horizalign,center;cropright,1.3;sleep,0.7;linear,1;cropright,-0.3"
		OffCommand="hidden,1"
	/>
	  <Layer
		Condition="SONGMAN:FindSong('In The Groove 3 Encore/Chaos Energy')"
		File="_encoreglow"
		InitCommand="x,SCREEN_CENTER_X+110;y,SCREEN_CENTER_Y+85"
		OnCommand="horizalign,center;cropleft,-0.3;cropright,1;faderight,.1;fadeleft,.1;sleep,0.7;linear,1;cropleft,+1;cropright,-0.3"
		OffCommand="hidden,1"
	/>

<Layer
		File="underlay"
	/>
<Layer
		Condition="Platform() == 'arcade'"
		Type="BitmapText"
		Font="_v 26px bold black"
		Text="@GetRevisionAndProductName()"	
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-17;zoom,0.5;shadowlength,0;diffusealpha,0;sleep,.5;linear,.4;diffusealpha,1"
		OffCommand="hidden,1"
	/>
<Layer
		Type="BitmapText"
		Font="ScreenOptions serial number"
		Condition="Platform() == 'arcade'"
		Text="@GetSerialNumber()"
		InitCommand="x,SCREEN_RIGHT-180;y,SCREEN_TOP+50;shadowlength,2;horizalign,right;wrapwidthpixels,1000;zoom,0.5"
		OnCommand="diffusealpha,0;sleep,0.5;linear,0.5;diffusealpha,1"
		OffCommand="hidden,1"
	/> 
	
	
<Layer
		File="icon"
	/>

<Layer
		File="button"
	/>

<!-- unlock -->

<Layer
		Class="Quad"
		OnCommand="stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffuse,#000000;diffusealpha,0"
		UnlockEnteredMessageCommand="diffusealpha,0.4;sleep,6;linear,0.2;diffusealpha,0"
		OffCommand="hidden,1"
	/>

<ActorFrame
		OnCommand="%function(self) self:GetChild('Hoe'):settext('')end"
		InitCommand="draworder,9999;diffusealpha,0"
		UnlockEnteredMessageCommand=""
	><children>
 <Layer	
		File="_v 26px bold shadow"
		Text="Unlocked:"
		InitCommand="diffusealpha,0"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-100;horizalign,center;shadowlength,0;zoom,0.8"
		OffCommand="hidden,1"	
		UnlockEnteredMessageCommand="diffusealpha,1;sleep,3;linear,0.2;diffusealpha,0"
	/>	
<Layer		
		Name="Hoe"
		Font="_v 26px bold shadow"
		Text=""
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-80;horizalign,center;shadowlength,0;zoom,0.8"
		UnlockEnteredMessageCommand="%function(self) self:settext(GAMESTATE:GetEnv('UnlockName')) self:diffusealpha(1) self:sleep(3) self:linear(0.2) self:diffusealpha(0) end"
		CoinInsertedMessageCommand="PlayCommand,UnlockEnteredMessage"		
		CoinModeChangedMessageCommand="PlayCommand,UnlockEnteredMessage"
		OffCommand="hidden,1"		
	/>
	 <Layer	
		File="../blueflare"
		InitCommand="Additiveblend,1;zoomx,5;zoomy,3;diffusealpha,0"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-90"
		OffCommand="hidden,1"		
		UnlockEnteredMessageCommand="stoptweening;zoomy,3;linear,.1;diffusealpha,1;decelerate,.3;zoomy,0;diffusealpha,0"
	/>	
		 <Layer	
		File="../blueflare"
		InitCommand="Additiveblend,1;zoomx,5;zoomy,3;diffusealpha,0"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-90"
		OffCommand="hidden,1"		
		UnlockEnteredMessageCommand="stoptweening;zoomy,3;linear,.1;diffusealpha,1;decelerate,.3;zoomy,0;diffusealpha,0"
	/>	
</children></ActorFrame>

<!-- initial overlay quad (kung)-->	
<Layer
		Class="Quad"
		OnCommand="stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffuse,#FFFFFF;diffusealpha,0;sleep,0.1;accelerate,0.5;diffusealpha,1;sleep,0.2;decelerate,0.5;diffusealpha,0"
		OffCommand="hidden,1"
	/>
</children></ActorFrame>

