<ActorFrame><children>
	<!-- This will act as the BGAnimation LengthSeconds command. -->
	<Layer Type="Quad" OnCommand="%function(self) self:zoom(0) self:sleep(0.4) end" />

	<!-- OpenITG's Center isn't the ACTUAL center; it's the top left corner, so we need to center it again. -->
	<!-- We want that stretch to happen in XML, so we need to manually set a setzoom to make it happen, because that's how it's made. -->
	<!-- Why is SCREEN_WIDTH and SCREEN_HEIGHT on *2? It's because of how SM handles sizing to 'FullScreen', there's a little gap that appears if you just let it on normal SCREEN_WIDTH/HEIGHT, and applying double the size fixes it. -->
	<Layer File="../_black.png" OnCommand="zoomto,SCREEN_WIDTH*2,SCREEN_HEIGHT*2;" />

	<!-- Hack: Instead of making every stage be divided on its own folder, include everything in the same folder for easier and quicker load, and besides, the default theme does this too. -->
	<Layer File="@'stage '..GetStageText()" OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+(360-240);sleep,0.132;decelerate,0.198;y,240" />

	<!-- Mask the stage text for the fade animation -->
	<Layer File="../_black.png" OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+(360-240);zoomto,640,120;" />	

	<!-- The bottom half of the screen -->
	<Layer File="../_underline.png" OnCommand="blend,add;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+(301-240);zoomy,0.5;zoomx,0.4;diffusealpha,1;linear,0.099;zoomx,2;sleep,0.165;sleep,0.033;linear,0.099;zoomx,0.4;linear,0;zoomx,0" />	
	<Layer File="../_underline.png" OnCommand="blend,add;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+(301-240);zoomy,0.5;zoomx,0.8;sleep,0.033;diffusealpha,1;linear,0.099;zoomy,1;zoomx,2;sleep,0.099;sleep,0.033;linear,0.099;zoomx,0.8;zoomy,0.5;linear,0;zoomx,0" />	
</children></ActorFrame>