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=33, y=13,
				w=82, h=54,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_4_2",
				x=51, y=56,
				w=115, h=74,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_4_3",
				x=272, y=2,
				w=75, h=75,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_4_4",
				x=301, y=54,
				w=110, h=90,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			
			Text
			{
				font = ComicSmallFont,
				label="comic_4_5",
				x=538, y=31,
				w=40, h=20,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			Text
			{
				font = ComicSmallFont,
				label="comic_4_6",
				x=607, y=25,
				w=40, h=20,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},	
			Text
			{
				font = ComicSmallFont,
				label="comic_4_7",
				x=693, y=14,
				w=80, h=30,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			Text
			{
				font = ComicSmallFont,
				label="comic_4_8",
				x=719, y=34,
				w=50, h=30,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},									
			Text
			{
				font = ComicSmallFont,
				label="comic_4_9",
				x=719, y=60,
				w=50, h=10,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},				
			Text
			{
				font = ComicSmallFont,
				label="comic_4_10",
				x=680, y=116,
				w=70, h=35,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},	
			Text
			{
				font = ComicSmallFont,
				label="comic_4_11",
				x=657, y=166,
				w=70, h=35,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},	
			Text
			{
				font = ComicSmallFont,
				label="comic_4_12",
				x=679, y=233,
				w=40, h=35,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},										
			Text
			{
				font = ComicSmallFont,
				label="comic_4_13",
				x=120, y=330,
				w=40, h=15,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},				
			Text
			{
				font = ComicSmallFont,
				label="comic_4_14",
				x=193, y=327,
				w=70, h=65,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},
			Text
			{
				font = ComicSmallFont,
				label="comic_4_15",
				x=102, y=530,
				w=40, h=35,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},										
			Text
			{
				font = ComicSmallFont,
				label="comic_4_16",
				x=312, y=300,
				w=140, h=35,
				flags = kHAlignLeft + kVAlignCenter,
				padding = kComicPadding
			},	
			Text
			{
				font = ComicSmallFont,
				label="comic_4_17",
				x=482, y=292,
				w=130, h=130,
				flags = kHAlignCenter + kVAlignCenter,
				padding = kComicPadding
			},								
			Text
			{
				font = ComicSmallFont,
				label="comic_4_18",
				x=504, y=394,
				w=90, h=60,
				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();
						ComicMusic(false);
					end
			},
				
		},
	},
}
ComicMusic(true);