require( "scripts/style.lua" );





MakeDialog
{
	ComicPanel
	{
		x=0,y=0,w=800,h=600,
		Bitmap
		{
			name="comicpanel",
			image="comics/comic1_2",
			x=0,y=0,w=800,h=600,
			
			Text
			{
				font = ComicSmallFont,
				label="comic_2_1",
				x=22, y=10,
				w=210, h=34,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_2_2",
				x=135, y=34,
				w=105, h=75,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_2_3",
				x=293, y=5,
				w=220, h=50,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicMediumFont,
				label="comic_2_4",
				x=539, y=14,
				w=50, h=33,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicMediumFont,
				label="comic_2_5",
				x=545, y=47,
				w=70, h=35,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_2_6",
				x=654, y=27,
				w=132, h=31,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},

			Text
			{
				font = ComicSmallFont,
				label="comic_2_7",
				x=26, y=272,
				w=225, h=90,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},			
			Text
			{
				font = ComicSmallFont,
				label="comic_2_8",
				x=26, y=519,
				w=225, h=90,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},	
			Text
			{
				font = ComicSmallFont,
				label="comic_2_9",
				x=268, y=273,
				w=190, h=90,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},	
			Text
			{
				font = ComicSmallFont,
				label="comic_2_10",
				x=470, y=276,
				w=200, h=90,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},											
			Button
			{
				x=235,
				y=510,
				graphics = ComicLeftButtonGraphics,
				name="left",
				type = kPush,
				command=
					function()
						SwapToModalSetName("scripts/comic_1_1.lua");
						ComicMusic(true);
					end
			},
			
			Button
			{
				x=700,
				y=500,
				graphics = ComicRightButtonGraphics,
				name="right",
				type = kPush,
				command=
					function()
						SwapToModalSetName("scripts/chooserestaurant.lua");
						FlashRestaurant();
						ComicMusic(false);
					end
			},
				
		},
	},
}

