@LabelIndex 389587
@StringIndex 57778
class 0 kekrops : npc_elder {
handler:
	EventHandler TALK_SELECTED(fhtml0,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,67) == 0 && myself::GetOneTimeQuestFlag(talker,67) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Saga of the Doombringer");
			}
			if( gg::HaveMemo(talker,67) == 0 && myself::GetOneTimeQuestFlag(talker,67) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Saga of the Doombringer (Done)");
			}
			if( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Saga of the Doombringer (In Progress)");
			}
			if( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Saga of the Doombringer (In Progress)");
			}
			if( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 16 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Saga of the Doombringer (In Progress)");
			}
			if( gg::HaveMemo(talker,69) == 0 && myself::GetOneTimeQuestFlag(talker,69) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Saga of the Trickster");
			}
			if( gg::HaveMemo(talker,69) == 0 && myself::GetOneTimeQuestFlag(talker,69) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"Saga of the Trickster (Done)");
			}
			if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"Saga of the Trickster (In Progress)");
			}
			if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"Saga of the Trickster (In Progress)");
			}
			if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 16 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"Saga of the Trickster (In Progress)");
			}
			if( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"Certified Soul Breaker (In Progress)");
			}
			if( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 2 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"Certified Soul Breaker (In Progress)");
			}
			if( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 21 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"Certified Soul Breaker (In Progress)");
			}
			if( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 22 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"Certified Soul Breaker (In Progress)");
			}
			if( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 23 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"Certified Soul Breaker (In Progress)");
			}
			if( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 24 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"Certified Soul Breaker (In Progress)");
			}
			if( gg::HaveMemo(talker,68) == 0 && myself::GetOneTimeQuestFlag(talker,68) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"Saga of the Soul Hound");
			}
			if( gg::HaveMemo(talker,68) == 0 && myself::GetOneTimeQuestFlag(talker,68) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"Saga of the Soul Hound (Done)");
			}
			if( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"Saga of the Soul Hound (In Progress)");
			}
			if( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 15 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"Saga of the Soul Hound (In Progress)");
			}
			if( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 16 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 20;
				myself::AddChoice(20,"Saga of the Soul Hound (In Progress)");
			}
			if( gg::HaveMemo(talker,175) == 0 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 21;
				myself::AddChoice(21,"The Way of the Warrior");
			}
			if( gg::HaveMemo(talker,175) == 0 && myself::GetOneTimeQuestFlag(talker,175) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 22;
				myself::AddChoice(22,"The Way of the Warrior (Done)");
			}
			if( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) >= 1 && gg::GetMemoState(talker,175) < 3 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 23;
				myself::AddChoice(23,"The Way of the Warrior (In Progress)");
			}
			if( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 3 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 24;
				myself::AddChoice(24,"The Way of the Warrior (In Progress)");
			}
			if( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 4 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 25;
				myself::AddChoice(25,"The Way of the Warrior (In Progress)");
			}
			if( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 5 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 26;
				myself::AddChoice(26,"The Way of the Warrior (In Progress)");
			}
			if( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 6 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 27;
				myself::AddChoice(27,"The Way of the Warrior (In Progress)");
			}
			if( gg::HaveMemo(talker,178) == 0 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 28;
				myself::AddChoice(28,"Iconic Trinity");
			}
			if( gg::HaveMemo(talker,178) == 0 && myself::GetOneTimeQuestFlag(talker,178) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 29;
				myself::AddChoice(29,"Iconic Trinity (Done)");
			}
			if( ( gg::HaveMemo(talker,178) == 1 && ( gg::GetMemoState(talker,178) == 1 || gg::GetMemoState(talker,178) == 2 ) ) && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 30;
				myself::AddChoice(30,"Iconic Trinity (In Progress)");
			}
			if( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 3 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 31;
				myself::AddChoice(31,"Iconic Trinity (In Progress)");
			}
			if( ( gg::HaveMemo(talker,178) == 1 && ( gg::GetMemoState(talker,178) == 4 || gg::GetMemoState(talker,178) == 5 ) ) && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 32;
				myself::AddChoice(32,"Iconic Trinity (In Progress)");
			}
			if( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 6 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 33;
				myself::AddChoice(33,"Iconic Trinity (In Progress)");
			}
			if( ( gg::HaveMemo(talker,178) == 1 && ( gg::GetMemoState(talker,178) == 7 || gg::GetMemoState(talker,178) == 8 ) ) && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 34;
				myself::AddChoice(34,"Iconic Trinity (In Progress)");
			}
			if( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 9 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 35;
				myself::AddChoice(35,"Iconic Trinity (In Progress)");
			}
			if( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 10 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 36;
				myself::AddChoice(36,"Iconic Trinity (In Progress)");
			}
			if( gg::HaveMemo(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,179) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 37;
				myself::AddChoice(37,"Into the Large Cavern");
			}
			if( gg::HaveMemo(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,179) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 38;
				myself::AddChoice(38,"Into the Large Cavern (Done)");
			}
			if( gg::HaveMemo(talker,179) == 1 && gg::GetMemoState(talker,179) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 39;
				myself::AddChoice(39,"Into the Large Cavern (In Progress)");
			}
			if( gg::HaveMemo(talker,182) == 0 && myself::GetOneTimeQuestFlag(talker,182) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 40;
				myself::AddChoice(40,"New Recruits");
			}
			if( gg::HaveMemo(talker,182) == 0 && myself::GetOneTimeQuestFlag(talker,182) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 41;
				myself::AddChoice(41,"New Recruits (Done)");
			}
			if( gg::HaveMemo(talker,182) == 1 && gg::GetMemoState(talker,182) == 1 && myself::GetOneTimeQuestFlag(talker,182) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 42;
				myself::AddChoice(42,"New Recruits (In Progress)");
			}
			if( gg::HaveMemo(talker,236) == 0 && myself::GetOneTimeQuestFlag(talker,236) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 43;
				myself::AddChoice(43,"Seeds of Chaos");
			}
			if( gg::HaveMemo(talker,236) == 0 && myself::GetOneTimeQuestFlag(talker,236) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 44;
				myself::AddChoice(44,"Seeds of Chaos (Done)");
			}
			if( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 1 && myself::GetOneTimeQuestFlag(talker,236) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 45;
				myself::AddChoice(45,"Seeds of Chaos (In Progress)");
			}
			if( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 30 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 46;
				myself::AddChoice(46,"Seeds of Chaos (In Progress)");
			}
			if( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 40 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 47;
				myself::AddChoice(47,"Seeds of Chaos (In Progress)");
			}
			if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 1 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 48;
				myself::AddChoice(48,"Law Enforcement (In Progress)");
			}
			if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 2 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 49;
				myself::AddChoice(49,"Law Enforcement (In Progress)");
			}
			if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 3 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 50;
				myself::AddChoice(50,"Law Enforcement (In Progress)");
			}
			if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 4 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 51;
				myself::AddChoice(51,"Law Enforcement (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,67) == 0 && myself::GetOneTimeQuestFlag(talker,67) == 0 ) ) {
						myself::SetCurrentQuestID(67);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.level >= 76 && talker.occupation == 127 ) {
								myself::ShowQuestPage(talker,"kekrops_q0067_0101.htm",67);
							} else {
								myself::ShowQuestPage(talker,"kekrops_q0067_0102.htm",67);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,67) == 0 && myself::GetOneTimeQuestFlag(talker,67) == 1 ) ) {
						myself::SetCurrentQuestID(67);
						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,"finishedquest.htm");
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 1 ) ) {
						myself::SetCurrentQuestID(67);
						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,"kekrops_q0067_0104.htm");
					}
					break;
				}
				case 3: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 15 ) ) {
						myself::SetCurrentQuestID(67);
						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,"kekrops_q0067_0106.htm");
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 16 ) ) {
						myself::SetCurrentQuestID(67);
						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( talker.level >= 76 ) {
							if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
								talker.quest_last_reward_time = myself::GetCurrentTick();
								myself::AddUseSkillDesire(talker,334430209,1,0,1000000);
								myself::ClassChange(talker,131);
								myself::SetOneTimeQuestFlag(talker,67,1);
								myself::GiveItem1(talker,57,5000000);
								myself::GiveItem1(talker,6622,1);
								myself::IncrementParam(talker,0,2299404);
								myself::RemoveMemo(talker,67);
								gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
								myself::ShowPage(talker,"kekrops_q0067_0109.htm");
								myself::ShowSystemMessage(talker,1606);
							}
						} else {
							myself::ShowPage(talker,"kekrops_q0067_0110.htm");
						}
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 0 && myself::GetOneTimeQuestFlag(talker,69) == 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;
						}
						if( myself::GetMemoCount(talker) < 26 ) {
							if( talker.level >= 76 && talker.occupation == 130 ) {
								myself::ShowQuestPage(talker,"kekrops_q0069_0101.htm",69);
							} else {
								myself::ShowQuestPage(talker,"kekrops_q0069_0102.htm",69);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 6: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 0 && myself::GetOneTimeQuestFlag(talker,69) == 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,"finishedquest.htm");
					}
					break;
				}
				case 7: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 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,"kekrops_q0069_0104.htm");
					}
					break;
				}
				case 8: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 15 ) ) {
						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,"kekrops_q0069_0106.htm");
					}
					break;
				}
				case 9: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 16 ) ) {
						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( talker.level >= 76 ) {
							if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
								talker.quest_last_reward_time = myself::GetCurrentTick();
								myself::AddUseSkillDesire(talker,334430209,1,0,1000000);
								myself::ClassChange(talker,134);
								myself::SetOneTimeQuestFlag(talker,69,1);
								myself::GiveItem1(talker,57,5000000);
								myself::GiveItem1(talker,6622,1);
								myself::IncrementParam(talker,0,2299404);
								myself::RemoveMemo(talker,69);
								gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
								myself::ShowPage(talker,"kekrops_q0069_0109.htm");
								myself::ShowSystemMessage(talker,1606);
							}
						} else {
							myself::ShowPage(talker,"kekrops_q0069_0110.htm");
						}
					}
					break;
				}
				case 10: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 1 ) ) {
						myself::SetCurrentQuestID(65);
						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::FHTML_SetFileName(fhtml0,"kekrops_q0065_01.htm");
						myself::FHTML_SetStr(fhtml0,"name",talker.name);
						myself::ShowFHTML(talker,fhtml0);
					}
					break;
				}
				case 11: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 2 ) ) {
						myself::SetCurrentQuestID(65);
						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,"kekrops_q0065_05.htm");
					}
					break;
				}
				case 12: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 21 ) ) {
						myself::SetCurrentQuestID(65);
						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,"kekrops_q0065_06.htm");
					}
					break;
				}
				case 13: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 22 ) ) {
						myself::SetCurrentQuestID(65);
						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,"kekrops_q0065_08.htm");
					}
					break;
				}
				case 14: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 23 ) ) {
						myself::SetCurrentQuestID(65);
						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,"kekrops_q0065_09.htm");
					}
					break;
				}
				case 15: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 24 ) ) {
						myself::SetCurrentQuestID(65);
						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,"kekrops_q0065_13.htm");
					}
					break;
				}
				case 16: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,68) == 0 && myself::GetOneTimeQuestFlag(talker,68) == 0 ) ) {
						myself::SetCurrentQuestID(68);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.level >= 76 && ( talker.occupation == 128 || talker.occupation == 129 ) ) {
								myself::ShowQuestPage(talker,"kekrops_q0068_0101.htm",68);
							} else {
								myself::ShowQuestPage(talker,"kekrops_q0068_0102.htm",68);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 17: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,68) == 0 && myself::GetOneTimeQuestFlag(talker,68) == 1 ) ) {
						myself::SetCurrentQuestID(68);
						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,"finishedquest.htm");
					}
					break;
				}
				case 18: {
					if( _from_choice == 0 || ( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 1 ) ) {
						myself::SetCurrentQuestID(68);
						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,"kekrops_q0068_0104.htm");
					}
					break;
				}
				case 19: {
					if( _from_choice == 0 || ( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 15 ) ) {
						myself::SetCurrentQuestID(68);
						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,"kekrops_q0068_0106.htm");
					}
					break;
				}
				case 20: {
					if( _from_choice == 0 || ( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 16 ) ) {
						myself::SetCurrentQuestID(68);
						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( talker.level >= 76 ) {
							if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
								talker.quest_last_reward_time = myself::GetCurrentTick();
								myself::AddUseSkillDesire(talker,334430209,1,0,1000000);
								if( talker.occupation == 128 ) {
									myself::ClassChange(talker,132);
								}
								if( talker.occupation == 129 ) {
									myself::ClassChange(talker,133);
								}
								myself::SetOneTimeQuestFlag(talker,68,1);
								myself::GiveItem1(talker,57,5000000);
								myself::GiveItem1(talker,6622,1);
								myself::IncrementParam(talker,0,2299404);
								myself::RemoveMemo(talker,68);
								gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
								myself::ShowPage(talker,"kekrops_q0068_0109.htm");
								myself::ShowSystemMessage(talker,1606);
							}
						} else {
							myself::ShowPage(talker,"kekrops_q0068_0110.htm");
						}
					}
					break;
				}
				case 21: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 0 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) ) {
						myself::SetCurrentQuestID(175);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.race == 5 ) {
								if( talker.level >= 10 ) {
									myself::ShowQuestPage(talker,"kekrops_q0175_01.htm",175);
								} else {
									myself::ShowQuestPage(talker,"kekrops_q0175_03.htm",175);
								}
							} else {
								myself::ShowQuestPage(talker,"kekrops_q0175_04.htm",175);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 22: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 0 && myself::GetOneTimeQuestFlag(talker,175) == 1 ) ) {
						myself::SetCurrentQuestID(175);
						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,"finishedquest.htm");
					}
					break;
				}
				case 23: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) >= 1 && gg::GetMemoState(talker,175) < 3 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) ) {
						myself::SetCurrentQuestID(175);
						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,"kekrops_q0175_06.htm");
					}
					break;
				}
				case 24: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 3 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) ) {
						myself::SetCurrentQuestID(175);
						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::SetMemoState(talker,175,4);
						myself::ShowPage(talker,"kekrops_q0175_07.htm");
						myself::SetFlagJournal(talker,175,5);
						myself::ShowQuestMark(talker,175);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
					break;
				}
				case 25: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 4 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) ) {
						myself::SetCurrentQuestID(175);
						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,"kekrops_q0175_08.htm");
					}
					break;
				}
				case 26: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 5 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) ) {
						myself::SetCurrentQuestID(175);
						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,"kekrops_q0175_09.htm");
					}
					break;
				}
				case 27: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 6 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) ) {
						myself::SetCurrentQuestID(175);
						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( gg::OwnItemCount(talker,9808) >= 10 ) {
							myself::ShowPage(talker,"kekrops_q0175_12.htm");
						} else {
							myself::ShowPage(talker,"kekrops_q0175_11.htm");
						}
					}
					break;
				}
				case 28: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,178) == 0 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.race == 5 ) {
								if( talker.level >= 17 ) {
									myself::FHTML_SetFileName(fhtml0,"kekrops_q0178_01.htm");
									myself::FHTML_SetInt(fhtml0,"quest_id",178);
									myself::ShowQuestFHTML(talker,fhtml0,178);
								} else {
									myself::ShowQuestPage(talker,"kekrops_q0178_02.htm",178);
								}
							} else {
								myself::ShowQuestPage(talker,"kekrops_q0178_03.htm",178);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 29: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,178) == 0 && myself::GetOneTimeQuestFlag(talker,178) == 1 ) ) {
						myself::SetCurrentQuestID(178);
						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,"finishedquest.htm");
					}
					break;
				}
				case 30: {
					if( _from_choice == 0 || ( ( gg::HaveMemo(talker,178) == 1 && ( gg::GetMemoState(talker,178) == 1 || gg::GetMemoState(talker,178) == 2 ) ) && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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,"kekrops_q0178_06.htm");
					}
					break;
				}
				case 31: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 3 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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,"kekrops_q0178_07.htm");
					}
					break;
				}
				case 32: {
					if( _from_choice == 0 || ( ( gg::HaveMemo(talker,178) == 1 && ( gg::GetMemoState(talker,178) == 4 || gg::GetMemoState(talker,178) == 5 ) ) && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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,"kekrops_q0178_08.htm");
					}
					break;
				}
				case 33: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 6 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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,"kekrops_q0178_09.htm");
					}
					break;
				}
				case 34: {
					if( _from_choice == 0 || ( ( gg::HaveMemo(talker,178) == 1 && ( gg::GetMemoState(talker,178) == 7 || gg::GetMemoState(talker,178) == 8 ) ) && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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,"kekrops_q0178_10.htm");
					}
					break;
				}
				case 35: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 9 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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,"kekrops_q0178_11.htm");
					}
					break;
				}
				case 36: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 10 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) ) {
						myself::SetCurrentQuestID(178);
						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( talker.level <= 20 && ( talker.occupation == 123 || talker.occupation == 124 ) ) {
							myself::ShowPage(talker,"kekrops_q0178_12.htm");
						} else {
							myself::ShowPage(talker,"kekrops_q0178_15.htm");
						}
					}
					break;
				}
				case 37: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,179) == 0 ) ) {
						myself::SetCurrentQuestID(179);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.race == 5 ) {
								if( myself::GetOneTimeQuestFlag(talker,178) == 1 ) {
									if( talker.level >= 17 && myself::IsInCategory(62,talker.occupation) == 1 && talker.level <= 21 ) {
										myself::ShowQuestPage(talker,"kekrops_q0179_01.htm",179);
									} else if( talker.level < 17 ) {
										myself::ShowQuestPage(talker,"kekrops_q0179_02.htm",179);
									} else {
										myself::ShowQuestPage(talker,"kekrops_q0179_02a.htm",179);
									}
								} else {
									myself::ShowQuestPage(talker,"kekrops_q0179_03.htm",179);
								}
							} else {
								myself::ShowQuestPage(talker,"kekrops_q0179_04.htm",179);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 38: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,179) == 1 ) ) {
						myself::SetCurrentQuestID(179);
						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,"finishedquest.htm");
					}
					break;
				}
				case 39: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,179) == 1 && gg::GetMemoState(talker,179) == 1 ) ) {
						myself::SetCurrentQuestID(179);
						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,"kekrops_q0179_07.htm");
					}
					break;
				}
				case 40: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,182) == 0 && myself::GetOneTimeQuestFlag(talker,182) == 0 ) ) {
						myself::SetCurrentQuestID(182);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.race == 5 ) {
								myself::ShowQuestPage(talker,"kekrops_q0182_03.htm",182);
							} else if( talker.level >= 17 && talker.level <= 21 && myself::IsInCategory(6,talker.occupation) == 1 ) {
								myself::ShowQuestPage(talker,"kekrops_q0182_01.htm",182);
							} else if( talker.level < 17 ) {
								myself::ShowQuestPage(talker,"kekrops_q0182_02.htm",182);
							} else if( talker.level > 21 || myself::IsInCategory(6,talker.occupation) != 1 ) {
								myself::ShowQuestPage(talker,"kekrops_q0182_02a.htm",182);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 41: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,182) == 0 && myself::GetOneTimeQuestFlag(talker,182) == 1 ) ) {
						myself::SetCurrentQuestID(182);
						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,"finishedquest.htm");
					}
					break;
				}
				case 42: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,182) == 1 && gg::GetMemoState(talker,182) == 1 && myself::GetOneTimeQuestFlag(talker,182) == 0 ) ) {
						myself::SetCurrentQuestID(182);
						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,"kekrops_q0182_06.htm");
					}
					break;
				}
				case 43: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,236) == 0 && myself::GetOneTimeQuestFlag(talker,236) == 0 ) ) {
						myself::SetCurrentQuestID(236);
						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( myself::GetMemoCount(talker) < 26 ) {
							if( talker.level >= 75 ) {
								if( talker.race == 5 ) {
									if( gg::OwnItemCount(talker,5011) >= 1 ) {
										myself::ShowQuestPage(talker,"kekrops_q0236_01.htm",236);
									} else {
										myself::ShowPage(talker,"kekrops_q0236_01x.htm");
									}
								} else {
									myself::ShowPage(talker,"kekrops_q0236_01y.htm");
								}
							} else {
								myself::ShowPage(talker,"kekrops_q0236_01z.htm");
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 44: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,236) == 0 && myself::GetOneTimeQuestFlag(talker,236) == 1 ) ) {
						myself::SetCurrentQuestID(236);
						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,"finishedquest.htm");
					}
					break;
				}
				case 45: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 1 && myself::GetOneTimeQuestFlag(talker,236) == 0 ) ) {
						myself::SetCurrentQuestID(236);
						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,"kekrops_q0236_05.htm");
					}
					break;
				}
				case 46: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 30 ) ) {
						myself::SetCurrentQuestID(236);
						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,"kekrops_q0236_06.htm");
					}
					break;
				}
				case 47: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 40 ) ) {
						myself::SetCurrentQuestID(236);
						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,"kekrops_q0236_13.htm");
					}
					break;
				}
				case 48: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 1 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) ) {
						myself::SetCurrentQuestID(61);
						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,"kekrops_q0061_01.htm");
					}
					break;
				}
				case 49: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 2 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) ) {
						myself::SetCurrentQuestID(61);
						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,"kekrops_q0061_03.htm");
					}
					break;
				}
				case 50: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 3 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) ) {
						myself::SetCurrentQuestID(61);
						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,"kekrops_q0061_04.htm");
					}
					break;
				}
				case 51: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 4 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) ) {
						myself::SetCurrentQuestID(61);
						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,"kekrops_q0061_10.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler QUEST_ACCEPTED(quest_id,talker) {
		if( quest_id == 67 ) {
			myself::SetCurrentQuestID(67);
			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( gg::HaveMemo(talker,67) == 0 && myself::GetOneTimeQuestFlag(talker,67) == 0 && talker.level >= 76 && talker.occupation == 127 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					myself::GiveItem1(talker,9717,1);
					myself::SetMemo(talker,67);
					myself::SetMemoState(talker,67,1);
					myself::SetFlagJournal(talker,67,1);
					myself::ShowQuestMark(talker,67);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0067_0103.htm",67);
					gg::AddLog(1,talker,67);
				}
			}
			return;
		}
		if( quest_id == 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( gg::HaveMemo(talker,69) == 0 && myself::GetOneTimeQuestFlag(talker,69) == 0 && talker.level >= 76 && talker.occupation == 130 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					myself::GiveItem1(talker,9718,1);
					myself::SetMemo(talker,69);
					myself::SetMemoState(talker,69,1);
					myself::SetFlagJournal(talker,69,1);
					myself::ShowQuestMark(talker,69);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0069_0103.htm",69);
					gg::AddLog(1,talker,69);
				}
			}
			return;
		}
		if( quest_id == 68 ) {
			myself::SetCurrentQuestID(68);
			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( gg::HaveMemo(talker,68) == 0 && myself::GetOneTimeQuestFlag(talker,68) == 0 && talker.level >= 76 && ( talker.occupation == 128 || talker.occupation == 129 ) ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					myself::GiveItem1(talker,9719,1);
					myself::SetMemo(talker,68);
					myself::SetMemoState(talker,68,1);
					myself::SetFlagJournal(talker,68,1);
					myself::ShowQuestMark(talker,68);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0068_0103.htm",68);
					gg::AddLog(1,talker,68);
				}
			}
			return;
		}
		if( quest_id == 175 ) {
			myself::SetCurrentQuestID(175);
			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( gg::HaveMemo(talker,175) == 0 && talker.level >= 10 && talker.race == 5 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					myself::SetMemoState(talker,175,1);
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0175_05.htm",175);
					gg::AddLog(1,talker,quest_id);
					myself::SetFlagJournal(talker,175,1);
					myself::ShowQuestMark(talker,175);
				}
			}
			return;
		}
		if( quest_id == 178 ) {
			myself::SetCurrentQuestID(178);
			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( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
				talker.quest_last_reward_time = myself::GetCurrentTick();
				if( gg::HaveMemo(talker,178) == 0 && myself::GetOneTimeQuestFlag(talker,178) == 0 && talker.race == 5 && talker.level >= 17 ) {
					myself::SetMemoState(talker,178,1);
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0178_05.htm",178);
					gg::AddLog(1,talker,quest_id);
					myself::SetFlagJournal(talker,178,1);
					myself::ShowQuestMark(talker,178);
				}
			}
			return;
		}
		if( quest_id == 179 ) {
			myself::SetCurrentQuestID(179);
			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( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
				talker.quest_last_reward_time = myself::GetCurrentTick();
				if( gg::HaveMemo(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,179) == 0 && talker.race == 5 && talker.level >= 17 && talker.level <= 21 && myself::IsInCategory(62,talker.occupation) == 1 && myself::GetOneTimeQuestFlag(talker,178) == 1 ) {
					myself::SetMemoState(talker,179,1);
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0179_06.htm",179);
					gg::AddLog(1,talker,quest_id);
					myself::SetFlagJournal(talker,179,1);
					myself::ShowQuestMark(talker,179);
				}
			}
			return;
		}
		if( quest_id == 182 ) {
			myself::SetCurrentQuestID(182);
			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( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
				talker.quest_last_reward_time = myself::GetCurrentTick();
				if( gg::HaveMemo(talker,182) == 0 && myself::GetOneTimeQuestFlag(talker,182) == 0 && talker.level >= 17 && talker.level <= 21 && myself::IsInCategory(6,talker.occupation) == 1 ) {
					myself::SetMemoState(talker,182,1);
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0182_05.htm",182);
					myself::SetFlagJournal(talker,182,1);
					myself::ShowQuestMark(talker,182);
					gg::AddLog(1,talker,quest_id);
				}
			}
			return;
		}
		if( quest_id == 236 ) {
			myself::SetCurrentQuestID(236);
			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( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
				talker.quest_last_reward_time = myself::GetCurrentTick();
				if( gg::HaveMemo(talker,236) == 0 && myself::GetOneTimeQuestFlag(talker,236) == 0 && talker.level >= 75 && talker.race == 5 && gg::OwnItemCount(talker,5011) >= 1 ) {
					myself::SetMemoState(talker,236,1);
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"kekrops_q0236_04.htm",236);
					myself::SetFlagJournal(talker,236,1);
					myself::ShowQuestMark(talker,236);
					gg::AddLog(1,talker,quest_id);
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,fhtml0,i0,reply,talker) {
		if( ask == 67 ) {
			myself::SetCurrentQuestID(67);
			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 == 67 ) {
			if( reply == 11 ) {
				myself::ShowPage(talker,"kekrops_q0067_0111.htm");
			} else if( reply == 1 ) {
				if( gg::HaveMemo(talker,67) == 0 && talker.occupation == 127 && talker.level >= 76 && myself::GetOneTimeQuestFlag(talker,67) == 0 ) {
					myself::FHTML_SetFileName(fhtml0,"kekrops_q0067_0105.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",67);
					myself::ShowQuestFHTML(talker,fhtml0,67);
				}
			} else if( reply == 12 ) {
				myself::ShowPage(talker,"kekrops_q0067_0112.htm");
			} else if( reply == 13 ) {
				myself::ShowPage(talker,"kekrops_q0067_0113.htm");
			} else if( reply == 14 ) {
				myself::ShowPage(talker,"kekrops_q0067_0114.htm");
			} else if( reply == 15 ) {
				myself::ShowPage(talker,"kekrops_q0067_0115.htm");
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,67) == 1 && talker.occupation == 127 && gg::GetMemoState(talker,67) == 15 ) {
					if( talker.level >= 76 ) {
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::AddUseSkillDesire(talker,334430209,1,0,1000000);
							myself::DeleteItem1(talker,9717,gg::OwnItemCount(talker,9717));
							myself::ClassChange(talker,131);
							myself::SetOneTimeQuestFlag(talker,67,1);
							myself::GiveItem1(talker,57,5000000);
							myself::GiveItem1(talker,6622,1);
							myself::IncrementParam(talker,0,2299404);
							myself::RemoveMemo(talker,67);
							gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
							myself::ShowPage(talker,"kekrops_q0067_0107.htm");
							myself::ShowSystemMessage(talker,1606);
						}
					} else {
						myself::SetMemoState(talker,67,16);
						myself::SetFlagJournal(talker,67,20);
						myself::ShowQuestMark(talker,67);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
						myself::DeleteItem1(talker,9717,gg::OwnItemCount(talker,9717));
						myself::ShowPage(talker,"kekrops_q0067_0108.htm");
					}
				}
			}
		}
		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 == 11 ) {
				myself::ShowPage(talker,"kekrops_q0069_0111.htm");
			} else if( reply == 1 ) {
				if( gg::HaveMemo(talker,69) == 0 && talker.occupation == 130 && talker.level >= 76 && myself::GetOneTimeQuestFlag(talker,69) == 0 ) {
					myself::FHTML_SetFileName(fhtml0,"kekrops_q0069_0105.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",69);
					myself::ShowQuestFHTML(talker,fhtml0,69);
				}
			} else if( reply == 12 ) {
				myself::ShowPage(talker,"kekrops_q0069_0112.htm");
			} else if( reply == 13 ) {
				myself::ShowPage(talker,"kekrops_q0069_0113.htm");
			} else if( reply == 14 ) {
				myself::ShowPage(talker,"kekrops_q0069_0114.htm");
			} else if( reply == 15 ) {
				myself::ShowPage(talker,"kekrops_q0069_0115.htm");
			} else if( reply == 2 ) {
				if( gg::HaveMemo(talker,69) == 1 && talker.occupation == 130 && gg::GetMemoState(talker,69) == 15 ) {
					if( talker.level >= 76 ) {
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::AddUseSkillDesire(talker,334430209,1,0,1000000);
							myself::DeleteItem1(talker,9718,gg::OwnItemCount(talker,9718));
							myself::ClassChange(talker,134);
							myself::SetOneTimeQuestFlag(talker,69,1);
							myself::GiveItem1(talker,57,5000000);
							myself::GiveItem1(talker,6622,1);
							myself::IncrementParam(talker,0,2299404);
							myself::RemoveMemo(talker,69);
							gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
							myself::ShowPage(talker,"kekrops_q0069_0107.htm");
							myself::ShowSystemMessage(talker,1606);
						}
					} else {
						myself::SetMemoState(talker,69,16);
						myself::SetFlagJournal(talker,69,20);
						myself::ShowQuestMark(talker,69);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
						myself::DeleteItem1(talker,9718,gg::OwnItemCount(talker,9718));
						myself::ShowPage(talker,"kekrops_q0069_0108.htm");
					}
				}
			}
		}
		if( ask == 65 ) {
			myself::SetCurrentQuestID(65);
			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 == 65 ) {
			if( reply == 1 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 1 ) {
				myself::ShowPage(talker,"kekrops_q0065_02.htm");
			}
			if( reply == 2 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 1 ) {
				myself::ShowPage(talker,"kekrops_q0065_03.htm");
			}
			if( reply == 3 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 1 ) {
				myself::SetMemoState(talker,65,2);
				myself::ShowPage(talker,"kekrops_q0065_04.htm");
				myself::SetFlagJournal(talker,65,2);
				myself::ShowQuestMark(talker,65);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 4 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 21 ) {
				myself::SetMemoState(talker,65,22);
				myself::ShowPage(talker,"kekrops_q0065_07.htm");
				myself::SetFlagJournal(talker,65,15);
				myself::ShowQuestMark(talker,65);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 5 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 23 ) {
				myself::ShowPage(talker,"kekrops_q0065_10.htm");
			}
			if( reply == 6 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 23 ) {
				myself::ShowPage(talker,"kekrops_q0065_11.htm");
			}
			if( reply == 7 && gg::HaveMemo(talker,65) == 1 && myself::GetOneTimeQuestFlag(talker,65) == 0 && gg::GetMemoState(talker,65) == 23 ) {
				myself::SetMemoState(talker,65,24);
				myself::ShowPage(talker,"kekrops_q0065_12.htm");
				myself::GiveItem1(talker,9805,1);
				myself::SetFlagJournal(talker,65,17);
				myself::ShowQuestMark(talker,65);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
				myself::DeleteItem1(talker,9804,gg::OwnItemCount(talker,9804));
			}
		}
		if( ask == 68 ) {
			myself::SetCurrentQuestID(68);
			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 == 68 ) {
			if( reply == 11 ) {
				myself::ShowPage(talker,"kekrops_q0068_0111.htm");
			} else if( reply == 1 ) {
				if( ( ( gg::HaveMemo(talker,68) == 0 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && talker.level >= 76 ) && myself::GetOneTimeQuestFlag(talker,68) == 0 ) {
					myself::FHTML_SetFileName(fhtml0,"kekrops_q0068_0105.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",68);
					myself::ShowQuestFHTML(talker,fhtml0,68);
				}
			} else if( reply == 12 ) {
				myself::ShowPage(talker,"kekrops_q0068_0112.htm");
			} else if( reply == 13 ) {
				myself::ShowPage(talker,"kekrops_q0068_0113.htm");
			} else if( reply == 14 ) {
				myself::ShowPage(talker,"kekrops_q0068_0114.htm");
			} else if( reply == 15 ) {
				myself::ShowPage(talker,"kekrops_q0068_0115.htm");
			} else if( reply == 2 ) {
				if( ( gg::HaveMemo(talker,68) == 1 && ( talker.occupation == 128 || talker.occupation == 129 ) ) && gg::GetMemoState(talker,68) == 15 ) {
					if( talker.level >= 76 ) {
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::AddUseSkillDesire(talker,334430209,1,0,1000000);
							myself::DeleteItem1(talker,9719,gg::OwnItemCount(talker,9719));
							if( talker.occupation == 128 ) {
								myself::ClassChange(talker,132);
							}
							if( talker.occupation == 129 ) {
								myself::ClassChange(talker,133);
							}
							myself::SetOneTimeQuestFlag(talker,68,1);
							myself::GiveItem1(talker,57,5000000);
							myself::GiveItem1(talker,6622,1);
							myself::IncrementParam(talker,0,2299404);
							myself::RemoveMemo(talker,68);
							gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
							myself::ShowPage(talker,"kekrops_q0068_0107.htm");
							myself::ShowSystemMessage(talker,1606);
						}
					} else {
						myself::SetMemoState(talker,68,16);
						myself::SetFlagJournal(talker,68,20);
						myself::ShowQuestMark(talker,68);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
						myself::DeleteItem1(talker,9719,gg::OwnItemCount(talker,9719));
						myself::ShowPage(talker,"kekrops_q0068_0108.htm");
					}
				}
			}
		}
		if( ask == 175 ) {
			myself::SetCurrentQuestID(175);
			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 == 175 ) {
			if( reply == 1 && gg::HaveMemo(talker,175) == 0 && talker.level >= 10 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				myself::FHTML_SetFileName(fhtml0,"kekrops_q0175_02.htm");
				myself::FHTML_SetInt(fhtml0,"quest_id",175);
				myself::ShowQuestFHTML(talker,fhtml0,175);
			}
			if( reply == 2 && gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 5 && myself::GetOneTimeQuestFlag(talker,175) == 0 ) {
				myself::SetMemoState(talker,175,6);
				myself::ShowPage(talker,"kekrops_q0175_10.htm");
				myself::SetFlagJournal(talker,175,7);
				myself::ShowQuestMark(talker,175);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 3 && gg::HaveMemo(talker,175) == 1 && gg::GetMemoState(talker,175) == 6 && myself::GetOneTimeQuestFlag(talker,175) == 0 && gg::OwnItemCount(talker,9808) >= 10 ) {
				myself::DeleteItem1(talker,9808,gg::OwnItemCount(talker,9808));
				myself::GiveItem1(talker,9720,1);
				myself::RemoveMemo(talker,175);
				myself::SoundEffect(talker,"ItemSound.quest_finish");
				myself::ShowPage(talker,"kekrops_q0175_13.htm");
				gg::AddLog(2,talker,175);
				myself::SetOneTimeQuestFlag(talker,175,1);
				gg::AddPCSocial(gg::GetIndexFromCreature(talker),3);
				if( talker.level < 25 ) {
					myself::VoiceEffect(talker,"tutorial_voice_026",1000);
					myself::GiveItem1(talker,5789,7000);
				}
				if( gg::HaveNRMemo(talker,41) == 0 ) {
					myself::SetNRMemo(talker,41);
					myself::SetNRMemoState(talker,41,100000);
					gg::ShowOnScreenMsgStr(talker,2,0,0,0,1,0,5000,0,gg::MakeFString(4154,"","","","",""));
				} else if( ( ( gg::GetNRMemoState(talker,41) % 1000000 ) / 100000 ) != 1 ) {
					i0 = gg::GetNRMemoState(talker,41);
					myself::SetNRMemoState(talker,41,( i0 + 100000 ));
					gg::ShowOnScreenMsgStr(talker,2,0,0,0,1,0,5000,0,gg::MakeFString(4154,"","","","",""));
				}
				myself::IncrementParam(talker,0,20739);
				myself::IncrementParam(talker,1,1777);
				myself::GiveItem1(talker,57,8799);
				myself::GiveItem1(talker,1060,100);
				myself::GiveItem1(talker,4414,10);
				myself::GiveItem1(talker,4415,10);
				myself::GiveItem1(talker,4416,10);
				myself::GiveItem1(talker,4413,10);
				myself::GiveItem1(talker,4412,10);
			}
		}
		if( ask == 178 ) {
			myself::SetCurrentQuestID(178);
			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 == 178 ) {
			if( reply == 1 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				myself::ShowPage(talker,"kekrops_q0178_13.htm");
			}
			if( reply == 2 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				if( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 10 && talker.level <= 20 && ( talker.occupation == 123 || talker.occupation == 124 ) ) {
					myself::GiveItem1(talker,956,1);
					myself::IncrementParam(talker,0,20123);
					myself::IncrementParam(talker,1,976);
					myself::RemoveMemo(talker,178);
					myself::SoundEffect(talker,"ItemSound.quest_finish");
					myself::ShowPage(talker,"kekrops_q0178_14.htm");
					myself::SetOneTimeQuestFlag(talker,178,1);
					gg::AddLog(2,talker,178);
					myself::SetOneTimeQuestFlag(talker,178,1);
				}
			}
			if( reply == 3 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				myself::ShowPage(talker,"kekrops_q0178_16.htm");
			}
			if( reply == 4 && myself::GetOneTimeQuestFlag(talker,178) == 0 ) {
				if( gg::HaveMemo(talker,178) == 1 && gg::GetMemoState(talker,178) == 10 && ( talker.level > 20 || talker.occupation != 123 || talker.occupation != 124 ) ) {
					myself::GiveItem1(talker,956,1);
					myself::RemoveMemo(talker,178);
					myself::SoundEffect(talker,"ItemSound.quest_finish");
					myself::ShowPage(talker,"kekrops_q0178_17.htm");
					myself::SetOneTimeQuestFlag(talker,178,1);
					gg::AddLog(2,talker,178);
					myself::SetOneTimeQuestFlag(talker,178,1);
				}
			}
		}
		if( ask == 179 ) {
			myself::SetCurrentQuestID(179);
			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 == 179 ) {
			if( reply == 1 && gg::HaveMemo(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,179) == 0 && myself::GetOneTimeQuestFlag(talker,178) == 1 ) {
				if( talker.race == 5 && talker.level >= 17 && talker.level <= 21 && myself::IsInCategory(62,talker.occupation) == 1 ) {
					myself::FHTML_SetFileName(fhtml0,"kekrops_q0179_05.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",179);
					myself::ShowQuestFHTML(talker,fhtml0,179);
				}
			}
			if( reply == 2 ) {
				if( gg::HaveMemo(talker,179) == 1 && gg::GetMemoState(talker,179) == 1 ) {
					myself::ShowPage(talker,"kekrops_q0179_08.htm");
				}
			}
		}
		if( ask == 182 ) {
			myself::SetCurrentQuestID(182);
			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 == 182 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,182) == 0 && myself::GetOneTimeQuestFlag(talker,182) == 0 && talker.level >= 17 && talker.level <= 21 && myself::IsInCategory(6,talker.occupation) == 1 ) {
					myself::FHTML_SetFileName(fhtml0,"kekrops_q0182_04.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",182);
					myself::ShowQuestFHTML(talker,fhtml0,182);
				}
			}
		}
		if( ask == 236 ) {
			myself::SetCurrentQuestID(236);
			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 == 236 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,236) == 0 && myself::GetOneTimeQuestFlag(talker,236) == 0 && talker.level >= 75 && talker.race == 5 && gg::OwnItemCount(talker,5011) >= 1 ) {
					myself::FHTML_SetFileName(fhtml0,"kekrops_q0236_03.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",236);
					myself::ShowQuestFHTML(talker,fhtml0,236);
				}
			}
		}
		if( ask == 236 ) {
			myself::SetCurrentQuestID(236);
			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 == 236 ) {
			if( reply == 34 ) {
				if( gg::HaveMemo(talker,236) == 1 && gg::GetMemoState(talker,236) == 30 ) {
					myself::SetMemoState(talker,236,40);
					myself::ShowPage(talker,"kekrops_q0236_12.htm");
					myself::SetFlagJournal(talker,236,15);
					myself::ShowQuestMark(talker,236);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 61 ) {
			myself::SetCurrentQuestID(61);
			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 == 61 ) {
			if( reply == 2 ) {
				if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 1 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
					myself::SetMemoState(talker,61,2);
					myself::ShowPage(talker,"kekrops_q0061_03.htm");
				}
			}
			if( reply == 3 ) {
				if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) == 1 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
					myself::SetMemoState(talker,61,3);
					myself::ShowPage(talker,"kekrops_q0061_04.htm");
				}
			}
			if( reply == 4 ) {
				if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) >= 2 && gg::GetMemoState(talker,61) <= 3 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
					myself::ShowPage(talker,"kekrops_q0061_06.htm");
				}
			}
			if( reply == 5 ) {
				if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) >= 2 && gg::GetMemoState(talker,61) <= 3 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
					myself::ShowPage(talker,"kekrops_q0061_07.htm");
				}
			}
			if( reply == 6 ) {
				if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) >= 2 && gg::GetMemoState(talker,61) <= 3 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
					myself::ShowPage(talker,"kekrops_q0061_08.htm");
				}
			}
			if( reply == 7 ) {
				if( gg::HaveMemo(talker,61) == 1 && gg::GetMemoState(talker,61) >= 2 && gg::GetMemoState(talker,61) <= 3 && myself::GetOneTimeQuestFlag(talker,61) == 0 ) {
					myself::SetMemoState(talker,61,4);
					myself::ShowPage(talker,"kekrops_q0061_09.htm");
					myself::SetFlagJournal(talker,61,2);
					myself::ShowQuestMark(talker,61);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		super;
	}

}
