require( "scripts/style.lua" );




MakeDialog
{
	ComicPanel
	{
		x=0,y=0,w=800,h=600,
		Bitmap
		{
			name="comicpanel",
			image="comics/comic3_1",
			x=0,y=0,w=800,h=600,
			
			Text
			{
				font = ComicSmallFont,
				label="comic_4_1",
				x=184, y=195,
				w=172, h=74,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_4_2",
				x=427, y=25,
				w=195, h=74,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicMediumFont,
				label="comic_4_3",
				x=169, y=476,
				w=210, h=105,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicBigFont,
				label="comic_4_4",
				x=461, y=372,
				w=31, h=37,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicMediumFont,
				label="comic_4_5",
				x=494, y=301,
				w=135, h=86,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Button
			{
				x=700,
				y=500,
				graphics = ComicRightButtonGraphics,
				name="right",
				type = kPush,
				command=
					function()
						SwapToModalSetName("scripts/chooserestaurant.lua");
						if (ShowBonusUnlockedDialog()) then
							DisplayDialog { 
								"scripts/ok.lua", 
								body ="bonusunlocked",
								title = ""
							};
						end
						FlashRestaurant();
					end
			},
				
		},
	},
}