<ActorFrame><children>
		<Layer
			File="@ThemeFile('dwi2-dtile')"
			OnCommand="%function(self)
			self:Center()
			self:customtexturerect(0,0,5,5);
    		self:texcoordvelocity(0.03,0.03);
    		self:zoom(4)
    		self:diffuse(0.3,0.3,0.3,1)
			end"
			/>
		<Layer
			Font="Common Normal"
			Text="0"
			InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-150;draworder,90"
			OnCommand="%function(self)
			self:shadowlength(1)
			self:settext('W A R N I N G')
			self:diffuse(1,0.5,0.5,1)
			end"
		/>
		<Layer
			Font="Common Normal"
			Text="0"
			InitCommand="zoom,0.6;draworder,90;wrapwidthpixels,SCREEN_WIDTH*1.5;"
			OnCommand="%function(self)

			self:Center()

				self:settext('If you intend on playing songs from ANY of the original BEMANI games, you must legally own the games that the music came from. Please help support BEMANI and buy the games and their soundtracks.\n\nThe original author of this game expressly forbids the bunding of this program with any copyrighted songs or Step-files, or any modification of the program files themselves.')
			end"
		/>
		<Layer
			Font="Common Normal"
			Text="0"
			InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+120;zoom,0.5;draworder,90"
			OnCommand="%function(self)
				self:queuecommand('SongCheck')
			end"
			SongCheckCommand="%function(self)
				local Profile = PROFILEMAN:GetMachineProfile():GetSaved()
				if table.getn( SONGMAN:GetAllSongs() ) - Profile.DWISongs == 1 then
					self:settext( table.getn( SONGMAN:GetAllSongs() ) - Profile.DWISongs ..' New song found.')
				else
					self:settext( table.getn( SONGMAN:GetAllSongs() ) - Profile.DWISongs ..' New songs found.')
				end
				self:diffuse(1,1,0,1)
				self:shadowlength(1)
			end"
		/>
		<Layer
			Type="Quad"
			InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;draworder,90"
			OnCommand="%function(self)
			self:zoomto( SCREEN_WIDTH, SCREEN_HEIGHT,0,0)
			self:diffuse(0,0,0,1)
			self:linear(1)
			self:diffuse(0,0,0,0)
			self:sleep(8)
			self:linear(1)
			self:diffuse(0,0,0,1)
			self:sleep(0.01)
			self:queuecommand('SendToTitleScreen')
			end"
			SendToTitleScreenCommand="%function(self)
			SCREENMAN:SetNewScreen('ScreenTitleMenu')
			end"
		/>
		<Layer
		Type="Quad"
		OnCommand="%function(self)
		self:sleep(10)
		self:queuecommand('UpdateSongAmmount')
		end"
		UpdateSongAmmountCommand="%function(self)
		local Profile = PROFILEMAN:GetMachineProfile():GetSaved()
		Profile.DWISongs = table.getn( SONGMAN:GetAllSongs() )
		PROFILEMAN:SaveMachineProfile()
		end"
		/>
	</children></ActorFrame>