require( "scripts/style.lua" );


MakeDialog
{
	name = "jigsaw01",

	Bitmap
	{
		name = "backgroundimage",
		image = "jigsaw/letter/background",
		x = 0,
		y = 0,
		scale = 1.00,
		Bitmap
		{
			name = "notime",
			image = "jigsaw/letter/notime",
			x = 0,
			y = 0,
			scale = 1.00,
		},

		Jigsaw
		{
			name = "jigsaw01",
			conversation="jigsaw01",
			stackOriginX = 100,
			stackOriginY = 500,
			NextLevelScript = "find/lab/lab.lua",
			Time = 240,
			music="audio/music/music5.ogg",
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "pick-letter1",
				image = "jigsaw/letter/letter1",
				x = 234,
				y = 66,
				scale = 1.00
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "pick-letter2",
				image = "jigsaw/letter/letter2",
				x = 330,
				y = 66,
				scale = 1.00,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "pick-letter3",
				image = "jigsaw/letter/letter3",
				x = 403,
				y = 66,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter4",
				image = "jigsaw/letter/letter4",
				x = 488,
				y = 135,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter5",
				image = "jigsaw/letter/letter5",
				x = 366,
				y = 151,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter6",
				image = "jigsaw/letter/letter6",
				x = 409,
				y = 145,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter7",
				image = "jigsaw/letter/letter7",
				x = 441,
				y = 264,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter8",
				image = "jigsaw/letter/letter8",
				x = 234,
				y = 151,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter9",
				image = "jigsaw/letter/letter9",
				x = 418,
				y = 308,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter10",
				image = "jigsaw/letter/letter10",
				x = 239,
				y = 366,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter11",
				image = "jigsaw/letter/letter11",
				x = 234,
				y = 156,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter12",
				image = "jigsaw/letter/letter12",
				x = 234,
				y = 362,
				scale = 1.00
			},
			Bitmap
			{
				name = "pick-letter13",
				image = "jigsaw/letter/letter13",
				x = 234,
				y = 297,
				scale = 1.00
		},
		
		SetStyle(ButtonStyle),
		Button
		{
			x=673,
			y=544,
			name="pause",
			label="pause",
			cancel=true,
			command=
			function()
				DoModal("scripts/pause.lua");
			end
		},
			
		CSkipButton
		{
			x=673,
			y=500,
			name="skip",
			label="skip",
			cancel=true,
			command=
			function()
				LevelSkip();
			end
		},
	},
},


}
