class 1 secret_codex_3d : citizen
{
handler:
	EventHandler TALK_SELECTED(fhtml0,talker)
	{
		if( _from_choice == 0 )
		{
			if( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 7 && myself::OwnItemCount(talker,7333) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Saga of the Duelist (Continue)");
			}
			if( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 7 && myself::OwnItemCount(talker,7333) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Saga of the Duelist (Continue)");
			}
			if( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Saga of the Duelist (Continue)");
			}
			if( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 7 && myself::OwnItemCount(talker,7337) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Saga of the Dominator (Continue)");
			}
			if( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 7 && myself::OwnItemCount(talker,7337) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Saga of the Dominator (Continue)");
			}
			if( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Saga of the Dominator (Continue)");
			}
			if( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 7 && myself::OwnItemCount(talker,7341) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"Saga of the Ghost Hunter (Continue)");
			}
			if( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 7 && myself::OwnItemCount(talker,7341) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"Saga of the Ghost Hunter (Continue)");
			}
			if( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"Saga of the Ghost Hunter (Continue)");
			}
			if( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 7 && myself::OwnItemCount(talker,7347) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"Saga of the Eva's Saint (Continue)");
			}
			if( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 7 && myself::OwnItemCount(talker,7347) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"Saga of the Eva's Saint (Continue)");
			}
			if( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"Saga of the Eva's Saint (Continue)");
			}
			if( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 7 && myself::OwnItemCount(talker,7353) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"Saga of the Spectral Master (Continue)");
			}
			if( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 7 && myself::OwnItemCount(talker,7353) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"Saga of the Spectral Master (Continue)");
			}
			if( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"Saga of the Spectral Master (Continue)");
			}
			if( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 7 && myself::OwnItemCount(talker,7355) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"Saga of the Hell Knight (Continue)");
			}
			if( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 7 && myself::OwnItemCount(talker,7355) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"Saga of the Hell Knight (Continue)");
			}
			if( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"Saga of the Hell Knight (Continue)");
			}
			if( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 7 && myself::OwnItemCount(talker,7356) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"Saga of the Spectral Dancer (Continue)");
			}
			if( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 7 && myself::OwnItemCount(talker,7356) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"Saga of the Spectral Dancer (Continue)");
			}
			if( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 20;
				myself::AddChoice(20,"Saga of the Spectral Dancer (Continue)");
			}
			if( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 7 && myself::OwnItemCount(talker,7360) == 0 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 21;
				myself::AddChoice(21,"Saga of the Maestro (Continue)");
			}
			if( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 7 && myself::OwnItemCount(talker,7360) >= 1 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 22;
				myself::AddChoice(22,"Saga of the Maestro (Continue)");
			}
			if( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 8 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 23;
				myself::AddChoice(23,"Saga of the Maestro (Continue)");
			}
			if( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 7 && myself::OwnItemCount(talker,9730) == 0 && talker.occupation == 130 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 24;
				myself::AddChoice(26,"Saga of the Trickster (Continue)");
			}
			if( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 7 && myself::OwnItemCount(talker,9730) >= 1 && talker.occupation == 130 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 25;
				myself::AddChoice(26,"Saga of the Trickster (Continue)");
			}
			if( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 8 && talker.occupation == 130 )
			{
				_choiceN = ( _choiceN + 1 );
				_code = 26;
				myself::AddChoice(26,"Saga of the Trickster (Continue)");
			}
			if( _choiceN > 1 )
			{
				myself::ShowChoicePage(talker,1);
				return;
			}
		}
		if( _from_choice || _choiceN == 1 )
		{
			switch(_code)
			{
				case 0:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 7 && myself::OwnItemCount(talker,7333) == 0 ) )
					{
						myself::SetCurrentQuestID(73);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0073_0101.htm");
					}
					break;
				}
				case 1:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 7 && myself::OwnItemCount(talker,7333) >= 1 ) )
					{
						myself::SetCurrentQuestID(73);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0073_0105.htm");
					}
					break;
				}
				case 2:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 8 ) )
					{
						myself::SetCurrentQuestID(73);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0073_0107.htm");
					}
					break;
				}
				case 3:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 7 && myself::OwnItemCount(talker,7337) == 0 ) )
					{
						myself::SetCurrentQuestID(77);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0077_0101.htm");
					}
					break;
				}
				case 4:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 7 && myself::OwnItemCount(talker,7337) >= 1 ) )
					{
						myself::SetCurrentQuestID(77);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0077_0105.htm");
					}
					break;
				}
				case 5:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 8 ) )
					{
						myself::SetCurrentQuestID(77);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0077_0107.htm");
					}
					break;
				}
				case 6:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 7 && myself::OwnItemCount(talker,7341) == 0 ) )
					{
						myself::SetCurrentQuestID(81);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0081_0101.htm");
					}
					break;
				}
				case 7:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 7 && myself::OwnItemCount(talker,7341) >= 1 ) )
					{
						myself::SetCurrentQuestID(81);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0081_0105.htm");
					}
					break;
				}
				case 8:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 8 ) )
					{
						myself::SetCurrentQuestID(81);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0081_0107.htm");
					}
					break;
				}
				case 9:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 7 && myself::OwnItemCount(talker,7347) == 0 ) )
					{
						myself::SetCurrentQuestID(87);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0087_0101.htm");
					}
					break;
				}
				case 10:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 7 && myself::OwnItemCount(talker,7347) >= 1 ) )
					{
						myself::SetCurrentQuestID(87);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0087_0105.htm");
					}
					break;
				}
				case 11:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 8 ) )
					{
						myself::SetCurrentQuestID(87);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0087_0107.htm");
					}
					break;
				}
				case 12:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 7 && myself::OwnItemCount(talker,7353) == 0 ) )
					{
						myself::SetCurrentQuestID(93);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0093_0101.htm");
					}
					break;
				}
				case 13:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 7 && myself::OwnItemCount(talker,7353) >= 1 ) )
					{
						myself::SetCurrentQuestID(93);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0093_0105.htm");
					}
					break;
				}
				case 14:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 8 ) )
					{
						myself::SetCurrentQuestID(93);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0093_0107.htm");
					}
					break;
				}
				case 15:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 7 && myself::OwnItemCount(talker,7355) == 0 ) )
					{
						myself::SetCurrentQuestID(95);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0095_0101.htm");
					}
					break;
				}
				case 16:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 7 && myself::OwnItemCount(talker,7355) >= 1 ) )
					{
						myself::SetCurrentQuestID(95);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0095_0105.htm");
					}
					break;
				}
				case 17:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 8 ) )
					{
						myself::SetCurrentQuestID(95);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0095_0107.htm");
					}
					break;
				}
				case 18:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 7 && myself::OwnItemCount(talker,7356) == 0 ) )
					{
						myself::SetCurrentQuestID(96);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0096_0101.htm");
					}
					break;
				}
				case 19:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 7 && myself::OwnItemCount(talker,7356) >= 1 ) )
					{
						myself::SetCurrentQuestID(96);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0096_0105.htm");
					}
					break;
				}
				case 20:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 8 ) )
					{
						myself::SetCurrentQuestID(96);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0096_0107.htm");
					}
					break;
				}
				case 21:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 7 && myself::OwnItemCount(talker,7360) == 0 ) )
					{
						myself::SetCurrentQuestID(100);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0100_0101.htm");
					}
					break;
				}
				case 22:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 7 && myself::OwnItemCount(talker,7360) >= 1 ) )
					{
						myself::SetCurrentQuestID(100);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0100_0105.htm");
					}
					break;
				}
				case 23:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 8 ) )
					{
						myself::SetCurrentQuestID(100);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q0100_0107.htm");
					}
					break;
				}
				case 24:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 7 && myself::OwnItemCount(talker,9730) == 0 && talker.occupation == 130 ) )
					{
						myself::SetCurrentQuestID(69);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q069_001.htm");
					}
					break;
				}
				case 25:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 7 && myself::OwnItemCount(talker,9730) >= 1 && talker.occupation == 130 ) )
					{
						myself::SetCurrentQuestID(69);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q069_007.htm");
					}
					break;
				}
				case 26:
				{
					if( _from_choice == 0 || ( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 8 && talker.occupation == 130 ) )
					{
						myself::SetCurrentQuestID(69);
						if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
						{
							myself::ShowSystemMessage(talker,1118);
							return;
						}
						myself::ShowPage(talker,"secret_codex_3d_q069_006.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,reply,talker)
	{
		if( ask == 69 )
		{
			myself::SetCurrentQuestID(69);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 69 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 7 && myself::OwnItemCount(talker,9730) == 0 && talker.occupation == 130 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q069_002.htm");
						myself::CreateOnePrivateEx(1027333,"crimson_duchess",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q069_003.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q069_004.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,69) == 1 && myself::GetMemoState(talker,69) == 7 && myself::OwnItemCount(talker,9730) >= 1 && talker.occupation == 130 )
				{
					myself::DeleteItem1(talker,9730,myself::OwnItemCount(talker,9730));
					myself::SetMemoState(talker,69,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q069_005.htm");
					myself::SetFlagJournal(talker,69,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 73 )
		{
			myself::SetCurrentQuestID(73);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 73 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 7 && myself::OwnItemCount(talker,7333) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0073_0102.htm");
						myself::CreateOnePrivateEx(1027289,"swordmaster_aion",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0073_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0073_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,73) == 1 && talker.occupation == 2 && myself::GetMemoState(talker,73) == 7 && myself::OwnItemCount(talker,7333) >= 1 )
				{
					myself::DeleteItem1(talker,7333,myself::OwnItemCount(talker,7333));
					myself::SetMemoState(talker,73,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0073_0106.htm");
					myself::SetFlagJournal(talker,73,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 77 )
		{
			myself::SetCurrentQuestID(77);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 77 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 7 && myself::OwnItemCount(talker,7337) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0077_0102.htm");
						myself::CreateOnePrivateEx(1027294,"overlord_atrus",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0077_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0077_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,77) == 1 && talker.occupation == 51 && myself::GetMemoState(talker,77) == 7 && myself::OwnItemCount(talker,7337) >= 1 )
				{
					myself::DeleteItem1(talker,7337,myself::OwnItemCount(talker,7337));
					myself::SetMemoState(talker,77,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0077_0106.htm");
					myself::SetFlagJournal(talker,77,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 81 )
		{
			myself::SetCurrentQuestID(81);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 81 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 7 && myself::OwnItemCount(talker,7341) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0081_0102.htm");
						myself::CreateOnePrivateEx(1027301,"guardian_ejekiel6",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0081_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0081_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,81) == 1 && talker.occupation == 36 && myself::GetMemoState(talker,81) == 7 && myself::OwnItemCount(talker,7341) >= 1 )
				{
					myself::DeleteItem1(talker,7341,myself::OwnItemCount(talker,7341));
					myself::SetMemoState(talker,81,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0081_0106.htm");
					myself::SetFlagJournal(talker,81,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 87 )
		{
			myself::SetCurrentQuestID(87);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 87 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 7 && myself::OwnItemCount(talker,7347) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0087_0102.htm");
						myself::CreateOnePrivateEx(1027266,"fallenangel_haures_1",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0087_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0087_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,87) == 1 && talker.occupation == 30 && myself::GetMemoState(talker,87) == 7 && myself::OwnItemCount(talker,7347) >= 1 )
				{
					myself::DeleteItem1(talker,7347,myself::OwnItemCount(talker,7347));
					myself::SetMemoState(talker,87,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0087_0106.htm");
					myself::SetFlagJournal(talker,87,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 93 )
		{
			myself::SetCurrentQuestID(93);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 93 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 7 && myself::OwnItemCount(talker,7353) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0093_0102.htm");
						myself::CreateOnePrivateEx(1027315,"secret_keeper_shakiel3",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0093_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0093_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,93) == 1 && talker.occupation == 41 && myself::GetMemoState(talker,93) == 7 && myself::OwnItemCount(talker,7353) >= 1 )
				{
					myself::DeleteItem1(talker,7353,myself::OwnItemCount(talker,7353));
					myself::SetMemoState(talker,93,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0093_0106.htm");
					myself::SetFlagJournal(talker,93,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 95 )
		{
			myself::SetCurrentQuestID(95);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 95 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 7 && myself::OwnItemCount(talker,7355) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0095_0102.htm");
						myself::CreateOnePrivateEx(1027258,"angel_iconoclasis_2",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0095_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0095_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,95) == 1 && talker.occupation == 6 && myself::GetMemoState(talker,95) == 7 && myself::OwnItemCount(talker,7355) >= 1 )
				{
					myself::DeleteItem1(talker,7355,myself::OwnItemCount(talker,7355));
					myself::SetMemoState(talker,95,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0095_0106.htm");
					myself::SetFlagJournal(talker,95,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 96 )
		{
			myself::SetCurrentQuestID(96);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 96 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 7 && myself::OwnItemCount(talker,7356) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0096_0102.htm");
						myself::CreateOnePrivateEx(1027272,"dark_ballerina_lilian",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0096_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0096_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,96) == 1 && talker.occupation == 34 && myself::GetMemoState(talker,96) == 7 && myself::OwnItemCount(talker,7356) >= 1 )
				{
					myself::DeleteItem1(talker,7356,myself::OwnItemCount(talker,7356));
					myself::SetMemoState(talker,96,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0096_0106.htm");
					myself::SetFlagJournal(talker,96,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 100 )
		{
			myself::SetCurrentQuestID(100);
			if( myself::GetInventoryInfo(talker,0) >= ( myself::GetInventoryInfo(talker,1) * 0.800000 ) || myself::GetInventoryInfo(talker,2) >= ( myself::GetInventoryInfo(talker,3) * 0.800000 ) )
			{
				myself::ShowSystemMessage(talker,1118);
				return;
			}
		}
		if( ask == 100 )
		{
			if( reply == 1 )
			{
				if( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 7 && myself::OwnItemCount(talker,7360) == 0 )
				{
					if( myself.i_quest0 == 0 )
					{
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0100_0102.htm");
						myself::CreateOnePrivateEx(1027259,"angel_iconoclasis_3",0,0,162268,-76107,-3192,0,myself::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					}
					else if( myself.i_quest1 == talker.dbid )
					{
						myself::ShowPage(talker,"secret_codex_3d_q0100_0103.htm");
					}
					else
					{
						myself::ShowPage(talker,"secret_codex_3d_q0100_0104.htm");
					}
				}
			}
			else if( reply == 2 )
			{
				if( myself::HaveMemo(talker,100) == 1 && talker.occupation == 57 && myself::GetMemoState(talker,100) == 7 && myself::OwnItemCount(talker,7360) >= 1 )
				{
					myself::DeleteItem1(talker,7360,myself::OwnItemCount(talker,7360));
					myself::SetMemoState(talker,100,8);
					myself::AddUseSkillDesire(myself.sm,1163777,1,0,1000000);
					myself::AddUseSkillDesire(talker,1163777,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0100_0106.htm");
					myself::SetFlagJournal(talker,100,10);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		super;
	}

}
