@LabelIndex 381202
@StringIndex 56082
class 0 repre : citizen {
handler:
	EventHandler TALK_SELECTED(fhtml0,quest_id,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,115) == 0 && talker.level >= 53 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"The Other Side of Truth");
			}
			if( gg::HaveMemo(talker,115) == 0 && talker.level < 53 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"The Other Side of Truth");
			}
			if( gg::HaveMemo(talker,115) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"The Other Side of Truth (Done)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 2 && gg::OwnItemCount(talker,8079) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 2 && gg::OwnItemCount(talker,8079) > 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 3 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 4 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 5 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 6 && gg::OwnItemCount(talker,8080) != 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 6 && gg::OwnItemCount(talker,8080) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) >= 7 && gg::GetMemoState(talker,115) < 9 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 9 && gg::OwnItemCount(talker,8082) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 10 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 11 && gg::OwnItemCount(talker,8081) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 11 && gg::OwnItemCount(talker,8081) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"The Other Side of Truth (In Progress)");
			}
			if( gg::HaveMemo(talker,648) == 0 && talker.level < 53 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"An Ice Merchant's Dream");
			}
			if( gg::HaveMemo(talker,648) == 0 && talker.level >= 53 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"An Ice Merchant's Dream");
			}
			if( gg::HaveMemo(talker,648) == 1 && ( gg::OwnItemCount(talker,8077) + gg::OwnItemCount(talker,8078) ) == 0 && gg::GetMemoState(talker,648) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"An Ice Merchant's Dream (In Progress)");
			}
			if( gg::HaveMemo(talker,648) == 1 && ( gg::OwnItemCount(talker,8077) + gg::OwnItemCount(talker,8078) ) > 0 && gg::GetMemoState(talker,648) >= 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"An Ice Merchant's Dream (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,115) == 0 && talker.level >= 53 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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 ) {
							myself::FHTML_SetFileName(fhtml0,"repre_q0115_01.htm");
							myself::FHTML_SetInt(fhtml0,"quest_id",115);
							myself::ShowQuestFHTML(talker,fhtml0,115);
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 0 && talker.level < 53 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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::ShowQuestPage(talker,"repre_q0115_02.htm",115);
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 1 ) ) {
						myself::SetCurrentQuestID(115);
						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 3: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_04.htm");
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 2 && gg::OwnItemCount(talker,8079) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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::RemoveMemo(talker,115);
						myself::SoundEffect(talker,"ItemSound.quest_finish");
						gg::AddLog(2,talker,115);
						myself::ShowPage(talker,"repre_q0115_05.htm");
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 2 && gg::OwnItemCount(talker,8079) > 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_06.htm");
					}
					break;
				}
				case 6: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 3 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_09.htm");
					}
					break;
				}
				case 7: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 4 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_16.htm");
					}
					break;
				}
				case 8: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 5 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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();
							myself::GiveItem1(talker,8080,1);
							myself::SetMemoState(talker,115,6);
							myself::ShowPage(talker,"repre_q0115_18.htm");
							myself::SetFlagJournal(talker,115,6);
							myself::ShowQuestMark(talker,115);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					}
					break;
				}
				case 9: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 6 && gg::OwnItemCount(talker,8080) != 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_19.htm");
					}
					break;
				}
				case 10: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 6 && gg::OwnItemCount(talker,8080) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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();
							myself::GiveItem1(talker,8080,1);
							myself::ShowPage(talker,"repre_q0115_20.htm");
						}
					}
					break;
				}
				case 11: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) >= 7 && gg::GetMemoState(talker,115) < 9 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_21.htm");
					}
					break;
				}
				case 12: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 9 && gg::OwnItemCount(talker,8082) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_22.htm");
					}
					break;
				}
				case 13: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 10 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_24.htm");
					}
					break;
				}
				case 14: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 11 && gg::OwnItemCount(talker,8081) == 0 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_29.htm");
					}
					break;
				}
				case 15: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 11 && gg::OwnItemCount(talker,8081) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) ) {
						myself::SetCurrentQuestID(115);
						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,"repre_q0115_30.htm");
						myself::GiveItem1(talker,57,115673);
						myself::IncrementParam(talker,0,493595);
						myself::IncrementParam(talker,1,40442);
						myself::DeleteItem1(talker,8081,gg::OwnItemCount(talker,8081));
						myself::RemoveMemo(talker,115);
						myself::SetOneTimeQuestFlag(talker,115,1);
						myself::SoundEffect(talker,"ItemSound.quest_finish");
						gg::AddLog(2,talker,115);
					}
					break;
				}
				case 16: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,648) == 0 && talker.level < 53 ) ) {
						myself::SetCurrentQuestID(648);
						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::ShowQuestPage(talker,"repre_q0648_01.htm",648);
					}
					break;
				}
				case 17: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,648) == 0 && talker.level >= 53 ) ) {
						myself::SetCurrentQuestID(648);
						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( myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
								myself::FHTML_SetFileName(fhtml0,"repre_q0648_02.htm");
								myself::FHTML_SetInt(fhtml0,"quest_id",648);
								myself::ShowQuestFHTML(talker,fhtml0,648);
							} else {
								myself::FHTML_SetFileName(fhtml0,"repre_q0648_03.htm");
								myself::FHTML_SetInt(fhtml0,"quest_id",648);
								myself::ShowQuestFHTML(talker,fhtml0,648);
							}
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 18: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,648) == 1 && ( gg::OwnItemCount(talker,8077) + gg::OwnItemCount(talker,8078) ) == 0 && gg::GetMemoState(talker,648) >= 1 ) ) {
						myself::SetCurrentQuestID(648);
						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::GetOneTimeQuestFlag(talker,115) == 0 ) {
							myself::ShowPage(talker,"repre_q0648_08.htm");
						} else {
							myself::ShowPage(talker,"repre_q0648_09.htm");
						}
						if( gg::GetMemoState(talker,648) == 1 && myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
							myself::SetFlagJournal(talker,648,2);
							myself::ShowQuestMark(talker,648);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
							myself::SetMemoState(talker,648,2);
						}
					}
					break;
				}
				case 19: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,648) == 1 && ( gg::OwnItemCount(talker,8077) + gg::OwnItemCount(talker,8078) ) > 0 && gg::GetMemoState(talker,648) >= 1 ) ) {
						myself::SetCurrentQuestID(648);
						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::GetOneTimeQuestFlag(talker,115) == 0 ) {
							myself::ShowPage(talker,"repre_q0648_10.htm");
						} else {
							myself::ShowPage(talker,"repre_q0648_11.htm");
						}
						if( gg::GetMemoState(talker,648) == 1 && myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
							myself::SetFlagJournal(talker,648,2);
							myself::ShowQuestMark(talker,648);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
							myself::SetMemoState(talker,648,2);
						}
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler QUEST_ACCEPTED(quest_id,talker) {
		if( quest_id == 115 ) {
			myself::SetCurrentQuestID(115);
			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,115) == 0 && talker.level >= 53 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
					myself::SetMemoState(talker,115,1);
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::SetFlagJournal(talker,115,1);
					myself::ShowQuestMark(talker,115);
					myself::ShowQuestPage(talker,"repre_q0115_03.htm",115);
					gg::AddLog(1,talker,quest_id);
				}
			}
			return;
		}
		if( quest_id == 648 ) {
			myself::SetCurrentQuestID(648);
			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,648) == 0 && talker.level >= 53 ) {
					myself::SetMemo(talker,quest_id);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					if( myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
						myself::ShowQuestPage(talker,"repre_q0648_04.htm",648);
						myself::SetFlagJournal(talker,648,1);
						myself::SetMemoState(talker,648,1);
						myself::ShowQuestMark(talker,115);
					} else {
						myself::ShowQuestPage(talker,"repre_q0648_05.htm",648);
						myself::SetFlagJournal(talker,648,2);
						myself::SetMemoState(talker,648,2);
						myself::ShowQuestMark(talker,115);
					}
					gg::AddLog(1,talker,quest_id);
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,quest_id,reply,talker) {
		if( ask == 115 ) {
			myself::SetCurrentQuestID(115);
			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 == 115 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
			if( reply == 1 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 2 ) {
				myself::DeleteItem1(talker,8079,gg::OwnItemCount(talker,8079));
				myself::SetMemoState(talker,115,3);
				myself::ShowPage(talker,"repre_q0115_07.htm");
				myself::SetFlagJournal(talker,115,3);
				myself::ShowQuestMark(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 2 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 2 ) {
				myself::DeleteItem1(talker,8079,gg::OwnItemCount(talker,8079));
				myself::RemoveMemo(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_finish");
				gg::AddLog(2,talker,115);
				myself::ShowPage(talker,"repre_q0115_08.htm");
			}
			if( reply == 3 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 3 ) {
				myself::SetMemoState(talker,115,4);
				myself::ShowPage(talker,"repre_q0115_11.htm");
				myself::SetFlagJournal(talker,115,4);
				myself::ShowQuestMark(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 4 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 3 ) {
				myself::SetMemoState(talker,115,4);
				myself::ShowPage(talker,"repre_q0115_12.htm");
				myself::SetFlagJournal(talker,115,4);
				myself::ShowQuestMark(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 5 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 3 ) {
				myself::RemoveMemo(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_finish");
				gg::AddLog(2,talker,115);
				myself::ShowPage(talker,"repre_q0115_13.htm");
			}
			if( reply == 6 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 4 ) {
				myself::SetMemoState(talker,115,5);
				myself::ShowPage(talker,"repre_q0115_17.htm");
				myself::SoundEffect(talker,"AmbSound.t_wingflap_04");
				myself::SetFlagJournal(talker,115,5);
				myself::ShowQuestMark(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 8 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 9 && gg::OwnItemCount(talker,8082) >= 1 ) {
				myself::DeleteItem1(talker,8082,gg::OwnItemCount(talker,8082));
				myself::SetMemoState(talker,115,10);
				myself::ShowPage(talker,"repre_q0115_23.htm");
				myself::SetFlagJournal(talker,115,10);
				myself::ShowQuestMark(talker,115);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
			if( reply == 9 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 10 ) {
				if( gg::OwnItemCount(talker,8081) >= 1 ) {
					myself::DeleteItem1(talker,8081,gg::OwnItemCount(talker,8081));
					myself::ShowPage(talker,"repre_q0115_25.htm");
					myself::RemoveMemo(talker,115);
					myself::SetOneTimeQuestFlag(talker,115,1);
					myself::SoundEffect(talker,"ItemSound.quest_finish");
					gg::AddLog(2,talker,115);
					myself::GiveItem1(talker,57,115673);
					myself::IncrementParam(talker,0,493595);
					myself::IncrementParam(talker,1,40442);
				} else {
					myself::SetMemoState(talker,115,11);
					myself::ShowPage(talker,"repre_q0115_27.htm");
					myself::SoundEffect(talker,"AmbSound.thunder_02");
					myself::SetFlagJournal(talker,115,11);
					myself::ShowQuestMark(talker,115);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
			if( reply == 10 && gg::HaveMemo(talker,115) == 1 && gg::GetMemoState(talker,115) == 10 ) {
				if( gg::OwnItemCount(talker,8081) >= 1 ) {
					myself::DeleteItem1(talker,8081,gg::OwnItemCount(talker,8081));
					myself::ShowPage(talker,"repre_q0115_26.htm");
					myself::RemoveMemo(talker,115);
					myself::SetOneTimeQuestFlag(talker,115,1);
					myself::SoundEffect(talker,"ItemSound.quest_finish");
					gg::AddLog(2,talker,115);
					myself::GiveItem1(talker,57,115673);
					myself::IncrementParam(talker,0,493595);
					myself::IncrementParam(talker,1,40442);
				} else {
					myself::SetMemoState(talker,115,11);
					myself::ShowPage(talker,"repre_q0115_28.htm");
					myself::SoundEffect(talker,"AmbSound.thunder_02");
					myself::SetFlagJournal(talker,115,11);
					myself::ShowQuestMark(talker,115);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 648 ) {
			myself::SetCurrentQuestID(648);
			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 == 648 ) {
			if( reply == 1 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 ) {
				if( myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
					myself::ShowPage(talker,"repre_q0648_12.htm");
				} else {
					myself::ShowPage(talker,"repre_q0648_13.htm");
				}
			}
			if( reply == 2 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 ) {
				if( myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
					myself::ShowPage(talker,"repre_q0648_21.htm");
				} else if( myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
					myself::ShowPage(talker,"repre_q0648_20.htm");
				}
			}
			if( reply == 3 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				myself::RemoveMemo(talker,648);
				myself::SoundEffect(talker,"ItemSound.quest_finish");
				myself::ShowPage(talker,"repre_q0648_22.htm");
				gg::AddLog(2,talker,648);
			}
			if( reply == 3 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
				myself::ShowPage(talker,"repre_q0648_23.htm");
			}
			if( reply == 4 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 ) {
				myself::RemoveMemo(talker,648);
				myself::SoundEffect(talker,"ItemSound.quest_finish");
				myself::ShowPage(talker,"repre_q0648_24.htm");
				gg::AddLog(2,talker,648);
			}
			if( reply == 10 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 0 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					if( ( gg::OwnItemCount(talker,8077) + gg::OwnItemCount(talker,8078) ) > 0 ) {
						myself::GiveItem1(talker,57,( ( 300 * gg::OwnItemCount(talker,8077) ) + ( 1200 * gg::OwnItemCount(talker,8078) ) ));
						myself::DeleteItem1(talker,8077,gg::OwnItemCount(talker,8077));
						myself::DeleteItem1(talker,8078,gg::OwnItemCount(talker,8078));
						myself::ShowPage(talker,"repre_q0648_14.htm");
						gg::AddLog(3,talker,648);
					} else {
						myself::ShowPage(talker,"repre_q0648_16a.htm");
					}
				}
			}
			if( reply == 11 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 && myself::GetOneTimeQuestFlag(talker,115) == 1 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					if( ( gg::OwnItemCount(talker,8077) + gg::OwnItemCount(talker,8078) ) > 0 ) {
						myself::GiveItem1(talker,57,( ( 300 * gg::OwnItemCount(talker,8077) ) + ( 1200 * gg::OwnItemCount(talker,8078) ) ));
						myself::DeleteItem1(talker,8077,gg::OwnItemCount(talker,8077));
						myself::DeleteItem1(talker,8078,gg::OwnItemCount(talker,8078));
						myself::ShowPage(talker,"repre_q0648_15.htm");
						gg::AddLog(3,talker,648);
					} else {
						myself::ShowPage(talker,"repre_q0648_16a.htm");
					}
				}
			}
			if( reply == 12 && gg::HaveMemo(talker,648) == 1 && gg::GetMemoState(talker,648) >= 1 ) {
			}
		}
		super;
	}

}
