@LabelIndex 369585
@StringIndex 54074
class 0 secret_codex_3d : citizen {
handler:
	EventHandler TALK_SELECTED(fhtml0,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 7 && gg::OwnItemCount(talker,7333) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Saga of the Duelist (In Progress)");
			}
			if( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 7 && gg::OwnItemCount(talker,7333) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Saga of the Duelist (In Progress)");
			}
			if( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Saga of the Duelist (In Progress)");
			}
			if( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 7 && gg::OwnItemCount(talker,7337) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Saga of the Dominator (In Progress)");
			}
			if( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 7 && gg::OwnItemCount(talker,7337) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Saga of the Dominator (In Progress)");
			}
			if( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Saga of the Dominator (In Progress)");
			}
			if( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 7 && gg::OwnItemCount(talker,7341) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"Saga of the Ghost Hunter (In Progress)");
			}
			if( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 7 && gg::OwnItemCount(talker,7341) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"Saga of the Ghost Hunter (In Progress)");
			}
			if( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"Saga of the Ghost Hunter (In Progress)");
			}
			if( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 7 && gg::OwnItemCount(talker,7347) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"Saga of Eva's Saint (In Progress)");
			}
			if( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 7 && gg::OwnItemCount(talker,7347) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"Saga of Eva's Saint (In Progress)");
			}
			if( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"Saga of Eva's Saint (In Progress)");
			}
			if( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 7 && gg::OwnItemCount(talker,7353) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"Saga of the Spectral Master (In Progress)");
			}
			if( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 7 && gg::OwnItemCount(talker,7353) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"Saga of the Spectral Master (In Progress)");
			}
			if( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"Saga of the Spectral Master (In Progress)");
			}
			if( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 7 && gg::OwnItemCount(talker,7355) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"Saga of the Hell Knight (In Progress)");
			}
			if( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 7 && gg::OwnItemCount(talker,7355) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"Saga of the Hell Knight (In Progress)");
			}
			if( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"Saga of the Hell Knight (In Progress)");
			}
			if( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 7 && gg::OwnItemCount(talker,7356) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"Saga of the Spectral Dancer (In Progress)");
			}
			if( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 7 && gg::OwnItemCount(talker,7356) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"Saga of the Spectral Dancer (In Progress)");
			}
			if( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 20;
				myself::AddChoice(20,"Saga of the Spectral Dancer (In Progress)");
			}
			if( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 7 && gg::OwnItemCount(talker,7360) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 21;
				myself::AddChoice(21,"Saga of the Maestro (In Progress)");
			}
			if( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 7 && gg::OwnItemCount(talker,7360) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 22;
				myself::AddChoice(22,"Saga of the Maestro (In Progress)");
			}
			if( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 23;
				myself::AddChoice(23,"Saga of the Maestro (In Progress)");
			}
			if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 7 && gg::OwnItemCount(talker,9730) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 24;
				myself::AddChoice(24,"Saga of the Trickster (In Progress)");
			}
			if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 7 && gg::OwnItemCount(talker,9730) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 25;
				myself::AddChoice(25,"Saga of the Trickster (In Progress)");
			}
			if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 26;
				myself::AddChoice(26,"Saga of the Trickster (In Progress)");
			}
			if( _choiceN > 1 ) {
				myself::ShowChoicePage(talker,1);
				return;
			}
		}
		if( _from_choice || _choiceN == 1 ) {
			switch(_code) {
				case 0: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 7 && gg::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 || ( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 7 && gg::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 || ( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::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 || ( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 7 && gg::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 || ( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 7 && gg::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 || ( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::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 || ( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 7 && gg::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 || ( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 7 && gg::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 || ( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::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 || ( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 7 && gg::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 || ( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 7 && gg::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 || ( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::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 || ( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 7 && gg::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 || ( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 7 && gg::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 || ( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::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 || ( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 7 && gg::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 || ( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 7 && gg::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 || ( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::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 || ( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 7 && gg::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 || ( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 7 && gg::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 || ( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::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 || ( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 7 && gg::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 || ( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 7 && gg::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 || ( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::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 || ( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 7 && gg::OwnItemCount(talker,9730) == 0 ) ) {
						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_q0069_0101.htm");
					}
					break;
				}
				case 25: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 7 && gg::OwnItemCount(talker,9730) >= 1 ) ) {
						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_q0069_0105.htm");
					}
					break;
				}
				case 26: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 8 ) ) {
						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_q0069_0107.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,reply,talker) {
		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( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,73) == 1 && talker.occupation == 2 && gg::GetMemoState(talker,73) == 7 && gg::OwnItemCount(talker,7333) >= 1 ) {
					myself::DeleteItem1(talker,7333,gg::OwnItemCount(talker,7333));
					myself::SetMemoState(talker,73,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0073_0106.htm");
					myself::SetFlagJournal(talker,73,10);
					myself::ShowQuestMark(talker,73);
					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( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,77) == 1 && talker.occupation == 51 && gg::GetMemoState(talker,77) == 7 && gg::OwnItemCount(talker,7337) >= 1 ) {
					myself::DeleteItem1(talker,7337,gg::OwnItemCount(talker,7337));
					myself::SetMemoState(talker,77,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0077_0106.htm");
					myself::SetFlagJournal(talker,77,10);
					myself::ShowQuestMark(talker,77);
					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( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,81) == 1 && talker.occupation == 36 && gg::GetMemoState(talker,81) == 7 && gg::OwnItemCount(talker,7341) >= 1 ) {
					myself::DeleteItem1(talker,7341,gg::OwnItemCount(talker,7341));
					myself::SetMemoState(talker,81,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0081_0106.htm");
					myself::SetFlagJournal(talker,81,10);
					myself::ShowQuestMark(talker,81);
					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( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,87) == 1 && talker.occupation == 30 && gg::GetMemoState(talker,87) == 7 && gg::OwnItemCount(talker,7347) >= 1 ) {
					myself::DeleteItem1(talker,7347,gg::OwnItemCount(talker,7347));
					myself::SetMemoState(talker,87,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0087_0106.htm");
					myself::SetFlagJournal(talker,87,10);
					myself::ShowQuestMark(talker,87);
					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( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,93) == 1 && talker.occupation == 41 && gg::GetMemoState(talker,93) == 7 && gg::OwnItemCount(talker,7353) >= 1 ) {
					myself::DeleteItem1(talker,7353,gg::OwnItemCount(talker,7353));
					myself::SetMemoState(talker,93,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0093_0106.htm");
					myself::SetFlagJournal(talker,93,10);
					myself::ShowQuestMark(talker,93);
					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( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,95) == 1 && talker.occupation == 6 && gg::GetMemoState(talker,95) == 7 && gg::OwnItemCount(talker,7355) >= 1 ) {
					myself::DeleteItem1(talker,7355,gg::OwnItemCount(talker,7355));
					myself::SetMemoState(talker,95,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0095_0106.htm");
					myself::SetFlagJournal(talker,95,10);
					myself::ShowQuestMark(talker,95);
					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( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,96) == 1 && talker.occupation == 34 && gg::GetMemoState(talker,96) == 7 && gg::OwnItemCount(talker,7356) >= 1 ) {
					myself::DeleteItem1(talker,7356,gg::OwnItemCount(talker,7356));
					myself::SetMemoState(talker,96,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0096_0106.htm");
					myself::SetFlagJournal(talker,96,10);
					myself::ShowQuestMark(talker,96);
					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( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 7 && gg::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,162898,-76492,-3096,0,gg::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( gg::HaveMemo(talker,100) == 1 && talker.occupation == 57 && gg::GetMemoState(talker,100) == 7 && gg::OwnItemCount(talker,7360) >= 1 ) {
					myself::DeleteItem1(talker,7360,gg::OwnItemCount(talker,7360));
					myself::SetMemoState(talker,100,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0100_0106.htm");
					myself::SetFlagJournal(talker,100,10);
					myself::ShowQuestMark(talker,100);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		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( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 7 && gg::OwnItemCount(talker,9730) == 0 ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_3d_q0069_0102.htm");
						myself::CreateOnePrivateEx(1027333,"crimson_duchess",0,0,162898,-76492,-3096,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_3d_q0069_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_3d_q0069_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 7 && gg::OwnItemCount(talker,9730) >= 1 ) {
					myself::DeleteItem1(talker,9730,gg::OwnItemCount(talker,9730));
					myself::SetMemoState(talker,69,8);
					myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
					myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
					myself::ShowPage(talker,"secret_codex_3d_q0069_0106.htm");
					myself::SetFlagJournal(talker,69,10);
					myself::ShowQuestMark(talker,69);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		super;
	}

}
