require( "scripts/style.lua" );


MakeDialog
{
	name = "safe",
	SetStyle(ButtonStyle),
	Bitmap
	{
		name = "backgroundimage",
		image = "memory/safe/background",
		x = 0,
		y = 0,
		scale = 1.00,

		SetStyle(ButtonStyle),
		Button
		{
			x=505,
			y=537,
			name="pause",
			label="pause",
			cancel=true,
			command=
			function()
				DoModal("scripts/pause.lua");
			end
		},
		SetStyle(ButtonStyle),
		CSkipButton
		{
			x=505,
			y=490,
			name="skip",
			label="skip",
			cancel=true,
			command=
			function()
				LevelSkip();
			end
		},

	SetStyle(ButtonStyle),
	Bitmap
	{
		name = "notime",
		image = "memory/safe/notime",
		x = 136,
		y = 0,
	scale = 1.00,},

		Bitmap
		{
			name = "keyhole01",
			image = "memory/safe/lock1",
			x = 320,
			y = 366,
			scale = 1.00
		},
		Bitmap
		{
			name = "keyhole02",
			image = "memory/safe/lock1",
			x = 320,
			y = 216,
			scale = 1.00
		},
		Bitmap
		{
			name = "keyhole03",
			image = "memory/safe/lock1",
			x = 319,
			y = 465,
			scale = 1.00
		},
		Bitmap
		{
			name = "keyhole04",
			image = "memory/safe/lock1",
			x = 320,
			y = 266,
			scale = 1.00
		},
		Bitmap
		{
			name = "keyhole05",
			image = "memory/safe/lock1",
			x = 320,
			y = 316,
			scale = 1.00
		},
		Bitmap
		{
			name = "keyhole06",
			image = "memory/safe/lock1",
			x = 320,
			y = 416,
			scale = 1.00
		},
		MemoryGame
		{
			conversation = "safe",
			unlockAnim = "memory/safe/turn",
			NextLevelScript = "find/lab/lab3.lua",
			Time = 240,
			music="audio/music/music2.ogg",
			Bitmap
			{
				name = "pick-key01",
				image = "memory/safe/key1",
				x = 138,
				y = 288,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-key02",
				image = "memory/safe/key2",
				x = 138,
				y = 158,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-key03",
				image = "memory/safe/key3",
				x = 138,
				y = 220,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-key04",
				image = "memory/safe/key4",
				x = 141,
				y = 477,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-key05",
				image = "memory/safe/key5",
				x = 140,
				y = 417,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-key06",
				image = "memory/safe/key6",
				x = 139,
				y = 354,
				scale = 1.00
			},
		},
	},
}
