@LabelIndex 374202
@StringIndex 54879
class 0 secret_codex_6c : citizen {
handler:
	EventHandler TALK_SELECTED(fhtml0,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && ( gg::GetMemoState(talker,71) == 13 || ( gg::GetMemoState(talker,71) == 14 && gg::OwnItemCount(talker,7424) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Saga of Eva's Templar (In Progress)");
			}
			if( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && gg::GetMemoState(talker,71) == 14 && gg::OwnItemCount(talker,7424) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Saga of Eva's Templar (In Progress)");
			}
			if( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && gg::GetMemoState(talker,71) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Saga of Eva's Templar (In Progress)");
			}
			if( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && ( gg::GetMemoState(talker,75) == 13 || ( gg::GetMemoState(talker,75) == 14 && gg::OwnItemCount(talker,7428) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Saga of the Titan (In Progress)");
			}
			if( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && gg::GetMemoState(talker,75) == 14 && gg::OwnItemCount(talker,7428) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Saga of the Titan (In Progress)");
			}
			if( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && gg::GetMemoState(talker,75) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Saga of the Titan (In Progress)");
			}
			if( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && ( gg::GetMemoState(talker,79) == 13 || ( gg::GetMemoState(talker,79) == 14 && gg::OwnItemCount(talker,7432) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"Saga of the Adventurer (In Progress)");
			}
			if( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && gg::GetMemoState(talker,79) == 14 && gg::OwnItemCount(talker,7432) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"Saga of the Adventurer (In Progress)");
			}
			if( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && gg::GetMemoState(talker,79) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"Saga of the Adventurer (In Progress)");
			}
			if( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && ( gg::GetMemoState(talker,83) == 13 || ( gg::GetMemoState(talker,83) == 14 && gg::OwnItemCount(talker,7436) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"Saga of the Moonlight Sentinel (In Progress)");
			}
			if( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && gg::GetMemoState(talker,83) == 14 && gg::OwnItemCount(talker,7436) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"Saga of the Moonlight Sentinel (In Progress)");
			}
			if( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && gg::GetMemoState(talker,83) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"Saga of the Moonlight Sentinel (In Progress)");
			}
			if( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && ( gg::GetMemoState(talker,85) == 13 || ( gg::GetMemoState(talker,85) == 14 && gg::OwnItemCount(talker,7438) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"Saga of the Cardinal (In Progress)");
			}
			if( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && gg::GetMemoState(talker,85) == 14 && gg::OwnItemCount(talker,7438) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"Saga of the Cardinal (In Progress)");
			}
			if( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && gg::GetMemoState(talker,85) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"Saga of the Cardinal (In Progress)");
			}
			if( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && ( gg::GetMemoState(talker,89) == 13 || ( gg::GetMemoState(talker,89) == 14 && gg::OwnItemCount(talker,7442) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"Saga of the Mystic Muse (In Progress)");
			}
			if( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && gg::GetMemoState(talker,89) == 14 && gg::OwnItemCount(talker,7442) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"Saga of the Mystic Muse (In Progress)");
			}
			if( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && gg::GetMemoState(talker,89) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"Saga of the Mystic Muse (In Progress)");
			}
			if( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && ( gg::GetMemoState(talker,91) == 13 || ( gg::GetMemoState(talker,91) == 14 && gg::OwnItemCount(talker,7444) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"Saga of the Arcana Lord (In Progress)");
			}
			if( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && gg::GetMemoState(talker,91) == 14 && gg::OwnItemCount(talker,7444) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"Saga of the Arcana Lord (In Progress)");
			}
			if( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && gg::GetMemoState(talker,91) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 20;
				myself::AddChoice(20,"Saga of the Arcana Lord (In Progress)");
			}
			if( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && ( gg::GetMemoState(talker,98) == 13 || ( gg::GetMemoState(talker,98) == 14 && gg::OwnItemCount(talker,7451) == 0 ) ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 21;
				myself::AddChoice(21,"Saga of the Shillien Saint (In Progress)");
			}
			if( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && gg::GetMemoState(talker,98) == 14 && gg::OwnItemCount(talker,7451) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 22;
				myself::AddChoice(22,"Saga of the Shillien Saint (In Progress)");
			}
			if( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && gg::GetMemoState(talker,98) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 23;
				myself::AddChoice(23,"Saga of the Shillien Saint (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,71) == 1 && talker.occupation == 20 && ( gg::GetMemoState(talker,71) == 13 || ( gg::GetMemoState(talker,71) == 14 && gg::OwnItemCount(talker,7424) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(71);
						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_6c_q0071_0101.htm");
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && gg::GetMemoState(talker,71) == 14 && gg::OwnItemCount(talker,7424) >= 1 ) ) {
						myself::SetCurrentQuestID(71);
						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_6c_q0071_0105.htm");
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && gg::GetMemoState(talker,71) == 15 ) ) {
						myself::SetCurrentQuestID(71);
						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_6c_q0071_0107.htm");
					}
					break;
				}
				case 3: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && ( gg::GetMemoState(talker,75) == 13 || ( gg::GetMemoState(talker,75) == 14 && gg::OwnItemCount(talker,7428) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(75);
						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_6c_q0075_0101.htm");
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && gg::GetMemoState(talker,75) == 14 && gg::OwnItemCount(talker,7428) >= 1 ) ) {
						myself::SetCurrentQuestID(75);
						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_6c_q0075_0105.htm");
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && gg::GetMemoState(talker,75) == 15 ) ) {
						myself::SetCurrentQuestID(75);
						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_6c_q0075_0107.htm");
					}
					break;
				}
				case 6: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && ( gg::GetMemoState(talker,79) == 13 || ( gg::GetMemoState(talker,79) == 14 && gg::OwnItemCount(talker,7432) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(79);
						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_6c_q0079_0101.htm");
					}
					break;
				}
				case 7: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && gg::GetMemoState(talker,79) == 14 && gg::OwnItemCount(talker,7432) >= 1 ) ) {
						myself::SetCurrentQuestID(79);
						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_6c_q0079_0105.htm");
					}
					break;
				}
				case 8: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && gg::GetMemoState(talker,79) == 15 ) ) {
						myself::SetCurrentQuestID(79);
						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_6c_q0079_0107.htm");
					}
					break;
				}
				case 9: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && ( gg::GetMemoState(talker,83) == 13 || ( gg::GetMemoState(talker,83) == 14 && gg::OwnItemCount(talker,7436) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(83);
						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_6c_q0083_0101.htm");
					}
					break;
				}
				case 10: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && gg::GetMemoState(talker,83) == 14 && gg::OwnItemCount(talker,7436) >= 1 ) ) {
						myself::SetCurrentQuestID(83);
						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_6c_q0083_0105.htm");
					}
					break;
				}
				case 11: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && gg::GetMemoState(talker,83) == 15 ) ) {
						myself::SetCurrentQuestID(83);
						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_6c_q0083_0107.htm");
					}
					break;
				}
				case 12: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && ( gg::GetMemoState(talker,85) == 13 || ( gg::GetMemoState(talker,85) == 14 && gg::OwnItemCount(talker,7438) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(85);
						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_6c_q0085_0101.htm");
					}
					break;
				}
				case 13: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && gg::GetMemoState(talker,85) == 14 && gg::OwnItemCount(talker,7438) >= 1 ) ) {
						myself::SetCurrentQuestID(85);
						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_6c_q0085_0105.htm");
					}
					break;
				}
				case 14: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && gg::GetMemoState(talker,85) == 15 ) ) {
						myself::SetCurrentQuestID(85);
						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_6c_q0085_0107.htm");
					}
					break;
				}
				case 15: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && ( gg::GetMemoState(talker,89) == 13 || ( gg::GetMemoState(talker,89) == 14 && gg::OwnItemCount(talker,7442) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(89);
						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_6c_q0089_0101.htm");
					}
					break;
				}
				case 16: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && gg::GetMemoState(talker,89) == 14 && gg::OwnItemCount(talker,7442) >= 1 ) ) {
						myself::SetCurrentQuestID(89);
						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_6c_q0089_0105.htm");
					}
					break;
				}
				case 17: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && gg::GetMemoState(talker,89) == 15 ) ) {
						myself::SetCurrentQuestID(89);
						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_6c_q0089_0107.htm");
					}
					break;
				}
				case 18: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && ( gg::GetMemoState(talker,91) == 13 || ( gg::GetMemoState(talker,91) == 14 && gg::OwnItemCount(talker,7444) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(91);
						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_6c_q0091_0101.htm");
					}
					break;
				}
				case 19: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && gg::GetMemoState(talker,91) == 14 && gg::OwnItemCount(talker,7444) >= 1 ) ) {
						myself::SetCurrentQuestID(91);
						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_6c_q0091_0105.htm");
					}
					break;
				}
				case 20: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && gg::GetMemoState(talker,91) == 15 ) ) {
						myself::SetCurrentQuestID(91);
						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_6c_q0091_0107.htm");
					}
					break;
				}
				case 21: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && ( gg::GetMemoState(talker,98) == 13 || ( gg::GetMemoState(talker,98) == 14 && gg::OwnItemCount(talker,7451) == 0 ) ) ) ) {
						myself::SetCurrentQuestID(98);
						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_6c_q0098_0101.htm");
					}
					break;
				}
				case 22: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && gg::GetMemoState(talker,98) == 14 && gg::OwnItemCount(talker,7451) >= 1 ) ) {
						myself::SetCurrentQuestID(98);
						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_6c_q0098_0105.htm");
					}
					break;
				}
				case 23: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && gg::GetMemoState(talker,98) == 15 ) ) {
						myself::SetCurrentQuestID(98);
						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_6c_q0098_0107.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,i0,reply,talker) {
		if( ask == 71 ) {
			myself::SetCurrentQuestID(71);
			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 == 71 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && ( gg::GetMemoState(talker,71) == 13 || ( gg::GetMemoState(talker,71) == 14 && gg::OwnItemCount(talker,7424) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0071_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031638,"starknight_kastien",0,0,181227,36703,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027279,"cursed_kesad_ehin",0,0,181215,36676,-4812,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0071_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0071_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,71) == 1 && talker.occupation == 20 && gg::GetMemoState(talker,71) == 14 && gg::OwnItemCount(talker,7424) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,71,15);
						myself::DeleteItem1(talker,7424,gg::OwnItemCount(talker,7424));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0071_0106.htm");
						myself::SetFlagJournal(talker,71,19);
						myself::ShowQuestMark(talker,71);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 75 ) {
			myself::SetCurrentQuestID(75);
			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 == 75 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && ( gg::GetMemoState(talker,75) == 13 || ( gg::GetMemoState(talker,75) == 14 && gg::OwnItemCount(talker,7428) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0075_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031607,"shakdun_zu_hestui",0,0,181227,36703,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027283,"grandpapa_askalius",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0075_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0075_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,75) == 1 && talker.occupation == 46 && gg::GetMemoState(talker,75) == 14 && gg::OwnItemCount(talker,7428) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,75,15);
						myself::DeleteItem1(talker,7428,gg::OwnItemCount(talker,7428));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0075_0106.htm");
						myself::SetFlagJournal(talker,75,19);
						myself::ShowQuestMark(talker,75);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 79 ) {
			myself::SetCurrentQuestID(79);
			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 == 79 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && ( gg::GetMemoState(talker,79) == 13 || ( gg::GetMemoState(talker,79) == 14 && gg::OwnItemCount(talker,7432) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0079_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031619,"erica_ken_weber",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027302,"defender_azrael1",0,0,181205,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0079_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0079_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,79) == 1 && talker.occupation == 8 && gg::GetMemoState(talker,79) == 14 && gg::OwnItemCount(talker,7432) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,79,15);
						myself::DeleteItem1(talker,7432,gg::OwnItemCount(talker,7432));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0079_0106.htm");
						myself::SetFlagJournal(talker,79,19);
						myself::ShowQuestMark(talker,79);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 83 ) {
			myself::SetCurrentQuestID(83);
			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 == 83 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && ( gg::GetMemoState(talker,83) == 13 || ( gg::GetMemoState(talker,83) == 14 && gg::OwnItemCount(talker,7436) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0083_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031634,"winter_hunter_kadyth2",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027306,"defender_azrael5",0,0,181227,36703,-4716,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0083_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0083_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,83) == 1 && talker.occupation == 24 && gg::GetMemoState(talker,83) == 14 && gg::OwnItemCount(talker,7436) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,83,15);
						myself::DeleteItem1(talker,7436,gg::OwnItemCount(talker,7436));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0083_0106.htm");
						myself::SetFlagJournal(talker,83,19);
						myself::ShowQuestMark(talker,83);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 85 ) {
			myself::SetCurrentQuestID(85);
			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 == 85 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && ( gg::GetMemoState(talker,85) == 13 || ( gg::GetMemoState(talker,85) == 14 && gg::OwnItemCount(talker,7438) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0085_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031644,"dawn_witness_frantz",0,0,181227,36703,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027274,"fallenangel_tanakia_1",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0085_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0085_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,85) == 1 && talker.occupation == 16 && gg::GetMemoState(talker,85) == 14 && gg::OwnItemCount(talker,7438) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,85,15);
						myself::DeleteItem1(talker,7438,gg::OwnItemCount(talker,7438));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0085_0106.htm");
						myself::SetFlagJournal(talker,85,19);
						myself::ShowQuestMark(talker,85);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 89 ) {
			myself::SetCurrentQuestID(89);
			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 == 89 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && ( gg::GetMemoState(talker,89) == 13 || ( gg::GetMemoState(talker,89) == 14 && gg::OwnItemCount(talker,7442) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0089_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031643,"silver_fehyshar",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027255,"mystery_inhibitor_2",0,0,181227,36703,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0089_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0089_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,89) == 1 && talker.occupation == 27 && gg::GetMemoState(talker,89) == 14 && gg::OwnItemCount(talker,7442) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,89,15);
						myself::DeleteItem1(talker,7442,gg::OwnItemCount(talker,7442));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0089_0106.htm");
						myself::SetFlagJournal(talker,89,19);
						myself::ShowQuestMark(talker,89);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 91 ) {
			myself::SetCurrentQuestID(91);
			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 == 91 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && ( gg::GetMemoState(talker,91) == 13 || ( gg::GetMemoState(talker,91) == 14 && gg::OwnItemCount(talker,7444) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0091_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031586,"sparky_the_cat_hero",0,0,181227,36703,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027310,"kitanis_van_haken",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0091_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0091_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,91) == 1 && talker.occupation == 14 && gg::GetMemoState(talker,91) == 14 && gg::OwnItemCount(talker,7444) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,91,15);
						myself::DeleteItem1(talker,7444,gg::OwnItemCount(talker,7444));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0091_0106.htm");
						myself::SetFlagJournal(talker,91,19);
						myself::ShowQuestMark(talker,91);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		if( ask == 98 ) {
			myself::SetCurrentQuestID(98);
			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 == 98 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && ( gg::GetMemoState(talker,98) == 13 || ( gg::GetMemoState(talker,98) == 14 && gg::OwnItemCount(talker,7451) == 0 ) ) ) {
					if( myself.i_quest0 == 0 ) {
						myself.i_quest0 = 1;
						myself.i_quest1 = talker.dbid;
						myself::ShowPage(talker,"secret_codex_6c_q0098_0102.htm");
						i0 = myself::CreateOnePrivateEx(1031621,"abyss_maiden_elcardia",0,0,181227,36703,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,myself.sm.id);
						myself::CreateOnePrivateEx(1027277,"fallenangel_tanakia_4",0,0,181215,36676,-4816,0,gg::GetIndexFromCreature(talker),talker.dbid,i0);
					} else if( myself.i_quest1 == talker.dbid ) {
						myself::ShowPage(talker,"secret_codex_6c_q0098_0103.htm");
					} else {
						myself::ShowPage(talker,"secret_codex_6c_q0098_0104.htm");
					}
				}
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,98) == 1 && talker.occupation == 43 && gg::GetMemoState(talker,98) == 14 && gg::OwnItemCount(talker,7451) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::SetMemoState(talker,98,15);
						myself::DeleteItem1(talker,7451,gg::OwnItemCount(talker,7451));
						myself::AddUseSkillDesire(myself.sm,297926657,1,0,1000000);
						myself::AddUseSkillDesire(talker,297926657,1,0,1000000);
						myself::ShowPage(talker,"secret_codex_6c_q0098_0106.htm");
						myself::SetFlagJournal(talker,98,19);
						myself::ShowQuestMark(talker,98);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
				}
			}
		}
		super;
	}

}
