class 1 dark_elf_lv2_master : guild_master_lv2
{
parameter:
	int	lv1_class1 = 31;
	int	lv1_class2 = 38;
	int	lv2_class11 = 32;
	int	lv2_class12 = 35;
	int	lv2_class21 = 39;
	int	lv2_class22 = 42;
	int	proof11 = 1244;
	int	proof12 = 1252;
	int	proof21 = 1261;
	int	proof22 = 1270;

handler:
	EventHandler MENU_SELECTED(talker,ask,reply)
	{
		if( ask == -2 && reply == 1 )
		{
			if( talker.race == 2 )
			{
				if( myself::IsInCategory(0,talker.occupation) )
				{
					myself::ShowPage(talker,fnClassList1);
				}
				else if( myself::IsInCategory(1,talker.occupation) )
				{
					myself::ShowPage(talker,fnClassList2);
				}
			}
			else
			{
				myself::ShowPage(talker,fnClassMismatch);
			}
		}
		super;
	}

}
